1. 21 10月, 2010 7 次提交
  2. 26 8月, 2010 1 次提交
    • B
      amd64_edac: Do not report error overflow as a separate error · 37b7370a
      Borislav Petkov 提交于
      When the Overflow MCi_STATUS bit is set, EDAC reports the lost error
      with a "no information available" message which often puzzles users
      parsing the dmesg. This doesn't make much sense since this error has
      been lost anyway so no need for reporting it separately. Thus, report
      the overflow bit setting in the MCE dump instead. While at it, remove
      reporting of MiscV and ErrorEnable (en) which are superfluous.
      
      Now it looks like this:
      
      [ 1501.650024] MC4_STATUS: Corrected error, other errors lost: yes, CPU context corrupt: no, CECC Error
      [ 1501.666887] Northbridge Error, node 2
      Signed-off-by: NBorislav Petkov <borislav.petkov@amd.com>
      37b7370a
  3. 25 8月, 2010 1 次提交
  4. 03 8月, 2010 1 次提交
  5. 01 5月, 2010 1 次提交
  6. 22 3月, 2010 1 次提交
  7. 17 12月, 2009 1 次提交
  8. 15 12月, 2009 1 次提交
  9. 08 12月, 2009 1 次提交
  10. 12 10月, 2009 1 次提交
  11. 02 10月, 2009 2 次提交
    • B
      x86: EDAC: carve out AMD MCE decoding logic · 0d18b2e3
      Borislav Petkov 提交于
      This converts the MCE decoding logic into a standalone config
      option which can be built-in or a module, the first one being the
      default for MCEs happening early on in the boot process.
      
      This, beyond being separated in a cleaner way, also saves RAM by
      making the decoding logic modular.
      Signed-off-by: NBorislav Petkov <borislav.petkov@amd.com>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Andi Kleen <andi@firstfloor.org>
      LKML-Reference: <20091002133148.GD28682@aftab>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      0d18b2e3
    • I
      x86: EDAC: MCE: Fix MCE decoding callback logic · f436f8bb
      Ingo Molnar 提交于
      Make decoding of MCEs happen only on AMD hardware by registering a
      non-default callback only on CPU families which support it.
      
      While looking at the interaction of decode_mce() with the other MCE
      code i also noticed a few other things and made the following
      cleanups/fixes:
      
       - Fixed the mce_decode() weak alias - a weak alias is really not
         good here, it should be a proper callback. A weak alias will be
         overriden if a piece of code is built into the kernel - not
         good, obviously.
      
       - The patch initializes the callback on AMD family 10h and 11h.
      
       - Added the more correct fallback printk of:
      
      	No support for human readable MCE decoding on this CPU type.
      	Transcribe the message and run it through 'mcelog --ascii' to decode.
      
         On CPUs that dont have a decoder.
      
       - Made the surrounding code more readable.
      
      Note that the callback allows us to have a default fallback -
      without having to check the CPU versions during the printout
      itself. When an EDAC module registers itself, it can install the
      decode-print function.
      
      (there's no unregister needed as this is core code.)
      
      version -v2 by Borislav Petkov:
      
       - add K8 to the set of supported CPUs
      
       - always build in edac_mce_amd since we use an early_initcall now
      
       - fix checkpatch warnings
      Signed-off-by: NBorislav Petkov <borislav.petkov@amd.com>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Andi Kleen <andi@firstfloor.org>
      LKML-Reference: <20091001141432.GA11410@aftab>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      f436f8bb
  12. 16 9月, 2009 1 次提交
  13. 15 9月, 2009 10 次提交
  14. 10 6月, 2009 1 次提交