powerpc: Base support for exceptions using HSRR0/1
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 5 Apr 2011 04:20:31 +0000 (14:20 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 20 Apr 2011 01:03:22 +0000 (11:03 +1000)
commita5d4f3ad3a28cf046836b9bfae61d532b8f77036
tree6940ace9422e91459d819b385dacf9b2ab44bd50
parent2dd60d79e0202628a47af9812a84d502cc63628c
powerpc: Base support for exceptions using HSRR0/1

Pass the register type to the prolog, also provides alternate "HV"
version of hardware interrupt (0x500) and adjust LPES accordingly

We tag those interrupts by setting bit 0x2 in the trap number

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/exception-64s.h
arch/powerpc/include/asm/kvm_asm.h
arch/powerpc/include/asm/kvm_book3s_asm.h
arch/powerpc/kernel/cpu_setup_power7.S
arch/powerpc/kernel/exceptions-64s.S
arch/powerpc/kvm/book3s_rmhandlers.S
arch/powerpc/kvm/book3s_segment.S
arch/powerpc/platforms/iseries/exception.S
arch/powerpc/platforms/iseries/exception.h