Lines Matching refs:mmuar
103 unsigned long mmuar; in load_ksp_mmu() local
106 mmuar = task->thread.ksp; in load_ksp_mmu()
109 mmu_write(MMUAR, mmuar); in load_ksp_mmu()
114 if (mmuar >= PAGE_OFFSET) { in load_ksp_mmu()
124 pgd = pgd_offset(mm, mmuar); in load_ksp_mmu()
128 p4d = p4d_offset(pgd, mmuar); in load_ksp_mmu()
132 pud = pud_offset(p4d, mmuar); in load_ksp_mmu()
136 pmd = pmd_offset(pud, mmuar); in load_ksp_mmu()
140 pte = (mmuar >= PAGE_OFFSET) ? pte_offset_kernel(pmd, mmuar) in load_ksp_mmu()
141 : pte_offset_map(pmd, mmuar); in load_ksp_mmu()
147 if (!pte_dirty(*pte) && mmuar <= PAGE_OFFSET) in load_ksp_mmu()
150 mmu_write(MMUTR, (mmuar & PAGE_MASK) | (asid << MMUTR_IDN) | in load_ksp_mmu()
162 pr_info("ksp load failed: mm=0x%p ksp=0x08%lx\n", mm, mmuar); in load_ksp_mmu()
164 if (pte && mmuar < PAGE_OFFSET) in load_ksp_mmu()