Searched refs:sme_me_mask (Results 1 – 15 of 15) sorted by relevance
22 extern u64 sme_me_mask;58 #define sme_me_mask 0ULL macro98 #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()
155 #define _PAGE_ENC (_AT(pteval_t, sme_me_mask))
27 #define __sme_set(x) ((x) | sme_me_mask)28 #define __sme_clr(x) ((x) & ~sme_me_mask)
576 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()
44 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()
31 u64 dma_enc_mask = DMA_BIT_MASK(__ffs64(sme_me_mask)); in force_dma_unencrypted()
49 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()
10 u64 sme_mask = sme_me_mask; in arch_crash_save_vmcoreinfo()
25 movq sme_me_mask(%rip), %rsi
167 movq sme_me_mask, %rax
116 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()
195 SYM_DATA(sme_me_mask, .quad 0)
344 sme_me_mask = BIT_ULL(ebx & 0x3f); in sev_enable()
583 if (!sme_me_mask) in early_detect_mem_encrypt()
4909 kvm_mmu_set_me_spte_mask(sme_me_mask, sme_me_mask); in svm_hardware_setup()