)]}'
{
  "commit": "f436f8bb73138bc74eb1c6527723e00988ad8a8a",
  "tree": "834bd21c6d8daff79328582e429146417c262270",
  "parents": [
    "24e35800cdc4350fc34e2bed37b608a9e13ab3b6"
  ],
  "author": {
    "name": "Ingo Molnar",
    "email": "mingo@elte.hu",
    "time": "Thu Oct 01 16:14:32 2009 +0200"
  },
  "committer": {
    "name": "Ingo Molnar",
    "email": "mingo@elte.hu",
    "time": "Fri Oct 02 15:42:18 2009 +0200"
  },
  "message": "x86: EDAC: MCE: Fix MCE decoding callback logic\n\nMake decoding of MCEs happen only on AMD hardware by registering a\nnon-default callback only on CPU families which support it.\n\nWhile looking at the interaction of decode_mce() with the other MCE\ncode i also noticed a few other things and made the following\ncleanups/fixes:\n\n - Fixed the mce_decode() weak alias - a weak alias is really not\n   good here, it should be a proper callback. A weak alias will be\n   overriden if a piece of code is built into the kernel - not\n   good, obviously.\n\n - The patch initializes the callback on AMD family 10h and 11h.\n\n - Added the more correct fallback printk of:\n\n\tNo support for human readable MCE decoding on this CPU type.\n\tTranscribe the message and run it through \u0027mcelog --ascii\u0027 to decode.\n\n   On CPUs that dont have a decoder.\n\n - Made the surrounding code more readable.\n\nNote that the callback allows us to have a default fallback -\nwithout having to check the CPU versions during the printout\nitself. When an EDAC module registers itself, it can install the\ndecode-print function.\n\n(there\u0027s no unregister needed as this is core code.)\n\nversion -v2 by Borislav Petkov:\n\n - add K8 to the set of supported CPUs\n\n - always build in edac_mce_amd since we use an early_initcall now\n\n - fix checkpatch warnings\n\nSigned-off-by: Borislav Petkov \u003cborislav.petkov@amd.com\u003e\nCc: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\nCc: Andi Kleen \u003candi@firstfloor.org\u003e\nLKML-Reference: \u003c20091001141432.GA11410@aftab\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b608a64c5814de6ca6b78ae050a301704fdadc0e",
      "old_mode": 33188,
      "old_path": "arch/x86/include/asm/mce.h",
      "new_id": "f1363b72364f3e2a53609e77e52379f7f3998b3a",
      "new_mode": 33188,
      "new_path": "arch/x86/include/asm/mce.h"
    },
    {
      "type": "modify",
      "old_id": "183c3457d2f4bf6af422a9f7e7e6f0ffac587a04",
      "old_mode": 33188,
      "old_path": "arch/x86/kernel/cpu/mcheck/mce.c",
      "new_id": "b1598a9436d09dd8f60a4fb14c75eda0f83043c8",
      "new_mode": 33188,
      "new_path": "arch/x86/kernel/cpu/mcheck/mce.c"
    },
    {
      "type": "modify",
      "old_id": "7a473bbe8abd77bfab7784e2b707ca627a8cb798",
      "old_mode": 33188,
      "old_path": "drivers/edac/Makefile",
      "new_id": "8701cd7ce4e3341ec9af5bf3b4a3ed62cd411c0f",
      "new_mode": 33188,
      "new_path": "drivers/edac/Makefile"
    },
    {
      "type": "modify",
      "old_id": "0c21c370c9dd001c2da04e1c914c5248708f219e",
      "old_mode": 33188,
      "old_path": "drivers/edac/edac_mce_amd.c",
      "new_id": "83a01a1187d75698634ddc44d7003e10794c54b6",
      "new_mode": 33188,
      "new_path": "drivers/edac/edac_mce_amd.c"
    }
  ]
}
