]> bbs.cooldavid.org Git - net-next-2.6.git/commit
powerpc: Clear MSR_RI during RTAS calls
authorAnton Blanchard <anton@samba.org>
Sun, 7 Feb 2010 19:37:29 +0000 (19:37 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 9 Feb 2010 02:56:24 +0000 (13:56 +1100)
commit44c9f3cc1a07503b653b571eac5792436da39a30
treedf99ffef915bf949b112e24323e6bf80139d94d3
parent8354be9c104db8e92bb079e29540fbafb7f09b5c
powerpc: Clear MSR_RI during RTAS calls

RTAS should never cause an exception but if it does (for example accessing
outside our RMO) then we might go a long way through the kernel before
oopsing. If we unset MSR_RI we should at least stop things on exception
exit.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/entry_64.S