Home
last modified time | relevance | path

Searched refs:pte_r (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/arch/powerpc/kvm/
Dbook3s_32_mmu.c255 u32 pte_r = pte1; in kvmppc_mmu_book3s_32_xlate_pte() local
262 if (pte->may_read && !(pte_r & PTEG_FLAG_ACCESSED)) { in kvmppc_mmu_book3s_32_xlate_pte()
263 pte_r |= PTEG_FLAG_ACCESSED; in kvmppc_mmu_book3s_32_xlate_pte()
264 put_user(pte_r >> 8, addr + 2); in kvmppc_mmu_book3s_32_xlate_pte()
266 if (iswrite && pte->may_write && !(pte_r & PTEG_FLAG_DIRTY)) { in kvmppc_mmu_book3s_32_xlate_pte()
267 pte_r |= PTEG_FLAG_DIRTY; in kvmppc_mmu_book3s_32_xlate_pte()
268 put_user(pte_r, addr + 3); in kvmppc_mmu_book3s_32_xlate_pte()
Dbook3s_hv_rm_mmu.c495 u64 pte, orig_pte, pte_r; in kvmppc_do_h_remove() local
505 pte_r = be64_to_cpu(hpte[1]); in kvmppc_do_h_remove()
507 pte = hpte_new_to_old_v(pte, pte_r); in kvmppc_do_h_remove()
508 pte_r = hpte_new_to_old_r(pte_r); in kvmppc_do_h_remove()
521 rb = compute_tlbie_rb(v, pte_r, pte_index); in kvmppc_do_h_remove()
539 if (is_mmio_hpte(v, pte_r)) in kvmppc_do_h_remove()
683 u64 pte_v, pte_r; in kvmppc_h_protect() local
702 pte_r = be64_to_cpu(hpte[1]); in kvmppc_h_protect()
724 r = (pte_r & ~mask) | bits; in kvmppc_h_protect()
725 if (hpte_is_writable(r) && !hpte_is_writable(pte_r)) in kvmppc_h_protect()
[all …]