Home
last modified time | relevance | path

Searched refs:es_active (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/arch/x86/kvm/svm/
Dsev.c164 enum misc_res_type type = sev->es_active ? MISC_CG_RES_SEV_ES : MISC_CG_RES_SEV; in sev_misc_cg_try_charge()
170 enum misc_res_type type = sev->es_active ? MISC_CG_RES_SEV_ES : MISC_CG_RES_SEV; in sev_misc_cg_uncharge()
182 unsigned int min_asid = sev->es_active ? 1 : min_sev_asid; in sev_asid_new()
183 unsigned int max_asid = sev->es_active ? min_sev_asid - 1 : max_sev_asid; in sev_asid_new()
408 bool es_active = vm_type != KVM_X86_SEV_VM; in __sev_guest_init() local
409 u64 valid_vmsa_features = es_active ? sev_supported_vmsa_features : 0; in __sev_guest_init()
421 if (data->ghcb_version > GHCB_VERSION_MAX || (!es_active && data->ghcb_version)) in __sev_guest_init()
428 sev->es_active = es_active; in __sev_guest_init()
437 if (sev->es_active && !sev->ghcb_version) in __sev_guest_init()
473 sev->es_active = false; in __sev_guest_init()
[all …]
Dsvm.h96 bool es_active; /* SEV-ES enabled guest */ member
377 return sev->es_active && !WARN_ON_ONCE(!sev->active); in sev_es_guest()