Hello community,

here is the log from the commit of package rasdaemon for openSUSE:Factory 
checked in at 2016-06-02 09:39:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rasdaemon (Old)
 and      /work/SRC/openSUSE:Factory/.rasdaemon.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rasdaemon"

Changes:
--------
--- /work/SRC/openSUSE:Factory/rasdaemon/rasdaemon.changes      2016-03-09 
16:48:47.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.rasdaemon.new/rasdaemon.changes 2016-06-02 
09:39:06.000000000 +0200
@@ -1,0 +2,14 @@
+Tue May 31 14:02:13 UTC 2016 - [email protected]
+
+- Update to 0.5.8, obsoleted patches:
+  - broadwell_de_mscod.patch
+  - broadwell_ep_ex_mscod.patch
+
+-------------------------------------------------------------------
+Tue May 31 09:54:13 UTC 2016 - [email protected]
+
+- Add MSCOD values for broadwell de/ep/ex processors
+* Add broadwell_de_mscod.patch
+* Add broadwell_ep_ex_mscod.patch
+
+-------------------------------------------------------------------

Old:
----
  rasdaemon-0.5.7.tar.xz

New:
----
  rasdaemon-0.5.8.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rasdaemon.spec ++++++
--- /var/tmp/diff_new_pack.DogyMx/_old  2016-06-02 09:39:07.000000000 +0200
+++ /var/tmp/diff_new_pack.DogyMx/_new  2016-06-02 09:39:07.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           rasdaemon
-Version:        0.5.7
+Version:        0.5.8
 Release:        0
 Summary:        Utility to receive RAS error tracings
 License:        GPL-2.0

++++++ rasdaemon-0.5.7.tar.xz -> rasdaemon-0.5.8.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rasdaemon-0.5.7/ChangeLog 
new/rasdaemon-0.5.8/ChangeLog
--- old/rasdaemon-0.5.7/ChangeLog       2016-02-05 18:24:42.000000000 +0100
+++ new/rasdaemon-0.5.8/ChangeLog       2016-04-15 12:07:11.000000000 +0200
@@ -92,3 +92,6 @@
        * Add model numbers for Broadwell-EP/EX and -DE
        * Add support for Knights Landing processor
 
+2016-04-15     Mauro Carvalho Chehab <[email protected]>
+       - Version 0.5.8
+       * Add Broadwell EP/EX MSCOD and Broadwell DE MSCOD values
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rasdaemon-0.5.7/Makefile.am 
new/rasdaemon-0.5.8/Makefile.am
--- old/rasdaemon-0.5.7/Makefile.am     2016-02-05 18:24:42.000000000 +0100
+++ new/rasdaemon-0.5.8/Makefile.am     2016-04-15 12:07:11.000000000 +0200
@@ -29,7 +29,8 @@
                        mce-intel-p4-p6.c mce-intel-nehalem.c \
                        mce-intel-dunnington.c mce-intel-tulsa.c \
                        mce-intel-sb.c mce-intel-ivb.c mce-intel-haswell.c \
-                       mce-intel-knl.c
+                       mce-intel-knl.c mce-intel-broadwell-de.c \
+                       mce-intel-broadwell-epex.c
 endif
 if WITH_EXTLOG
    rasdaemon_SOURCES += ras-extlog-handler.c
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rasdaemon-0.5.7/configure.ac 
new/rasdaemon-0.5.8/configure.ac
--- old/rasdaemon-0.5.7/configure.ac    2016-02-05 18:24:42.000000000 +0100
+++ new/rasdaemon-0.5.8/configure.ac    2016-04-15 12:07:11.000000000 +0200
@@ -1,4 +1,4 @@
-AC_INIT([RASdaemon], 0.5.7)
+AC_INIT([RASdaemon], 0.5.8)
 AM_SILENT_RULES([yes])
 AC_CANONICAL_SYSTEM
 AC_CONFIG_MACRO_DIR([m4])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rasdaemon-0.5.7/mce-intel-broadwell-de.c 
