Home
last modified time | relevance | path

Searched refs:MSR_AMD64_SEV_SNP_ENABLED (Results 1 – 8 of 8) sorted by relevance

/linux/arch/x86/boot/compressed/
H A Dsev.c48 return sev_status & MSR_AMD64_SEV_SNP_ENABLED; in sev_snp_enabled()
211 if (!(status & MSR_AMD64_SEV_SNP_ENABLED)) in snp_get_unsupported_features()
417 if (sev_status & MSR_AMD64_SEV_SNP_ENABLED) { in sev_enable()
432 if (snp && !(sev_status & MSR_AMD64_SEV_SNP_ENABLED)) in sev_enable()
483 if (!(sev_get_status() & MSR_AMD64_SEV_SNP_ENABLED)) in early_is_sevsnp_guest()
/linux/arch/x86/boot/startup/
H A Dsev-startup.c82 if (!(sev_status & MSR_AMD64_SEV_SNP_ENABLED)) in early_snp_set_memory_private()
107 if (!(sev_status & MSR_AMD64_SEV_SNP_ENABLED)) in early_snp_set_memory_shared()
H A Dsme.c535 if (snp_en ^ !!(msr & MSR_AMD64_SEV_SNP_ENABLED)) in sme_enable()
/linux/arch/x86/coco/
H A Dcore.c99 return sev_status & MSR_AMD64_SEV_SNP_ENABLED; in amd_cc_platform_has()
/linux/tools/testing/selftests/kvm/x86/
H A Dsev_smoke_test.c49 GUEST_ASSERT(sev_msr & MSR_AMD64_SEV_SNP_ENABLED); in guest_snp_code()
/linux/arch/x86/mm/
H A Dmem_encrypt_amd.c525 if (sev_status & MSR_AMD64_SEV_SNP_ENABLED) { in sme_early_init()
/linux/tools/arch/x86/include/asm/
H A Dmsr-index.h712 #define MSR_AMD64_SEV_SNP_ENABLED BIT_ULL(MSR_AMD64_SEV_SNP_ENABLED_BIT) macro
/linux/arch/x86/include/asm/
H A Dmsr-index.h714 #define MSR_AMD64_SEV_SNP_ENABLED BIT_ULL(MSR_AMD64_SEV_SNP_ENABLED_BIT)
712 #define MSR_AMD64_SEV_SNP_ENABLED BIT_ULL(MSR_AMD64_SEV_SNP_ENABLED_ global() macro