ARC: Add support for ioremap_prot API
authorGilad Ben-Yossef <gilad@benyossef.com>
Tue, 22 Jan 2013 11:18:45 +0000 (16:48 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Fri, 15 Feb 2013 17:46:11 +0000 (23:16 +0530)
commit4368902bb90f0e208387f336c3fce0e6b2a110fc
tree70d3927c8cd38e32a969ea340ec370ebeb16f30c
parent8c2f4a8dd0e0fc9dcaf14c768544039eddfa7375
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>
arch/arc/Kconfig
arch/arc/include/asm/io.h
arch/arc/include/asm/page.h
arch/arc/mm/ioremap.c
This page took 0.027099 seconds and 5 git commands to generate.