Re: [PATCH] nvmem: airoha: add ARM64 dependency
From: Srinivas Kandagatla
Date: Thu Jul 16 2026 - 17:02:13 EST
On Thu, 11 Jun 2026 14:58:00 +0200, Arnd Bergmann wrote:
> The driver already depends on HAVE_ARM_SMCCC and ARCH_AIROHA, but both
> are available for 32-bit and 64-bit targets. However, the smccc invocation
> fails on thumb2 builds with clang:
>
> drivers/nvmem/airoha-smc-efuses.c:38:2: error: write to reserved register 'R7'
> 38 | arm_smccc_1_1_invoke(AIROHA_SMC_EFUSE_FID,
> | ^
> note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
> arch/arm/include/asm/opcodes.h:215:2: note: expanded from macro '__inst_arm_thumb32'
> 215 | __inst_thumb32(thumb_opcode)
> | ^
>
> [...]
Applied, thanks!
[1/1] nvmem: airoha: add ARM64 dependency
commit: 29d8d70e55efed7c2edf3a458d2e60e9ca41bde6
Best regards,
--
Srinivas Kandagatla <srini@xxxxxxxxxx>