)]}'
{
  "commit": "71c8e2a7c822ee557b07d9bb49028dd269c87b2e",
  "tree": "fa0673a33b43340fd1beef7ff7575f1db6dcc57e",
  "parents": [
    "c5af2c90ba5629f0424a8d315f75fb8d91713c3c"
  ],
  "author": {
    "name": "Mark Rutland",
    "email": "mark.rutland@arm.com",
    "time": "Thu Aug 22 11:23:08 2024 +0100"
  },
  "committer": {
    "name": "Thomas Gleixner",
    "email": "tglx@linutronix.de",
    "time": "Fri Aug 23 12:45:45 2024 +0200"
  },
  "message": "irqchip/gic-v3: Init SRE before poking sysregs\n\nThe GICv3 driver pokes GICv3 system registers in gic_prio_init() before\ngic_cpu_sys_reg_init() ensures that GICv3 system registers have been\nenabled by writing to ICC_SRE_EL1.SRE.\n\nOn arm64 this is benign as has_useable_gicv3_cpuif() runs earlier during\ncpufeature detection, and this enables the GICv3 system registers.\n\nOn 32-bit arm when booting on an FVP using the boot-wrapper, the accesses\nin gic_prio_init() end up being UNDEFINED and crashes the kernel during\nboot.\n\nThis is a regression introduced by the addition of gic_prio_init().\n\nFix this by factoring out the SRE initialization into a new function and\ncalling it early in the three paths where SRE may not have been\ninitialized:\n\n(1) gic_init_bases(), before the primary CPU pokes GICv3 sysregs in\n    gic_prio_init().\n\n(2) gic_starting_cpu(), before secondary CPUs initialize GICv3 sysregs\n    in gic_cpu_init().\n\n(3) gic_cpu_pm_notifier(), before CPUs re-initialize GICv3 sysregs in\n    gic_cpu_sys_reg_init().\n\nFixes: d447bf09a4013541 (\"irqchip/gic-v3: Detect GICD_CTRL.DS and SCR_EL3.FIQ earlier\")\nSigned-off-by: Mark Rutland \u003cmark.rutland@arm.com\u003e\nSigned-off-by: Thomas Gleixner \u003ctglx@linutronix.de\u003e\nReviewed-by: Marc Zyngier \u003cmaz@kernel.org\u003e\nCc: stable@vger.kernel.org\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c19083bfb94323715ea4961d74fa5683adddf286",
      "old_mode": 33188,
      "old_path": "drivers/irqchip/irq-gic-v3.c",
      "new_id": "74f21e03d4a3749e3ff68d8e599c1d0ac9b9b357",
      "new_mode": 33188,
      "new_path": "drivers/irqchip/irq-gic-v3.c"
    }
  ]
}
