]> 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)
commit131b85f943dc23870f1cb108332e9260053b8dab
treeb81bf7e547600dbad56b8dc2325173efd52073c1
parentcc034d6e314a7793b52674101b67d7ed62404aae
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