new/rasdaemon-0.5.8/mce-intel-broadwell-de.c
--- old/rasdaemon-0.5.7/mce-intel-broadwell-de.c        1970-01-01 
01:00:00.000000000 +0100
+++ new/rasdaemon-0.5.8/mce-intel-broadwell-de.c        2016-04-15 
12:07:11.000000000 +0200
@@ -0,0 +1,146 @@
+/*
+ * The code below came from Tony Luck's mcelog code,
+ * released under GNU Public General License, v.2
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+*/
+
+#include <string.h>
+#include <stdio.h>
+
+#include "ras-mce-handler.h"
+#include "bitfield.h"
+
+/* See IA32 SDM Vol3B Table 16-24 */
+
+static char *pcu_1[] = {
+       [0x00] = "No Error",
+       [0x09] = "MC_MESSAGE_CHANNEL_TIMEOUT",
+       [0x13] = "MC_DMI_TRAINING_TIMEOUT",
+       [0x15] = "MC_DMI_CPU_RESET_ACK_TIMEOUT",
+       [0x1E] = "MC_VR_ICC_MAX_LT_FUSED_ICC_MAX",
+       [0x25] = "MC_SVID_COMMAN_TIMEOUT",
+       [0x26] = "MCA_PKGC_DIRECT_WAKE_RING_TIMEOUT",
+       [0x29] = "MC_VR_VOUT_MAC_LT_FUSED_SVID",
+       [0x2B] = "MC_PKGC_WATCHDOG_HANG_CBZ_DOWN",
+       [0x2C] = "MC_PKGC_WATCHDOG_HANG_CBZ_UP",
+       [0x44] = "MC_CRITICAL_VR_FAILED",
+       [0x46] = "MC_VID_RAMP_DOWN_FAILED",
+       [0x49] = "MC_SVID_WRITE_REG_VOUT_MAX_FAILED",
+       [0x4B] = "MC_BOOT_VID_TIMEOUT_DRAM_0",
+       [0x4F] = "MC_SVID_COMMAND_ERROR",
+       [0x52] = "MC_FIVR_CATAS_OVERVOL_FAULT",
+       [0x53] = "MC_FIVR_CATAS_OVERCUR_FAULT",
+       [0x57] = "MC_SVID_PKGC_REQUEST_FAILED",
+       [0x58] = "MC_SVID_IMON_REQUEST_FAILED",
+       [0x59] = "MC_SVID_ALERT_REQUEST_FAILED",
+       [0x62] = "MC_INVALID_PKGS_RSP_QPI",
+       [0x64] = "MC_INVALID_PKG_STATE_CONFIG",
+       [0x67] = "MC_HA_IMC_RW_BLOCK_ACK_TIMEOUT",
+       [0x6A] = "MC_MSGCH_PMREQ_CMP_TIMEOUT",
+       [0x72] = "MC_WATCHDOG_TIMEOUT_PKGS_MASTER",
+       [0x81] = "MC_RECOVERABLE_DIE_THERMAL_TOO_HOT"
+};
+
+static struct field pcu_mc4[] = {
+       FIELD(24, pcu_1),
+       {}
+};
+
+/* See IA32 SDM Vol3B Table 16-18 */
+
+static struct field memctrl_mc9[] = {
+       SBITFIELD(16, "Address parity error"),
+       SBITFIELD(17, "HA Wrt buffer Data parity error"),
+       SBITFIELD(18, "HA Wrt byte enable parity error"),
+       SBITFIELD(19, "Corrected patrol scrub error"),
+       SBITFIELD(20, "Uncorrected patrol scrub error"),
+       SBITFIELD(21, "Corrected spare error"),
+       SBITFIELD(22, "Uncorrected spare error"),
+       SBITFIELD(23, "Corrected memory read error"),
+       SBITFIELD(24, "iMC, WDB, parity errors"),
+       {}
+};
+
+void broadwell_de_decode_model(struct ras_events *ras, struct mce_event *e)
+{
+       uint64_t status = e->status;
+       uint32_t mca = status & 0xffff;
+       unsigned rank0 = -1, rank1 = -1, chan;
+
+       switch (e->bank) {
+       case 4:
+               switch (EXTRACT(status, 0, 15) & ~(1ull << 12)) {
+               case 0x402: case 0x403:
+                       mce_snprintf(e->mcastatus_msg, "Internal errors ");
+                       break;
+               case 0x406:
+                       mce_snprintf(e->mcastatus_msg, "Intel TXT errors ");
+                       break;
+               case 0x407:
+                       mce_snprintf(e->mcastatus_msg, "Other UBOX Internal 
errors ");
+                       break;
+               }
+               if (EXTRACT(status, 16, 19) & 3)
+                       mce_snprintf(e->mcastatus_msg, "PCU internal error ");
+               if (EXTRACT(status, 20, 23) & 4)
+                       mce_snprintf(e->mcastatus_msg, "Ubox error ");
+               decode_bitfield(e, status, pcu_mc4);
+               break;
+       case 9: case 10:
+               mce_snprintf(e->mcastatus_msg, "MemCtrl: ");
+               decode_bitfield(e, status, memctrl_mc9);
+               break;
+       }
+
+       /*
+        * Memory error specific code. Returns if the error is not a MC one
+        */
+
+       /* Check if the error is at the memory controller */
+       if ((mca >> 7) != 1)
+               return;
+
+       /* Ignore unless this is an corrected extended error from an iMC bank */
+       if (e->bank < 9 || e->bank > 16 || (status & MCI_STATUS_UC) ||
+               !test_prefix(7, status & 0xefff))
+               return;
+
+       /*
+        * Parse the reported channel and ranks
+        */
+
+       chan = EXTRACT(status, 0, 3);
+       if (chan == 0xf)
+               return;
+
+       mce_snprintf(e->mc_location, "memory_channel=%d", chan);
+
+       if (EXTRACT(e->misc, 62, 62)) {
+               rank0 = EXTRACT(e->misc, 46, 50);
+               if (EXTRACT(e->misc, 63, 63))
+                       rank1 = EXTRACT(e->misc, 51, 55);
+       }
+
+       /*
+        * FIXME: The conversion from rank to dimm requires to parse the
+        * DMI tables and call failrank2dimm().
+        */
+       if (rank0 != -1 && rank1 != -1)
+               mce_snprintf(e->mc_location, "ranks=%d and %d",
+                                    rank0, rank1);
+       else if (rank0 != -1)
+               mce_snprintf(e->mc_location, "rank=%d", rank0);
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rasdaemon-0.5.7/mce-intel-broadwell-epex.c 
new/rasdaemon-0.5.8/mce-intel-broadwell-epex.c
--- old/rasdaemon-0.5.7/mce-intel-broadwell-epex.c      1970-01-01 
01:00:00.000000000 +0100
+++ new/rasdaemon-0.5.8/mce-intel-broadwell-epex.c      2016-04-15 
12:07:11.000000000 +0200
@@ -0,0 +1,191 @@
+/*
+ * The code below came from Tony Luck's mcelog code,
+ * released under GNU Public General License, v.2
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+*/
+
+#include <string.h>
+#include <stdio.h>
+
+#include "ras-mce-handler.h"
+#include "bitfield.h"
+
+/* See IA32 SDM Vol3B Table 16-20 */
+
+static char *pcu_1[] = {
+       [0x00] = "No Error",
+       [0x09] = "MC_MESSAGE_CHANNEL_TIMEOUT",
+       [0x0D] = "MC_IMC_FORCE_SR_S3_TIMEOUT",
+       [0x0E] = "MC_CPD_UNCPD_SD_TIMEOUT",
+       [0x13] = "MC_DMI_TRAINING_TIMEOUT",
+       [0x15] = "MC_DMI_CPU_RESET_ACK_TIMEOUT",
+       [0x1E] = "MC_VR_ICC_MAX_LT_FUSED_ICC_MAX",
+       [0x25] = "MC_SVID_COMMAN_TIMEOUT",
+       [0x29] = "MC_VR_VOUT_MAC_LT_FUSED_SVID",
+       [0x2B] = "MC_PKGC_WATCHDOG_HANG_CBZ_DOWN",
+       [0x2C] = "MC_PKGC_WATCHDOG_HANG_CBZ_UP",
+       [0x39] = "MC_PKGC_WATCHDOG_HANG_C3_UP_SF",
+       [0x44] = "MC_CRITICAL_VR_FAILED",
+       [0x45] = "MC_ICC_MAX_NOTSUPPORTED",
+       [0x46] = "MC_VID_RAMP_DOWN_FAILED",
+       [0x47] = "MC_EXCL_MODE_NO_PMREQ_CMP",
+       [0x48] = "MC_SVID_READ_REG_ICC_MAX_FAILED",
+       [0x49] = "MC_SVID_WRITE_REG_VOUT_MAX_FAILED",
+       [0x4B] = "MC_BOOT_VID_TIMEOUT_DRAM_0",
+       [0x4C] = "MC_BOOT_VID_TIMEOUT_DRAM_1",
+       [0x4D] = "MC_BOOT_VID_TIMEOUT_DRAM_2",
+       [0x4E] = "MC_BOOT_VID_TIMEOUT_DRAM_3",
+       [0x4F] = "MC_SVID_COMMAND_ERROR",
+       [0x52] = "MC_FIVR_CATAS_OVERVOL_FAULT",
+       [0x53] = "MC_FIVR_CATAS_OVERCUR_FAULT",
+       [0x57] = "MC_SVID_PKGC_REQUEST_FAILED",
+       [0x58] = "MC_SVID_IMON_REQUEST_FAILED",
+       [0x59] = "MC_SVID_ALERT_REQUEST_FAILED",
+       [0x60] = "MC_INVALID_PKGS_REQ_PCH",
+       [0x61] = "MC_INVALID_PKGS_REQ_QPI",
+       [0x62] = "MC_INVALID_PKGS_RSP_QPI",
+       [0x63] = "MC_INVALID_PKGS_RSP_PCH",
+       [0x64] = "MC_INVALID_PKG_STATE_CONFIG",
+       [0x67] = "MC_HA_IMC_RW_BLOCK_ACK_TIMEOUT",
+       [0x68] = "MC_IMC_RW_SMBUS_TIMEOUT",
+       [0x69] = "MC_HA_FAILSTS_CHANGE_DETECTED",
+       [0x6A] = "MC_MSGCH_PMREQ_CMP_TIMEOUT",
+       [0x70] = "MC_WATCHDOG_TIMEOUT_PKGC_SLAVE",
+       [0x71] = "MC_WATCHDOG_TIMEOUT_PKGC_MASTER",
+       [0x72] = "MC_WATCHDOG_TIMEOUT_PKGS_MASTER",
+       [0x7C] = "MC_BIOS_RST_CPL_INVALID_SEQ",
+       [0x7D] = "MC_MORE_THAN_ONE_TXT_AGENT",
+       [0x81] = "MC_RECOVERABLE_DIE_THERMAL_TOO_HOT"
+};
+
+static struct field pcu_mc4[] = {
+       FIELD(24, pcu_1),
+       {}
+};
+
+/* See IA32 SDM Vol3B Table 16-21 */
+
+static char *qpi[] = {
+       [0x02] = "Intel QPI physical layer detected drift buffer alarm",
+       [0x03] = "Intel QPI physical layer detected latency buffer rollover",
+       [0x10] = "Intel QPI link layer detected control error from R3QPI",
+       [0x11] = "Rx entered LLR abort state on CRC error",
+       [0x12] = "Unsupported or undefined packet",
+       [0x13] = "Intel QPI link layer control error",
+       [0x15] = "RBT used un-initialized value",
+       [0x20] = "Intel QPI physical layer detected a QPI in-band reset but 
aborted initialization",
+       [0x21] = "Link failover data self healing",
+       [0x22] = "Phy detected in-band reset (no width change)",
+       [0x23] = "Link failover clock failover",
+       [0x30] = "Rx detected CRC error - successful LLR after Phy re-init",
+       [0x31] = "Rx detected CRC error - successful LLR wihout Phy re-init",
+};
+
+static struct field qpi_mc[] = {
+       FIELD(16, qpi),
+       {}
+};
+
+/* See IA32 SDM Vol3B Table 16-26 */
+
+static struct field memctrl_mc9[] = {
+       SBITFIELD(16, "DDR3 address parity error"),
+       SBITFIELD(17, "Uncorrected HA write data error"),
+       SBITFIELD(18, "Uncorrected HA data byte enable error"),
+       SBITFIELD(19, "Corrected patrol scrub error"),
+       SBITFIELD(20, "Uncorrected patrol scrub error"),
+       SBITFIELD(21, "Corrected spare error"),
+       SBITFIELD(22, "Uncorrected spare error"),
+       SBITFIELD(24, "iMC write data buffer parity error"),
+       SBITFIELD(25, "DDR4 command address parity error"),
+       {}
+};
+
+void broadwell_epex_decode_model(struct ras_events *ras, struct mce_event *e)
+{
+       uint64_t status = e->status;
+       uint32_t mca = status & 0xffff;
+       unsigned rank0 = -1, rank1 = -1, chan;
+
+       switch (e->bank) {
+       case 4:
+               switch (EXTRACT(status, 0, 15) & ~(1ull << 12)) {
+               case 0x402: case 0x403:
+                       mce_snprintf(e->mcastatus_msg, "Internal errors ");
+                       break;
+               case 0x406:
+                       mce_snprintf(e->mcastatus_msg, "Intel TXT errors ");
+                       break;
+               case 0x407:
+                       mce_snprintf(e->mcastatus_msg, "Other UBOX Internal 
errors ");
+                       break;
+               }
+               if (EXTRACT(status, 16, 19))
+                       mce_snprintf(e->mcastatus_msg, "PCU internal error ");
+               decode_bitfield(e, status, pcu_mc4);
+               break;
+       case 5:
+       case 20:
+       case 21:
+               mce_snprintf(e->mcastatus_msg, "QPI: ");
+               decode_bitfield(e, status, qpi_mc);
+               break;
+       case 9: case 10: case 11: case 12:
+       case 13: case 14: case 15: case 16:
+               mce_snprintf(e->mcastatus_msg, "MemCtrl: ");
+               decode_bitfield(e, status, memctrl_mc9);
+               break;
+       }
+
+       /*
+        * Memory error specific code. Returns if the error is not a MC one
+        */
+
+       /* Check if the error is at the memory controller */
+       if ((mca >> 7) != 1)
+               return;
+
+       /* Ignore unless this is an corrected extended error from an iMC bank */
+       if (e->bank < 9 || e->bank > 16 || (status & MCI_STATUS_UC) ||
+               !test_prefix(7, status & 0xefff))
+               return;
+
+       /*
+        * Parse the reported channel and ranks
+        */
+
+       chan = EXTRACT(status, 0, 3);
+       if (chan == 0xf)
+               return;
+
+       mce_snprintf(e->mc_location, "memory_channel=%d", chan);
+
+       if (EXTRACT(e->misc, 62, 62)) {
+               rank0 = EXTRACT(e->misc, 46, 50);
+               if (EXTRACT(e->misc, 63, 63))
+                       rank1 = EXTRACT(e->misc, 51, 55);
+       }
+
+       /*
+        * FIXME: The conversion from rank to dimm requires to parse the
+        * DMI tables and call failrank2dimm().
+        */
+       if (rank0 != -1 && rank1 != -1)
+               mce_snprintf(e->mc_location, "ranks=%d and %d",
+                                    rank0, rank1);
+       else if (rank0 != -1)
+               mce_snprintf(e->mc_location, "rank=%d", rank0);
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rasdaemon-0.5.7/mce-intel.c 
new/rasdaemon-0.5.8/mce-intel.c
--- old/rasdaemon-0.5.7/mce-intel.c     2016-02-05 18:24:42.000000000 +0100
+++ new/rasdaemon-0.5.8/mce-intel.c     2016-04-15 12:07:11.000000000 +0200
@@ -401,6 +401,12 @@
        case CPU_KNIGHTS_LANDING:
                knl_decode_model(ras, e);
                break;
+       case CPU_BROADWELL_DE:
+               broadwell_de_decode_model(ras, e);
+               break;
+       case CPU_BROADWELL_EPEX:
+               broadwell_epex_decode_model(ras, e);
+               break;
        default:
                break;
        }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rasdaemon-0.5.7/misc/rasdaemon.spec.in 
new/rasdaemon-0.5.8/misc/rasdaemon.spec.in
--- old/rasdaemon-0.5.7/misc/rasdaemon.spec.in  2016-02-05 18:24:42.000000000 
+0100
+++ new/rasdaemon-0.5.8/misc/rasdaemon.spec.in  2016-04-15 12:07:11.000000000 
+0200
@@ -49,6 +49,9 @@
 
 %changelog
 
+* Fri Apr 15 2016 Mauro Carvalho Chehab <[email protected]> 0.5.8-1
+- Bump to version 0.5.8 adding support for Broadwell EP/EX MSCOD and Broadwell 
DE MSCOD
+
 * Fri Feb 05 2016 Mauro Carvalho Chehab <[email protected]> 0.5.7-1
 - Bump to version 0.5.7 adding support for Broadwell-EP/EX and -DE and Knights 
Landing processors
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rasdaemon-0.5.7/ras-mce-handler.c 
new/rasdaemon-0.5.8/ras-mce-handler.c
--- old/rasdaemon-0.5.7/ras-mce-handler.c       2016-02-05 18:24:42.000000000 
+0100
+++ new/rasdaemon-0.5.8/ras-mce-handler.c       2016-04-15 12:07:11.000000000 
+0200
@@ -50,6 +50,8 @@
        [CPU_HASWELL] = "Haswell",
        [CPU_HASWELL_EPEX] = "Intel Xeon v3 (Haswell) EP/EX",
        [CPU_BROADWELL] = "Broadwell",
+       [CPU_BROADWELL_DE] = "Broadwell DE",
+       [CPU_BROADWELL_EPEX] = "Broadwell EP/EX",
        [CPU_KNIGHTS_LANDING] = "Knights Landing",
 };
 
@@ -90,8 +92,11 @@
                        return CPU_HASWELL;
                else if (mce->model == 0x3f)
                        return CPU_HASWELL_EPEX;
-               else if (mce->model == 0x3d || mce->model == 0x4f ||
-                        mce->model == 0x56)
+               else if (mce->model == 0x56)
+                       return CPU_BROADWELL_DE;
+               else if (mce->model == 0x4f)
+                       return CPU_BROADWELL_EPEX;
+               else if (mce->model == 0x3d)
                        return CPU_BROADWELL;
                else if (mce->model == 0x57)
                        return CPU_KNIGHTS_LANDING;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rasdaemon-0.5.7/ras-mce-handler.h 
new/rasdaemon-0.5.8/ras-mce-handler.h
--- old/rasdaemon-0.5.7/ras-mce-handler.h       2016-02-05 18:24:42.000000000 
+0100
+++ new/rasdaemon-0.5.8/ras-mce-handler.h       2016-04-15 12:07:11.000000000 
+0200
@@ -45,6 +45,8 @@
        CPU_HASWELL,
        CPU_HASWELL_EPEX,
        CPU_BROADWELL,
+       CPU_BROADWELL_DE,
+       CPU_BROADWELL_EPEX,
        CPU_KNIGHTS_LANDING,
 };
 
@@ -121,6 +123,8 @@
 void hsw_decode_model(struct ras_events *ras, struct mce_event *e);
 void knl_decode_model(struct ras_events *ras, struct mce_event *e);
 void tulsa_decode_model(struct mce_event *e);
+void broadwell_de_decode_model(struct ras_events *ras, struct mce_event *e);
+void broadwell_epex_decode_model(struct ras_events *ras, struct mce_event *e);
 
 /* Software defined banks */
 #define MCE_EXTENDED_BANK      128


Reply via email to