Re: [PATCH v2 3/3] KVM: arm64: Use generic KVM xfer to guest work function

2021-07-31 Thread Sean Christopherson
On Fri, Jul 30, 2021, Oliver Upton wrote: > > On Fri, Jul 30, 2021 at 2:41 AM Marc Zyngier wrote: > > > > On Thu, 29 Jul 2021 23:09:16 +0100, Oliver Upton wrote: > > > @@ -714,6 +715,13 @@ static bool vcpu_mode_is_bad_32bit(struct kvm_vcpu > > > *vcpu) > > >

Re: [PATCH v2 3/3] KVM: arm64: Use generic KVM xfer to guest work function

2021-07-30 Thread Oliver Upton
On Fri, Jul 30, 2021 at 9:56 AM Sean Christopherson wrote: > > On Fri, Jul 30, 2021, Oliver Upton wrote: > > > > On Fri, Jul 30, 2021 at 2:41 AM Marc Zyngier wrote: > > > > > > On Thu, 29 Jul 2021 23:09:16 +0100, Oliver Upton > > > wrote: > > > > @@ -714,6 +715,13 @@ static bool

Re: [PATCH v2 3/3] KVM: arm64: Use generic KVM xfer to guest work function

2021-07-30 Thread Oliver Upton
Marc, On Fri, Jul 30, 2021 at 2:41 AM Marc Zyngier wrote: > > Hi Oliver, > > On Thu, 29 Jul 2021 23:09:16 +0100, > Oliver Upton wrote: > > > > Clean up handling of checks for pending work by switching to the generic > > infrastructure to do so. > > > > We pick up handling for TIF_NOTIFY_RESUME

Re: [PATCH v2 3/3] KVM: arm64: Use generic KVM xfer to guest work function

2021-07-30 Thread Marc Zyngier
Hi Oliver, On Thu, 29 Jul 2021 23:09:16 +0100, Oliver Upton wrote: > > Clean up handling of checks for pending work by switching to the generic > infrastructure to do so. > > We pick up handling for TIF_NOTIFY_RESUME from this switch, meaning that > task work will be correctly handled. > >

[PATCH v2 3/3] KVM: arm64: Use generic KVM xfer to guest work function

2021-07-29 Thread Oliver Upton
Clean up handling of checks for pending work by switching to the generic infrastructure to do so. We pick up handling for TIF_NOTIFY_RESUME from this switch, meaning that task work will be correctly handled. Signed-off-by: Oliver Upton --- arch/arm64/kvm/Kconfig | 1 + arch/arm64/kvm/arm.c