[PATCH] fixup! ARM: add exception handling support for PBL

2025-07-09 Thread Ahmad Fatoum
ARM: interrupts: fix guard page linker error in PBL We set up the stack guard page only in barebox proper. Attempting to compile in support in barebox PBL leads to a compile error, because arm_mem_guard_page_get() references arm_mem_endmem_get(), which is not available. Fix this by defining and u

[PATCH 2/2] hardening: update text after addition of CONFIG_ARM_MMU_PERMISSIONS

2025-07-09 Thread Ahmad Fatoum
Until we have wired CONFIG_MEMORY_ATTRIBUTES with CONFIG_ARM_MMU_PERMISSIONS, add a notice to the help text about it. Signed-off-by: Ahmad Fatoum --- lib/Kconfig.hardening | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/Kconfig.hardening b/lib/Kconfig.hardening index

[PATCH 1/2] hardening: make stack guard page the default

2025-07-09 Thread Ahmad Fatoum
We have had guard page support for close to two years now and it's time we start enabling it by default to catch stack overflows. Signed-off-by: Ahmad Fatoum --- lib/Kconfig.hardening | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Kconfig.hardening b/lib/Kconfig.hardening index 658de495

Re: [PATCH] ARM: i.MX: ele: make ele_life_cycle public

2025-07-09 Thread Ahmad Fatoum
w(void *bl33); > unsigned int imx93_ahab_read_lifecycle(void); > > --- > base-commit: f49c873d7ec78a2df7bd3c7a86f5372fb1666517 > change-id: 20250709-feature-ahab-lifecycle-public-1c637d6f87df > > Best regards, -- Pengutronix e.K. |

[PATCH] ARM: i.MX: ele: make ele_life_cycle public

2025-07-09 Thread Stefan Kerkmann
ele_life_cycle(u32 lc); int imx93_ele_load_fw(void *bl33); unsigned int imx93_ahab_read_lifecycle(void); --- base-commit: f49c873d7ec78a2df7bd3c7a86f5372fb1666517 change-id: 20250709-feature-ahab-lifecycle-public-1c637d6f87df Best regards, -- Stefan Kerkmann

[PATCH] hab: writing the same srk hash is not an error

2025-07-09 Thread Stefan Kerkmann
return -EEXIST; } } --- base-commit: f49c873d7ec78a2df7bd3c7a86f5372fb1666517 change-id: 20250709-fix-hab-equal-hash-writes-87c28792acf4 Best regards, -- Stefan Kerkmann