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)
commit37ecb257f68ce4fb7c7048a1123bbcbbe36d9575
treeb81bf7e547600dbad56b8dc2325173efd52073c1
parentb8c649a99d582a6d8afd8457ba6145c624b8a76f
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