zephyr/modules/trusted-firmware-m
Kevin Townsend 67c1a6bc20 modules: tf-m: Fix thread preemption toggling
Fixes an issue where thread preemption was not being disabled
correctly, failing to taking into account MetaIRQ, which can be
used to preempt any cooperative thread.

The updated code sets the current thread to `K_HIGHEST_THREAD_PRIO`
before calling the secure function, and restores the thread priority
level once secure execution has terminated, allowing the thread
to be preempted once again.

Signed-off-by: Kevin Townsend <kevin.townsend@linaro.org>
2023-03-08 15:26:08 +01:00
..
interface modules: tf-m: Fix thread preemption toggling 2023-03-08 15:26:08 +01:00
psa tfm: Fix zephyr-sdk toolchain variant integration 2021-10-07 14:02:40 -05:00
src includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
CMakeLists.txt modules: trusted-firmware-m: Allow application to use qcbor TF-M 2023-02-11 07:59:06 +09:00
Kconfig modules: tfm: remove redundant if BUILD_WITH_TFM guard in Kconfig 2021-06-11 16:13:57 +02:00
Kconfig.tfm modules: trusted-firmware-m: Allow application to use qcbor TF-M 2023-02-11 07:59:06 +09:00
Kconfig.tfm.crypto_modules modules: tfm: Update crypto modules prompt strings 2021-11-13 07:58:50 -05:00
Kconfig.tfm.partitions modules: tfm: Disable initial attestation service 2023-02-11 07:59:06 +09:00