Messages in this thread Patch in this message | | | From | Brijesh Singh <> | Subject | [PATCH Part1 RFC v2 04/20] x86/sev: Increase the GHCB protocol version | Date | Fri, 30 Apr 2021 07:16:00 -0500 |
| |
Now that the Linux guest supports version 2 of the GHCB specification, bump the maximum supported GHCB protocol version.
Signed-off-by: Brijesh Singh <brijesh.singh@amd.com> --- arch/x86/include/asm/sev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/include/asm/sev.h b/arch/x86/include/asm/sev.h index 7ec91b1359df..134a7c9d91b6 100644 --- a/arch/x86/include/asm/sev.h +++ b/arch/x86/include/asm/sev.h @@ -13,7 +13,7 @@ #include <asm/sev-common.h> #define GHCB_PROTOCOL_MIN 1ULL -#define GHCB_PROTOCOL_MAX 1ULL +#define GHCB_PROTOCOL_MAX 2ULL #define GHCB_DEFAULT_USAGE 0ULL #define VMGEXIT() { asm volatile("rep; vmmcall\n\r"); } -- 2.17.1
| |