Re: [PATCH 04/37] KVM: arm/arm64: Get rid of vcpu->arch.irq_lines

2017-11-26 Thread Christoffer Dall
On Tue, Nov 14, 2017 at 12:17:44PM +, Julien Thierry wrote: > Hi Christoffer, > > On 12/10/17 11:41, Christoffer Dall wrote: > >We currently have a separate read-modify-write of the HCR_EL2 on entry > >to the guest for the sole purpose of setting the VF and VI bits, if set. > >Since this is mo

Re: [PATCH 04/37] KVM: arm/arm64: Get rid of vcpu->arch.irq_lines

2017-11-16 Thread Julien Thierry
On 14/11/17 12:17, Julien Thierry wrote: Hi Christoffer, On 12/10/17 11:41, Christoffer Dall wrote: We currently have a separate read-modify-write of the HCR_EL2 on entry to the guest for the sole purpose of setting the VF and VI bits, if set. Since this is most rarely the case (only when usi

Re: [PATCH 04/37] KVM: arm/arm64: Get rid of vcpu->arch.irq_lines

2017-11-14 Thread Julien Thierry
Hi Christoffer, On 12/10/17 11:41, Christoffer Dall wrote: We currently have a separate read-modify-write of the HCR_EL2 on entry to the guest for the sole purpose of setting the VF and VI bits, if set. Since this is most rarely the case (only when using userspace IRQ chip and interrupts are in

Re: [PATCH 04/37] KVM: arm/arm64: Get rid of vcpu->arch.irq_lines

2017-11-06 Thread Andrew Jones
On Thu, Oct 12, 2017 at 12:41:08PM +0200, Christoffer Dall wrote: > We currently have a separate read-modify-write of the HCR_EL2 on entry > to the guest for the sole purpose of setting the VF and VI bits, if set. > Since this is most rarely the case (only when using userspace IRQ chip > and interr

Re: [PATCH 04/37] KVM: arm/arm64: Get rid of vcpu->arch.irq_lines

2017-10-12 Thread Marc Zyngier
On 12/10/17 11:41, Christoffer Dall wrote: > We currently have a separate read-modify-write of the HCR_EL2 on entry > to the guest for the sole purpose of setting the VF and VI bits, if set. > Since this is most rarely the case (only when using userspace IRQ chip > and interrupts are in flight), le

[PATCH 04/37] KVM: arm/arm64: Get rid of vcpu->arch.irq_lines

2017-10-12 Thread Christoffer Dall
We currently have a separate read-modify-write of the HCR_EL2 on entry to the guest for the sole purpose of setting the VF and VI bits, if set. Since this is most rarely the case (only when using userspace IRQ chip and interrupts are in flight), let's get rid of this operation and instead modify th