Home
last modified time | relevance | path

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

12

/Linux-v6.1/arch/powerpc/include/asm/
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()
Dmmu.h249 static __always_inline bool mmu_has_feature(unsigned long feature) in mmu_has_feature() function
290 static __always_inline bool mmu_has_feature(unsigned long feature) in mmu_has_feature() function
330 return mmu_has_feature(MMU_FTR_TYPE_RADIX); in radix_enabled()
/Linux-v6.1/arch/powerpc/include/asm/book3s/32/
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()
/Linux-v6.1/arch/powerpc/include/asm/book3s/64/
Dkup.h234 return !mmu_has_feature(MMU_FTR_BOOK3S_KUAP);
242 if (!mmu_has_feature(MMU_FTR_PKEY))
245 if (!mmu_has_feature(MMU_FTR_BOOK3S_KUAP)) {
253 if (!mmu_has_feature(MMU_FTR_BOOK3S_KUEP)) {
325 if (!mmu_has_feature(MMU_FTR_BOOK3S_KUAP))
333 if (!mmu_has_feature(MMU_FTR_BOOK3S_KUAP))
373 if (mmu_has_feature(MMU_FTR_PKEY))
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()
Dpkeys.h10 if (!mmu_has_feature(MMU_FTR_PKEY)) in vmflag_to_pte_pkey_bits()
/Linux-v6.1/arch/powerpc/mm/book3s32/
Dmmu.c81 int n = mmu_has_feature(MMU_FTR_USE_HIGH_BATS) ? 8 : 4; in find_free_bat()
198 int nb = mmu_has_feature(MMU_FTR_USE_HIGH_BATS) ? 8 : 4; in mmu_mark_initmem_nx()
237 int nb = mmu_has_feature(MMU_FTR_USE_HIGH_BATS) ? 8 : 4; in mmu_mark_rodata_ro()
302 if (!mmu_has_feature(MMU_FTR_HPTE_TABLE)) in hash_preload()
347 if (!mmu_has_feature(MMU_FTR_HPTE_TABLE)) in MMU_init_hw()
396 if (!mmu_has_feature(MMU_FTR_HPTE_TABLE)) in MMU_init_hw_patch()
Dmmu_context.c128 if (!mmu_has_feature(MMU_FTR_HPTE_TABLE)) in switch_mmu_context()
/Linux-v6.1/arch/powerpc/mm/nohash/
Dtlb.c274 if (mmu_has_feature(MMU_FTR_USE_TLBIVAX_BCAST)) { in __flush_tlb_page()
275 int lock = mmu_has_feature(MMU_FTR_LOCK_BCAST_INVAL); in __flush_tlb_page()
412 int fsl_mmu = mmu_has_feature(MMU_FTR_TYPE_FSL_E); in setup_page_sizes()
597 if (mmu_has_feature(MMU_FTR_TYPE_FSL_E)) { in early_init_this_mmu()
633 if (mmu_has_feature(MMU_FTR_TYPE_FSL_E)) in early_init_mmu_global()
650 if (mmu_has_feature(MMU_FTR_TYPE_FSL_E)) { in early_init_mmu_global()
671 if (mmu_has_feature(MMU_FTR_TYPE_FSL_E)) { in early_mmu_set_memory_limit()
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()
De500_hugetlbpage.c162 if (mmu_has_feature(MMU_FTR_BIG_PHYS)) in book3e_hugetlb_preload()
/Linux-v6.1/arch/powerpc/kernel/
Dsyscall.c38 if (mmu_has_feature(MMU_FTR_PKEY)) { in system_call_exception()
49 if (mmu_has_feature(MMU_FTR_BOOK3S_KUAP)) { in system_call_exception()
53 if (mmu_has_feature(MMU_FTR_BOOK3S_KUEP)) { in system_call_exception()
/Linux-v6.1/arch/powerpc/mm/book3s64/
Dpkeys.c308 if (!mmu_has_feature(MMU_FTR_PKEY)) in pkey_mm_init()
432 if (!mmu_has_feature(MMU_FTR_PKEY)) in arch_pte_access_permitted()
449 if (!mmu_has_feature(MMU_FTR_PKEY)) in arch_vma_access_permitted()
462 if (!mmu_has_feature(MMU_FTR_PKEY)) in arch_dup_pkeys()
Dhash_native.c89 if (mmu_has_feature(MMU_FTR_TLBIE_CROP_VA)) in ___tlbie()
179 if (mmu_has_feature(MMU_FTR_TLBIE_CROP_VA)) in __tlbiel()
221 int lock_tlbie = !mmu_has_feature(MMU_FTR_LOCKLESS_TLBIE); in tlbie()
223 use_local = local && mmu_has_feature(MMU_FTR_TLBIEL) && !cxl_ctx_in_use(); in tlbie()
789 use_local = local && mmu_has_feature(MMU_FTR_TLBIEL) && in native_flush_hash_range()
838 int lock_tlbie = !mmu_has_feature(MMU_FTR_LOCKLESS_TLBIE); in native_flush_hash_range()
Dradix_tlb.c962 if (!mmu_has_feature(MMU_FTR_GTSE)) { in radix__flush_tlb_mm()
997 if (!mmu_has_feature(MMU_FTR_GTSE)) { in __flush_all_mm()
1036 if (!mmu_has_feature(MMU_FTR_GTSE)) { in radix__flush_tlb_page_psize()
1093 if (!mmu_has_feature(MMU_FTR_GTSE)) { in radix__flush_tlb_kernel_range()
1156 if (!mmu_has_feature(MMU_FTR_GTSE) && type == FLUSH_TYPE_GLOBAL) { in __radix__flush_tlb_range()
1351 if (!mmu_has_feature(MMU_FTR_GTSE) && type == FLUSH_TYPE_GLOBAL) { in __radix__flush_tlb_range_psize()
1427 if (!mmu_has_feature(MMU_FTR_GTSE)) { in radix__flush_tlb_collapsed_pmd()
Dslb.c301 if (mmu_has_feature(MMU_FTR_1T_SEGMENT)) { in preload_add()
475 if (!mmu_has_feature(MMU_FTR_NO_SLBIE_B) && in switch_slb()
777 if (!mmu_has_feature(MMU_FTR_1T_SEGMENT)) in slb_allocate_kernel()
/Linux-v6.1/arch/powerpc/mm/ptdump/
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-v6.1/arch/powerpc/include/asm/book3s/
Dpgtable.h41 if (IS_ENABLED(CONFIG_PPC32) && !mmu_has_feature(MMU_FTR_HPTE_TABLE)) in update_mmu_cache()
/Linux-v6.1/arch/powerpc/mm/
Dpgtable_64.c144 if (!mmu_has_feature(MMU_FTR_KERNEL_RO)) { in mark_rodata_ro()
Dpgtable.c115 if (mmu_has_feature(MMU_FTR_HPTE_TABLE)) in set_pte_filter()
150 if (mmu_has_feature(MMU_FTR_HPTE_TABLE)) in set_access_flags_filter()
Dcacheflush.c145 if (mmu_has_feature(MMU_FTR_TYPE_44x))
Dpgtable_32.c151 if (IS_ENABLED(CONFIG_STRICT_MODULE_RWX) && mmu_has_feature(MMU_FTR_HPTE_TABLE)) in mark_rodata_ro()
/Linux-v6.1/arch/powerpc/platforms/44x/
Diss4xx.c130 if (mmu_has_feature(MMU_FTR_TYPE_47x)) in iss4xx_smp_init()
Dppc476.c202 if (mmu_has_feature(MMU_FTR_TYPE_47x)) in ppc47x_smp_init()
/Linux-v6.1/arch/powerpc/platforms/pseries/
Dlpar.c736 if (mmu_has_feature(MMU_FTR_GTSE)) in pseries_lpar_register_process_table()
937 if (mmu_has_feature(MMU_FTR_KERNEL_RO)) in pSeries_lpar_hpte_updatepp()
1026 if (mmu_has_feature(MMU_FTR_KERNEL_RO)) in pSeries_lpar_hpte_updateboltedpp()
1233 int lock_tlbie = !mmu_has_feature(MMU_FTR_LOCKLESS_TLBIE); in __pSeries_lpar_hugepage_invalidate()
1551 int lock_tlbie = !mmu_has_feature(MMU_FTR_LOCKLESS_TLBIE); in pSeries_lpar_flush_hash_range()
1957 if (!mmu_has_feature(MMU_FTR_68_BIT_VA)) in vsid_unscramble()

12