Home
last modified time | relevance | path

Searched refs:sme_me_mask (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/arch/x86/include/asm/
H A Dmem_encrypt.h29 extern u64 sme_me_mask;
63 return RIP_REL_REF(sme_me_mask); in sme_get_me_mask()
70 #define sme_me_mask 0ULL macro
112 #define __sme_pa(x) (__pa(x) | sme_me_mask)
113 #define __sme_pa_nodebug(x) (__pa_nodebug(x) | sme_me_mask)
H A Dpgtable_types.h177 #define _PAGE_ENC (_AT(pteval_t, sme_me_mask))
/openbmc/linux/include/linux/
H A Dmem_encrypt.h27 #define __sme_set(x) ((x) | sme_me_mask)
28 #define __sme_clr(x) ((x) & ~sme_me_mask)
/openbmc/linux/arch/x86/mm/
H A Dmem_encrypt_amd.c46 u64 sme_me_mask __section(".data") = 0;
49 EXPORT_SYMBOL(sme_me_mask);
99 if (!sme_me_mask) in __sme_early_enc_dec()
492 if (!sme_me_mask) in sme_early_init()
568 if (sme_me_mask) { in mem_encrypt_free_decrypted_mem()
H A Dmem_encrypt.c31 u64 dma_enc_mask = DMA_BIT_MASK(__ffs64(sme_me_mask)); in force_dma_unencrypted()
H A Dmem_encrypt_identity.c564 RIP_REL_REF(sme_me_mask) = me_mask; in sme_enable()
/openbmc/linux/arch/x86/coco/
H A Dcore.c74 return sme_me_mask; in amd_cc_platform_has()
77 return sme_me_mask && !(sev_status & MSR_AMD64_SEV_ENABLED); in amd_cc_platform_has()
/openbmc/linux/arch/x86/kernel/
H A Dcrash_core_64.c10 u64 sme_mask = sme_me_mask; in arch_crash_save_vmcoreinfo()
H A Dsev_verify_cbit.S25 movq sme_me_mask(%rip), %rsi
H A Dhead_64.S160 movq sme_me_mask, %rax
/openbmc/linux/arch/x86/boot/compressed/
H A Dident_map_64.c116 physical_mask &= ~sme_me_mask; in initialize_identity_maps()
121 mapping_info.page_flag = __PAGE_KERNEL_LARGE_EXEC | sme_me_mask; in initialize_identity_maps()
H A Dmem_encrypt.S311 SYM_DATA(sme_me_mask, .quad 0)
H A Dsev.c513 sme_me_mask = BIT_ULL(bitpos); in sev_enable()
/openbmc/linux/arch/x86/kernel/cpu/
H A Damd.c688 if (!sme_me_mask) in early_detect_mem_encrypt()
/openbmc/linux/arch/x86/kvm/svm/
H A Dsvm.c5267 kvm_mmu_set_me_spte_mask(sme_me_mask, sme_me_mask); in svm_hardware_setup()