/openbmc/qemu/target/ppc/ |
H A D | mmu-hash64.c | 393 return (pte.pte1 & HPTE64_R_N) || (pte.pte1 & HPTE64_R_G) ? in ppc_hash64_pte_noexec_guard() 410 pp = (pte.pte1 & HPTE64_R_PP) | ((pte.pte1 & HPTE64_R_PP0) >> 61); in ppc_hash64_pte_prot() 473 key = HPTE64_R_KEY(pte.pte1); in ppc_hash64_amr_prot() 639 ((*pte1 & HPTE64_R_3_0_SSIZE_MASK) << in ppc64_v3_new_to_old_hpte() 643 *pte1 = *pte1 & ~HPTE64_R_3_0_SSIZE_MASK; in ppc64_v3_new_to_old_hpte() 654 target_ulong pte0, pte1; in ppc_hash64_pteg_search() local 670 pte1 = ppc_hash64_hpte1(cpu, pteg, i); in ppc_hash64_pteg_search() 695 pte->pte1 = pte1; in ppc_hash64_pteg_search() 1180 if (!(pte.pte1 & HPTE64_R_R)) { in ppc_hash64_xlate() 1181 ppc_hash64_set_r(cpu, ptex, pte.pte1); in ppc_hash64_xlate() [all …]
|
H A D | mmu-hash32.c | 209 target_ulong pte0, pte1; in ppc_hash32_pteg_search() local 220 pte1 = ppc_hash32_load_hpte1(cpu, pte_offset); in ppc_hash32_pteg_search() 226 pte->pte1 = pte1; in ppc_hash32_pteg_search() 242 stb_phys(CPU(cpu)->as, base + offset, ((pte1 >> 8) & 0xff) | 0x01); in ppc_hash32_set_r() 251 stb_phys(CPU(cpu)->as, base + offset, (pte1 & 0xff) | 0x80); in ppc_hash32_set_c() 387 prot = ppc_hash32_prot(key, pte.pte1 & HPTE32_R_PP, sr & SR32_NX); in ppc_hash32_xlate() 414 if (!(pte.pte1 & HPTE32_R_R)) { in ppc_hash32_xlate() 415 ppc_hash32_set_r(cpu, pte_offset, pte.pte1); in ppc_hash32_xlate() 417 if (!(pte.pte1 & HPTE32_R_C)) { in ppc_hash32_xlate() 419 ppc_hash32_set_c(cpu, pte_offset, pte.pte1); in ppc_hash32_xlate() [all …]
|
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 134 return ldq_p(&(hptes[i].pte1)); in ppc_hash64_hpte1()
|
H A D | mmu-hash32.h | 97 hwaddr pte_offset, target_ulong pte1) in ppc_hash32_store_hpte1() argument 101 stl_phys(CPU(cpu)->as, base + pte_offset + HASH_PTE_SIZE_32 / 2, pte1); in ppc_hash32_store_hpte1() 165 uint32_t pte0, pte1; member
|
H A D | mmu_common.c | 117 tlb->EPN, eaddr, tlb->pte1, in ppc6xx_tlb_check() 127 (*raddr & PTE_CHECK_MASK) != (tlb->pte1 & PTE_CHECK_MASK)) { in ppc6xx_tlb_check() 134 *raddr = tlb->pte1; in ppc6xx_tlb_check() 135 *prot = ppc_hash32_prot(key, tlb->pte1 & HPTE32_R_PP, nx); in ppc6xx_tlb_check() 150 pte1p = &env->tlb.tlb6[best].pte1; in ppc6xx_tlb_check()
|
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 | mmu_helper.c | 91 int is_code, target_ulong pte0, target_ulong pte1) in ppc6xx_tlb_store() argument 100 EPN, pte0, pte1); in ppc6xx_tlb_store() 104 tlb->pte1 = pte1; in ppc6xx_tlb_store()
|
H A D | kvm.c | 2827 void kvmppc_write_hpte(hwaddr ptex, uint64_t pte0, uint64_t pte1) in kvmppc_write_hpte() argument 2833 uint64_t pte1; in kvmppc_write_hpte() member 2842 buf.pte1 = cpu_to_be64(pte1); in kvmppc_write_hpte()
|
H A D | cpu.h | 356 target_ulong pte1; member 1545 void (*hpte_set_c)(PPCVirtualHypervisor *vhyp, hwaddr ptex, uint64_t pte1); 1546 void (*hpte_set_r)(PPCVirtualHypervisor *vhyp, hwaddr ptex, uint64_t pte1);
|
H A D | machine.c | 570 VMSTATE_UINTTL(pte1, ppc6xx_tlb_t),
|
/openbmc/linux/arch/x86/kernel/ |
H A D | machine_kexec_32.c | 55 free_page((unsigned long)image->arch.pte1); in machine_kexec_free_page_tables() 56 image->arch.pte1 = NULL; in machine_kexec_free_page_tables() 68 image->arch.pte1 = (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() 116 image->arch.pgd, pmd, image->arch.pte1, in machine_kexec_prepare_page_tables()
|
/openbmc/linux/arch/powerpc/kvm/ |
H A D | book3s_32_mmu.c | 189 u32 pte0, pte1; in kvmppc_mmu_book3s_32_xlate_pte() local 217 pte1 = be32_to_cpu(pteg[i + 1]); in kvmppc_mmu_book3s_32_xlate_pte() 221 pte->raddr = (pte1 & ~(0xFFFULL)) | (eaddr & 0xFFF); in kvmppc_mmu_book3s_32_xlate_pte() 222 pp = pte1 & 3; in kvmppc_mmu_book3s_32_xlate_pte() 246 pte0, pte1, pp); in kvmppc_mmu_book3s_32_xlate_pte() 255 u32 pte_r = pte1; in kvmppc_mmu_book3s_32_xlate_pte()
|
H A D | book3s_64_mmu.c | 264 u64 pte1 = be64_to_cpu(pteg[i + 1]); in kvmppc_mmu_book3s_64_xlate() local 271 pgsize = decode_pagesize(slbe, pte1); in kvmppc_mmu_book3s_64_xlate()
|
/openbmc/qemu/hw/ppc/ |
H A D | spapr_vhyp_mmu.c | 420 uint64_t pte0, uint64_t pte1) in new_hpte_store() argument 428 stq_p(addr + HPTE64_DW1, pte1); in new_hpte_store() 440 target_ulong pte1; in rehash_hpte() local 449 pte1 = ppc_hash64_hpte1(cpu, hptes, slot); in rehash_hpte() 451 base_pg_shift = ppc_hash64_hpte_page_shift_noslb(cpu, pte0, pte1); in rehash_hpte() 516 new_hpte_store(new_hpt, new_pteg, slot, pte0, pte1); in rehash_hpte()
|
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() 1559 stq_p(spapr->htab + offset + HPTE64_DW1, pte1); in spapr_store_hpte() 1575 stq_p(spapr->htab + offset + HPTE64_DW1, pte1); in spapr_store_hpte() 1581 uint64_t pte1) in spapr_hpte_set_c() argument 1593 stb_p(spapr->htab + offset, (pte1 & 0xff) | 0x80); in spapr_hpte_set_c() 1597 uint64_t pte1) in spapr_hpte_set_r() argument 1609 stb_p(spapr->htab + offset, ((pte1 >> 8) & 0xff) | 0x01); in spapr_hpte_set_r()
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | pgtable-types.h | 11 typedef struct { pte_basic_t pte, pte1, pte2, pte3; } pte_t; member
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | kexec.h | 145 pte_t *pte1; member
|
/openbmc/linux/arch/powerpc/include/asm/nohash/ |
H A D | pgtable.h | 195 ptep->pte3 = ptep->pte2 = ptep->pte1 = ptep->pte = pte_val(pte); in __set_pte_at()
|
/openbmc/qemu/include/hw/ppc/ |
H A D | spapr.h | 934 uint64_t pte0, uint64_t pte1);
|