diff options
| author | Aravind Gopalakrishnan <[email protected]> | 2015-05-27 14:03:34 -0500 |
|---|---|---|
| committer | Borislav Petkov <[email protected]> | 2015-06-03 16:18:22 +0200 |
| commit | 685d46d72ba456569d739cc3ff43577f4001d52f (patch) | |
| tree | e42e289d0baa778239c2f01536261633bd2a5848 /scripts/gcc-plugins/randomize_layout_plugin.c | |
| parent | e7f2ea1dbec30d607f0017706aa25b77477dd69c (diff) | |
EDAC, mce_amd_inj: Read out number of MCE banks from the hardware
The number of banks for a given processor is encoded in
MSR_IA32_MCG_CAP[7:0]. So obtain the value from that MSR and use it for
sanity checking in inj_bank_set() instead of doing a family/model check.
Signed-off-by: Aravind Gopalakrishnan <[email protected]>
Cc: linux-edac <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Borislav Petkov <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions