OP-TEE / optee_os

Trusted side of the TEE
Other
1.56k stars 1.05k forks source link

core: arm32: update core local flags in native_intr_handler #6991

Closed jenswi-linaro closed 1 month ago

jenswi-linaro commented 1 month ago

The AArch32 version of the native_intr_handler() macro has until now called C function without updating the core local flags to indicate that the temporary stack is in use. The can lead to errors with CFG_CORE_DEBUG_CHECK_STACKS=y so fix this by setting THREAD_CLF_TMP and THREAD_CLF_FIQ or THREAD_CLF_IRQ as needed.

jenswi-linaro commented 1 month ago

Comment addressed, tag applied.