powerpc/64s/exception: KVM handler can set the HSRR trap bit
authorNicholas Piggin <npiggin@gmail.com>
Sat, 22 Jun 2019 13:15:18 +0000 (23:15 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 2 Jul 2019 10:24:42 +0000 (20:24 +1000)
commitc0c6cd156c1239cd199a3bc083f1924518dd02a6
treeed200b8cae48d47685e9a809b1fb77b8808123ed
parent17bdc064a1fe8638b526ec44e6593685dbfdc714
powerpc/64s/exception: KVM handler can set the HSRR trap bit

Move the KVM trap HSRR bit into the KVM handler, which can be
conditionally applied when hsrr parameter is set.

No generated code change.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/exception-64s.h
arch/powerpc/include/asm/head-64.h