Select the new MMU_PGPROT Kconfig symbol for all Allwinner board builds,
to use a write-protected .rodata, non-executable .data and .rodata
sections, and non-writable .text sections.

This might trigger runtime exceptions in misbehaving drivers, which
should then be fixed.
Please report on the list or on IRC if bisecting ends at this patch.

Signed-off-by: Andre Przywara <andre.przyw...@arm.com>
---
Hi,

I am planning on merging this ASAP, to get some exposure and use the time
until the release for wider testing. If worst comes to the worst, we can
revert it still before July.

Cheers,
Andre

 arch/arm/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 99750072e55..f22d347d5ad 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1192,6 +1192,7 @@ config ARCH_SUNXI
        select DM_KEYBOARD
        select DM_SERIAL
        select DM_PMIC
+       select MMU_PGPROT if ARM64
        select OF_BOARD_SETUP
        select OF_CONTROL
        select PINCTRL
-- 
2.46.3

Reply via email to