lkml.org 
[lkml]   [2021]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH Part1 RFC v2 04/20] x86/sev: Increase the GHCB protocol version
    Date
    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
    \
     
     \ /
      Last update: 2021-04-30 14:17    [W:4.364 / U:0.116 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site