Home
last modified time | relevance | path

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

/linux/arch/x86/boot/compressed/
H A Dsev.c39 u16 ghcb_version __section(".data");
229 if (ghcb_version < 2 || (!boot_ghcb && !early_setup_ghcb())) in snp_check_features()
/linux/arch/x86/coco/sev/
H A Dvc-shared.c450 ghcb->protocol_version = ghcb_version; in sev_es_ghcb_hv_call()
653 ghcb_version = min_t(size_t, GHCB_MSR_PROTO_MAX(val), GHCB_PROTOCOL_MAX); in sev_es_negotiate_protocol()
H A Dsvsm.c41 ghcb->protocol_version = ghcb_version; in svsm_perform_ghcb_protocol()
H A Dcore.c123 u16 ghcb_version __ro_after_init;
124 SYM_PIC_ALIAS(ghcb_version);
/linux/arch/x86/kvm/svm/
H A Dsev.c464 if (data->ghcb_version > GHCB_VERSION_MAX || (!es_active && data->ghcb_version)) in __sev_guest_init()
472 if (es_active && !data->ghcb_version) in __sev_guest_init()
473 data->ghcb_version = 2; in __sev_guest_init()
475 if (snp_active && data->ghcb_version < 2) in __sev_guest_init()
484 sev->ghcb_version = data->ghcb_version; in __sev_guest_init()
535 .ghcb_version = 0, in sev_guest_init()
549 data.ghcb_version = GHCB_VERSION_MIN; in sev_guest_init()
4260 set_ghcb_msr(svm, GHCB_MSR_SEV_INFO((__u64)sev->ghcb_version, in sev_handle_vmgexit_msr_protocol()
4664 set_ghcb_msr(svm, GHCB_MSR_SEV_INFO((__u64)sev->ghcb_version, in sev_es_init_vmcb()
H A Dsvm.h107 u16 ghcb_version; /* Highest guest GHCB protocol version allowed */ member
/linux/Documentation/virt/kvm/x86/
H A 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/arch/x86/include/asm/
H A Dsev.h572 extern u16 ghcb_version;
/linux/arch/x86/boot/startup/
H A Dsev-shared.c59 if (ghcb_version < 2) in get_hv_features()
/linux/arch/x86/include/uapi/asm/
H A Dkvm.h764 __u16 ghcb_version; member
/linux/tools/arch/x86/include/uapi/asm/
H A Dkvm.h764 __u16 ghcb_version; member