Skip to contentSkip to conversation

arm: imx8: select ARCH_MISC_INIT if FSL_CAAM is enabled

PATCH Applied Emanuele Ghidoli 3 participants 3 messages Oct 24, 2025 – Oct 31, 2025 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: imx8: select ARCH_MISC_INIT if FSL_CAAM is enabled

From: Emanuele Ghidoli <[email protected]>

Commit 2a7acc865b9d ("configs: colibri-imx8x: enable RNG support for KASLR") enables FSL_CAAM which requires initialization in arch_misc_init(). The ARCH_MISC_INIT configuration was added to the relevant defconfig.

Commit d0ed9636902b ("global: Make ARCH_MISC_INIT a selected symbol") changed ARCH_MISC_INIT to require explicit selection by the developer. With this change the colibri-imx8x defconfig is no longer sufficient to enable ARCH_MISC_INIT when FSL_CAAM is selected.

Add the necessary selection to automatically enable ARCH_MISC_INIT when FSL_CAAM is enabled on i.MX8 platforms.

Fixes d0ed9636902b ("global: Make ARCH_MISC_INIT a selected symbol")
---
 arch/arm/Kconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm/Kconfig +1 -0
index ef834542bd4a..1028764b742c 100644
@@ -898,6 +898,7 @@ config ARCH_LPC32XX
 
 config ARCH_IMX8
 	bool "NXP i.MX8 platform"
+	select ARCH_MISC_INIT if FSL_CAAM
 	select ARM64
 	select SYS_FSL_HAS_SEC
 	select SYS_FSL_SEC_COMPAT_4
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 17 lines

Subject: [PATCH v1] arm: imx8: select ARCH_MISC_INIT if FSL_CAAM is enabled

From: Emanuele Ghidoli <[email protected]>

Commit 2a7acc865b9d ("configs: colibri-imx8x: enable RNG support for KASLR") enables FSL_CAAM which requires initialization in arch_misc_init().
The ARCH_MISC_INIT configuration was added to the relevant defconfig.

Commit d0ed9636902b ("global: Make ARCH_MISC_INIT a selected symbol") changed ARCH_MISC_INIT to require explicit selection by the developer.
With this change the colibri-imx8x defconfig is no longer sufficient to enable ARCH_MISC_INIT when FSL_CAAM is selected.

Quoted 6 lines

Add the necessary selection to automatically enable ARCH_MISC_INIT when FSL_CAAM is enabled on i.MX8 platforms.

Fixes d0ed9636902b ("global: Make ARCH_MISC_INIT a selected

symbol")

#2 lore raw
In reply to Emanuele Ghidoli
Quoted 12 lines · Emanuele Ghidoli

From: Emanuele Ghidoli <[email protected]>

Commit 2a7acc865b9d ("configs: colibri-imx8x: enable RNG support for KASLR") enables FSL_CAAM which requires initialization in arch_misc_init(). The ARCH_MISC_INIT configuration was added to the relevant defconfig.

Commit d0ed9636902b ("global: Make ARCH_MISC_INIT a selected symbol") changed ARCH_MISC_INIT to require explicit selection by the developer. With this change the colibri-imx8x defconfig is no longer sufficient to enable ARCH_MISC_INIT when FSL_CAAM is selected.

Quoted 5 lines

Add the necessary selection to automatically enable ARCH_MISC_INIT when FSL_CAAM is enabled on i.MX8 platforms.

Fixes d0ed9636902b ("global: Make ARCH_MISC_INIT a selected symbol")

Applied, thanks.