RAS: MCA config cleanup
Hi guys,
this is 5-patch set reworking the config variables in the MCA code. There's an out-of-tree change which Greg and I agreed to push through the RAS tree. These changes are for the next merge window.
Please pull,
thanks.
The following changes since commit 6f0c0580b70c89094b3422ba81118c7b959c7556:
Linux 3.7-rc2 (2012-10-20 12:11:32 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras.git tags/mca_cfg
for you to fetch changes up to 1462594bf2866c1dc80066ed6f49f4331c551901:
x86, MCA: Finish mca_config conversion (2012-10-26 14:37:58 +0200)
----------------------------------------------------------------
Rework all config variables used throughout the MCA code and collect them together into a mca_config struct. This keeps them tightly and neatly packed together instead of spilled all over the place.
Then, convert those which are used as booleans into real booleans and save some space.
----------------------------------------------------------------
Borislav Petkov (5):
drivers/base: Add a DEVICE_BOOL_ATTR macro x86, MCA: Convert dont_log_ce, banks and tolerant x86, MCA: Convert rip_msr, mce_bootlog, monarch_timeout x86, MCA: Convert the next three variables batch x86, MCA: Finish mca_config conversion
arch/x86/include/asm/mce.h | 21 ++- arch/x86/kernel/cpu/mcheck/mce-internal.h | 2 - arch/x86/kernel/cpu/mcheck/mce-severity.c | 4 +- arch/x86/kernel/cpu/mcheck/mce.c | 209 +++++++++++++++--------------- arch/x86/kernel/cpu/mcheck/mce_intel.c | 8 +- arch/x86/lguest/boot.c | 2 +- drivers/base/core.c | 21 +++ include/linux/device.h | 7 + 8 files changed, 159 insertions(+), 115 deletions(-)
Signature · 8 lines
Regards/Gruss, Boris. Advanced Micro Devices GmbH Einsteinring 24, 85609 Dornach GM: Alberto Bozzo Reg: Dornach, Landkreis Muenchen HRB Nr. 43632 WEEE Registernr: 129 19551
Quoted 37 lines · Borislav Petkov
Hi guys,
this is 5-patch set reworking the config variables in the MCA code. There's an out-of-tree change which Greg and I agreed to push through the RAS tree. These changes are for the next merge window.
Please pull,
thanks.The following changes since commit
6f0c0580b70c89094b3422ba81118c7b959c7556:Linux 3.7-rc2 (2012-10-20 12:11:32 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras.gittags/mca_cfgfor you to fetch changes up to
1462594bf2866c1dc80066ed6f49f4331c551901:x86, MCA: Finish
mca_configconversion (2012-10-26 14:37:58 +0200)----------------------------------------------------------------
Rework all config variables used throughout the MCA code and collect them together into amca_configstruct. This keeps them tightly and neatly packed together instead of spilled all over the place.Then, convert those which are used as booleans into real booleans and save some space.
----------------------------------------------------------------
Borislav Petkov (5):
drivers/base: Add aDEVICE_BOOL_ATTRmacro x86, MCA: Convertdont_log_ce, banks and tolerant x86, MCA: Convertrip_msr,mce_bootlog,monarch_timeoutx86, MCA: Convert the next three variables batch x86, MCA: Finishmca_configconversion
Quoted 9 lines
arch/x86/include/asm/mce.h | 21 ++- arch/x86/kernel/cpu/mcheck/mce-internal.h | 2 - arch/x86/kernel/cpu/mcheck/mce-severity.c | 4 +- arch/x86/kernel/cpu/mcheck/mce.c | 209 +++++++++++++++--------------- arch/x86/kernel/cpu/mcheck/mce_intel.c | 8 +- arch/x86/lguest/boot.c | 2 +- drivers/base/core.c | 21 +++ include/linux/device.h | 7 + 8 files changed, 159 insertions(+), 115 deletions(-)
Pulled, thanks Boris!
Ingo