linux/arch/microblaze
Christoph Hellwig 58b0440663 dma-mapping: consolidate the dma mmap implementations
The only functional differences (modulo a few missing fixes in the arch
code) is that architectures without coherent caches need a hook to
convert a virtual or dma address into a pfn, given that we don't have
the kernel linear mapping available for the otherwise easy virt_to_page
call.  As a side effect we can support mmap of the per-device coherent
area even on architectures not providing the callback, and we make
previous dangerous default methods dma_common_mmap actually save for
non-coherent architectures by rejecting it without the right helper.

In addition to that we need a hook so that some architectures can
override the protection bits when mmaping a dma coherent allocations.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Paul Burton <paul.burton@mips.com> # MIPS parts
2018-09-20 09:01:16 +02:00
..
boot microblaze: dts: replace 'linux,stdout-path' with 'stdout-path' 2018-04-23 12:49:01 +02:00
configs microblaze: Enabling CONFIG_BRIDGE in mmu_defconfig 2017-06-22 15:36:59 +02:00
include dma-mapping: consolidate the dma mmap implementations 2018-09-20 09:01:16 +02:00
kernel dma-mapping: consolidate the dma mmap implementations 2018-09-20 09:01:16 +02:00
lib microblaze: Setup dependencies for ASM optimized lib functions 2018-03-16 12:51:26 +01:00
mm dma-mapping: consolidate the dma mmap implementations 2018-09-20 09:01:16 +02:00
oprofile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pci microblaze/PCI: Remove stale pcibios_align_resource() comment 2018-08-21 08:23:30 +02:00
Kconfig dma-mapping: consolidate the dma mmap implementations 2018-09-20 09:01:16 +02:00
Kconfig.debug Kconfig: consolidate the "Kernel hacking" menu 2018-08-02 08:06:48 +09:00
Kconfig.platform microblaze: Setup dependencies for ASM optimized lib functions 2018-03-16 12:51:26 +01:00
Makefile kbuild: rename LDFLAGS to KBUILD_LDFLAGS 2018-08-24 08:22:08 +09:00