Thread (62 messages) 62 messages, 2 authors, 2021-05-27

Re: [PATCH Part1 RFC v2 02/20] x86/sev: Save the negotiated GHCB version

From: Brijesh Singh <hidden>
Date: 2021-05-12 15:11:03
Also in: lkml

On 5/12/21 9:31 AM, Borislav Petkov wrote:
On Wed, May 12, 2021 at 09:03:41AM -0500, Brijesh Singh wrote:
quoted
Version 2 of the spec adds bunch of NAEs, and several of them are
optional except the hyervisor features NAE. IMO, a guest should bump the
GHCB version only after it has implemented all the required NAEs from
the version 2. It may help during the git bisect of the guest kernel --
mainly when the hypervisor supports the higher version.
Aha, so AFAICT, the version bump should happen in patch 3 which adds
that HV features NAE - not in a separate one after that. The logic
being, with the patch which adds the functionality needed, you mark the
guest as supporting v2.
Sure, I will squash the patch 3 and 4 and will do the same for the
hypervisor series. thanks

-Brijesh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help