/openbmc/qemu/hw/ppc/ |
H A D | spapr_vhyp_mmu.c | 420 uint64_t pte0, uint64_t pte1) in new_hpte_store() argument 427 stq_p(addr, pte0); in new_hpte_store() 439 target_ulong pte0 = ppc_hash64_hpte0(cpu, hptes, slot); in rehash_hpte() local 445 if (!(pte0 & HPTE64_V_VALID) || !(pte0 & HPTE64_V_BOLTED)) { in rehash_hpte() 451 base_pg_shift = ppc_hash64_hpte_page_shift_noslb(cpu, pte0, pte1); in rehash_hpte() 455 if (pte0 & HPTE64_V_SECONDARY) { in rehash_hpte() 459 if ((pte0 & HPTE64_V_SSIZE) == HPTE64_V_SSIZE_256M) { in rehash_hpte() 471 } else if ((pte0 & HPTE64_V_SSIZE) == HPTE64_V_SSIZE_1T) { in rehash_hpte() 489 if (pte0 & HPTE64_V_SECONDARY) { in rehash_hpte() 506 if (pte0 & HPTE64_V_BOLTED) { in rehash_hpte() [all …]
|
H A D | spapr.c | 1550 uint64_t pte0, uint64_t pte1) in spapr_store_hpte() argument 1556 kvmppc_write_hpte(ptex, pte0, pte1); in spapr_store_hpte() 1558 if (pte0 & HPTE64_V_VALID) { in spapr_store_hpte() 1566 stq_p(spapr->htab + offset, pte0); in spapr_store_hpte() 1568 stq_p(spapr->htab + offset, pte0); in spapr_store_hpte()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | machine_kexec_32.c | 53 free_page((unsigned long)image->arch.pte0); in machine_kexec_free_page_tables() 54 image->arch.pte0 = NULL; in machine_kexec_free_page_tables() 67 image->arch.pte0 = (pte_t *)get_zeroed_page(GFP_KERNEL); in machine_kexec_alloc_page_tables() 73 !image->arch.pte0 || !image->arch.pte1) { in machine_kexec_alloc_page_tables() 110 image->arch.pgd, pmd, image->arch.pte0, in machine_kexec_prepare_page_tables()
|
/openbmc/qemu/target/ppc/ |
H A D | mmu-hash64.h | 15 target_ulong pte0, target_ulong pte1); 17 uint64_t pte0, uint64_t pte1); 116 uint64_t pte0, pte1; member 128 return ldq_p(&(hptes[i].pte0)); in ppc_hash64_hpte0()
|
H A D | mmu-hash64.c | 599 uint64_t pte0, uint64_t pte1) in hpte_page_shift() argument 603 if (!(pte0 & HPTE64_V_LARGE)) { in hpte_page_shift() 638 *pte0 = (*pte0 & HPTE64_V_COMMON_BITS) | in ppc64_v3_new_to_old_hpte() 654 target_ulong pte0, pte1; in ppc_hash64_pteg_search() local 663 pte0 = ppc_hash64_hpte0(cpu, pteg, i); in ppc_hash64_pteg_search() 674 ppc64_v3_new_to_old_hpte(&pte0, &pte1); in ppc_hash64_pteg_search() 678 if (HPTE64_V_COMPARE(pte0, ptem)) { in ppc_hash64_pteg_search() 679 *pshift = hpte_page_shift(sps, pte0, pte1); in ppc_hash64_pteg_search() 694 pte->pte0 = pte0; in ppc_hash64_pteg_search() 780 if (!(pte0 & HPTE64_V_LARGE)) { in ppc_hash64_hpte_page_shift_noslb() [all …]
|
H A D | mmu-hash32.c | 209 target_ulong pte0, pte1; in ppc_hash32_pteg_search() local 213 pte0 = ppc_hash32_load_hpte0(cpu, pte_offset); in ppc_hash32_pteg_search() 222 if ((pte0 & HPTE32_V_VALID) in ppc_hash32_pteg_search() 223 && (secondary == !!(pte0 & HPTE32_V_SECONDARY)) in ppc_hash32_pteg_search() 224 && HPTE32_V_COMPARE(pte0, ptem)) { in ppc_hash32_pteg_search() 225 pte->pte0 = pte0; in ppc_hash32_pteg_search()
|
H A D | mmu-hash32.h | 89 hwaddr pte_offset, target_ulong pte0) in ppc_hash32_store_hpte0() argument 93 stl_phys(CPU(cpu)->as, base + pte_offset, pte0); in ppc_hash32_store_hpte0() 165 uint32_t pte0, pte1; member
|
H A D | internal.h | 258 static inline int pte_is_valid(target_ulong pte0) in pte_is_valid() argument 260 return pte0 & 0x80000000 ? 1 : 0; in pte_is_valid() 263 static inline void pte_invalidate(target_ulong *pte0) in pte_invalidate() argument 265 *pte0 &= ~0x80000000; in pte_invalidate()
|
H A D | mmu_common.c | 109 pte_is_valid(tlb->pte0) ? "valid" : "inval", in ppc6xx_tlb_check() 116 pte_is_valid(tlb->pte0) ? "valid" : "inval", in ppc6xx_tlb_check() 121 if (!pte_is_valid(tlb->pte0) || ((tlb->pte0 >> 6) & 1) != 0 || in ppc6xx_tlb_check() 122 (tlb->pte0 & PTE_PTEM_MASK) != ptem) { in ppc6xx_tlb_check() 543 pte_is_valid(tlb->pte0) ? "valid" : "inval", in mmu6xx_dump_mmu()
|
H A D | mmu_helper.c | 53 pte_invalidate(&tlb->pte0); in ppc6xx_tlb_invalidate_all() 71 if (pte_is_valid(tlb->pte0) && (match_epn == 0 || eaddr == tlb->EPN)) { in ppc6xx_tlb_invalidate_virt2() 74 pte_invalidate(&tlb->pte0); in ppc6xx_tlb_invalidate_virt2() 91 int is_code, target_ulong pte0, target_ulong pte1) in ppc6xx_tlb_store() argument 100 EPN, pte0, pte1); in ppc6xx_tlb_store() 103 tlb->pte0 = pte0; in ppc6xx_tlb_store()
|
H A D | kvm_ppc.h | 65 void kvmppc_write_hpte(hwaddr ptex, uint64_t pte0, uint64_t pte1); 321 static inline void kvmppc_write_hpte(hwaddr ptex, uint64_t pte0, uint64_t pte1) in kvmppc_write_hpte() argument
|
H A D | kvm.c | 2827 void kvmppc_write_hpte(hwaddr ptex, uint64_t pte0, uint64_t pte1) in kvmppc_write_hpte() argument 2832 uint64_t pte0; in kvmppc_write_hpte() member 2841 buf.pte0 = cpu_to_be64(pte0); in kvmppc_write_hpte()
|
H A D | machine.c | 569 VMSTATE_UINTTL(pte0, ppc6xx_tlb_t),
|
H A D | cpu.h | 355 target_ulong pte0; member
|
/openbmc/linux/arch/x86/mm/pat/ |
H A D | cpa-test.c | 121 pte_t *pte, pte0; in pageattr_test() local 149 pte0 = pfn_pte(0, __pgprot(0)); /* shut gcc up */ in pageattr_test() 159 pte0 = *pte; in pageattr_test() 162 pgprot_val(pte_pgprot(pte0))) { in pageattr_test()
|
/openbmc/linux/arch/powerpc/kvm/ |
H A D | book3s_32_mmu.c | 189 u32 pte0, pte1; in kvmppc_mmu_book3s_32_xlate_pte() local 216 pte0 = be32_to_cpu(pteg[i]); in kvmppc_mmu_book3s_32_xlate_pte() 218 if (ptem == pte0) { in kvmppc_mmu_book3s_32_xlate_pte() 246 pte0, pte1, pp); in kvmppc_mmu_book3s_32_xlate_pte()
|
H A D | book3s_64_mmu.c | 263 u64 pte0 = be64_to_cpu(pteg[i]); in kvmppc_mmu_book3s_64_xlate() local 267 if ((pte0 & v_mask) == v_val) { in kvmppc_mmu_book3s_64_xlate()
|
/openbmc/linux/arch/alpha/kernel/ |
H A D | core_cia.c | 357 int ctrl, addr0, tag0, pte0, data0; in verify_tb_operation() local 377 pte0 = (virt_to_phys(page) >> (PAGE_SHIFT - 1)) | 1; in verify_tb_operation() 387 *(vip)CIA_IOC_TBn_PAGEm(0,0) = pte0; in verify_tb_operation() 417 if (temp != pte0) { in verify_tb_operation() 419 "(pte0 %#x != %#x)\n", temp, pte0); in verify_tb_operation() 464 arena->ptes[4] = pte0; in verify_tb_operation() 488 arena->ptes[5] = pte0; in verify_tb_operation()
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | kexec.h | 144 pte_t *pte0; member
|
/openbmc/qemu/include/hw/ppc/ |
H A D | spapr.h | 934 uint64_t pte0, uint64_t pte1);
|