powerpc/booke64: Use GSRR registers in Guest Doorbell interrupts
authorMihai Caraman <mihai.caraman@freescale.com>
Mon, 6 Aug 2012 03:27:04 +0000 (03:27 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 5 Sep 2012 05:35:43 +0000 (15:35 +1000)
commit5473eb1c07009956be5f4df65d51f8e24d8eb1de
tree69ca3a9ea3aee261bc1db482d63ed82b34df5bdd
parenta1310757218e0757ee77d2ce05c43028430ed9dd
powerpc/booke64: Use GSRR registers in Guest Doorbell interrupts

Guest Doorbell interrupts use guest save and restore registers. Add a new
Guest Doorbell exception type to accommodate GSRR0/1 SPRs usage in exception
prolog and fix the exception handler.

Signed-off-by: Mihai Caraman <mihai.caraman@freescale.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/exception-64e.h
arch/powerpc/include/asm/reg.h
arch/powerpc/kernel/exceptions-64e.S