]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
x86: remove 6 bank limitation in 64 bit MCE reporting code
authorVenki Pallipadi <venkatesh.pallipadi@intel.com>
Mon, 12 May 2008 13:43:34 +0000 (15:43 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 12 May 2008 19:27:55 +0000 (21:27 +0200)
commit8edc5cc5ec880c96de8e6686fb0d7a5231e91c05
tree2ed7bdeca3e4e57d611614a33b672865a91167ae
parent492c2e476eac010962850006c49df326919b284c
x86: remove 6 bank limitation in 64 bit MCE reporting code

Eliminate the 6 bank restriction in 64 bit mce reporting code. This
restriction is artificial (due to static creation of sysfs files) and 32
bit code does not have any such restriction.

This change helps in reporting the details of machine checks on a
machine check exception with errors in bank 6 and above on CPUs that
support those banks. Without the patch, machine check errors in those
banks are not reported.

We still have 128 (MCE_EXTENDED_BANK) bank restriction instead of max
256 supported in hardware. That is not changed in the patch below as it
will have some user level mcelog utility dependency, with bank 128 being
used for thermal reporting currently.

The patch below does not create sysfs control (bankNctl) for banks
higher than 6 as well. That needs some pre-cleanup in /sysfs mce layout,
removal of per cpu /sysfs entries for bankctl as they are really global
system level control today. That change will follow. This basic change
is critical to report the detailed errors on banks higher than 6.

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/mcheck/mce_64.c