]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
KVM: x86: Refactor handling of SIPI_RECEIVED when setting MP_STATE
authorSean Christopherson <seanjc@google.com>
Thu, 5 Jun 2025 19:50:18 +0000 (12:50 -0700)
committerSean Christopherson <seanjc@google.com>
Fri, 20 Jun 2025 20:08:00 +0000 (13:08 -0700)
commit58c81bc1e71de7d02848a1c1579256f5ebd38e07
treeec4818ac8341b9f6d5bb073149cc838c19a1fa9f
parent0fe3e8d804fdcc09ef44fbffcad8c39261a03470
KVM: x86: Refactor handling of SIPI_RECEIVED when setting MP_STATE

Convert the incoming mp_state to INIT_RECIEVED instead of manually calling
kvm_set_mp_state() to make it more obvious that the SIPI_RECEIVED logic is
translating the incoming state to KVM's internal tracking, as opposed to
being some entirely unique flow.

Opportunistically add a comment to explain what the code is doing.

No functional change intended.

Link: https://lore.kernel.org/r/20250605195018.539901-5-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/x86.c