On Wed, Nov 10, 2021 at 01:03:43PM +0530, Kishon Vijay Abraham I wrote: > + if (dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(48)) && > + dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32))) { There is no need to fall back to a smaller mask, the core DMA code just cares about the addressability of the device.