/openbmc/linux/arch/powerpc/include/asm/ |
H A D | pkeys.h | 40 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()
|
H A D | mmu.h | 244 static __always_inline bool mmu_has_feature(unsigned long feature) in mmu_has_feature() function 285 static __always_inline bool mmu_has_feature(unsigned long feature) in mmu_has_feature() function 325 return mmu_has_feature(MMU_FTR_TYPE_RADIX); in radix_enabled()
|
H A D | kup.h | 53 return !mmu_has_feature(MMU_FTR_KUAP); in kuap_is_disabled()
|
/openbmc/linux/arch/powerpc/include/asm/book3s/32/ |
H A D | tlbflush.h | 32 if (!mmu_has_feature(MMU_FTR_HPTE_TABLE)) in tlb_flush() 39 if (mmu_has_feature(MMU_FTR_HPTE_TABLE)) in flush_range() 49 if (mmu_has_feature(MMU_FTR_HPTE_TABLE)) in flush_tlb_mm() 57 if (mmu_has_feature(MMU_FTR_HPTE_TABLE)) in flush_tlb_page()
|
/openbmc/linux/arch/powerpc/mm/nohash/ |
H A D | tlb_64e.c | 90 int fsl_mmu = mmu_has_feature(MMU_FTR_TYPE_FSL_E); in setup_page_sizes() 221 if (mmu_has_feature(MMU_FTR_TYPE_FSL_E)) { in early_init_this_mmu() 257 if (mmu_has_feature(MMU_FTR_TYPE_FSL_E)) in early_init_mmu_global() 274 if (mmu_has_feature(MMU_FTR_TYPE_FSL_E)) { in early_init_mmu_global() 295 if (mmu_has_feature(MMU_FTR_TYPE_FSL_E)) { in early_mmu_set_memory_limit()
|
H A D | 44x.c | 178 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()
|
H A D | tlb.c | 260 if (mmu_has_feature(MMU_FTR_USE_TLBIVAX_BCAST)) { in __flush_tlb_page() 261 int lock = mmu_has_feature(MMU_FTR_LOCK_BCAST_INVAL); in __flush_tlb_page()
|
H A D | e500_hugetlbpage.c | 165 if (mmu_has_feature(MMU_FTR_BIG_PHYS)) in book3e_hugetlb_preload()
|
/openbmc/linux/arch/powerpc/include/asm/book3s/64/ |
H A D | kup.h | 238 if (!mmu_has_feature(MMU_FTR_PKEY)) in kuap_user_restore() 241 if (!mmu_has_feature(MMU_FTR_KUAP)) { in kuap_user_restore() 249 if (!mmu_has_feature(MMU_FTR_BOOK3S_KUEP)) { in kuap_user_restore() 315 if (!mmu_has_feature(MMU_FTR_KUAP)) in get_kuap() 323 if (!mmu_has_feature(MMU_FTR_KUAP)) in set_kuap() 364 if (mmu_has_feature(MMU_FTR_PKEY)) in allow_user_access()
|
H A D | hash-pkey.h | 27 if (mmu_has_feature(MMU_FTR_KUAP) || in pte_to_hpte_pkey_bits() 28 mmu_has_feature(MMU_FTR_BOOK3S_KUEP)) { in pte_to_hpte_pkey_bits()
|
H A D | pkeys.h | 10 if (!mmu_has_feature(MMU_FTR_PKEY)) in vmflag_to_pte_pkey_bits()
|
/openbmc/linux/arch/powerpc/mm/book3s32/ |
H A D | mmu.c | 81 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()
|
H A D | mmu_context.c | 128 if (!mmu_has_feature(MMU_FTR_HPTE_TABLE)) in switch_mmu_context()
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | syscall.c | 38 if (mmu_has_feature(MMU_FTR_PKEY)) { in system_call_exception() 49 if (mmu_has_feature(MMU_FTR_KUAP)) { in system_call_exception() 53 if (mmu_has_feature(MMU_FTR_BOOK3S_KUEP)) { in system_call_exception()
|
/openbmc/linux/arch/powerpc/mm/book3s64/ |
H A D | pkeys.c | 308 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()
|
H A D | hash_native.c | 89 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() 794 use_local = local && mmu_has_feature(MMU_FTR_TLBIEL) && in native_flush_hash_range() 843 int lock_tlbie = !mmu_has_feature(MMU_FTR_LOCKLESS_TLBIE); in native_flush_hash_range()
|
H A D | radix_tlb.c | 854 if (!mmu_has_feature(MMU_FTR_GTSE)) { in radix__flush_tlb_mm() 890 if (!mmu_has_feature(MMU_FTR_GTSE)) { in __flush_all_mm() 930 if (!mmu_has_feature(MMU_FTR_GTSE)) { in radix__flush_tlb_page_psize() 987 if (!mmu_has_feature(MMU_FTR_GTSE)) { in radix__flush_tlb_kernel_range() 1052 if (!mmu_has_feature(MMU_FTR_GTSE) && type == FLUSH_TYPE_GLOBAL) { in __radix__flush_tlb_range() 1263 if (!mmu_has_feature(MMU_FTR_GTSE) && type == FLUSH_TYPE_GLOBAL) { in __radix__flush_tlb_range_psize() 1340 if (!mmu_has_feature(MMU_FTR_GTSE)) { in radix__flush_tlb_collapsed_pmd()
|
H A D | slb.c | 302 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()
|
/openbmc/linux/arch/powerpc/mm/ptdump/ |
H A D | bats.c | 68 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()
|
/openbmc/linux/arch/powerpc/include/asm/book3s/ |
H A D | pgtable.h | 36 if (IS_ENABLED(CONFIG_PPC32) && !mmu_has_feature(MMU_FTR_HPTE_TABLE)) in update_mmu_cache_range()
|
/openbmc/linux/arch/powerpc/platforms/44x/ |
H A D | iss4xx.c | 130 if (mmu_has_feature(MMU_FTR_TYPE_47x)) in iss4xx_smp_init()
|
/openbmc/linux/arch/powerpc/mm/ |
H A D | pgtable_64.c | 144 if (!mmu_has_feature(MMU_FTR_KERNEL_RO)) { in mark_rodata_ro()
|
H A D | cacheflush.c | 145 if (mmu_has_feature(MMU_FTR_TYPE_44x))
|
H A D | pgtable.c | 117 if (mmu_has_feature(MMU_FTR_HPTE_TABLE)) in set_pte_filter() 152 if (mmu_has_feature(MMU_FTR_HPTE_TABLE)) in set_access_flags_filter()
|
H A D | pgtable_32.c | 151 if (IS_ENABLED(CONFIG_STRICT_MODULE_RWX) && mmu_has_feature(MMU_FTR_HPTE_TABLE)) in mark_rodata_ro()
|