Home
last modified time | relevance | path

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

/linux-5.19.10/arch/x86/include/asm/
Dmem_encrypt.h22 extern u64 sme_me_mask;
58 #define sme_me_mask 0ULL macro
98 #define __sme_pa(x) (__pa(x) | sme_me_mask)
99 #define __sme_pa_nodebug(x) (__pa_nodebug(x) | sme_me_mask)
105 return sme_me_mask; in sme_get_me_mask()
Dpgtable_types.h155 #define _PAGE_ENC (_AT(pteval_t, sme_me_mask))
/linux-5.19.10/include/linux/
Dmem_encrypt.h27 #define __sme_set(x) ((x) | sme_me_mask)
28 #define __sme_clr(x) ((x) & ~sme_me_mask)
/linux-5.19.10/arch/x86/mm/
Dmem_encrypt_identity.c576 sme_me_mask = me_mask; in sme_enable()
606 sme_me_mask = me_mask; in sme_enable()
608 sme_me_mask = 0; in sme_enable()
610 sme_me_mask = active_by_default ? me_mask : 0; in sme_enable()
612 if (sme_me_mask) { in sme_enable()
613 physical_mask &= ~sme_me_mask; in sme_enable()
615 cc_set_mask(sme_me_mask); in sme_enable()
Dmem_encrypt_amd.c44 u64 sme_me_mask __section(".data") = 0;
47 EXPORT_SYMBOL(sme_me_mask);
97 if (!sme_me_mask) in __sme_early_enc_dec()
491 if (!sme_me_mask) in sme_early_init()
Dmem_encrypt.c31 u64 dma_enc_mask = DMA_BIT_MASK(__ffs64(sme_me_mask)); in force_dma_unencrypted()
/linux-5.19.10/arch/x86/coco/
Dcore.c49 return sme_me_mask; in amd_cc_platform_has()
52 return sme_me_mask && !(sev_status & MSR_AMD64_SEV_ENABLED); in amd_cc_platform_has()
/linux-5.19.10/arch/x86/kernel/
Dcrash_core_64.c10 u64 sme_mask = sme_me_mask; in arch_crash_save_vmcoreinfo()
Dsev_verify_cbit.S25 movq sme_me_mask(%rip), %rsi
Dhead_64.S167 movq sme_me_mask, %rax
/linux-5.19.10/arch/x86/boot/compressed/
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()
Dmem_encrypt.S195 SYM_DATA(sme_me_mask, .quad 0)
Dsev.c344 sme_me_mask = BIT_ULL(ebx & 0x3f); in sev_enable()
/linux-5.19.10/arch/x86/kernel/cpu/
Damd.c583 if (!sme_me_mask) in early_detect_mem_encrypt()
/linux-5.19.10/arch/x86/kvm/svm/
Dsvm.c4909 kvm_mmu_set_me_spte_mask(sme_me_mask, sme_me_mask); in svm_hardware_setup()