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