Home
last modified time | relevance | path

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

/linux-6.1.9/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.c492 u64 pte, orig_pte, pte_r; in kvmppc_do_h_remove() local
502 pte_r = be64_to_cpu(hpte[1]); in kvmppc_do_h_remove()
504 pte = hpte_new_to_old_v(pte, pte_r); in kvmppc_do_h_remove()
505 pte_r = hpte_new_to_old_r(pte_r); in kvmppc_do_h_remove()
518 rb = compute_tlbie_rb(v, pte_r, pte_index); in kvmppc_do_h_remove()
536 if (is_mmio_hpte(v, pte_r)) in kvmppc_do_h_remove()
681 u64 pte_v, pte_r; in kvmppc_h_protect() local
700 pte_r = be64_to_cpu(hpte[1]); in kvmppc_h_protect()
722 r = (pte_r & ~mask) | bits; in kvmppc_h_protect()
723 if (hpte_is_writable(r) && !hpte_is_writable(pte_r)) in kvmppc_h_protect()
[all …]