Home
last modified time | relevance | path

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

12

/Linux-v5.4/arch/powerpc/mm/nohash/
Dtlb.c310 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()
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()
D44x.c177 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()
Dfsl_booke.c129 if (mmu_has_feature(MMU_FTR_BIG_PHYS)) in settlbcam()
/Linux-v5.4/arch/powerpc/include/asm/
Dmmu.h196 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/
Dmmu.c85 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/
Dhash_native.c163 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()
Dslb.c286 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()
Dmmu_context.c42 if (mmu_has_feature(MMU_FTR_68_BIT_VA)) in hash__alloc_context_id()
Dhash_pgtable.c383 if (!mmu_has_feature(MMU_FTR_16M_PAGE)) in hash__has_transparent_hugepage()
Dhash_64k.c251 if (!mmu_has_feature(MMU_FTR_CI_LARGE_PAGE) && in __hash_page_64K()
Dhash_utils.c205 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/
Dbats.c127 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/
Dpgtable.c107 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()
Dpgtable_64.c139 if (!mmu_has_feature(MMU_FTR_KERNEL_RO)) { in mark_rodata_ro()
Dhugetlbpage.c606 !mmu_has_feature(MMU_FTR_16M_PAGE)) in hugetlbpage_init()
/Linux-v5.4/arch/powerpc/platforms/44x/
Diss4xx.c130 if (mmu_has_feature(MMU_FTR_TYPE_47x)) in iss4xx_smp_init()
Dppc476.c201 if (mmu_has_feature(MMU_FTR_TYPE_47x)) in ppc47x_smp_init()
/Linux-v5.4/arch/powerpc/include/asm/book3s/64/
Dkup-radix.h100 return WARN(mmu_has_feature(MMU_FTR_RADIX_KUAP) &&
Dmmu-hash.h776 if (!mmu_has_feature(MMU_FTR_68_BIT_VA)) in get_vsid()
/Linux-v5.4/arch/powerpc/platforms/pseries/
Dlpar.c882 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/
Dbook3s_64_mmu_host.c255 if (mmu_has_feature(MMU_FTR_68_BIT_VA)) in create_sid_map()
/Linux-v5.4/arch/powerpc/
DKconfig.debug60 bool "Enable use of jump label for cpu/mmu_has_feature()"
73 mmu_has_feature() in the code.
/Linux-v5.4/arch/powerpc/kernel/
Dsetup_64.c119 !mmu_has_feature(MMU_FTR_USE_TLBRSRV) && in setup_tlb_core_data()
Dprocess.c1572 if (mmu_has_feature(MMU_FTR_1T_SEGMENT)) in setup_ksp_vsid()

12