)]}'
{
  "commit": "ae46383c90d5eacb3dfa0cb9d2086e1ce7506c59",
  "tree": "dbbcbd970d6600d5a9cbf04c91a04b80ec81e8e8",
  "parents": [
    "49cec3e9b27e517ac5ea5db5482c59f937e6aea4"
  ],
  "author": {
    "name": "Gaurav-Aggarwal-AWS",
    "email": "33462878+aggarg@users.noreply.github.com",
    "time": "Wed Jul 01 23:28:41 2026 +0530"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Jul 01 10:58:41 2026 -0700"
  },
  "message": "Fix vPortFreeSecureContext to read xSecureContext at correct offset (#1441)\n\nWhen MPU is enabled, the first item in the TCB is not the top of the\nstack but the stored context location. As a result, xSecureContext\nis located at a negative offset from that position rather than at\noffset 0. The current implementation unconditionally reads\nxSecureContext at offset 0, which returns an incorrect value when MPU\nis enabled.\n\nThis commit updates vPortFreeSecureContext to read xSecureContext at\nthe correcct offset based on the port configuration:\n- CM33/CM35P/CM52/CM55/CM85/STAR_MC3: -20 (or -36 with PAC enabled)\n- CM23: -20 (no PAC support)\n- Without MPU: 0 (xSecureContext remains at the top of stack)\n\nSigned-off-by: Gaurav Aggarwal \u003caggarg@amazon.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "978d35259da8e59071de98f905d3d061c12487af",
      "old_mode": 33188,
      "old_path": "portable/ARMv8M/non_secure/portable/GCC/ARM_CM23/portasm.c",
      "new_id": "b584c63e75574f17d3a1fe221da1e65b4d7ab729",
      "new_mode": 33188,
      "new_path": "portable/ARMv8M/non_secure/portable/GCC/ARM_CM23/portasm.c"
    },
    {
      "type": "modify",
      "old_id": "0ebbe48a45c39fa963e9893f36580c5f4430a4d3",
      "old_mode": 33188,
      "old_path": "portable/ARMv8M/non_secure/portable/GCC/ARM_CM33/portasm.c",
      "new_id": "d6c0348d998410343350272c2452047db915374a",
      "new_mode": 33188,
      "new_path": "portable/ARMv8M/non_secure/portable/GCC/ARM_CM33/portasm.c"
    },
    {
      "type": "modify",
      "old_id": "6817abd7a3bae17690f43ce1460a47bf728ff3e9",
      "old_mode": 33188,
      "old_path": "portable/ARMv8M/non_secure/portable/IAR/ARM_CM23/portasm.s",
      "new_id": "d8e0abf790c611361baa2f9ad4ad5ccd2099a52f",
      "new_mode": 33188,
      "new_path": "portable/ARMv8M/non_secure/portable/IAR/ARM_CM23/portasm.s"
    },
    {
      "type": "modify",
      "old_id": "8d5988819fcba69ea388b23574fd96ae51eae826",
      "old_mode": 33188,
      "old_path": "portable/ARMv8M/non_secure/portable/IAR/ARM_CM33/portasm.s",
      "new_id": "47fcfa15bfe9989df74f1f79150ec79ef8b6f166",
      "new_mode": 33188,
      "new_path": "portable/ARMv8M/non_secure/portable/IAR/ARM_CM33/portasm.s"
    },
    {
      "type": "modify",
      "old_id": "978d35259da8e59071de98f905d3d061c12487af",
      "old_mode": 33188,
      "old_path": "portable/GCC/ARM_CM23/non_secure/portasm.c",
      "new_id": "b584c63e75574f17d3a1fe221da1e65b4d7ab729",
      "new_mode": 33188,
      "new_path": "portable/GCC/ARM_CM23/non_secure/portasm.c"
    },
    {
      "type": "modify",
      "old_id": "0ebbe48a45c39fa963e9893f36580c5f4430a4d3",
      "old_mode": 33188,
      "old_path": "portable/GCC/ARM_CM33/non_secure/portasm.c",
      "new_id": "d6c0348d998410343350272c2452047db915374a",
      "new_mode": 33188,
      "new_path": "portable/GCC/ARM_CM33/non_secure/portasm.c"
    },
    {
      "type": "modify",
      "old_id": "0ebbe48a45c39fa963e9893f36580c5f4430a4d3",
      "old_mode": 33188,
      "old_path": "portable/GCC/ARM_CM35P/non_secure/portasm.c",
      "new_id": "d6c0348d998410343350272c2452047db915374a",
      "new_mode": 33188,
      "new_path": "portable/GCC/ARM_CM35P/non_secure/portasm.c"
    },
    {
      "type": "modify",
      "old_id": "0ebbe48a45c39fa963e9893f36580c5f4430a4d3",
      "old_mode": 33188,
      "old_path": "portable/GCC/ARM_CM52/non_secure/portasm.c",
      "new_id": "d6c0348d998410343350272c2452047db915374a",
      "new_mode": 33188,
      "new_path": "portable/GCC/ARM_CM52/non_secure/portasm.c"
    },
    {
      "type": "modify",
      "old_id": "0ebbe48a45c39fa963e9893f36580c5f4430a4d3",
      "old_mode": 33188,
      "old_path": "portable/GCC/ARM_CM55/non_secure/portasm.c",
      "new_id": "d6c0348d998410343350272c2452047db915374a",
      "new_mode": 33188,
      "new_path": "portable/GCC/ARM_CM55/non_secure/portasm.c"
    },
    {
      "type": "modify",
      "old_id": "0ebbe48a45c39fa963e9893f36580c5f4430a4d3",
      "old_mode": 33188,
      "old_path": "portable/GCC/ARM_CM85/non_secure/portasm.c",
      "new_id": "d6c0348d998410343350272c2452047db915374a",
      "new_mode": 33188,
      "new_path": "portable/GCC/ARM_CM85/non_secure/portasm.c"
    },
    {
      "type": "modify",
      "old_id": "0ebbe48a45c39fa963e9893f36580c5f4430a4d3",
      "old_mode": 33188,
      "old_path": "portable/GCC/ARM_STAR_MC3/non_secure/portasm.c",
      "new_id": "d6c0348d998410343350272c2452047db915374a",
      "new_mode": 33188,
      "new_path": "portable/GCC/ARM_STAR_MC3/non_secure/portasm.c"
    },
    {
      "type": "modify",
      "old_id": "6817abd7a3bae17690f43ce1460a47bf728ff3e9",
      "old_mode": 33188,
      "old_path": "portable/IAR/ARM_CM23/non_secure/portasm.s",
      "new_id": "d8e0abf790c611361baa2f9ad4ad5ccd2099a52f",
      "new_mode": 33188,
      "new_path": "portable/IAR/ARM_CM23/non_secure/portasm.s"
    },
    {
      "type": "modify",
      "old_id": "8d5988819fcba69ea388b23574fd96ae51eae826",
      "old_mode": 33188,
      "old_path": "portable/IAR/ARM_CM33/non_secure/portasm.s",
      "new_id": "47fcfa15bfe9989df74f1f79150ec79ef8b6f166",
      "new_mode": 33188,
      "new_path": "portable/IAR/ARM_CM33/non_secure/portasm.s"
    },
    {
      "type": "modify",
      "old_id": "8d5988819fcba69ea388b23574fd96ae51eae826",
      "old_mode": 33188,
      "old_path": "portable/IAR/ARM_CM35P/non_secure/portasm.s",
      "new_id": "47fcfa15bfe9989df74f1f79150ec79ef8b6f166",
      "new_mode": 33188,
      "new_path": "portable/IAR/ARM_CM35P/non_secure/portasm.s"
    },
    {
      "type": "modify",
      "old_id": "8d5988819fcba69ea388b23574fd96ae51eae826",
      "old_mode": 33188,
      "old_path": "portable/IAR/ARM_CM52/non_secure/portasm.s",
      "new_id": "47fcfa15bfe9989df74f1f79150ec79ef8b6f166",
      "new_mode": 33188,
      "new_path": "portable/IAR/ARM_CM52/non_secure/portasm.s"
    },
    {
      "type": "modify",
      "old_id": "8d5988819fcba69ea388b23574fd96ae51eae826",
      "old_mode": 33188,
      "old_path": "portable/IAR/ARM_CM55/non_secure/portasm.s",
      "new_id": "47fcfa15bfe9989df74f1f79150ec79ef8b6f166",
      "new_mode": 33188,
      "new_path": "portable/IAR/ARM_CM55/non_secure/portasm.s"
    },
    {
      "type": "modify",
      "old_id": "8d5988819fcba69ea388b23574fd96ae51eae826",
      "old_mode": 33188,
      "old_path": "portable/IAR/ARM_CM85/non_secure/portasm.s",
      "new_id": "47fcfa15bfe9989df74f1f79150ec79ef8b6f166",
      "new_mode": 33188,
      "new_path": "portable/IAR/ARM_CM85/non_secure/portasm.s"
    },
    {
      "type": "modify",
      "old_id": "8d5988819fcba69ea388b23574fd96ae51eae826",
      "old_mode": 33188,
      "old_path": "portable/IAR/ARM_STAR_MC3/non_secure/portasm.s",
      "new_id": "47fcfa15bfe9989df74f1f79150ec79ef8b6f166",
      "new_mode": 33188,
      "new_path": "portable/IAR/ARM_STAR_MC3/non_secure/portasm.s"
    }
  ]
}
