Re: [GIT PULL] KVM (mostly s390) fixes for Linux 7.2-rc7

Paolo Bonzini <[email protected]>
Newsgroups org.kernel.vger.kvm,org.kernel.vger.linux-kernel
Message-ID <CABgObfZZGYbLHoAfkHDXyAz-Ua1-JfhDHO0Bt=bKh32dYshf5g@mail.gmail.com>
On Mon, Aug 10, 2026 at 11:30 PM Yosry Ahmed <[email protected]> wrote:
> I assume the answer is yes, and something is broken. But if the answer
> is no, then we shouldn't be looking any further and the fix proposed
> by you/Sean is correct regardless.

Even if the answer is yes, the exact same code works on Intel just
with INVVPID instead of INVLPGA, so that's fishy.

We did ask AMD a few months ago, and again about a month ago after
confirming that it's happening even with recent microcode (and also
happens on Milan processors that would not be affected by other
INVLPGA errata), but haven't gotten any answer yet.

> My goal is to make sure we are not papering over an existing bug in
> KVM's Hyper-V code. The fact that hyperv_tlb_flush is flaky with NPT=0
> makes me suspect there's a bug somewhere in this code, and it might be
> manifesting differently for NPT=0/1.

I've meant to debug the test but didn't have time for it... Maybe
today. It seems to be a different issue since it's 100% reproducible
with npt=0 and takes hundreds of hours with npt=1.

Paolo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.