2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-20 19:23:57 +08:00
linux-next/arch/microblaze/kernel
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
..
cpu License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
.gitignore microblaze: Add .gitignore entries for auto-generated files 2013-02-12 11:24:44 +01:00
asm-offsets.c microblaze: Remove "cache" optimized copy_page function 2010-05-06 11:21:58 +02:00
dma.c dma-mapping: consolidate the dma mmap implementations 2018-09-20 09:01:16 +02:00
entry-nommu.S microblaze: fix handling of multiple pending signals 2013-02-03 18:16:02 -05:00
entry.S microblaze: Fix MSR flags when returning from exception 2017-06-22 15:37:00 +02:00
exceptions.c signal/microblaze: Use force_sig_fault where appropriate 2018-04-25 10:41:02 -05:00
ftrace.c ftrace: Add return address pointer to ftrace_ret_stack 2016-08-24 12:15:14 +02:00
head.S microblaze: delete wrong comment about machine_early_init 2018-07-30 08:33:04 +02:00
hw_exception_handler.S microblaze: Fix compilation error for BS=0 2014-01-27 11:26:33 +01:00
irq.c irqchip/xilinx: Rename get_irq to xintc_get_irq 2016-11-29 09:14:49 +00:00
kgdb.c microblaze: Label local function static 2015-06-08 09:57:08 +02:00
Makefile microblaze: consolidate GPIO reset handling 2018-06-21 13:57:39 +02:00
mcount.S microblaze: ftrace: Remove check of obsolete variable function_trace_stop 2014-07-18 13:57:08 -04:00
microblaze_ksyms.c microblaze: Do not use module.h in files which are not modules 2013-02-12 11:24:45 +01:00
misc.S microblaze: remove redundant early_printk support 2018-04-23 12:43:45 +02:00
module.c microblaze: Do not use module.h in files which are not modules 2013-02-12 11:24:45 +01:00
process.c arch: remove unused macro/function thread_saved_pc() 2017-06-28 16:13:57 -07:00
prom.c microblaze: remove redundant early_printk support 2018-04-23 12:43:45 +02:00
ptrace.c sched/headers: Prepare for new header dependencies before moving code to <linux/sched/task_stack.h> 2017-03-02 08:42:36 +01:00
reset.c microblaze: consolidate GPIO reset handling 2018-06-21 13:57:39 +02:00
setup.c microblaze: remove redundant early_printk support 2018-04-23 12:43:45 +02:00
signal.c Merge branch 'exec_domain_rip_v2' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/misc 2015-04-15 13:53:55 -07:00
stacktrace.c microblaze: Do not use module.h in files which are not modules 2013-02-12 11:24:45 +01:00
sys_microblaze.c mm: add ksys_mmap_pgoff() helper; remove in-kernel calls to sys_mmap_pgoff() 2018-04-02 20:16:11 +02:00
syscall_table.S microblaze: Add new syscalls io_pgetevents and rseq 2018-06-21 13:57:31 +02:00
timer.c microblaze: Remove architecture heart beat code 2018-06-12 12:46:35 +02:00
traps.c sched/headers: Prepare for new header dependencies before moving code to <linux/sched/debug.h> 2017-03-02 08:42:34 +01:00
unwind.c sched/headers: Prepare for new header dependencies before moving code to <linux/sched/task_stack.h> 2017-03-02 08:42:36 +01:00
vmlinux.lds.S nmi_backtrace: generate one-line reports for idle cpus 2016-10-07 18:46:30 -07:00