Home
last modified time | relevance | path

Searched refs:pte0 (Results 1 – 20 of 20) sorted by relevance

/openbmc/qemu/hw/ppc/
H A Dspapr_vhyp_mmu.c420 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 Dspapr.c1550 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 Dmachine_kexec_32.c53 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 Dmmu-hash64.h15 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 Dmmu-hash64.c599 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 Dmmu-hash32.c209 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 Dmmu-hash32.h89 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 Dinternal.h258 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 Dmmu_common.c109 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 Dmmu_helper.c53 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 Dkvm_ppc.h65 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 Dkvm.c2827 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 Dmachine.c569 VMSTATE_UINTTL(pte0, ppc6xx_tlb_t),
H A Dcpu.h355 target_ulong pte0; member
/openbmc/linux/arch/x86/mm/pat/
H A Dcpa-test.c121 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 Dbook3s_32_mmu.c189 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 Dbook3s_64_mmu.c263 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 Dcore_cia.c357 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 Dkexec.h144 pte_t *pte0; member
/openbmc/qemu/include/hw/ppc/
H A Dspapr.h934 uint64_t pte0, uint64_t pte1);