summaryrefslogtreecommitdiffstats
path: root/drivers/parisc/wax.c
diff options
context:
space:
mode:
authorRobin Murphy <robin.murphy@arm.com>2018-12-06 22:14:44 +0100
committerChristoph Hellwig <hch@lst.de>2018-12-13 21:06:12 +0100
commit90ac706e98fcb24fb0b0a259558987f33cc2f0f6 (patch)
tree3295030b39722a290ad409da73f28f223e9786f2 /drivers/parisc/wax.c
parentdma-mapping: always build the direct mapping code (diff)
downloadlinux-90ac706e98fcb24fb0b0a259558987f33cc2f0f6.tar.xz
linux-90ac706e98fcb24fb0b0a259558987f33cc2f0f6.zip
dma-mapping: factor out dummy DMA ops
The dummy DMA ops are currently used by arm64 for any device which has an invalid ACPI description and is thus barred from using DMA due to not knowing whether is is cache-coherent or not. Factor these out into general dma-mapping code so that they can be referenced from other common code paths. In the process, we can prune all the optional callbacks which just do the same thing as the default behaviour, and fill in .map_resource for completeness. Signed-off-by: Robin Murphy <robin.murphy@arm.com> [hch: moved to a separate source file] Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Jesper Dangaard Brouer <brouer@redhat.com> Tested-by: Jesper Dangaard Brouer <brouer@redhat.com> Tested-by: Tony Luck <tony.luck@intel.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/parisc/wax.c')
0 files changed, 0 insertions, 0 deletions