Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dbook3s_hv_rm_mmu.c221 pteh &= ~(HPTE_V_HVLOCK | HPTE_V_ABSENT | HPTE_V_VALID); in kvmppc_do_h_enter()
287 pteh |= HPTE_V_VALID; in kvmppc_do_h_enter()
313 if ((be64_to_cpu(*hpte) & HPTE_V_VALID) == 0 && in kvmppc_do_h_enter()
314 try_lock_hpte(hpte, HPTE_V_HVLOCK | HPTE_V_VALID | in kvmppc_do_h_enter()
332 if (!(pte & (HPTE_V_VALID | HPTE_V_ABSENT))) in kvmppc_do_h_enter()
343 if (!try_lock_hpte(hpte, HPTE_V_HVLOCK | HPTE_V_VALID | in kvmppc_do_h_enter()
351 if (pte & (HPTE_V_VALID | HPTE_V_ABSENT)) { in kvmppc_do_h_enter()
368 if (pteh & HPTE_V_VALID) { in kvmppc_do_h_enter()
376 pteh &= ~HPTE_V_VALID; in kvmppc_do_h_enter()
510 if ((pte & (HPTE_V_ABSENT | HPTE_V_VALID)) == 0 || in kvmppc_do_h_remove()
[all …]
Dbook3s_64_mmu_hv.c360 HPTE_V_VALID | HPTE_V_ABSENT); in kvmppc_mmu_book3s_64_hv_xlate()
679 hpte[0] = (hpte[0] & ~HPTE_V_ABSENT) | HPTE_V_VALID; in kvmppc_book3s_hv_page_fault()
696 if (be64_to_cpu(hptep[0]) & HPTE_V_VALID) { in kvmppc_book3s_hv_page_fault()
825 if ((be64_to_cpu(hptep[0]) & HPTE_V_VALID) && in kvmppc_unmap_hpte()
954 if ((be64_to_cpu(hptep[0]) & HPTE_V_VALID) && in kvm_age_rmapp()
1086 if (!(hptep[0] & cpu_to_be64(HPTE_V_VALID))) { in kvm_test_clear_dirty_npages()
1109 v |= HPTE_V_VALID; in kvm_test_clear_dirty_npages()
1250 if (!(vpte & HPTE_V_VALID) && !(vpte & HPTE_V_ABSENT)) in resize_hpt_rehash_hpte()
1259 if (!(vpte & HPTE_V_VALID) && !(vpte & HPTE_V_ABSENT)) in resize_hpt_rehash_hpte()
1277 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()
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/
Dhash_native.c359 if (! (be64_to_cpu(hptep->v) & HPTE_V_VALID)) { in native_hpte_insert()
362 if (! (be64_to_cpu(hptep->v) & HPTE_V_VALID)) in native_hpte_insert()
373 hpte_v = hpte_encode_v(vpn, psize, apsize, ssize) | vflags | HPTE_V_VALID; in native_hpte_insert()
416 if ((hpte_v & HPTE_V_VALID) && !(hpte_v & HPTE_V_BOLTED)) { in native_hpte_remove()
420 if ((hpte_v & HPTE_V_VALID) in native_hpte_remove()
460 if (!HPTE_V_COMPARE(hpte_v, want_v) || !(hpte_v & HPTE_V_VALID)) { in native_hpte_updatepp()
468 !(hpte_v & HPTE_V_VALID))) { in native_hpte_updatepp()
502 if (HPTE_V_COMPARE(hpte_v, want_v) && (hpte_v & HPTE_V_VALID)) in __native_hpte_find()
619 if (HPTE_V_COMPARE(hpte_v, want_v) && (hpte_v & HPTE_V_VALID)) { in native_hpte_invalidate()
624 if (HPTE_V_COMPARE(hpte_v, want_v) && (hpte_v & HPTE_V_VALID)) in native_hpte_invalidate()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/platforms/ps3/
Dhtab.c53 hpte_v = hpte_encode_v(vpn, psize, apsize, ssize) | vflags | HPTE_V_VALID; in ps3_hpte_insert()
133 if (!HPTE_V_COMPARE(hpte_v, want_v) || !(hpte_v & HPTE_V_VALID)) { in ps3_hpte_updatepp()
/kernel/linux/linux-5.10/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()
265 (ptes[j].v & HPTE_V_VALID)) { in pseries_find()
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
Dlpar.c729 hpte_v = hpte_encode_v(vpn, psize, apsize, ssize) | vflags | HPTE_V_VALID; in pSeries_lpar_hpte_insert()
830 if (ptes[j].pteh & HPTE_V_VALID) in manual_hpte_clear_all()
932 (ptes[j].pteh & HPTE_V_VALID)) in __pSeries_lpar_hpte_find()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/book3s/64/
Dmmu-hash.h79 #define HPTE_V_VALID ASM_CONST(0x0000000000000001) macro