)]}'
{
  "commit": "f19310b23a00b5c19f930e4d57fc298744d11740",
  "tree": "ef4d383228899a45ca93fa21cffc3164a8090a48",
  "parents": [
    "082933a1f7d3c8e4a9e999c3d284928ef866c67d"
  ],
  "author": {
    "name": "Zenghui Yu",
    "email": "zenghui.yu@linux.dev",
    "time": "Tue Jul 15 00:01:38 2025 +0800"
  },
  "committer": {
    "name": "Peter Maydell",
    "email": "peter.maydell@linaro.org",
    "time": "Mon Jul 21 11:19:56 2025 +0100"
  },
  "message": "hvf: arm: Add permission check in GIC sysreg handlers\n\nQuoting Peter Maydell:\n\n\" hvf_sysreg_read_cp() and hvf_sysreg_write_cp() do not check the .access\n  field of the ARMCPRegInfo to ensure that they forbid writes to registers\n  that are marked with a .access field that says they\u0027re read-only (and\n  ditto reads to write-only registers). \"\n\nBefore we add more registers in GIC sysreg handlers, let\u0027s get it correct\nby adding the .access checks to hvf_sysreg_read_cp() and\nhvf_sysreg_write_cp(). With that, a sysreg access with invalid permission\nwill result in an UNDEFINED exception.\n\nSuggested-by: Peter Maydell \u003cpeter.maydell@linaro.org\u003e\nSigned-off-by: Zenghui Yu \u003czenghui.yu@linux.dev\u003e\nMessage-id: 20250714160139.10404-2-zenghui.yu@linux.dev\nReviewed-by: Peter Maydell \u003cpeter.maydell@linaro.org\u003e\nSigned-off-by: Peter Maydell \u003cpeter.maydell@linaro.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8f93e42b34b92990489b9edd959dd6311d5c905e",
      "old_mode": 33188,
      "old_path": "target/arm/hvf/hvf.c",
      "new_id": "861657df966ae520e2682cbd71dfa537305dc428",
      "new_mode": 33188,
      "new_path": "target/arm/hvf/hvf.c"
    }
  ]
}
