Searched refs:__sme_set (Results 1 – 12 of 12) sorted by relevance
27 #define __sme_set(x) ((x) | sme_me_mask) macro30 #define __sme_set(x) (x) macro
74 return __sme_set(phys_to_dma_unencrypted(dev, paddr)); in phys_to_dma()
58 val = __sme_set(val); in vm_get_page_prot()
495 early_pmd_flags = __sme_set(early_pmd_flags); in sme_early_init()497 __supported_pte_mask = __sme_set(__supported_pte_mask); in sme_early_init()
247 phys_addr_t bpa = __sme_set(page_to_phys(svm->avic_backing_page)); in avic_init_vmcb()248 phys_addr_t lpa = __sme_set(page_to_phys(kvm_svm->avic_logical_id_table_page)); in avic_init_vmcb()249 phys_addr_t ppa = __sme_set(page_to_phys(kvm_svm->avic_physical_id_table_page)); in avic_init_vmcb()311 new_entry = __sme_set((page_to_phys(svm->avic_backing_page) & in avic_init_backing_page()879 vcpu_info->pi_desc_addr = __sme_set(page_to_phys((*svm)->avic_backing_page)); in get_pi_vcpu_info()937 pi.base = __sme_set(page_to_phys(svm->avic_backing_page) & in avic_pi_update_irte()
28 #define __sme_page_pa(x) __sme_set(page_to_pfn(x) << PAGE_SHIFT)
1319 control->iopm_base_pa = __sme_set(iopm_base); in init_vmcb()1320 control->msrpm_base_pa = __sme_set(__pa(svm->msrpm)); in init_vmcb()1483 svm->vmcb01.pa = __sme_set(page_to_pfn(vmcb01_page) << PAGE_SHIFT); in svm_vcpu_create()4294 svm->vmcb->control.nested_cr3 = __sme_set(root_hpa); in svm_load_mmu_pgd()4301 cr3 = __sme_set(root_hpa) | kvm_get_active_pcid(vcpu); in svm_load_mmu_pgd()
238 svm->vmcb->control.msrpm_base_pa = __sme_set(__pa(svm->nested.msrpm)); in nested_svm_vmrun_msrpm()1190 svm->nested.vmcb02.pa = __sme_set(page_to_pfn(vmcb02_page) << PAGE_SHIFT); in svm_allocate_nested()
351 start.dh_cert_address = __sme_set(__pa(dh_blob)); in sev_launch_start()363 start.session_address = __sme_set(__pa(session_blob)); in sev_launch_start()
97 return (u64)__sme_set(virt_to_phys(vaddr)); in iommu_virt_to_phys()
395 __pte = PAGE_SIZE_PTE(__sme_set(paddr), pgsize); in iommu_v1_map_pages()398 __pte = __sme_set(paddr) | IOMMU_PTE_PR | IOMMU_PTE_FC; in iommu_v1_map_pages()
67 pte = __sme_set(paddr & PM_ADDR_MASK); in set_pte_attr()