aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/gcc-common.h
diff options
context:
space:
mode:
authorTony Luck <[email protected]>2018-05-25 14:42:09 -0700
committerThomas Gleixner <[email protected]>2018-06-07 22:22:12 +0200
commit4c5717da1d021cf368eabb3cb1adcaead56c0d1e (patch)
tree40e4abcc6dec6cca1cb8034cfdf0eaf4f67605c3 /scripts/gcc-plugins/gcc-common.h
parentc7d606f560e4c698884697fef503e4abacdd8c25 (diff)
x86/mce: Check for alternate indication of machine check recovery on Skylake
Currently we just check the "CAPID0" register to see whether the CPU can recover from machine checks. But there are also some special SKUs which do not have all advanced RAS features, but do enable machine check recovery for use with NVDIMMs. Add a check for any of bits {8:5} in the "CAPID5" register (each reports some NVDIMM mode available, if any of them are set, then the system supports memory machine check recovery). Signed-off-by: Tony Luck <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Cc: Qiuxu Zhuo <[email protected]> Cc: Ashok Raj <[email protected]> Cc: [email protected] # 4.9 Cc: Dan Williams <[email protected]> Cc: Borislav Petkov <[email protected]> Link: https://lkml.kernel.org/r/03cbed6e99ddafb51c2eadf9a3b7c8d7a0cc204e.1527283897.git.tony.luck@intel.com
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions