Skip to content

Commit bf76762

Browse files
committed
Merge tag 'edac_updates_for_v6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras
Pull EDAC updates from Borislav Petkov: - Add support for Skylake-S CPUs to ie31200_edac - Improve error decoding speed of the Intel drivers by avoiding the ACPI facilities but doing decoding in the driver itself - Other misc improvements to the Intel drivers - The usual cleanups and fixlets all over EDAC land * tag 'edac_updates_for_v6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras: EDAC/i7300: Correct the i7300_exit() function name in comment x86/sb_edac: Add row column translation for Broadwell EDAC/i10nm: Print an extra register set of retry_rd_err_log EDAC/i10nm: Retrieve and print retry_rd_err_log registers for HBM EDAC/skx_common: Add ChipSelect ADXL component EDAC/ppc_4xx: Reorder symbols to get rid of a few forward declarations EDAC: Remove obsolete declarations in edac_module.h EDAC/i10nm: Add driver decoder for Ice Lake and Tremont CPUs EDAC/skx_common: Make output format similar EDAC/skx_common: Use driver decoder first EDAC/mc: Drop duplicated dimm->nr_pages debug printout EDAC/mc: Replace spaces with tabs in memtype flags definition EDAC/wq: Remove unneeded flush_workqueue() EDAC/ie31200: Add Skylake-S support
2 parents 725737e + c257795 commit bf76762

File tree

13 files changed

+486
-90
lines changed

13 files changed

+486
-90
lines changed

arch/x86/include/asm/mce.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
#define MCI_STATUS_CEC_SHIFT 38 /* Corrected Error Count */
4343
#define MCI_STATUS_CEC_MASK GENMASK_ULL(52,38)
4444
#define MCI_STATUS_CEC(c) (((c) & MCI_STATUS_CEC_MASK) >> MCI_STATUS_CEC_SHIFT)
45+
#define MCI_STATUS_MSCOD(m) (((m) >> 16) & 0xffff)
4546

4647
/* AMD-specific bits */
4748
#define MCI_STATUS_TCC BIT_ULL(55) /* Task context corrupt */

drivers/edac/edac_mc.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ static void edac_mc_dump_dimm(struct dimm_info *dimm)
103103
edac_dbg(4, " dimm->label = '%s'\n", dimm->label);
104104
edac_dbg(4, " dimm->nr_pages = 0x%x\n", dimm->nr_pages);
105105
edac_dbg(4, " dimm->grain = %d\n", dimm->grain);
106-
edac_dbg(4, " dimm->nr_pages = 0x%x\n", dimm->nr_pages);
107106
}
108107

109108
static void edac_mc_dump_csrow(struct csrow_info *csrow)

drivers/edac/edac_module.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,9 @@ void edac_mc_sysfs_exit(void);
2828
extern int edac_create_sysfs_mci_device(struct mem_ctl_info *mci,
2929
const struct attribute_group **groups);
3030
extern void edac_remove_sysfs_mci_device(struct mem_ctl_info *mci);
31-
extern int edac_get_log_ue(void);
32-
extern int edac_get_log_ce(void);
33-
extern int edac_get_panic_on_ue(void);
3431
extern int edac_mc_get_log_ue(void);
3532
extern int edac_mc_get_log_ce(void);
3633
extern int edac_mc_get_panic_on_ue(void);
37-
extern int edac_get_poll_msec(void);
3834
extern unsigned int edac_mc_get_poll_msec(void);
3935

4036
unsigned edac_dimm_info_location(struct dimm_info *dimm, char *buf,

0 commit comments

Comments
 (0)