Home
last modified time | relevance | path

Searched refs:mmu_has_feature (Results 1 – 25 of 39) sorted by relevance

12

/linux/arch/powerpc/include/asm/book3s/64/
A Dkup.h237 if (!mmu_has_feature(MMU_FTR_PKEY))
240 if (!mmu_has_feature(MMU_FTR_BOOK3S_KUAP)) {
248 if (!mmu_has_feature(MMU_FTR_BOOK3S_KUEP)) {
274 if (mmu_has_feature(MMU_FTR_BOOK3S_KUAP)) {
292 if (mmu_has_feature(MMU_FTR_BOOK3S_KUAP)) {
303 if (IS_ENABLED(CONFIG_PPC_KUAP_DEBUG) && mmu_has_feature(MMU_FTR_BOOK3S_KUAP))
322 if (!mmu_has_feature(MMU_FTR_BOOK3S_KUAP))
330 if (!mmu_has_feature(MMU_FTR_BOOK3S_KUAP))
345 if (!mmu_has_feature(MMU_FTR_BOOK3S_KUAP))
373 if (mmu_has_feature(MMU_FTR_PKEY))
A Dhash-pkey.h27 if (mmu_has_feature(MMU_FTR_BOOK3S_KUAP) || in pte_to_hpte_pkey_bits()
28 mmu_has_feature(MMU_FTR_BOOK3S_KUEP)) { in pte_to_hpte_pkey_bits()
A Dpkeys.h10 if (!mmu_has_feature(MMU_FTR_PKEY)) in vmflag_to_pte_pkey_bits()
/linux/arch/powerpc/include/asm/
A Dpkeys.h40 if (!mmu_has_feature(MMU_FTR_PKEY)) in vma_pkey()
95 if (!mmu_has_feature(MMU_FTR_PKEY)) in mm_pkey_alloc()
112 if (!mmu_has_feature(MMU_FTR_PKEY)) in mm_pkey_free()
133 if (!mmu_has_feature(MMU_FTR_PKEY)) in arch_override_mprotect_pkey()
151 if (!mmu_has_feature(MMU_FTR_PKEY)) in arch_set_user_pkey_access()
168 return mmu_has_feature(MMU_FTR_PKEY); in arch_pkeys_enabled()
A Dmmu.h248 static __always_inline bool mmu_has_feature(unsigned long feature) in mmu_has_feature() function
289 static __always_inline bool mmu_has_feature(unsigned long feature) in mmu_has_feature() function
329 return mmu_has_feature(MMU_FTR_TYPE_RADIX); in radix_enabled()
/linux/arch/powerpc/include/asm/book3s/32/
A Dtlbflush.h30 if (!mmu_has_feature(MMU_FTR_HPTE_TABLE)) in tlb_flush()
37 if (mmu_has_feature(MMU_FTR_HPTE_TABLE)) in flush_range()
47 if (mmu_has_feature(MMU_FTR_HPTE_TABLE)) in flush_tlb_mm()
55 if (mmu_has_feature(MMU_FTR_HPTE_TABLE)) in flush_tlb_page()
A Dkup.h40 if (mmu_has_feature(MMU_FTR_HPTE_TABLE)) in kuep_lock()
57 if (mmu_has_feature(MMU_FTR_HPTE_TABLE)) in kuep_unlock()
/linux/arch/powerpc/mm/book3s32/
A Dmmu.c82 int n = mmu_has_feature(MMU_FTR_USE_HIGH_BATS) ? 8 : 4; in find_free_bat()
196 int nb = mmu_has_feature(MMU_FTR_USE_HIGH_BATS) ? 8 : 4; in mmu_mark_initmem_nx()
236 int nb = mmu_has_feature(MMU_FTR_USE_HIGH_BATS) ? 8 : 4; in mmu_mark_rodata_ro()
306 if (!mmu_has_feature(MMU_FTR_HPTE_TABLE)) in hash_preload()
324 if (!mmu_has_feature(MMU_FTR_HPTE_TABLE)) in update_mmu_cache()
353 if (!mmu_has_feature(MMU_FTR_HPTE_TABLE)) in MMU_init_hw()
402 if (!mmu_has_feature(MMU_FTR_HPTE_TABLE)) in MMU_init_hw_patch()
A Dmmu_context.c129 if (!mmu_has_feature(MMU_FTR_HPTE_TABLE)) in switch_mmu_context()
/linux/arch/powerpc/mm/nohash/
A Dtlb.c309 if (mmu_has_feature(MMU_FTR_USE_TLBIVAX_BCAST)) { in __flush_tlb_page()
310 int lock = mmu_has_feature(MMU_FTR_LOCK_BCAST_INVAL); in __flush_tlb_page()
445 int fsl_mmu = mmu_has_feature(MMU_FTR_TYPE_FSL_E); in setup_page_sizes()
630 if (mmu_has_feature(MMU_FTR_TYPE_FSL_E)) { in early_init_this_mmu()
674 if (mmu_has_feature(MMU_FTR_TYPE_FSL_E)) in early_init_mmu_global()
691 if (mmu_has_feature(MMU_FTR_TYPE_FSL_E)) { in early_init_mmu_global()
712 if (mmu_has_feature(MMU_FTR_TYPE_FSL_E)) { in early_mmu_set_memory_limit()
A Dbook3e_hugetlbpage.c106 if (mmu_has_feature(MMU_FTR_USE_TLBRSRV)) { in book3e_tlb_exists()
172 if (mmu_has_feature(MMU_FTR_USE_PAIRED_MAS)) { in book3e_hugetlb_preload()
175 if (mmu_has_feature(MMU_FTR_BIG_PHYS)) in book3e_hugetlb_preload()
A D44x.c178 if (mmu_has_feature(MMU_FTR_TYPE_47x)) in mmu_mapin_ram()
183 if (mmu_has_feature(MMU_FTR_TYPE_47x)) { in mmu_mapin_ram()
236 if (mmu_has_feature(MMU_FTR_TYPE_47x)) in mmu_init_secondary()
/linux/arch/powerpc/mm/book3s64/
A Dpkeys.c307 if (!mmu_has_feature(MMU_FTR_PKEY)) in pkey_mm_init()
431 if (!mmu_has_feature(MMU_FTR_PKEY)) in arch_pte_access_permitted()
448 if (!mmu_has_feature(MMU_FTR_PKEY)) in arch_vma_access_permitted()
461 if (!mmu_has_feature(MMU_FTR_PKEY)) in arch_dup_pkeys()
A Dhash_native.c170 if (mmu_has_feature(MMU_FTR_TLBIE_CROP_VA)) in ___tlbie()
260 if (mmu_has_feature(MMU_FTR_TLBIE_CROP_VA)) in __tlbiel()
302 int lock_tlbie = !mmu_has_feature(MMU_FTR_LOCKLESS_TLBIE); in tlbie()
304 use_local = local && mmu_has_feature(MMU_FTR_TLBIEL) && !cxl_ctx_in_use(); in tlbie()
844 use_local = local && mmu_has_feature(MMU_FTR_TLBIEL) && in native_flush_hash_range()
891 int lock_tlbie = !mmu_has_feature(MMU_FTR_LOCKLESS_TLBIE); in native_flush_hash_range()
A Dradix_tlb.c954 if (!mmu_has_feature(MMU_FTR_GTSE)) { in radix__flush_tlb_mm()
989 if (!mmu_has_feature(MMU_FTR_GTSE)) { in __flush_all_mm()
1028 if (!mmu_has_feature(MMU_FTR_GTSE)) { in radix__flush_tlb_page_psize()
1085 if (!mmu_has_feature(MMU_FTR_GTSE)) { in radix__flush_tlb_kernel_range()
1148 if (!mmu_has_feature(MMU_FTR_GTSE) && type == FLUSH_TYPE_GLOBAL) { in __radix__flush_tlb_range()
1343 if (!mmu_has_feature(MMU_FTR_GTSE) && type == FLUSH_TYPE_GLOBAL) { in __radix__flush_tlb_range_psize()
1419 if (!mmu_has_feature(MMU_FTR_GTSE)) { in radix__flush_tlb_collapsed_pmd()
A Dslb.c302 if (mmu_has_feature(MMU_FTR_1T_SEGMENT)) { in preload_add()
476 if (!mmu_has_feature(MMU_FTR_NO_SLBIE_B) && in switch_slb()
778 if (!mmu_has_feature(MMU_FTR_1T_SEGMENT)) in slb_allocate_kernel()
A Dmmu_context.c45 if (mmu_has_feature(MMU_FTR_68_BIT_VA)) in hash__alloc_context_id()
/linux/arch/powerpc/mm/ptdump/
A Dbats.c68 if (mmu_has_feature(MMU_FTR_USE_HIGH_BATS)) { in bats_show()
81 if (mmu_has_feature(MMU_FTR_USE_HIGH_BATS)) { in bats_show()
/linux/arch/powerpc/kernel/
A Dinterrupt.c101 if (mmu_has_feature(MMU_FTR_PKEY)) { in system_call_exception()
112 if (mmu_has_feature(MMU_FTR_BOOK3S_KUAP)) { in system_call_exception()
116 if (mmu_has_feature(MMU_FTR_BOOK3S_KUEP)) { in system_call_exception()
/linux/arch/powerpc/mm/
A Dpgtable.c115 if (mmu_has_feature(MMU_FTR_HPTE_TABLE)) in set_pte_filter()
147 if (mmu_has_feature(MMU_FTR_HPTE_TABLE)) in set_access_flags_filter()
A Dpgtable_64.c137 if (!mmu_has_feature(MMU_FTR_KERNEL_RO)) { in mark_rodata_ro()
A Dcacheflush.c145 if (mmu_has_feature(MMU_FTR_TYPE_44x))
/linux/arch/powerpc/platforms/44x/
A Diss4xx.c130 if (mmu_has_feature(MMU_FTR_TYPE_47x)) in iss4xx_smp_init()
A Dppc476.c200 if (mmu_has_feature(MMU_FTR_TYPE_47x)) in ppc47x_smp_init()
/linux/arch/powerpc/platforms/pseries/
A Dlpar.c896 if (mmu_has_feature(MMU_FTR_KERNEL_RO)) in pSeries_lpar_hpte_updatepp()
985 if (mmu_has_feature(MMU_FTR_KERNEL_RO)) in pSeries_lpar_hpte_updateboltedpp()
1192 int lock_tlbie = !mmu_has_feature(MMU_FTR_LOCKLESS_TLBIE); in __pSeries_lpar_hugepage_invalidate()
1510 int lock_tlbie = !mmu_has_feature(MMU_FTR_LOCKLESS_TLBIE); in pSeries_lpar_flush_hash_range()
1693 if (mmu_has_feature(MMU_FTR_GTSE)) in pseries_lpar_register_process_table()
1942 if (!mmu_has_feature(MMU_FTR_68_BIT_VA)) in vsid_unscramble()

Completed in 34 milliseconds

12