[PATCH 3/4] KVM: PPC: BookE: Implement EPR exit

2013-01-07 Thread Alexander Graf
The External Proxy Facility in FSL BookE chips allows the interrupt controller to automatically acknowledge an interrupt as soon as a core gets its pending external interrupt delivered. Today, user space implements the interrupt controller, so we need to check on it during such a cycle. This patc

Re: [PATCH 3/4] KVM: PPC: BookE: Implement EPR exit

2013-01-07 Thread Alexander Graf
On 07.01.2013, at 18:47, Scott Wood wrote: > On 01/04/2013 05:41:42 PM, Alexander Graf wrote: >> @@ -408,6 +411,11 @@ static int kvmppc_booke_irqprio_deliver(struct kvm_vcpu >> *vcpu, >> set_guest_esr(vcpu, vcpu->arch.queued_esr); >> if (update_dear == true) >>

Re: [PATCH 3/4] KVM: PPC: BookE: Implement EPR exit

2013-01-07 Thread Scott Wood
On 01/04/2013 05:41:42 PM, Alexander Graf wrote: @@ -408,6 +411,11 @@ static int kvmppc_booke_irqprio_deliver(struct kvm_vcpu *vcpu, set_guest_esr(vcpu, vcpu->arch.queued_esr); if (update_dear == true) set_guest_dear(vcpu, vcpu->ar

[PATCH 3/4] KVM: PPC: BookE: Implement EPR exit

2013-01-04 Thread Alexander Graf
The External Proxy Facility in FSL BookE chips allows the interrupt controller to automatically acknowledge an interrupt as soon as a core gets its pending external interrupt delivered. Today, user space implements the interrupt controller, so we need to check on it during such a cycle. This patc

Re: [PATCH 3/4] KVM: PPC: BookE: Implement EPR exit

2013-01-04 Thread Scott Wood
On 01/04/2013 11:36:39 AM, Alexander Graf wrote: diff --git a/arch/powerpc/kvm/booke.c b/arch/powerpc/kvm/booke.c index 4ae83f9..363301f 100644 --- a/arch/powerpc/kvm/booke.c +++ b/arch/powerpc/kvm/booke.c @@ -306,7 +306,7 @@ static int kvmppc_booke_irqprio_deliver(struct kvm_vcpu *vcpu, {

[PATCH 3/4] KVM: PPC: BookE: Implement EPR exit

2013-01-04 Thread Alexander Graf
The External Proxy Facility in FSL BookE chips allows the interrupt controller to automatically acknowledge an interrupt as soon as a core gets its pending external interrupt delivered. Today, user space implements the interrupt controller, so we need to check on it during such a cycle. This patc