Searched refs:sev_status (Results 1 – 11 of 11) sorted by relevance
73 if (sev_status & MSR_AMD64_SNP_VTOM) in amd_cc_platform_has()81 return sme_me_mask && !(sev_status & MSR_AMD64_SEV_ENABLED); in amd_cc_platform_has()84 return sev_status & MSR_AMD64_SEV_ENABLED; in amd_cc_platform_has()87 return sev_status & MSR_AMD64_SEV_ES_ENABLED; in amd_cc_platform_has()94 return (sev_status & MSR_AMD64_SEV_ENABLED) && in amd_cc_platform_has()95 !(sev_status & MSR_AMD64_SEV_ES_ENABLED); in amd_cc_platform_has()98 return sev_status & MSR_AMD64_SEV_SNP_ENABLED; in amd_cc_platform_has()135 if (sev_status & MSR_AMD64_SNP_VTOM) in cc_mkenc()151 if (sev_status & MSR_AMD64_SNP_VTOM) in cc_mkdec()
162 return sev_status & MSR_AMD64_SEV_SNP_ENABLED; in sev_snp_enabled()424 unsupported = snp_get_unsupported_features(sev_status); in snp_check_features()598 sev_status = m.q; in sev_enable()599 if (!(sev_status & MSR_AMD64_SEV_ENABLED)) in sev_enable()603 if (sev_status & MSR_AMD64_SEV_ES_ENABLED) { in sev_enable()612 if (sev_status & MSR_AMD64_SEV_SNP_ENABLED) { in sev_enable()641 if (snp && !(sev_status & MSR_AMD64_SEV_SNP_ENABLED)) in sev_enable()
71 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)
32 extern u64 sev_status;72 #define sev_status 0ULL macro
45 u64 sev_status __section(".data") = 0;483 if (sev_status & MSR_AMD64_SEV_ES_ENABLED) in sme_early_init()493 if (sev_status & MSR_AMD64_SEV_ENABLED) in sme_early_init()500 if (sev_status & MSR_AMD64_SEV_SNP_ENABLED) { in sme_early_init()
305 RIP_REL_REF(sev_status) & MSR_AMD64_SEV_ENABLED) in sme_encrypt_kernel()531 RIP_REL_REF(sev_status) = msr = __rdmsr(MSR_AMD64_SEV); in sme_enable()
30 movq sev_status(%rip), %rsi
339 vmsa->sev_features = sev_status >> 2; in hv_snp_boot_ap()644 sev_status = MSR_AMD64_SNP_VTOM; in hv_vtom_init()
870 if (!(RIP_REL_REF(sev_status) & MSR_AMD64_SEV_SNP_ENABLED)) in early_snp_set_memory_private()889 if (!(RIP_REL_REF(sev_status) & MSR_AMD64_SEV_SNP_ENABLED)) in early_snp_set_memory_shared()1202 vmsa->sev_features = sev_status >> 2; in wakeup_cpu_via_vmgexit()1797 if (sev_status & MSR_AMD64_SNP_DEBUG_SWAP) in vc_handle_dr7_write()1837 if (sev_status & MSR_AMD64_SNP_DEBUG_SWAP) in vc_handle_dr7_read()2543 if (sev_status & BIT_ULL(i)) { in sev_show_status()