Home
last modified time | relevance | path

Searched refs:ghcb_version (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/arch/x86/coco/sev/
Dshared.c95 static u16 ghcb_version __ro_after_init;
143 if (ghcb_version < 2) in get_hv_features()
188 ghcb_version = min_t(size_t, GHCB_MSR_PROTO_MAX(val), GHCB_PROTOCOL_MAX); in sev_es_negotiate_protocol()
347 ghcb->protocol_version = RIP_REL_REF(ghcb_version); in svsm_perform_ghcb_protocol()
380 ghcb->protocol_version = ghcb_version; in sev_es_ghcb_hv_call()
/linux-6.12.1/Documentation/virt/kvm/x86/
Damd-memory-encryption.rst98 __u16 ghcb_version; /* maximum guest GHCB version allowed */
107 ``ghcb_version`` must be 0 for SEV virtual machines, as they do not issue GHCB
108 requests. If ``ghcb_version`` is 0 for any other guest type, then the maximum
121 set to zero, and ``ghcb_version`` is set to 0 for KVM_SEV_INIT and 1 for
/linux-6.12.1/arch/x86/kvm/svm/
Dsev.c421 if (data->ghcb_version > GHCB_VERSION_MAX || (!es_active && data->ghcb_version)) in __sev_guest_init()
430 sev->ghcb_version = data->ghcb_version; in __sev_guest_init()
437 if (sev->es_active && !sev->ghcb_version) in __sev_guest_init()
438 sev->ghcb_version = GHCB_VERSION_DEFAULT; in __sev_guest_init()
482 .ghcb_version = 0, in sev_guest_init()
496 data.ghcb_version = GHCB_VERSION_MIN; in sev_guest_init()
4146 set_ghcb_msr(svm, GHCB_MSR_SEV_INFO((__u64)sev->ghcb_version, in sev_handle_vmgexit_msr_protocol()
4573 set_ghcb_msr(svm, GHCB_MSR_SEV_INFO((__u64)sev->ghcb_version, in sev_es_vcpu_reset()
Dsvm.h105 u16 ghcb_version; /* Highest guest GHCB protocol version allowed */ member
/linux-6.12.1/arch/x86/boot/compressed/
Dsev.c426 if (ghcb_version < 2 || (!boot_ghcb && !early_setup_ghcb())) in snp_check_features()
/linux-6.12.1/arch/x86/include/uapi/asm/
Dkvm.h721 __u16 ghcb_version; member
/linux-6.12.1/tools/arch/x86/include/uapi/asm/
Dkvm.h721 __u16 ghcb_version; member