Re: [PATCH] KVM: SVM: switch to raw spinlock for svm->ir_list_lock

From: Sean Christopherson
Date: Tue Nov 04 2025 - 12:47:42 EST


On Thu, 30 Oct 2025 15:41:30 -0400, Maxim Levitsky wrote:
> svm->ir_list_lock can be taken during __avic_vcpu_put which can be called
> from schedule() via kvm_sched_out.
>
> Therefore use a raw spinlock instead.
>
> This fixes the following lockdep warning:
>
> [...]

Applied to kvm-x86 fixes. Thanks for doing this, it's been on my todo list for
several months :-)

[1/1] KVM: SVM: switch to raw spinlock for svm->ir_list_lock
https://github.com/kvm-x86/linux/commit/fd92bd3b4445

--
https://github.com/kvm-x86/linux/tree/next