Comment 9 for bug 1966499

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Hello,
this patch e90e51d5f01d ("KVM: VMX: clear vmx_x86_ops.sync_pir_to_irr if APICv is disabled") has been applied to our master-next branch of Impish tree.

commit 1b611352fd6fd42a5a672f52f5f3035d48b3cd13
Author: Paolo Bonzini <email address hidden>
Date: Tue Nov 30 07:36:41 2021 -0500

    KVM: VMX: clear vmx_x86_ops.sync_pir_to_irr if APICv is disabled

    BugLink: https://bugs.launchpad.net/bugs/1958287

    [ Upstream commit e90e51d5f01d2baae5dcce280866bbb96816e978 ]

    There is nothing to synchronize if APICv is disabled, since neither
    other vCPUs nor assigned devices can set PIR.ON.

    Signed-off-by: Paolo Bonzini <email address hidden>
    Signed-off-by: Sasha Levin <email address hidden>
    Signed-off-by: Kamal Mostafa <email address hidden>
    Signed-off-by: Stefan Bader <email address hidden>

It should be included in 5.13.0-40.45 of SRU cycle 2022 03/21 (tracking bug lp:1966701)
I would suggest you to give this proposed kernel a try.

Also,
can you provide us the step to reproduce this?
I can't reproduce this on an clean Impish bare-metal system running with 5.13.0-39-generic with our KVM smoke test (which utilize uvt-kvm to create the KVM instance).
It would be nice to improve the test coverage with it.
Thanks!