Searched refs:sev_status (Results 1 – 11 of 11) sorted by relevance
65 if (sev_status & MSR_AMD64_SNP_VTOM) in amd_cc_platform_has()73 return sme_me_mask && !(sev_status & MSR_AMD64_SEV_ENABLED); in amd_cc_platform_has()76 return sev_status & MSR_AMD64_SEV_ENABLED; in amd_cc_platform_has()79 return sev_status & MSR_AMD64_SEV_ES_ENABLED; in amd_cc_platform_has()86 return (sev_status & MSR_AMD64_SEV_ENABLED) && in amd_cc_platform_has()87 !(sev_status & MSR_AMD64_SEV_ES_ENABLED); in amd_cc_platform_has()90 return sev_status & MSR_AMD64_SEV_SNP_ENABLED; in amd_cc_platform_has()124 if (sev_status & MSR_AMD64_SNP_VTOM) in cc_mkenc()140 if (sev_status & MSR_AMD64_SNP_VTOM) in cc_mkdec()
130 return sev_status & MSR_AMD64_SEV_SNP_ENABLED; in sev_snp_enabled()398 unsupported = snp_get_unsupported_features(sev_status); in snp_check_features()486 sev_status = m.q; in sev_enable()487 if (!(sev_status & MSR_AMD64_SEV_ENABLED)) in sev_enable()491 if (sev_status & MSR_AMD64_SEV_ES_ENABLED) { in sev_enable()500 if (sev_status & MSR_AMD64_SEV_SNP_ENABLED) { in sev_enable()507 if (snp && !(sev_status & MSR_AMD64_SEV_SNP_ENABLED)) in sev_enable()
70 if (sev_status & BIT(1)) in load_stage2_idt()
261 movl (sev_status - 0b)(%ebp), %eax312 SYM_DATA(sev_status, .quad 0)
196 movl $1, rva(sev_status)(%ebp)
29 extern u64 sev_status;65 #define sev_status 0ULL macro
308 if (!sme_get_me_mask() || sev_status & MSR_AMD64_SEV_ENABLED) in sme_encrypt_kernel()546 sev_status = __rdmsr(MSR_AMD64_SEV); in sme_enable()547 feature_mask = (sev_status & MSR_AMD64_SEV_ENABLED) ? AMD_SEV_BIT : AMD_SME_BIT; in sme_enable()550 if (snp && !(sev_status & MSR_AMD64_SEV_SNP_ENABLED)) in sme_enable()
46 u64 sev_status __section(".data") = 0;518 if (sev_status & MSR_AMD64_SEV_ES_ENABLED) in sme_early_init()
30 movq sev_status(%rip), %rsi
751 if (!(sev_status & MSR_AMD64_SEV_SNP_ENABLED)) in early_snp_set_memory_private()770 if (!(sev_status & MSR_AMD64_SEV_SNP_ENABLED)) in early_snp_set_memory_shared()1067 vmsa->sev_features = sev_status >> 2; in wakeup_cpu_via_vmgexit()1607 if (sev_status & MSR_AMD64_SNP_DEBUG_SWAP) in vc_handle_dr7_write()1647 if (sev_status & MSR_AMD64_SNP_DEBUG_SWAP) in vc_handle_dr7_read()
338 vmsa->sev_features = sev_status >> 2; in hv_snp_boot_ap()592 sev_status = MSR_AMD64_SNP_VTOM; in hv_vtom_init()