Home
last modified time | relevance | path

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

/arch/x86/include/asm/
Dmem_encrypt.h21 extern u64 sme_me_mask;
57 #define sme_me_mask 0ULL macro
92 #define __sme_pa(x) (__pa(x) | sme_me_mask)
93 #define __sme_pa_nodebug(x) (__pa_nodebug(x) | sme_me_mask)
99 return sme_me_mask; in mem_encrypt_active()
104 return sme_me_mask; in sme_get_me_mask()
Dpgtable_types.h187 #define _PAGE_ENC (_AT(pteval_t, sme_me_mask))
/arch/x86/mm/
Dmem_encrypt.c40 u64 sme_me_mask __section(.data) = 0;
41 EXPORT_SYMBOL(sme_me_mask);
65 if (!sme_me_mask) in __sme_early_enc_dec()
184 if (!sme_me_mask) in sme_early_init()
345 return sme_me_mask && !sev_enabled; in sme_active()
350 return sme_me_mask && sev_enabled; in sev_active()
368 u64 dma_enc_mask = DMA_BIT_MASK(__ffs64(sme_me_mask)); in force_dma_unencrypted()
407 if (!sme_me_mask) in mem_encrypt_init()
Dmem_encrypt_identity.c553 sme_me_mask = me_mask; in sme_enable()
555 physical_mask &= ~sme_me_mask; in sme_enable()
586 sme_me_mask = me_mask; in sme_enable()
588 sme_me_mask = 0; in sme_enable()
590 sme_me_mask = active_by_default ? me_mask : 0; in sme_enable()
592 physical_mask &= ~sme_me_mask; in sme_enable()
/arch/x86/boot/compressed/
Dmem_encrypt.S82 bts %rax, sme_me_mask(%rip) /* Create the encryption mask */
99 GLOBAL(sme_me_mask)
Dkaslr_64.c84 physical_mask &= ~sme_me_mask; in initialize_identity_maps()
89 mapping_info.page_flag = __PAGE_KERNEL_LARGE_EXEC | sme_me_mask; in initialize_identity_maps()
/arch/x86/kernel/
Dmachine_kexec_64.c450 u64 sme_mask = sme_me_mask; in arch_crash_save_vmcoreinfo()
/arch/x86/kvm/
Dx86.c7364 PT_PRESENT_MASK, 0, sme_me_mask); in kvm_arch_init()