)]}'
{
  "commit": "3d2cea732d68aa270c360f55d8669820ebce188a",
  "tree": "2f43b11f58c81aa6891dae39f91f674842bb7e7e",
  "parents": [
    "f0e939ae373836400b38e090d78fba6a183976f0"
  ],
  "author": {
    "name": "Milton Miller",
    "email": "miltonm@bga.com",
    "time": "Tue May 10 19:28:33 2011 +0000"
  },
  "committer": {
    "name": "Benjamin Herrenschmidt",
    "email": "benh@kernel.crashing.org",
    "time": "Thu May 19 14:30:43 2011 +1000"
  },
  "message": "powerpc/kexec: Fix memory corruption from unallocated slaves\n\nCommit 1fc711f7ffb01089efc58042cfdbac8573d1b59a (powerpc/kexec: Fix race\nin kexec shutdown) moved the write to signal the cpu had exited the kernel\nfrom before the transition to real mode in kexec_smp_wait to kexec_wait.\n\nUnfornately it missed that kexec_wait is used both by cpus leaving the\nkernel and by secondary slave cpus that were not allocated a paca for\nwhat ever reason -- they could be beyond nr_cpus or not described in\nthe current device tree for whatever reason (for example, kexec-load\nwas not refreshed after a cpu hotplug operation).  Cpus coming through\nthat path they will write to paca[NR_CPUS] which is beyond the space\nallocated for the paca data and overwrite memory not allocated to pacas\nbut very likely still real mode accessable).\n\nMove the write back to kexec_smp_wait, which is used only by cpus that\nfound their paca, but after the transition to real mode.\n\nSigned-off-by: Milton Miller \u003cmiltonm@bga.com\u003e\nCc: \u003cstable@kernel.org\u003e # (1fc711f was backported to 2.6.32)\nSigned-off-by: Benjamin Herrenschmidt \u003cbenh@kernel.crashing.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "206a321a71d35db57caa199a7bd1f6a9b098f153",
      "old_mode": 33188,
      "old_path": "arch/powerpc/kernel/misc_64.S",
      "new_id": "e89df59cdc5a52b888a4d10088bccc516574812e",
      "new_mode": 33188,
      "new_path": "arch/powerpc/kernel/misc_64.S"
    }
  ]
}
