summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/signal32.c
diff options
context:
space:
mode:
authorBoris Ostrovsky2013-03-14 22:10:41 +0100
committerBorislav Petkov2013-03-22 11:25:01 +0100
commitbafcdd3b6cb86035cdb0511450961edcdc084c27 (patch)
treebd7882fdcc935705c41a54c66d13bebdade06e03 /arch/mips/kernel/signal32.c
parentx86, MCE, AMD: Replace shared_bank array with is_shared_bank() helper (diff)
downloadkernel-qcow2-linux-bafcdd3b6cb86035cdb0511450961edcdc084c27.tar.gz
kernel-qcow2-linux-bafcdd3b6cb86035cdb0511450961edcdc084c27.tar.xz
kernel-qcow2-linux-bafcdd3b6cb86035cdb0511450961edcdc084c27.zip
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/mips/kernel/signal32.c')
0 files changed, 0 insertions, 0 deletions