From: Sean Christopherson <seanjc@google.com>
To: "Dr. David Alan Gilbert" <dave@treblig.org>
Cc: Blair Strater <strater@protonmail.com>,
Vitaly Kuznetsov <vkuznets@redhat.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: 5.10.189 and 5.10.190 breaks nested virtualization
Date: Wed, 16 Aug 2023 14:16:58 +0000 [thread overview]
Message-ID: <ZNzX15Ao9LSW6KF/@google.com> (raw)
In-Reply-To: <ZNzVxMPkOvqOGACD@gallifrey>
On Wed, Aug 16, 2023, Dr. David Alan Gilbert wrote:
> * Blair Strater (strater@protonmail.com) wrote:
> > Per the request at https://lwn.net/Articles/940798/, I'm reaching out to
> > let you know that this patch breaks nested virtualization on AMD
> > processors.
> >
> > I've tested 5.10.189 and 5.10.190 on the "outer" virtual host, and both
> > Debian 12 running libvirt, and Proxmox 7 as "inner" hosts. For Debian, the
> > nested VM fails to start at all, and consumes the entirety of one CPU core.
> > For Proxmox, 100-200MB/second of memory is allocated and never released,
> > and also the guest fails to start. The problems go away when taking the
> > outer host back to 5.10.188.
> >
> > The processor in question is a Ryzen 7 2700. The kernel revision for
> > Proxmox is 5.15.108-1-pve, and the kernel revision for Debian 12 is
> > 6.1.0-11-amd64. I've run into another person who can confirm that this bug
> > also occurs in the 6.4 series, "somewhere between 6.4.3 and 6.4.9", 6.4.9
> > being the likely culprit.
> >
> > Please let me know if you need any other information.
> >
> > I apologize for bothering an entire mailing list, Greg's email bot told me to.
>
> cc'd in Vitaly (who I notice was working another regression bug in
> the recent stables), and Sean (who I notice has an L2 patch in the
> 5.10.189..190 set).
Does running with "spec_rstack_overflow=off" fix things for you? If so, can you
then try testing the fix for the guest RFLAGS corruption[1]? It's a bit of a long
shot, but I'm hoping we'll get lucky and all of these nested SVM errors[2] are
just weird symptoms of branches going awry.
[1] https://lore.kernel.org/all/20230811155255.250835-1-seanjc@google.com
[2] https://bugzilla.kernel.org/show_bug.cgi?id=217796
prev parent reply other threads:[~2023-08-16 14:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-14 12:56 5.10.189 and 5.10.190 breaks nested virtualization Blair Strater
[not found] ` <ZNzVxMPkOvqOGACD@gallifrey>
2023-08-16 14:16 ` Sean Christopherson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZNzX15Ao9LSW6KF/@google.com \
--to=seanjc@google.com \
--cc=dave@treblig.org \
--cc=linux-kernel@vger.kernel.org \
--cc=strater@protonmail.com \
--cc=vkuznets@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.