/Linux-v5.10/arch/powerpc/include/asm/ |
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()
|
D | mmu.h | 218 static __always_inline bool mmu_has_feature(unsigned long feature) in mmu_has_feature() function 256 static inline bool mmu_has_feature(unsigned long feature) in mmu_has_feature() function 297 return mmu_has_feature(MMU_FTR_TYPE_RADIX); in radix_enabled()
|
/Linux-v5.10/arch/powerpc/mm/book3s64/ |
D | pkeys.c | 228 if (!mmu_has_feature(MMU_FTR_PKEY)) in pkey_mm_init() 318 if (!mmu_has_feature(MMU_FTR_PKEY)) in thread_pkey_regs_save() 331 if (!mmu_has_feature(MMU_FTR_PKEY)) in thread_pkey_regs_restore() 342 if (!mmu_has_feature(MMU_FTR_PKEY)) in thread_pkey_regs_init() 411 if (!mmu_has_feature(MMU_FTR_PKEY)) in arch_pte_access_permitted() 428 if (!mmu_has_feature(MMU_FTR_PKEY)) in arch_vma_access_permitted() 441 if (!mmu_has_feature(MMU_FTR_PKEY)) in arch_dup_pkeys()
|
D | hash_native.c | 170 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()
|
D | radix_tlb.c | 707 if (!mmu_has_feature(MMU_FTR_GTSE)) { in radix__flush_tlb_mm() 747 if (!mmu_has_feature(MMU_FTR_GTSE)) { in __flush_all_mm() 789 if (!mmu_has_feature(MMU_FTR_GTSE)) { in radix__flush_tlb_page_psize() 851 if (!mmu_has_feature(MMU_FTR_GTSE)) { in radix__flush_tlb_kernel_range() 912 if (!mmu_has_feature(MMU_FTR_GTSE) && !local) { in __radix__flush_tlb_range() 1104 if (!mmu_has_feature(MMU_FTR_GTSE) && !local) { in __radix__flush_tlb_range_psize() 1179 if (!mmu_has_feature(MMU_FTR_GTSE)) { in radix__flush_tlb_collapsed_pmd()
|
D | slb.c | 325 if (mmu_has_feature(MMU_FTR_1T_SEGMENT)) { in preload_add() 499 if (!mmu_has_feature(MMU_FTR_NO_SLBIE_B) && in switch_slb() 801 if (!mmu_has_feature(MMU_FTR_1T_SEGMENT)) in slb_allocate_kernel()
|
D | mmu_context.c | 45 if (mmu_has_feature(MMU_FTR_68_BIT_VA)) in hash__alloc_context_id()
|
D | hash_utils.c | 208 if (mmu_has_feature(MMU_FTR_KERNEL_RO)) in htab_convert_pte_flags() 700 if (mmu_has_feature(MMU_FTR_CI_LARGE_PAGE)) { in htab_init_page_sizes() 881 if (mmu_has_feature(MMU_FTR_1T_SEGMENT)) { in htab_initialize() 1127 if (mmu_has_feature(MMU_FTR_PKEY)) in hash__early_init_mmu_secondary()
|
D | hash_64k.c | 251 if (!mmu_has_feature(MMU_FTR_CI_LARGE_PAGE) && in __hash_page_64K()
|
D | hash_pgtable.c | 372 if (!mmu_has_feature(MMU_FTR_16M_PAGE)) in hash__has_transparent_hugepage()
|
/Linux-v5.10/arch/powerpc/include/asm/book3s/64/ |
D | kup-radix.h | 77 if (mmu_has_feature(MMU_FTR_RADIX_KUAP) && unlikely(regs->kuap != amr)) { 90 if (mmu_has_feature(MMU_FTR_RADIX_KUAP)) { 101 if (IS_ENABLED(CONFIG_PPC_KUAP_DEBUG) && mmu_has_feature(MMU_FTR_RADIX_KUAP)) 143 return WARN(mmu_has_feature(MMU_FTR_RADIX_KUAP) &&
|
D | pkeys.h | 12 if (!mmu_has_feature(MMU_FTR_PKEY)) in vmflag_to_pte_pkey_bits()
|
/Linux-v5.10/arch/powerpc/mm/nohash/ |
D | tlb.c | 307 if (mmu_has_feature(MMU_FTR_USE_TLBIVAX_BCAST)) { in __flush_tlb_page() 308 int lock = mmu_has_feature(MMU_FTR_LOCK_BCAST_INVAL); in __flush_tlb_page() 443 int fsl_mmu = mmu_has_feature(MMU_FTR_TYPE_FSL_E); in setup_page_sizes() 628 if (mmu_has_feature(MMU_FTR_TYPE_FSL_E)) { in early_init_this_mmu() 672 if (mmu_has_feature(MMU_FTR_TYPE_FSL_E)) in early_init_mmu_global() 689 if (mmu_has_feature(MMU_FTR_TYPE_FSL_E)) { in early_init_mmu_global() 710 if (mmu_has_feature(MMU_FTR_TYPE_FSL_E)) { in early_mmu_set_memory_limit()
|
D | 44x.c | 177 if (mmu_has_feature(MMU_FTR_TYPE_47x)) in mmu_mapin_ram() 182 if (mmu_has_feature(MMU_FTR_TYPE_47x)) { in mmu_mapin_ram() 235 if (mmu_has_feature(MMU_FTR_TYPE_47x)) in mmu_init_secondary()
|
D | book3e_hugetlbpage.c | 106 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()
|
D | fsl_booke.c | 127 if (mmu_has_feature(MMU_FTR_BIG_PHYS)) in settlbcam()
|
/Linux-v5.10/arch/powerpc/mm/book3s32/ |
D | mmu.c | 78 int n = mmu_has_feature(MMU_FTR_USE_HIGH_BATS) ? 8 : 4; in find_free_bat() 201 int nb = mmu_has_feature(MMU_FTR_USE_HIGH_BATS) ? 8 : 4; in mmu_mark_initmem_nx() 241 int nb = mmu_has_feature(MMU_FTR_USE_HIGH_BATS) ? 8 : 4; in mmu_mark_rodata_ro() 329 if (!mmu_has_feature(MMU_FTR_HPTE_TABLE)) in update_mmu_cache() 358 if (!mmu_has_feature(MMU_FTR_HPTE_TABLE)) in MMU_init_hw() 407 if (!mmu_has_feature(MMU_FTR_HPTE_TABLE)) in MMU_init_hw_patch()
|
/Linux-v5.10/arch/powerpc/mm/ptdump/ |
D | bats.c | 68 if (mmu_has_feature(MMU_FTR_USE_HIGH_BATS)) { in bats_show_603() 81 if (mmu_has_feature(MMU_FTR_USE_HIGH_BATS)) { in bats_show_603()
|
/Linux-v5.10/arch/powerpc/mm/ |
D | pgtable_64.c | 137 if (!mmu_has_feature(MMU_FTR_KERNEL_RO)) { in mark_rodata_ro()
|
D | pgtable.c | 106 if (mmu_has_feature(MMU_FTR_HPTE_TABLE)) in set_pte_filter() 138 if (mmu_has_feature(MMU_FTR_HPTE_TABLE)) in set_access_flags_filter()
|
/Linux-v5.10/arch/powerpc/platforms/44x/ |
D | iss4xx.c | 130 if (mmu_has_feature(MMU_FTR_TYPE_47x)) in iss4xx_smp_init()
|
D | ppc476.c | 200 if (mmu_has_feature(MMU_FTR_TYPE_47x)) in ppc47x_smp_init()
|
/Linux-v5.10/arch/powerpc/platforms/pseries/ |
D | lpar.c | 891 if (mmu_has_feature(MMU_FTR_KERNEL_RO)) in pSeries_lpar_hpte_updatepp() 980 if (mmu_has_feature(MMU_FTR_KERNEL_RO)) in pSeries_lpar_hpte_updateboltedpp() 1185 int lock_tlbie = !mmu_has_feature(MMU_FTR_LOCKLESS_TLBIE); in __pSeries_lpar_hugepage_invalidate() 1503 int lock_tlbie = !mmu_has_feature(MMU_FTR_LOCKLESS_TLBIE); in pSeries_lpar_flush_hash_range() 1686 if (mmu_has_feature(MMU_FTR_GTSE)) in pseries_lpar_register_process_table() 1940 if (!mmu_has_feature(MMU_FTR_68_BIT_VA)) in vsid_unscramble()
|
/Linux-v5.10/arch/powerpc/kvm/ |
D | book3s_64_mmu_host.c | 255 if (mmu_has_feature(MMU_FTR_68_BIT_VA)) in create_sid_map()
|
/Linux-v5.10/arch/powerpc/ |
D | Kconfig.debug | 60 bool "Enable use of jump label for cpu/mmu_has_feature()" 73 mmu_has_feature() in the code.
|