Home
last modified time | relevance | path

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

/arch/x86/boot/startup/
A Dsev-shared.c42 static u16 ghcb_version __ro_after_init;
90 if (ghcb_version < 2) in get_hv_features()
135 ghcb_version = min_t(size_t, GHCB_MSR_PROTO_MAX(val), GHCB_PROTOCOL_MAX); in sev_es_negotiate_protocol()
261 ghcb->protocol_version = ghcb_version; in svsm_perform_ghcb_protocol()
294 ghcb->protocol_version = ghcb_version; in sev_es_ghcb_hv_call()
/arch/x86/boot/compressed/
A Dsev.c268 if (ghcb_version < 2 || (!boot_ghcb && !early_setup_ghcb())) in snp_check_features()
/arch/x86/kvm/svm/
A 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()
489 .ghcb_version = 0, in sev_guest_init()
503 data.ghcb_version = GHCB_VERSION_MIN; in sev_guest_init()
4148 set_ghcb_msr(svm, GHCB_MSR_SEV_INFO((__u64)sev->ghcb_version, in sev_handle_vmgexit_msr_protocol()
4570 set_ghcb_msr(svm, GHCB_MSR_SEV_INFO((__u64)sev->ghcb_version, in sev_es_vcpu_reset()
A Dsvm.h103 u16 ghcb_version; /* Highest guest GHCB protocol version allowed */ member
/arch/x86/include/uapi/asm/
A Dkvm.h726 __u16 ghcb_version; member

Completed in 31 milliseconds