OP-TEE / optee_os

Trusted side of the TEE
Other
1.59k stars 1.07k forks source link

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

Closed jenswi-linaro closed 2 months ago

jenswi-linaro commented 3 months 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 2 months ago

Comment addressed, tag applied.