KVM: PPC: bookehv: Add EPCR support in mtspr/mfspr emulation
authorMihai Caraman <mihai.caraman@freescale.com>
Thu, 11 Oct 2012 06:13:27 +0000 (06:13 +0000)
committerAlexander Graf <agraf@suse.de>
Thu, 6 Dec 2012 00:34:19 +0000 (01:34 +0100)
Add EPCR support in booke mtspr/mfspr emulation. EPCR register is defined only
for 64-bit and HV categories, we will expose it at this point only to 64-bit
virtual processors running on 64-bit HV hosts.
Define a reusable setter function for vcpu's EPCR.

Signed-off-by: Mihai Caraman <mihai.caraman@freescale.com>
[agraf: move HV dependency in the code]
Signed-off-by: Alexander Graf <agraf@suse.de>

No differences found