]> git.baikalelectronics.ru Git - kernel.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)
commita3417f6d947fea214e7c767f6a76b706e7421c62
tree0f11c372b5f51f16303934e84ed6db9ee85ec405
parent04aaae7092d235f1cc412c8f839a05d46b4c183b
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