Merge branch 'fix/esp_tee_bbp_v6.1' into 'release/v6.1'

fix(esp_tee): Harden TEE secure services against REE manipulation (v6.1)

See merge request espressif/esp-idf!49368
This commit is contained in:
Mahavir Jain
2026-06-10 15:56:59 +05:30
12 changed files with 249 additions and 68 deletions
@@ -20,6 +20,11 @@ extern "C" {
#define TEE_SECURE_INUM (31)
#if SOC_INT_CLIC_SUPPORTED
#define TEE_PASS_INUM (30)
/* CLIC: 3 effective priority bits (NLBITS=3), max priority = 7 */
#define TEE_SECURE_INUM_PRIO (7)
#else
/* PLIC: 4-bit priority field, max priority = 15 */
#define TEE_SECURE_INUM_PRIO (15)
#endif
#define ESP_TEE_M2U_SWITCH_MAGIC 0xfedef