commit | 38f988240c611f9d2595feb1b8ddcb80b0e97dec | [log] [tgz] |
---|---|---|
author | Mihai Caraman <mihai.caraman@freescale.com> | Thu Oct 11 06:13:27 2012 +0000 |
committer | Alexander Graf <agraf@suse.de> | Thu Dec 06 01:34:19 2012 +0100 |
tree | 76890955b85d7d2e5de119353225d55a4858af56 | |
parent | 95e90b43c9c648bde607101e5a158941eec8e514 [diff] |
KVM: PPC: bookehv: Add EPCR support in mtspr/mfspr emulation 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>