Home
last modified time | relevance | path

Searched refs:__sme_set (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.15/include/linux/
Dmem_encrypt.h31 #define __sme_set(x) ((x) | sme_me_mask) macro
34 #define __sme_set(x) (x) macro
Ddma-direct.h74 return __sme_set(phys_to_dma_unencrypted(dev, paddr)); in phys_to_dma()
/Linux-v5.15/arch/x86/kvm/svm/
Davic.c192 phys_addr_t bpa = __sme_set(page_to_phys(svm->avic_backing_page)); in avic_init_vmcb()
193 phys_addr_t lpa = __sme_set(page_to_phys(kvm_svm->avic_logical_id_table_page)); in avic_init_vmcb()
194 phys_addr_t ppa = __sme_set(page_to_phys(kvm_svm->avic_physical_id_table_page)); in avic_init_vmcb()
282 new_entry = __sme_set((page_to_phys(svm->avic_backing_page) & in avic_init_backing_page()
784 vcpu_info->pi_desc_addr = __sme_set(page_to_phys((*svm)->avic_backing_page)); in get_pi_vcpu_info()
836 pi.base = __sme_set(page_to_phys(svm->avic_backing_page) & in svm_update_pi_irte()
Dsvm.h25 #define __sme_page_pa(x) __sme_set(page_to_pfn(x) << PAGE_SHIFT)
Dsvm.c1220 control->iopm_base_pa = __sme_set(iopm_base); in init_vmcb()
1221 control->msrpm_base_pa = __sme_set(__pa(svm->msrpm)); in init_vmcb()
1372 svm->vmcb01.pa = __sme_set(page_to_pfn(vmcb01_page) << PAGE_SHIFT); in svm_create_vcpu()
3911 svm->vmcb->control.nested_cr3 = __sme_set(root_hpa); in svm_load_mmu_pgd()
3921 cr3 = __sme_set(root_hpa) | kvm_get_active_pcid(vcpu); in svm_load_mmu_pgd()
Dnested.c225 svm->vmcb->control.msrpm_base_pa = __sme_set(__pa(svm->nested.msrpm)); in nested_svm_vmrun_msrpm()
904 svm->nested.vmcb02.pa = __sme_set(page_to_pfn(vmcb02_page) << PAGE_SHIFT); in svm_allocate_nested()
Dsev.c325 start.dh_cert_address = __sme_set(__pa(dh_blob)); in sev_launch_start()
337 start.session_address = __sme_set(__pa(session_blob)); in sev_launch_start()
/Linux-v5.15/arch/x86/mm/
Dmem_encrypt.c188 early_pmd_flags = __sme_set(early_pmd_flags); in sme_early_init()
190 __supported_pte_mask = __sme_set(__supported_pte_mask); in sme_early_init()
/Linux-v5.15/drivers/iommu/amd/
Damd_iommu.h95 return (u64)__sme_set(virt_to_phys(vaddr)); in iommu_virt_to_phys()
Dio_pgtable.c421 __pte = PAGE_SIZE_PTE(__sme_set(paddr), size); in iommu_v1_map_page()
424 __pte = __sme_set(paddr) | IOMMU_PTE_PR | IOMMU_PTE_FC; in iommu_v1_map_page()
/Linux-v5.15/arch/x86/include/asm/
Dpgtable.h21 #define pgprot_encrypted(prot) __pgprot(__sme_set(pgprot_val(prot)))