)]}'
{
  "commit": "ebfde6dafff2ebfb653d8b9a620ea52a4f714f5b",
  "tree": "ecc07455937db791e5fa5ce76d4edb60a9bffb8e",
  "parents": [
    "e8dca265c91b45f4cde746e5094d7b763444eb6a"
  ],
  "author": {
    "name": "wangyang",
    "email": "wangyang25@otcaix.iscas.ac.cn",
    "time": "Fri Sep 11 09:54:57 2026 +0800"
  },
  "committer": {
    "name": "Helge Deller",
    "email": "deller@gmx.de",
    "time": "Fri Sep 18 22:18:32 2026 +0200"
  },
  "message": "linux-user/riscv: honor zicntr\u003dfalse for base counterCSRs\n\nIn user-only builds, the base cycle and instret CSRs bypass the zicntr\nfeature gate because the check is inside the system-mode block. Move the\ncheck before the conditional block so an explicitly disabled zicntr\nextension makes the CSRs illegal in linux-user mode.\n\nResolves: https://gitlab.com/qemu-project/qemu/-/work_items/4148\n\nReviewed-by: Alistair Francis \u003calistair.francis@wdc.com\u003e\nSigned-off-by: wangyang \u003cwangyang25@otcaix.iscas.ac.cn\u003e\nSigned-off-by: Helge Deller \u003cdeller@gmx.de\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "bd4b6dc114bcd949f55bbb4607779ac6fbf165b0",
      "old_mode": 33188,
      "old_path": "target/riscv/tcg/csr.c",
      "new_id": "061bc9db77b39b4ba1f4fa2b45f46f64f5720662",
      "new_mode": 33188,
      "new_path": "target/riscv/tcg/csr.c"
    }
  ]
}
