Possible issue in dma_direct_supported

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I may have found an issue in https://elixir.bootlin.com/linux/v6.3.2/source/kernel/dma/direct.c#L579 the comparisson in line 589 is true
for all masks >= 32 bits. So if a driver tries to set a mask of 64 bit, and the system only supports 32 the mask is set to 64.
I discoverd this on an arm64 system which only supports 32-bit DMA for PCIe cards.

Is my assumption correct?

Regards,
Achim Kanert

    



[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux