Re: [PATCH] kvm: async_pf: fix rcu_irq_enter() with irqs enabled

From: Radim Krcmar
Date: Tue Jun 06 2017 - 09:29:07 EST


2017-06-05 12:21+0800, Wanpeng Li:
> 2017-04-26 22:56 GMT+08:00 Paolo Bonzini <pbonzini@xxxxxxxxxx>:
> > native_safe_halt enables interrupts, and you just shouldn't
> > call rcu_irq_enter() with interrupts enabled. Reorder the
> > call with the following local_irq_disable() to respect the
> > invariant.
> >
> > Reported-by: Ross Zwisler <ross.zwisler@xxxxxxxxxxxxxxx>
> > Cc: stable@xxxxxxxxxxxxxxx
> > Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>
>
> I'm afraid we miss this commit. This commit can fix the below warning

Applied to kvm/master,

> Tested-by: Wanpeng Li <wanpeng.li@xxxxxxxxxxx>

thanks for the testing and ping!