Home
last modified time | relevance | path

Searched refs:GHCB_MSR_PROTO_MAX (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/arch/x86/include/asm/
H A Dsev-common.h32 #define GHCB_MSR_PROTO_MAX(v) (((v) >> 48) & 0xffff) macro
/openbmc/linux/arch/x86/hyperv/
H A Divm.c171 if (GHCB_MSR_PROTO_MAX(val) < GHCB_PROTOCOL_MIN || in hv_ghcb_negotiate_protocol()
175 hv_ghcb_version = min_t(size_t, GHCB_MSR_PROTO_MAX(val), in hv_ghcb_negotiate_protocol()
/openbmc/linux/arch/x86/kernel/
H A Dsev-shared.c156 if (GHCB_MSR_PROTO_MAX(val) < GHCB_PROTOCOL_MIN || in sev_es_negotiate_protocol()
160 ghcb_version = min_t(size_t, GHCB_MSR_PROTO_MAX(val), GHCB_PROTOCOL_MAX); in sev_es_negotiate_protocol()