]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: BookE: Emulate mfspr on EPR
authorAlexander Graf <agraf@suse.de>
Fri, 4 Jan 2013 17:02:14 +0000 (18:02 +0100)
committerAlexander Graf <agraf@suse.de>
Thu, 10 Jan 2013 12:42:30 +0000 (13:42 +0100)
commitbd5e686392e42d1d1cebbcf26bb0a07f598f24ff
treeb81bf7e547600dbad56b8dc2325173efd52073c1
parent05a587b6a31806cbf6a649f52eb9da14ab836472
KVM: PPC: BookE: Emulate mfspr on EPR

The EPR register is potentially valid for PR KVM as well, so we need
to emulate accesses to it. It's only defined for reading, so only
handle the mfspr case.

Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/booke_emulate.c