)]}'
{
  "commit": "03c4bcd920815b6ec184fceb9138d22d1c2098ee",
  "tree": "f6a5b05a6ff0290bb8a4874c0e3c19b6eefc1513",
  "parents": [
    "71561839856811687f9e9e5e692c83c5efe465f2"
  ],
  "author": {
    "name": "Ioannis Glaropoulos",
    "email": "Ioannis.Glaropoulos@nordicsemi.no",
    "time": "Tue Jun 22 11:46:50 2021 +0200"
  },
  "committer": {
    "name": "Christopher Friedt",
    "email": "chrisfriedt@gmail.com",
    "time": "Wed Jul 28 21:08:18 2021 -0400"
  },
  "message": "arm: use BASEPRI_MAX instead of BASEPRI to mask interrupts\n\nWhen locking interrupt in a critical session, it is\nsafer to do MSR BASEPRI_MAX instead of BASEPRI. The\nrationale is that when writing to BASEPRI_MAX, the\nwriting is conditional, and is only applied if the\nchange is to a higher priority level. This commit\nreplaces BASEPRI with BASEPRI_MAX in operations that\naim to lock some specific interrupts:\n- irq_lock()\n- masking out PendSV\nSo, for example, it is not possible to actually\nunmask any interrupts by doing an irq_lock operation.\nThe commit does not introduce behavioral changes.\nHowever, it makes irq_lock() more robust against\nfuture changes to the IRQ locking mechanism.\n\nSigned-off-by: Ioannis Glaropoulos \u003cIoannis.Glaropoulos@nordicsemi.no\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "70b009e3442f2bd68d96134fa94513cd24c8b96c",
      "old_mode": 33188,
      "old_path": "arch/arm/core/aarch32/swap_helper.S",
      "new_id": "2581dc938e0ab230bd1a269bd446022418dc40a2",
      "new_mode": 33188,
      "new_path": "arch/arm/core/aarch32/swap_helper.S"
    },
    {
      "type": "modify",
      "old_id": "10c7ec3f12368130e171d63173900986f6f53dd0",
      "old_mode": 33188,
      "old_path": "arch/arm/core/aarch32/userspace.S",
      "new_id": "729a114e73b70d5bf24a8d4f582e6064f3275381",
      "new_mode": 33188,
      "new_path": "arch/arm/core/aarch32/userspace.S"
    },
    {
      "type": "modify",
      "old_id": "d53edb575753923fc80c8f52a141a2c8d4e3132b",
      "old_mode": 33188,
      "old_path": "include/arch/arm/aarch32/asm_inline_gcc.h",
      "new_id": "7d492224a66654d5fa9a6a202bf5c32899459bca",
      "new_mode": 33188,
      "new_path": "include/arch/arm/aarch32/asm_inline_gcc.h"
    }
  ]
}
