Home
last modified time | relevance | path

Searched refs:PHYSICAL_PAGE_MASK (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.6/arch/x86/include/asm/
Dprocessor-flags.h40 #define CR3_ADDR_MASK __sme_clr(PHYSICAL_PAGE_MASK)
Dpage_types.h19 #define PHYSICAL_PAGE_MASK (((signed long)PAGE_MASK) & __PHYSICAL_MASK) macro
Dpgtable_types.h284 #define PTE_PFN_MASK ((pteval_t)PHYSICAL_PAGE_MASK)
/Linux-v6.6/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c163 *pte |= PTE_LARGE_MASK | (paddr & PHYSICAL_PAGE_MASK); in virt_create_upper_pte()
165 *pte |= vm_alloc_page_table(vm) & PHYSICAL_PAGE_MASK; in virt_create_upper_pte()
224 *pte = PTE_PRESENT_MASK | PTE_WRITABLE_MASK | (paddr & PHYSICAL_PAGE_MASK); in __virt_pg_map()
333 pdpe_start = addr_gpa2hva(vm, *pml4e & PHYSICAL_PAGE_MASK); in virt_arch_dump()
346 pde_start = addr_gpa2hva(vm, *pdpe & PHYSICAL_PAGE_MASK); in virt_arch_dump()
358 pte_start = addr_gpa2hva(vm, *pde & PHYSICAL_PAGE_MASK); in virt_arch_dump()
/Linux-v6.6/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h330 #define PHYSICAL_PAGE_MASK GENMASK_ULL(51, 12) macro
334 #define PAGE_MASK (~(PAGE_SIZE-1) & PHYSICAL_PAGE_MASK)
338 #define HUGEPAGE_MASK(x) (~(HUGEPAGE_SIZE(x) - 1) & PHYSICAL_PAGE_MASK)
340 #define PTE_GET_PA(pte) ((pte) & PHYSICAL_PAGE_MASK)
/Linux-v6.6/arch/x86/xen/
Dmmu_pv.c1048 unsigned long pa = __pa(pgtbl) & PHYSICAL_PAGE_MASK; in xen_cleanmfnmap_free_pgtbl()
1063 pa = pmd_val(*pmd) & PHYSICAL_PAGE_MASK; in xen_cleanmfnmap_pmd()
1086 pa = pud_val(*pud) & PHYSICAL_PAGE_MASK; in xen_cleanmfnmap_pud()
1108 pa = p4d_val(*p4d) & PHYSICAL_PAGE_MASK; in xen_cleanmfnmap_p4d()
/Linux-v6.6/arch/x86/mm/
Dioremap.c232 phys_addr &= PHYSICAL_PAGE_MASK; in __ioremap_caller()