回覆: [PATCH 3/8] i3c: mipi-i3c-hci: Add a quirk for 64-bit DMA addressing

From
Billy Tsai <billy_tsai@aspeedtech.com>
Date
2026-09-09 05:37:23
Also in
linux-arm-kernel, linux-aspeed, linux-i3c, lkml
Reply to
Frank Li, 2026-09-01
quoted
+     if (hci->quirks & HCI_QUIRK_DMA_64BIT) {
+             ret = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64));
dma_set_mask_and_coherent() never return fail when bit mask >= 32

        if (hci->quirks & HCI_QUIRK_DMA_64BIT)
                dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64));
Okay, I will drop the return check.

Billy
Thread (30 messages) 30 messages, 6 authors, last reply 12d ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help