diff options
author | Boris Ostrovsky <boris.ostrovsky@oracle.com> | 2013-03-14 17:10:41 -0400 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2013-03-22 11:25:01 +0100 |
commit | bafcdd3b6cb86035cdb0511450961edcdc084c27 (patch) | |
tree | bd7882fdcc935705c41a54c66d13bebdade06e03 /arch/x86/include | |
parent | c76e81643c83a84d53a466de49baf38d5779c5ad (diff) |
x86, MCE, AMD: Use MCG_CAP MSR to find out number of banks on AMD
Currently number of error reporting register banks is hardcoded to
6 on AMD processors. This may break in virtualized scenarios when
a hypervisor prefers to report fewer banks than what the physical
HW provides.
Since number of supported banks is reported in MSR_IA32_MCG_CAP[7:0]
that's what we should use.
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Link: http://lkml.kernel.org/r/1363295441-1859-3-git-send-email-boris.ostrovsky@oracle.com
[ reverse NULL ptr test logic ]
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'arch/x86/include')
0 files changed, 0 insertions, 0 deletions