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

Billy Tsai billy_tsai at aspeedtech.com
Tue Sep 8 22:37:05 PDT 2026


> > +     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


More information about the linux-arm-kernel mailing list