1. 31 5月, 2015 1 次提交
  2. 29 5月, 2015 1 次提交
  3. 28 5月, 2015 1 次提交
    • B
      EDAC: Cleanup atomic_scrub mess · b01aec9b
      Borislav Petkov 提交于
      So first of all, this atomic_scrub() function's naming is bad. It looks
      like an atomic_t helper. Change it to edac_atomic_scrub().
      
      The bigger problem is that this function is arch-specific and every new
      arch which doesn't necessarily need that functionality still needs to
      define it, otherwise EDAC doesn't compile.
      
      So instead of doing that and including arch-specific headers, have each
      arch define an EDAC_ATOMIC_SCRUB symbol which can be used in edac_mc.c
      for ifdeffery. Much cleaner.
      
      And we already are doing this with another symbol - EDAC_SUPPORT. This
      is also much cleaner than having CONFIG_EDAC enumerate all the arches
      which need/have EDAC support and drivers.
      
      This way I can kill the useless edac.h header in tile too.
      Acked-by: NRalf Baechle <ralf@linux-mips.org>
      Acked-by: NMichael Ellerman <mpe@ellerman.id.au>
      Acked-by: NChris Metcalf <cmetcalf@ezchip.com>
      Acked-by: NIngo Molnar <mingo@kernel.org>
      Acked-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Doug Thompson <dougthompson@xmission.com>
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: linux-edac@vger.kernel.org
      Cc: linux-kernel@vger.kernel.org
      Cc: linux-mips@linux-mips.org
      Cc: linuxppc-dev@lists.ozlabs.org
      Cc: "Maciej W. Rozycki" <macro@codesourcery.com>
      Cc: Markos Chandras <markos.chandras@imgtec.com>
      Cc: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: "Steven J. Hill" <Steven.Hill@imgtec.com>
      Cc: x86@kernel.org
      Signed-off-by: NBorislav Petkov <bp@suse.de>
      b01aec9b
  4. 03 5月, 2015 1 次提交
  5. 07 1月, 2015 1 次提交
  6. 25 11月, 2014 1 次提交
  7. 05 11月, 2014 1 次提交
  8. 05 9月, 2014 1 次提交
  9. 04 7月, 2014 1 次提交
  10. 27 6月, 2014 2 次提交
  11. 24 6月, 2014 1 次提交
  12. 11 6月, 2013 1 次提交
  13. 04 6月, 2013 1 次提交
  14. 26 2月, 2013 1 次提交
    • M
      ghes_edac: Register at EDAC core the BIOS report · 77c5f5d2
      Mauro Carvalho Chehab 提交于
      Register GHES at EDAC MC core, in order to avoid other
      drivers to also handle errors and mangle with error data.
      
      The edac core will warrant that just one driver will be used,
      so the first one to register (BIOS first) will be the one that
      will be reporting the hardware errors.
      
      For now, the EDAC driver does nothing but to register at the
      EDAC core, preventing the hardware-driven mechanism to
      interfere with GHES.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      77c5f5d2
  15. 18 1月, 2013 1 次提交
  16. 08 1月, 2013 1 次提交
    • B
      EDAC: Fix EDAC Kconfig menu · 54451663
      Borislav Petkov 提交于
      After f65aad41("MIPS: Cavium: Add EDAC support."), when entering
      the "Device Drivers" toplevel menu in menuconfig, the suboptions behind
      EDAC appeared merged with the rest of the device drivers types. This was
      because the menuconfig option EDAC is querying an EDAC_SUPPORT Kconfig
      bool which was defined after the menu definition.
      
      When pushing EDAC_SUPPORT up, before the menu definition, the variable
      is defined earlier and the above menuconfig artifact doesn't happen.
      
      Drop a useless menuconfig comment while at it.
      
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Signed-off-by: NBorislav Petkov <bp@alien8.de>
      54451663
  17. 12 12月, 2012 1 次提交
    • R
      MIPS: Cavium: Add EDAC support. · f65aad41
      Ralf Baechle 提交于
      Drivers for EDAC on Cavium.  Supported subsystems are:
      
       o CPU primary caches.  These are parity protected only, so only error
         reporting.
       o Second level cache - ECC protected, provides SECDED.
       o Memory: ECC / SECDEC if used with suitable DRAM modules.  The driver will
         will only initialize if ECC is enabled on a system so is safe to run on
         non-ECC memory.
       o PCI: Parity error reporting
      
      Since it is very hard to test this sort of code the implementation is very
      conservative and uses polling where possible for now.
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      Reviewed-by: NBorislav Petkov <borislav.petkov@amd.com>
      f65aad41
  18. 28 11月, 2012 1 次提交
  19. 27 6月, 2012 2 次提交
  20. 12 6月, 2012 1 次提交
    • M
      edac: add a new per-dimm API and make the old per-virtual-rank API obsolete · 19974710
      Mauro Carvalho Chehab 提交于
      The old EDAC API is broken. It only works fine for systems manufatured
      before 2005 and for AMD 64. The reason is that it forces all memory
      controller drivers to discover rank info.
      
      Also, it doesn't allow grouping the several ranks into a DIMM.
      
      So, what almost all modern drivers do is to create a fake virtual-rank
      information, and use it to cheat the EDAC core to accept the driver.
      
      While this works if the user has enough time to discover what DIMM slot
      corresponds to each "virtual-rank" information, it prevents EDAC usage
      for users with less available time. It also makes life hard for vendors
      that may want to provide a table with their motherboards to the userspace
      tool (edac-utils) as each driver has its own logic for the virtual
      mapping.
      
      So, the old API should be removed, in favor of a more flexible API that
      allows newer drivers to not lie to the EDAC core.
      Reviewed-by: NAristeu Rozanski <arozansk@redhat.com>
      Cc: Doug Thompson <norsk5@yahoo.com>
      Cc: Borislav Petkov <borislav.petkov@amd.com>
      Cc: Randy Dunlap <rdunlap@xenotime.net>
      Cc: Josh Boyer <jwboyer@redhat.com>
      Cc: Hui Wang <jason77.wang@gmail.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      19974710
  21. 22 3月, 2012 2 次提交
  22. 04 11月, 2011 1 次提交
  23. 01 11月, 2011 4 次提交
  24. 11 8月, 2011 2 次提交
  25. 31 3月, 2011 1 次提交
  26. 11 3月, 2011 1 次提交
  27. 07 1月, 2011 1 次提交
  28. 21 10月, 2010 1 次提交
    • B
      EDAC, MCE: Rework MCE injection · 9cdeb404
      Borislav Petkov 提交于
      Add sysfs injection facilities for testing of the MCE decoding code.
      Remove large parts of amd64_edac_dbg.c, as a result, which did only
      NB MCE injection anyway and the new injection code supports that
      functionality already.
      
      Add an injection module so that MCE decoding code in production kernels
      like those in RHEL and SLES can be tested.
      Signed-off-by: NBorislav Petkov <borislav.petkov@amd.com>
      9cdeb404
  29. 21 9月, 2010 1 次提交
  30. 31 8月, 2010 1 次提交
  31. 03 8月, 2010 1 次提交
  32. 21 7月, 2010 1 次提交
  33. 10 5月, 2010 1 次提交