Lines Matching +full:spare +full:- +full:regs
1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
29 #include <asm/pte-walk.h>
41 return current->thread.regs && TRAP(current->thread.regs) == 0x400; in is_exec_fault()
76 /* Server-style MMU handles coherency when hashing if HW exec permission
77 * is supposed per page (currently 64-bit only). If not, then, we always
90 if (!test_bit(PG_dcache_clean, &pg->flags)) { in set_pte_filter_hash()
92 set_bit(PG_dcache_clean, &pg->flags); in set_pte_filter_hash()
105 * as we don't have two bits to spare for _PAGE_EXEC and _PAGE_HWEXEC so
128 if (test_bit(PG_dcache_clean, &pg->flags)) in set_pte_filter()
134 set_bit(PG_dcache_clean, &pg->flags); in set_pte_filter()
166 if (WARN_ON(!(vma->vm_flags & VM_EXEC))) in set_access_flags_filter()
176 if (test_bit(PG_dcache_clean, &pg->flags)) in set_access_flags_filter()
181 set_bit(PG_dcache_clean, &pg->flags); in set_access_flags_filter()
199 /* Note: mm->context.id might not yet have been assigned as in set_pte_at()
232 assert_pte_locked(vma->vm_mm, address); in ptep_set_access_flags()
264 assert_spin_locked(huge_pte_lockptr(h, vma->vm_mm, ptep)); in huge_ptep_set_access_flags()
317 pgd = mm->pgd + pgd_index(addr); in assert_pte_locked()
356 * when we have MSR[EE] = 0 but the paca->irq_soft_mask = IRQS_ENABLED