aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorQiuxu Zhuo <[email protected]>2017-05-25 14:46:53 +0200
committerBorislav Petkov <[email protected]>2017-05-25 14:57:52 +0200
commit4d475dde79b561bbd843d7deb7100f9e75596487 (patch)
treeb891cc4bbc3440dbf241d7e5fd1519db26bb0fe3 /tools/perf/util/scripting-engines/trace-event-python.c
parent3286d3eb906cbac832884dda8ce2fdc7acb17a65 (diff)
EDAC, sb_edac: Check if ECC enabled when at least one DIMM is present
This is based on previous work by Patrick Geary, see Link. Additional cleanups ontop: - Remove the code to read MCMTR from pci_ha1_ta and CHN_TO_HA macro, now that TA0 and TA1 are unified. - Remove get_pdev_same_bus(), since in get_dimm_config() the variable "pvt->pci_ta" for KNL is also ready, we can simply use pci_read_config_dword(pvt->pci_ta, KNL_MCMTR, &pvt->info.mcmtr) to read MCMTR. Signed-off-by: Qiuxu Zhuo <[email protected]> Cc: linux-edac <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Link: http://lkml.kernel.org/r/[email protected] [ Make __populate_dimms() return int. ] Signed-off-by: Borislav Petkov <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions