)]}'
{
  "commit": "ff8aff01fa20c4fd5bbe46e1d25fbefdf996ef73",
  "tree": "2124291207ae34e318618a65d6aac1fb8bb8a8e1",
  "parents": [
    "5d173f30f6828a1a4e6133eb324cc4ab0277a06d"
  ],
  "author": {
    "name": "Zheyu Ma",
    "email": "zheyuma97@gmail.com",
    "time": "Tue Jun 18 16:40:09 2024 +0200"
  },
  "committer": {
    "name": "Peter Maydell",
    "email": "peter.maydell@linaro.org",
    "time": "Fri Jun 21 14:01:59 2024 +0100"
  },
  "message": "hw/timer/a9gtimer: Handle QTest mode in a9_gtimer_get_current_cpu\n\nThis commit updates the a9_gtimer_get_current_cpu() function to handle\ncases where QTest is enabled. When QTest is used, it returns 0 instead\nof dereferencing the current_cpu, which can be NULL. This prevents the\nprogram from crashing during QTest runs.\n\nReproducer:\ncat \u003c\u003c EOF | qemu-system-aarch64 -display \\\nnone -machine accel\u003dqtest, -m 512M -machine npcm750-evb -qtest stdio\nwritel 0xf03fe20c 0x26d7468c\nEOF\n\nSigned-off-by: Zheyu Ma \u003czheyuma97@gmail.com\u003e\nReviewed-by: Philippe Mathieu-Daudé \u003cphilmd@linaro.org\u003e\nMessage-id: 20240618144009.3137806-1-zheyuma97@gmail.com\nSigned-off-by: Peter Maydell \u003cpeter.maydell@linaro.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a2ac5bdfb990804d580bf448ad693de24793a245",
      "old_mode": 33188,
      "old_path": "hw/timer/a9gtimer.c",
      "new_id": "64d80cdf6a37dff2ac3d643552b73b545a41d620",
      "new_mode": 33188,
      "new_path": "hw/timer/a9gtimer.c"
    }
  ]
}
