Searched hist:b8bc0e50a32a3c3b51605e41de41b4d7952e6aa4 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/arch/arm/include/asm/ |
H A D | io.h | diff b8bc0e50a32a3c3b51605e41de41b4d7952e6aa4 Tue Sep 21 06:57:22 CDT 2021 Russell King (Oracle) <rmk+kernel@armlinux.org.uk> 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>
|
/openbmc/linux/arch/arm/mm/ |
H A D | ioremap.c | diff b8bc0e50a32a3c3b51605e41de41b4d7952e6aa4 Tue Sep 21 06:57:22 CDT 2021 Russell King (Oracle) <rmk+kernel@armlinux.org.uk> 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>
|