[PATCH 10/12] KVM: PPC: bookehv: Add EPCR support in mtspr/mfspr emulation

Alexander Graf agraf at suse.de
Sun Dec 2 00:59:03 EST 2012


On 11.10.2012, at 18:13, Mihai Caraman wrote:

> 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 at freescale.com>
> ---
> v1: extended guard defines with CONFIG_KVM_BOOKE_HV required by arch's epcr and
> shadow_epcr fields.

I removed that constraint in another patch I just sent out and will remove the guards on HV while applying the patch.


Alex



More information about the Linuxppc-dev mailing list