KVM: PPC: Book3S 64: Move GUEST_MODE_SKIP test into KVM
authorNicholas Piggin <npiggin@gmail.com>
Fri, 28 May 2021 09:07:22 +0000 (19:07 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 10 Jun 2021 12:12:11 +0000 (22:12 +1000)
commitf33e0702d98cc5ff21f44833525b07581862eb57
treedfb4b5683fa2cd5245377f7eaa95dbb65b4a2fb1
parentf36011569b90b3973f07cea00c5872c4dc0c707f
KVM: PPC: Book3S 64: Move GUEST_MODE_SKIP test into KVM

Move the GUEST_MODE_SKIP logic into KVM code. This is quite a KVM
internal detail that has no real need to be in common handlers.

Add a comment explaining the what and why of KVM "skip" interrupts.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Daniel Axtens <dja@axtens.net>
Reviewed-by: Fabiano Rosas <farosas@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210528090752.3542186-3-npiggin@gmail.com
arch/powerpc/kernel/exceptions-64s.S
arch/powerpc/kvm/book3s_64_entry.S