[PATCH 2/4] KVM: PPC: BookE: Emulate mfspr on EPR

2013-01-07 Thread Alexander Graf
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 ag...@suse.de --- arch/powerpc/kvm/booke_emulate.c |3 +++ 1 files changed, 3 insertions(+), 0

[PATCH 2/4] KVM: PPC: BookE: Emulate mfspr on EPR

2013-01-04 Thread Alexander Graf
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 ag...@suse.de --- arch/powerpc/kvm/booke_emulate.c |3 +++ 1 files changed, 3 insertions(+), 0

Re: [PATCH 2/4] KVM: PPC: BookE: Emulate mfspr on EPR

2013-01-04 Thread Scott Wood
On 01/04/2013 11:36:38 AM, Alexander Graf wrote: 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 ag...@suse.de --- arch/powerpc/kvm/booke_emulate.c |3

Re: [PATCH 2/4] KVM: PPC: BookE: Emulate mfspr on EPR

2013-01-04 Thread Alexander Graf
On 04.01.2013, at 20:50, Scott Wood wrote: On 01/04/2013 11:36:38 AM, Alexander Graf wrote: 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

[PATCH 2/4] KVM: PPC: BookE: Emulate mfspr on EPR

2013-01-04 Thread Alexander Graf
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 ag...@suse.de --- arch/powerpc/kvm/booke_emulate.c |3 +++ 1 files changed, 3 insertions(+), 0

[PATCH 2/4] KVM: PPC: BookE: Emulate mfspr on EPR

2013-01-04 Thread Alexander Graf
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 ag...@suse.de --- arch/powerpc/kvm/booke_emulate.c |3 +++ 1 files changed, 3 insertions(+), 0

Re: [PATCH 2/4] KVM: PPC: BookE: Emulate mfspr on EPR

2013-01-04 Thread Scott Wood
On 01/04/2013 11:36:38 AM, Alexander Graf wrote: 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 ag...@suse.de --- arch/powerpc/kvm/booke_emulate.c |3

Re: [PATCH 2/4] KVM: PPC: BookE: Emulate mfspr on EPR

2013-01-04 Thread Alexander Graf
On 04.01.2013, at 20:50, Scott Wood wrote: On 01/04/2013 11:36:38 AM, Alexander Graf wrote: 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

[PATCH 2/4] KVM: PPC: BookE: Emulate mfspr on EPR

2013-01-04 Thread Alexander Graf
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 ag...@suse.de --- arch/powerpc/kvm/booke_emulate.c |3 +++ 1 files changed, 3 insertions(+), 0