)]}'
{
  "commit": "d4f6367f9a92d5362bfba7b00a01320b2e8b1fca",
  "tree": "8c7c3422764ed072c108732da0a98361692f7370",
  "parents": [
    "63a29eb4e73e426797bdfdc861a55a083a8c38d3"
  ],
  "author": {
    "name": "Alexandru Elisei",
    "email": "alexandru.elisei@arm.com",
    "time": "Thu Jun 18 16:49:58 2026 +0100"
  },
  "committer": {
    "name": "Will Deacon",
    "email": "will@kernel.org",
    "time": "Tue Jun 23 13:39:37 2026 +0100"
  },
  "message": "arm64: Initialise the PMU after the GIC\n\nPMU initialisation is done in:\n\nsetup_fdt()\n  vcpu-\u003egenerate_fdt_nodes()\n    pmu__generate_fdt_nodes()\n\nThe PMU ioctl KVM_ARM_VCPU_PMU_V3_INIT requires that the GIC has been\ninitialised, which is done in gic__init_gic().\n\ngic__init_gic() and setup_fdt() are part of the same initialisation list.\nThe relative order on the list depends on the order of compilation: gic.c\nis compiled after fdt.c and this places gic__init_gic() first on the\ninitialisation list.\n\nIf the compilation order changes and gic.c is compiled *before* fdt.c,\ngic__init_gic() will be executed *after* setup_fdt() and PMU initialisation\nwill fail with an error message:\n\nPMU KVM_SET_DEVICE_ATTR: No such device\n\nThis is fragile and hard to debug. Improve the situation by having\ngic__init_gic() explicitely initialize the PMU.\n\nSigned-off-by: Alexandru Elisei \u003calexandru.elisei@arm.com\u003e\nSigned-off-by: Will Deacon \u003cwill@kernel.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b0be9e5766df485919e473a86bc583debedcde0c",
      "old_mode": 33188,
      "old_path": "arm64/gic.c",
      "new_id": "1e4009625595066e3d1cb37c4a40b183f5870cd1",
      "new_mode": 33188,
      "new_path": "arm64/gic.c"
    },
    {
      "type": "modify",
      "old_id": "38e3154b11b75a7f358f06114dce40c00f474237",
      "old_mode": 33188,
      "old_path": "arm64/include/asm/pmu.h",
      "new_id": "74566943f355833c2c79d3a55b647aa6587bde8c",
      "new_mode": 33188,
      "new_path": "arm64/include/asm/pmu.h"
    },
    {
      "type": "modify",
      "old_id": "5f31d6b6f3460e74f7d53d79549ea0771c9506ff",
      "old_mode": 33188,
      "old_path": "arm64/pmu.c",
      "new_id": "92cacd62479ea5132979c64cdc6df5f728db8226",
      "new_mode": 33188,
      "new_path": "arm64/pmu.c"
    }
  ]
}
