From: "Roger Pau Monné" <roger.pau@citrix.com>
To: Andrew Cooper <Andrew.Cooper3@citrix.com>
Cc: "xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>,
"Henry.Wang@arm.com" <Henry.Wang@arm.com>,
George Dunlap <George.Dunlap@citrix.com>,
Jan Beulich <jbeulich@suse.com>, Julien Grall <julien@xen.org>,
Stefano Stabellini <sstabellini@kernel.org>, Wei Liu <wl@xen.org>
Subject: Re: [PATCH for-4.17 v4 0/2] amd/virt_ssbd: refactoring and fixes
Date: Wed, 16 Nov 2022 10:53:44 +0100 [thread overview]
Message-ID: <Y3SzKDXZN7uKVFMN@Air-de-Roger> (raw)
In-Reply-To: <463e03d5-7a07-f26a-de24-13c4a12e8c20@citrix.com>
On Wed, Nov 16, 2022 at 12:27:29AM +0000, Andrew Cooper wrote:
> On 15/11/2022 13:26, Roger Pau Monne wrote:
> > Hello,
> >
> > Just two patches remaining, and the last one is already Acked.
> >
> > First patch deals with moving the switching of SSBD from guest
> > vm{entry,exit} to vCPU context switch, and lets Xen run with the guest
> > SSBD selection under some circumstances by default.
> >
> > Andrew has expressed reservations to me privately with patch 2/2, but
> > I'm still sending it so that comments can be made publicly (or the patch
> > applied).
> >
> > Thanks, Roger.
>
> To avoid a further round trip, I've committed these patches with some
> minor non-functional adjustments. In patch 1, an expanded context
> switching comment, and in patch 2, an adjusted commit message and
> movement into __initdata.
FWIW, I didn't expand the comment in patch 1 because I though it was
likely to get out of sync.
> I've also closed out #90, which closes one of the release blockers.
>
> All other bugs can wait until 4.18, including the totally bizarre one
> where using cpuid="host:virt-ssbd=1" in the xl.cfg file causes IBRS to
> become hidden. I confirmed this was pre-existing behaviour, but haven't
> investigated further.
Hm, I don't seem to be able to use cpuid="host:virt-ssbd=1", I get:
# xl create -c tests/virt-spec/test-hvm32-virt-spec.cfg
Parsing config from tests/virt-spec/test-hvm32-virt-spec.cfg
while parsing CPUID string: "host:virt-ssbd=1":
error: first word must be "host"
However using
cpuid=["0x80000008:ebx=xxxxxx1xxxxxxxxxxxxxxxxxxxxxxxxx"] does work
and I can see both virt-ssbd and ibrs present in the guest CPUID on an
EPYC 7543P (Milan).
Regards, Roger.
prev parent reply other threads:[~2022-11-16 9:54 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-15 13:26 [PATCH for-4.17 v4 0/2] amd/virt_ssbd: refactoring and fixes Roger Pau Monne
2022-11-15 13:26 ` [PATCH for-4.17 v4 1/2] amd/virt_ssbd: set SSBD at vCPU context switch Roger Pau Monne
2022-11-15 13:26 ` [PATCH for-4.17 v4 2/2] amd: remove VIRT_SC_MSR_HVM synthetic feature Roger Pau Monne
2022-11-15 16:21 ` Andrew Cooper
2022-11-15 16:44 ` Jan Beulich
2022-11-15 23:54 ` Andrew Cooper
2022-11-16 7:41 ` Jan Beulich
2022-11-16 10:11 ` Roger Pau Monné
2022-11-15 16:50 ` Roger Pau Monné
2022-11-16 0:27 ` [PATCH for-4.17 v4 0/2] amd/virt_ssbd: refactoring and fixes Andrew Cooper
2022-11-16 9:53 ` Roger Pau Monné [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=Y3SzKDXZN7uKVFMN@Air-de-Roger \
--to=roger.pau@citrix.com \
--cc=Andrew.Cooper3@citrix.com \
--cc=George.Dunlap@citrix.com \
--cc=Henry.Wang@arm.com \
--cc=jbeulich@suse.com \
--cc=julien@xen.org \
--cc=sstabellini@kernel.org \
--cc=wl@xen.org \
--cc=xen-devel@lists.xenproject.org \
/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.