Re: [PATCH 2/5] sparc64: refactor the ali DMA quirk

2019-02-15 Thread David Miller
From: Christoph Hellwig Date: Fri, 15 Feb 2019 15:45:56 +0100 > Do the quirk first in the dma_supported routines, as we don't need > any of the other checks for it, and remove the duplicate mask checking > that is already done by the callers. > > Signed-off-by: Christoph Hellwig Acked-by: Davi

[PATCH 2/5] sparc64: refactor the ali DMA quirk

2019-02-15 Thread Christoph Hellwig
Do the quirk first in the dma_supported routines, as we don't need any of the other checks for it, and remove the duplicate mask checking that is already done by the callers. Signed-off-by: Christoph Hellwig --- arch/sparc/kernel/iommu.c | 7 +++--- arch/sparc/kernel/kernel.h| 6 -