)]}'
{
  "commit": "2657dd4e301d4841ed67a4fac7d145ad8f3e1b28",
  "tree": "cdf74a90364690fbf1daa71fbe5f09c07c6f5cb3",
  "parents": [
    "666435bbf31bfc2aec2afccb2fb54951e573c5c1"
  ],
  "author": {
    "name": "Michael Ellerman",
    "email": "michael@ellerman.id.au",
    "time": "Sun Feb 22 16:25:45 2009 +0000"
  },
  "committer": {
    "name": "Benjamin Herrenschmidt",
    "email": "benh@kernel.crashing.org",
    "time": "Wed Mar 11 17:10:14 2009 +1100"
  },
  "message": "powerpc: Make sure we copy all cpu_spec features except PMC related ones\n\nWhen identify_cpu() is called a second time with a logical PVR, it\nonly copies a subset of the cpu_spec fields so as to avoid overwriting\nthe performance monitor fields that were initialized based on the\nreal PVR.\n\nHowever some of the other, non performance monitor related fields are\nalso not copied:\n * pvr_mask\n * pvr_value\n * mmu_features\n * machine_check\n\nThe fact that pvr_mask is not copied can result in show_cpuinfo()\nshowing the cpu as \"unknown\", if we override an unknown PVR with a\nlogical one - as reported by Shaggy.\n\nSo change the logic to copy all fields, and then put back the PMC\nrelated ones in the case that we\u0027re overwriting a real PVR with a\nlogical one.\n\nSigned-off-by: Michael Ellerman \u003cmichael@ellerman.id.au\u003e\nAcked-by: Dave Kleikamp \u003cshaggy@linux.vnet.ibm.com\u003e\nSigned-off-by: Benjamin Herrenschmidt \u003cbenh@kernel.crashing.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "401f973a74a0bda44e709a65f0df48682e6163eb",
      "old_mode": 33188,
      "old_path": "arch/powerpc/kernel/cputable.c",
      "new_id": "638838691b20960bb329c50c3d7b5d3500bb7ed5",
      "new_mode": 33188,
      "new_path": "arch/powerpc/kernel/cputable.c"
    }
  ]
}
