MIPS: Enable IOREMAP_PROT config option for MIPS cpus
authorHassan Naveed <hnaveed@wavecomp.com>
Tue, 30 Oct 2018 01:27:41 +0000 (18:27 -0700)
committerPaul Burton <paul.burton@mips.com>
Mon, 5 Nov 2018 18:15:28 +0000 (10:15 -0800)
commitb3a428b4b18d495a06f39515568850f8db4c98ea
tree77c882b8cbe9c262855ebe5794a8c096ead8c96f
parent67769857f05a3b6af79c990e53aa47f4c2b4a000
MIPS: Enable IOREMAP_PROT config option for MIPS cpus

Allows the users of ptrace to access memory mapped by the ptraced process
using the same cache coherency attributes as the original process.
For example while using gdb with ioremap_prot() incorporated, both gdb and
the process being traced will have same cache coherency attributes.

Signed-off-by: Hassan Naveed <hnaveed@wavecomp.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20955/
Cc: <linux-mips@linux-mips.org>
Documentation/features/vm/ioremap_prot/arch-support.txt
arch/mips/Kconfig
arch/mips/include/asm/io.h
arch/mips/include/asm/page.h