Searched refs:sev_status (Results 1 - 11 of 11) sorted by relevance

/linux-master/arch/x86/coco/
H A Dcore.c74 if (sev_status & MSR_AMD64_SNP_VTOM)
82 return sme_me_mask && !(sev_status & MSR_AMD64_SEV_ENABLED);
85 return sev_status & MSR_AMD64_SEV_ENABLED;
88 return sev_status & MSR_AMD64_SEV_ES_ENABLED;
95 return (sev_status & MSR_AMD64_SEV_ENABLED) &&
96 !(sev_status & MSR_AMD64_SEV_ES_ENABLED);
99 return sev_status & MSR_AMD64_SEV_SNP_ENABLED;
136 if (sev_status & MSR_AMD64_SNP_VTOM)
152 if (sev_status & MSR_AMD64_SNP_VTOM)
/linux-master/arch/x86/include/asm/
H A Dmem_encrypt.h32 extern u64 sev_status;
72 #define sev_status 0ULL macro
/linux-master/arch/x86/kernel/
H A Dsev_verify_cbit.S30 movq sev_status(%rip), %rsi
H A Dsev.c773 if (!(RIP_REL_REF(sev_status) & MSR_AMD64_SEV_SNP_ENABLED))
792 if (!(RIP_REL_REF(sev_status) & MSR_AMD64_SEV_SNP_ENABLED))
1074 vmsa->sev_features = sev_status >> 2;
1617 if (sev_status & MSR_AMD64_SNP_DEBUG_SWAP)
1657 if (sev_status & MSR_AMD64_SNP_DEBUG_SWAP)
2293 if (sev_status & BIT_ULL(i)) {
/linux-master/arch/x86/boot/compressed/
H A Dsev.c134 return sev_status & MSR_AMD64_SEV_SNP_ENABLED;
406 unsupported = snp_get_unsupported_features(sev_status);
494 sev_status = m.q;
495 if (!(sev_status & MSR_AMD64_SEV_ENABLED))
499 if (sev_status & MSR_AMD64_SEV_ES_ENABLED) {
508 if (sev_status & MSR_AMD64_SEV_SNP_ENABLED) {
515 if (snp && !(sev_status & MSR_AMD64_SEV_SNP_ENABLED))
H A Didt_64.c71 if (sev_status & BIT(1))
H A Dmem_encrypt.S260 /* Check for non-zero sev_status */
261 movl (sev_status - 0b)(%ebp), %eax
312 SYM_DATA(sev_status, .quad 0)
H A Dhead_64.S190 * Set MSR_AMD64_SEV_ENABLED_BIT in sev_status so that
192 * initialize sev_status with all the bits reported by
196 movl $1, rva(sev_status)(%ebp)
/linux-master/arch/x86/mm/
H A Dmem_encrypt_amd.c45 u64 sev_status __section(".data") = 0;
483 if (sev_status & MSR_AMD64_SEV_ES_ENABLED)
493 if (sev_status & MSR_AMD64_SEV_ENABLED)
500 if (sev_status & MSR_AMD64_SEV_SNP_ENABLED) {
H A Dmem_encrypt_identity.c305 RIP_REL_REF(sev_status) & MSR_AMD64_SEV_ENABLED)
531 RIP_REL_REF(sev_status) = msr = __rdmsr(MSR_AMD64_SEV);
/linux-master/arch/x86/hyperv/
H A Divm.c339 vmsa->sev_features = sev_status >> 2;
638 * so SEV initialization is bypassed and sev_status isn't set.
641 * Note: if CONFIG_AMD_MEM_ENCRYPT is not set, sev_status is
646 sev_status = MSR_AMD64_SNP_VTOM;

Completed in 325 milliseconds