Searched refs:__sme_set (Results 1 – 11 of 11) sorted by relevance
31 #define __sme_set(x) ((x) | sme_me_mask) macro34 #define __sme_set(x) (x) macro
74 return __sme_set(phys_to_dma_unencrypted(dev, paddr)); in phys_to_dma()
192 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()
25 #define __sme_page_pa(x) __sme_set(page_to_pfn(x) << PAGE_SHIFT)
1220 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()
225 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()
325 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()
188 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()
95 return (u64)__sme_set(virt_to_phys(vaddr)); in iommu_virt_to_phys()
421 __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()
21 #define pgprot_encrypted(prot) __pgprot(__sme_set(pgprot_val(prot)))