1. 18 May, 2010 5 commits
    • Tony Luck's avatar
      i7core_edac: don't free on success · d4d1ef45
      Tony Luck authored
      Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
      d4d1ef45
    • Mauro Carvalho Chehab's avatar
      i7core_edac: Add support for X5670 · ac1ecece
      Mauro Carvalho Chehab authored
      As reported by Vernon Mauery <vernux@us.ibm.com>, X5670 (Westmere-EP) uses a
      different register for one of the uncore PCI devices. Add support for
      it.
      
      Those are the PCI ID's on this new chipset:
      
      fe:00.0 0600: 8086:2c70 (rev 02)
      fe:00.1 0600: 8086:2d81 (rev 02)
      fe:02.0 0600: 8086:2d90 (rev 02)
      fe:02.1 0600: 8086:2d91 (rev 02)
      fe:02.2 0600: 8086:2d92 (rev 02)
      fe:02.3 0600: 8086:2d93 (rev 02)
      fe:02.4 0600: 8086:2d94 (rev 02)
      fe:02.5 0600: 8086:2d95 (rev 02)
      fe:03.0 0600: 8086:2d98 (rev 02)
      fe:03.1 0600: 8086:2d99 (rev 02)
      fe:03.2 0600: 8086:2d9a (rev 02)
      fe:03.4 0600: 8086:2d9c (rev 02)
      fe:04.0 0600: 8086:2da0 (rev 02)
      fe:04.1 0600: 8086:2da1 (rev 02)
      fe:04.2 0600: 8086:2da2 (rev 02)
      fe:04.3 0600: 8086:2da3 (rev 02)
      fe:05.0 0600: 8086:2da8 (rev 02)
      fe:05.1 0600: 8086:2da9 (rev 02)
      fe:05.2 0600: 8086:2daa (rev 02)
      fe:05.3 0600: 8086:2dab (rev 02)
      fe:06.0 0600: 8086:2db0 (rev 02)
      fe:06.1 0600: 8086:2db1 (rev 02)
      fe:06.2 0600: 8086:2db2 (rev 02)
      fe:06.3 0600: 8086:2db3 (rev 02)
      (as usual, the same PCI devices repeat at ff: bus)
      
      The PCI device 8086:2c70 is shown as:
      
      fe:00.0 Host bridge: Intel Corporation QuickPath Architecture Generic
      Non-core Registers (rev 02)
      
      So, for this device to be recognized, it is only a matter of adding this
      new PCI ID to the driver.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
      ac1ecece
    • Vernon Mauery's avatar
      Always call i7core_[ur]dimm_check_mc_ecc_err · 8a311e17
      Vernon Mauery authored
      This fixes an error in function i7core_check_error
      
      In commit ca9c90ba which converts the
      driver to use double buffering, there is a change in the logic.  Before,
      if mce_count was zero, it skipped over a couple of statements and
      finished out with a call to the *check_mc_ecc_err function.  The current
      code checks to see if mce_count is 0 and then exits.
      
      This change reverts the behavior back to the original where if there are
      no errors to report, we skip to the end and call the *check_mc_ecc_err
      function.
      
      This fix allows the driver to work again on my Nehalem based blades
      again.
      Signed-off-by: default avatarVernon Mauery <vernux@us.ibm.com>
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
      8a311e17
    • Alexander Beregalov's avatar
      i7core_edac: fix memory leak of i7core_dev · 2a6fae32
      Alexander Beregalov authored
      Free already allocated i7core_dev.
      Signed-off-by: default avatarAlexander Beregalov <a.beregalov@gmail.com>
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
      2a6fae32
    • Jiri Slaby's avatar
      EDAC: add __init to i7core_xeon_pci_fixup · 71753e01
      Jiri Slaby authored
      It's called only from an __init function and is the only user
      of pcibios_scan_specific_bus which will be marked as __devinit in
      the next patch.
      Signed-off-by: default avatarJiri Slaby <jslaby@suse.cz>
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
      71753e01
  2. 10 May, 2010 35 commits