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: Borislav Petkov <bp@alien8.de>
Date: 2021-05-12 14:31:12
Also in: lkml

On Wed, May 12, 2021 at 09:03:41AM -0500, Brijesh Singh wrote:
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.

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help