Re: [PATCH 13/15] ACPI / scan: Refactor _CCA enforcement

2018-12-14 Thread Bjorn Helgaas
On Fri, Dec 07, 2018 at 11:07:18AM -0800, Christoph Hellwig wrote: > From: Robin Murphy > > Rather than checking the DMA attribute at each callsite, just pass it > through for acpi_dma_configure() to handle directly. That can then deal > with the relatively exceptional DEV_DMA_NOT_SUPPORTED case

[PATCH 13/15] ACPI / scan: Refactor _CCA enforcement

2018-12-07 Thread Christoph Hellwig
From: Robin Murphy Rather than checking the DMA attribute at each callsite, just pass it through for acpi_dma_configure() to handle directly. That can then deal with the relatively exceptional DEV_DMA_NOT_SUPPORTED case by explicitly installing dummy DMA ops instead of just skipping setup