]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
powerpc/virtex5: Fix Virtex5 machine check handling
authorGrant Likely <grant.likely@secretlab.ca>
Thu, 4 Dec 2008 05:39:55 +0000 (05:39 +0000)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Fri, 5 Dec 2008 19:34:26 +0000 (14:34 -0500)
commit640d17d60e83401e10e66a0ab6e9e2d6350df656
tree0f11c372b5f51f16303934e84ed6db9ee85ec405
parentfeaf3848a813a106f163013af6fcf6c4bfec92d9
powerpc/virtex5: Fix Virtex5 machine check handling

The 440x5 core in the Virtex5 uses the 440A type machine check
(ie, they have MCSRR0/MCSRR1). They thus need to call the
appropriate fixup function to hook the right variant of the
exception.

Without this, all machine checks become fatal due to loss
of context when entering the exception handler.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
arch/powerpc/kernel/cpu_setup_44x.S
arch/powerpc/kernel/cputable.c