aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/pm-imx6.c
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2021-09-21 12:57:22 +0100
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2021-10-19 10:30:56 +0100
commitb8bc0e50a32a3c3b51605e41de41b4d7952e6aa4 (patch)
treef30b5a2086dc1093e185f5877060ab8a1d18730d /arch/arm/mach-imx/pm-imx6.c
parentARM: 9124/1: uncompress: Parse "linux,usable-memory-range" DT property (diff)
downloadlinux-dev-b8bc0e50a32a3c3b51605e41de41b4d7952e6aa4.tar.xz
linux-dev-b8bc0e50a32a3c3b51605e41de41b4d7952e6aa4.zip
ARM: add __arm_iomem_set_ro() to write-protect ioremapped area
__arm_iomem_set_ro() marks an ioremapped area read-only. This is intended for use with __arm_ioremap_exec() to allow the kernel to write some code into e.g. SRAM and then write-protect it so the kernel doesn't complain about W+X mappings. Tested-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm/mach-imx/pm-imx6.c')
0 files changed, 0 insertions, 0 deletions