Lines Matching refs:es_active
164 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()
1988 dst->es_active = src->es_active; in sev_migrate_from()
1996 src->es_active = false; in sev_migrate_from()
2029 if (!dst->es_active) in sev_migrate_from()
2848 mirror_sev->es_active = source_sev->es_active; in sev_vm_copy_enc_context_from()