aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/Kconfig
diff options
context:
space:
mode:
authorHassan Naveed <hnaveed@wavecomp.com>2018-10-29 18:27:41 -0700
committerPaul Burton <paul.burton@mips.com>2018-11-05 10:15:28 -0800
commitb3a428b4b18d495a06f39515568850f8db4c98ea (patch)
tree77c882b8cbe9c262855ebe5794a8c096ead8c96f /arch/mips/Kconfig
parentMIPS: math-emu: Change to use DEFINE_SHOW_ATTRIBUTE macro (diff)
downloadlinux-dev-b3a428b4b18d495a06f39515568850f8db4c98ea.tar.xz
linux-dev-b3a428b4b18d495a06f39515568850f8db4c98ea.zip
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>
Diffstat (limited to '')
-rw-r--r--arch/mips/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 8272ea4c7264..378525aaadcc 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -56,6 +56,7 @@ config MIPS
select HAVE_FUNCTION_TRACER
select HAVE_GENERIC_DMA_COHERENT
select HAVE_IDE
+ select HAVE_IOREMAP_PROT
select HAVE_IRQ_EXIT_ON_IRQ_STACK
select HAVE_IRQ_TIME_ACCOUNTING
select HAVE_KPROBES