Home
last modified time | relevance | path

Searched refs:HPTE_V_VALID (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/arch/powerpc/mm/book3s64/
Dhash_native.c283 if (! (be64_to_cpu(hptep->v) & HPTE_V_VALID)) { in native_hpte_insert()
286 if (! (be64_to_cpu(hptep->v) & HPTE_V_VALID)) in native_hpte_insert()
299 hpte_v = hpte_encode_v(vpn, psize, apsize, ssize) | vflags | HPTE_V_VALID; in native_hpte_insert()
345 if ((hpte_v & HPTE_V_VALID) && !(hpte_v & HPTE_V_BOLTED)) { in native_hpte_remove()
349 if ((hpte_v & HPTE_V_VALID) in native_hpte_remove()
393 if (!HPTE_V_COMPARE(hpte_v, want_v) || !(hpte_v & HPTE_V_VALID)) { in native_hpte_updatepp()
401 !(hpte_v & HPTE_V_VALID))) { in native_hpte_updatepp()
437 if (HPTE_V_COMPARE(hpte_v, want_v) && (hpte_v & HPTE_V_VALID)) in __native_hpte_find()
565 if (HPTE_V_COMPARE(hpte_v, want_v) && (hpte_v & HPTE_V_VALID)) { in native_hpte_invalidate()
570 if (HPTE_V_COMPARE(hpte_v, want_v) && (hpte_v & HPTE_V_VALID)) { in native_hpte_invalidate()
[all …]
/linux-6.1.9/arch/powerpc/kvm/
Dbook3s_hv_rm_mmu.c217 pteh &= ~(HPTE_V_HVLOCK | HPTE_V_ABSENT | HPTE_V_VALID); in kvmppc_do_h_enter()
283 pteh |= HPTE_V_VALID; in kvmppc_do_h_enter()
309 if ((be64_to_cpu(*hpte) & HPTE_V_VALID) == 0 && in kvmppc_do_h_enter()
310 try_lock_hpte(hpte, HPTE_V_HVLOCK | HPTE_V_VALID | in kvmppc_do_h_enter()
328 if (!(pte & (HPTE_V_VALID | HPTE_V_ABSENT))) in kvmppc_do_h_enter()
339 if (!try_lock_hpte(hpte, HPTE_V_HVLOCK | HPTE_V_VALID | in kvmppc_do_h_enter()
347 if (pte & (HPTE_V_VALID | HPTE_V_ABSENT)) { in kvmppc_do_h_enter()
364 if (pteh & HPTE_V_VALID) { in kvmppc_do_h_enter()
372 pteh &= ~HPTE_V_VALID; in kvmppc_do_h_enter()
507 if ((pte & (HPTE_V_ABSENT | HPTE_V_VALID)) == 0 || in kvmppc_do_h_remove()
[all …]
Dbook3s_64_mmu_hv.c369 HPTE_V_VALID | HPTE_V_ABSENT); in kvmppc_mmu_book3s_64_hv_xlate()
688 hpte[0] = (hpte[0] & ~HPTE_V_ABSENT) | HPTE_V_VALID; in kvmppc_book3s_hv_page_fault()
705 if (be64_to_cpu(hptep[0]) & HPTE_V_VALID) { in kvmppc_book3s_hv_page_fault()
789 if ((be64_to_cpu(hptep[0]) & HPTE_V_VALID) && in kvmppc_unmap_hpte()
923 if ((be64_to_cpu(hptep[0]) & HPTE_V_VALID) && in kvm_age_rmapp()
1069 if (!(hptep[0] & cpu_to_be64(HPTE_V_VALID))) { in kvm_test_clear_dirty_npages()
1092 v |= HPTE_V_VALID; in kvm_test_clear_dirty_npages()
1233 if (!(vpte & HPTE_V_VALID) && !(vpte & HPTE_V_ABSENT)) in resize_hpt_rehash_hpte()
1242 if (!(vpte & HPTE_V_VALID) && !(vpte & HPTE_V_ABSENT)) in resize_hpt_rehash_hpte()
1260 if (vpte & HPTE_V_VALID) { in resize_hpt_rehash_hpte()
[all …]
Dbook3s_pr_papr.c60 if ((be64_to_cpu(*hpte) & HPTE_V_VALID) == 0) in kvmppc_h_pr_enter()
66 if (*hpte & HPTE_V_VALID) in kvmppc_h_pr_enter()
104 if ((pte[0] & HPTE_V_VALID) == 0 || in kvmppc_h_pr_remove()
189 if ((pte[0] & HPTE_V_VALID) == 0 || in kvmppc_h_pr_bulk_remove()
232 if ((pte[0] & HPTE_V_VALID) == 0 || in kvmppc_h_pr_protect()
Dbook3s_64_mmu.c237 v_val |= HPTE_V_VALID; in kvmppc_mmu_book3s_64_xlate()
239 v_mask = SLB_VSID_B | HPTE_V_AVPN | HPTE_V_LARGE | HPTE_V_VALID | in kvmppc_mmu_book3s_64_xlate()
/linux-6.1.9/arch/powerpc/platforms/ps3/
Dhtab.c52 hpte_v = hpte_encode_v(vpn, psize, apsize, ssize) | vflags | HPTE_V_VALID; in ps3_hpte_insert()
132 if (!HPTE_V_COMPARE(hpte_v, want_v) || !(hpte_v & HPTE_V_VALID)) { in ps3_hpte_updatepp()
/linux-6.1.9/arch/powerpc/mm/ptdump/
Dhashpagetable.c73 .mask = HPTE_V_VALID,
74 .val = HPTE_V_VALID,
228 if (HPTE_V_COMPARE(hpte_v, want_v) && (hpte_v & HPTE_V_VALID)) { in native_find()
268 (ptes[j].v & HPTE_V_VALID)) { in pseries_find()
/linux-6.1.9/arch/powerpc/platforms/pseries/
Dlpar.c771 hpte_v = hpte_encode_v(vpn, psize, apsize, ssize) | vflags | HPTE_V_VALID; in pSeries_lpar_hpte_insert()
873 if (ptes[j].pteh & HPTE_V_VALID) in manual_hpte_clear_all()
978 (ptes[j].pteh & HPTE_V_VALID)) in __pSeries_lpar_hpte_find()
/linux-6.1.9/arch/powerpc/include/asm/book3s/64/
Dmmu-hash.h79 #define HPTE_V_VALID ASM_CONST(0x0000000000000001) macro