diff options
author | Gilad Ben-Yossef <gilad@benyossef.com> | 2013-01-22 06:18:45 -0500 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2013-02-15 12:46:11 -0500 |
commit | 4368902bb90f0e208387f336c3fce0e6b2a110fc (patch) | |
tree | 70d3927c8cd38e32a969ea340ec370ebeb16f30c /arch/arc/Kconfig | |
parent | 8c2f4a8dd0e0fc9dcaf14c768544039eddfa7375 (diff) |
ARC: Add support for ioremap_prot API
Implement ioremap_prot() to allow mapping IO memory with variable
protection
via TLB.
Implementing this allows the /dev/mem driver to use its generic access()
VMA callback, which in turn allows ptrace to examine data in memory
mapped regions mapped via /dev/mem, such as Arc DCCM.
The end result is that it is possible to examine values of variables
placed into DCCM in user space programs via GDB.
CC: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
CC: Noam Camus <noamc@ezchip.com>
Acked-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/Kconfig')
-rw-r--r-- | arch/arc/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig index cd4ad61c4c14..2dab40dd8161 100644 --- a/arch/arc/Kconfig +++ b/arch/arc/Kconfig | |||
@@ -25,6 +25,7 @@ config ARC | |||
25 | select HAVE_ARCH_KGDB | 25 | select HAVE_ARCH_KGDB |
26 | select HAVE_ARCH_TRACEHOOK | 26 | select HAVE_ARCH_TRACEHOOK |
27 | select HAVE_GENERIC_HARDIRQS | 27 | select HAVE_GENERIC_HARDIRQS |
28 | select HAVE_IOREMAP_PROT | ||
28 | select HAVE_IRQ_WORK | 29 | select HAVE_IRQ_WORK |
29 | select HAVE_KPROBES | 30 | select HAVE_KPROBES |
30 | select HAVE_KRETPROBES | 31 | select HAVE_KRETPROBES |