/Linux-v5.4/arch/powerpc/mm/nohash/ |
D | tlb.c | 310 if (mmu_has_feature(MMU_FTR_USE_TLBIVAX_BCAST)) { in __flush_tlb_page() 311 int lock = mmu_has_feature(MMU_FTR_LOCK_BCAST_INVAL); in __flush_tlb_page() 446 int fsl_mmu = mmu_has_feature(MMU_FTR_TYPE_FSL_E); in setup_page_sizes() 631 if (mmu_has_feature(MMU_FTR_TYPE_FSL_E)) { in early_init_this_mmu() 675 if (mmu_has_feature(MMU_FTR_TYPE_FSL_E)) in early_init_mmu_global() 692 if (mmu_has_feature(MMU_FTR_TYPE_FSL_E)) { in early_init_mmu_global() 713 if (mmu_has_feature(MMU_FTR_TYPE_FSL_E)) { in early_mmu_set_memory_limit()
|
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 | 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 | fsl_booke.c | 129 if (mmu_has_feature(MMU_FTR_BIG_PHYS)) in settlbcam()
|
/Linux-v5.4/arch/powerpc/include/asm/ |
D | mmu.h | 196 static __always_inline bool mmu_has_feature(unsigned long feature) in mmu_has_feature() function 234 static inline bool mmu_has_feature(unsigned long feature) in mmu_has_feature() function 275 return mmu_has_feature(MMU_FTR_TYPE_RADIX); in radix_enabled()
|
/Linux-v5.4/arch/powerpc/mm/book3s32/ |
D | mmu.c | 85 int n = mmu_has_feature(MMU_FTR_USE_HIGH_BATS) ? 8 : 4; in find_free_bat() 186 int nb = mmu_has_feature(MMU_FTR_USE_HIGH_BATS) ? 8 : 4; in mmu_mark_initmem_nx() 227 int nb = mmu_has_feature(MMU_FTR_USE_HIGH_BATS) ? 8 : 4; in mmu_mark_rodata_ro() 322 if (!mmu_has_feature(MMU_FTR_HPTE_TABLE)) in update_mmu_cache() 351 if (!mmu_has_feature(MMU_FTR_HPTE_TABLE)) in MMU_init_hw()
|
/Linux-v5.4/arch/powerpc/mm/book3s64/ |
D | hash_native.c | 163 if (mmu_has_feature(MMU_FTR_TLBIE_CROP_VA)) in ___tlbie() 253 if (mmu_has_feature(MMU_FTR_TLBIE_CROP_VA)) in __tlbiel() 295 int lock_tlbie = !mmu_has_feature(MMU_FTR_LOCKLESS_TLBIE); in tlbie() 297 use_local = local && mmu_has_feature(MMU_FTR_TLBIEL) && !cxl_ctx_in_use(); in tlbie() 817 use_local = local && mmu_has_feature(MMU_FTR_TLBIEL) && in native_flush_hash_range() 864 int lock_tlbie = !mmu_has_feature(MMU_FTR_LOCKLESS_TLBIE); in native_flush_hash_range()
|
D | slb.c | 286 if (mmu_has_feature(MMU_FTR_1T_SEGMENT)) { in preload_add() 429 if (!mmu_has_feature(MMU_FTR_NO_SLBIE_B) && in switch_slb() 725 if (!mmu_has_feature(MMU_FTR_1T_SEGMENT)) in slb_allocate_kernel()
|
D | mmu_context.c | 42 if (mmu_has_feature(MMU_FTR_68_BIT_VA)) in hash__alloc_context_id()
|
D | hash_pgtable.c | 383 if (!mmu_has_feature(MMU_FTR_16M_PAGE)) in hash__has_transparent_hugepage()
|
D | hash_64k.c | 251 if (!mmu_has_feature(MMU_FTR_CI_LARGE_PAGE) && in __hash_page_64K()
|
D | hash_utils.c | 205 if (mmu_has_feature(MMU_FTR_KERNEL_RO)) in htab_convert_pte_flags() 664 if (mmu_has_feature(MMU_FTR_CI_LARGE_PAGE)) { in htab_init_page_sizes() 838 if (mmu_has_feature(MMU_FTR_1T_SEGMENT)) { in htab_initialize()
|
/Linux-v5.4/arch/powerpc/mm/ptdump/ |
D | bats.c | 127 if (mmu_has_feature(MMU_FTR_USE_HIGH_BATS)) { in bats_show_603() 140 if (mmu_has_feature(MMU_FTR_USE_HIGH_BATS)) { in bats_show_603()
|
/Linux-v5.4/arch/powerpc/mm/ |
D | pgtable.c | 107 if (mmu_has_feature(MMU_FTR_HPTE_TABLE)) in set_pte_filter() 139 if (mmu_has_feature(MMU_FTR_HPTE_TABLE)) in set_access_flags_filter()
|
D | pgtable_64.c | 139 if (!mmu_has_feature(MMU_FTR_KERNEL_RO)) { in mark_rodata_ro()
|
D | hugetlbpage.c | 606 !mmu_has_feature(MMU_FTR_16M_PAGE)) in hugetlbpage_init()
|
/Linux-v5.4/arch/powerpc/platforms/44x/ |
D | iss4xx.c | 130 if (mmu_has_feature(MMU_FTR_TYPE_47x)) in iss4xx_smp_init()
|
D | ppc476.c | 201 if (mmu_has_feature(MMU_FTR_TYPE_47x)) in ppc47x_smp_init()
|
/Linux-v5.4/arch/powerpc/include/asm/book3s/64/ |
D | kup-radix.h | 100 return WARN(mmu_has_feature(MMU_FTR_RADIX_KUAP) &&
|
D | mmu-hash.h | 776 if (!mmu_has_feature(MMU_FTR_68_BIT_VA)) in get_vsid()
|
/Linux-v5.4/arch/powerpc/platforms/pseries/ |
D | lpar.c | 882 if (mmu_has_feature(MMU_FTR_KERNEL_RO)) in pSeries_lpar_hpte_updatepp() 963 if (mmu_has_feature(MMU_FTR_KERNEL_RO)) in pSeries_lpar_hpte_updateboltedpp() 1168 int lock_tlbie = !mmu_has_feature(MMU_FTR_LOCKLESS_TLBIE); in __pSeries_lpar_hugepage_invalidate() 1486 int lock_tlbie = !mmu_has_feature(MMU_FTR_LOCKLESS_TLBIE); in pSeries_lpar_flush_hash_range() 1919 if (!mmu_has_feature(MMU_FTR_68_BIT_VA)) in vsid_unscramble()
|
/Linux-v5.4/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.4/arch/powerpc/ |
D | Kconfig.debug | 60 bool "Enable use of jump label for cpu/mmu_has_feature()" 73 mmu_has_feature() in the code.
|
/Linux-v5.4/arch/powerpc/kernel/ |
D | setup_64.c | 119 !mmu_has_feature(MMU_FTR_USE_TLBRSRV) && in setup_tlb_core_data()
|
D | process.c | 1572 if (mmu_has_feature(MMU_FTR_1T_SEGMENT)) in setup_ksp_vsid()
|