/linux/arch/powerpc/kernel/ |
H A D | cpu_specs_book3s_32.h | 17 .mmu_features = 0, 30 .mmu_features = 0, 43 .mmu_features = 0, 56 .mmu_features = 0, 69 .mmu_features = MMU_FTR_USE_HIGH_BATS, 83 .mmu_features = MMU_FTR_USE_HIGH_BATS, 96 .mmu_features = MMU_FTR_USE_HIGH_BATS | MMU_FTR_NEED_DTLB_SW_LRU, 109 .mmu_features = MMU_FTR_USE_HIGH_BATS | MMU_FTR_NEED_DTLB_SW_LRU, 123 .mmu_features = MMU_FTR_USE_HIGH_BATS | MMU_FTR_NEED_DTLB_SW_LRU, 140 .mmu_features [all...] |
H A D | cpu_specs_44x.h | 16 .mmu_features = MMU_FTR_TYPE_44x, 28 .mmu_features = MMU_FTR_TYPE_44x, 41 .mmu_features = MMU_FTR_TYPE_44x, 53 .mmu_features = MMU_FTR_TYPE_44x, 66 .mmu_features = MMU_FTR_TYPE_44x, 79 .mmu_features = MMU_FTR_TYPE_44x, 92 .mmu_features = MMU_FTR_TYPE_44x, 105 .mmu_features = MMU_FTR_TYPE_44x, 117 .mmu_features = MMU_FTR_TYPE_44x, 129 .mmu_features [all...] |
H A D | cpu_specs_book3s_64.h | 73 .mmu_features = MMU_FTRS_PPC970, 88 .mmu_features = MMU_FTRS_PPC970, 103 .mmu_features = MMU_FTRS_PPC970, 118 .mmu_features = MMU_FTRS_PPC970, 133 .mmu_features = MMU_FTRS_PPC970, 147 .mmu_features = MMU_FTRS_POWER5, 160 .mmu_features = MMU_FTRS_POWER5, 172 .mmu_features = MMU_FTRS_POWER5, 185 .mmu_features = MMU_FTRS_POWER5, 196 .mmu_features [all...] |
H A D | cpu_specs_47x.h | 16 .mmu_features = MMU_FTR_TYPE_47x | MMU_FTR_USE_TLBIVAX_BCAST | 29 .mmu_features = MMU_FTR_TYPE_47x | MMU_FTR_USE_TLBIVAX_BCAST | 42 .mmu_features = MMU_FTR_TYPE_47x | MMU_FTR_USE_TLBIVAX_BCAST | 55 .mmu_features = MMU_FTR_TYPE_47x | MMU_FTR_USE_TLBIVAX_BCAST | 68 .mmu_features = MMU_FTR_TYPE_47x,
|
H A D | cpu_specs_85xx.h | 18 .mmu_features = MMU_FTR_TYPE_FSL_E, 35 .mmu_features = MMU_FTR_TYPE_FSL_E | MMU_FTR_BIG_PHYS, 51 .mmu_features = MMU_FTR_TYPE_FSL_E,
|
H A D | cpu_specs_e500mc.h | 27 .mmu_features = MMU_FTR_TYPE_FSL_E | MMU_FTR_BIG_PHYS | MMU_FTR_USE_TLBILX, 44 .mmu_features = MMU_FTR_TYPE_FSL_E | MMU_FTR_BIG_PHYS | MMU_FTR_USE_TLBILX, 64 .mmu_features = MMU_FTR_TYPE_FSL_E | MMU_FTR_BIG_PHYS | MMU_FTR_USE_TLBILX,
|
H A D | prom.c | 160 unsigned long mmu_features; /* MMU_FTR_xxx bit */ member 173 { .pabyte = 1, .pabit = 2, .mmu_features = MMU_FTR_CI_LARGE_PAGE }, 175 { .pabyte = 40, .pabit = 0, .mmu_features = MMU_FTR_TYPE_RADIX | MMU_FTR_GTSE }, 198 { .pabyte = 0, .pabit = 3, .mmu_features = MMU_FTR_NX_DSI }, 231 cur_cpu_spec->mmu_features |= fp->mmu_features; in scan_features() 236 cur_cpu_spec->mmu_features &= ~fp->mmu_features; in scan_features()
|
H A D | dt_cpu_ftrs.c | 100 .mmu_features = 0, 287 cur_cpu_spec->mmu_features |= MMU_FTRS_HASH_BASE; in feat_enable_mmu_hash() 304 cur_cpu_spec->mmu_features |= MMU_FTRS_HASH_BASE; in feat_enable_mmu_hash_v3() 316 cur_cpu_spec->mmu_features |= MMU_FTR_KERNEL_RO; in feat_enable_mmu_radix() 317 cur_cpu_spec->mmu_features |= MMU_FTR_TYPE_RADIX; in feat_enable_mmu_radix() 318 cur_cpu_spec->mmu_features |= MMU_FTR_GTSE; in feat_enable_mmu_radix() 576 cur_cpu_spec->mmu_features |= MMU_FTR_CI_LARGE_PAGE; in feat_enable_large_ci() 827 cur_cpu_spec->cpu_features, cur_cpu_spec->mmu_features); in cpufeatures_setup_finished()
|
H A D | cputable.c | 80 t->mmu_features |= MMU_FTR_KUAP; in setup_cpu_spec() 178 if (!(cur_cpu_spec->mmu_features & f)) in mmu_feature_keys_init()
|
H A D | cpu_specs_8xx.h | 17 .mmu_features = MMU_FTR_TYPE_8xx,
|
H A D | module.c | 52 do_feature_fixups(cur_cpu_spec->mmu_features, in module_finalize()
|
/linux/arch/powerpc/mm/ |
H A D | init_64.c | 439 cur_cpu_spec->mmu_features &= ~MMU_FTR_TYPE_RADIX; in early_check_vec5() 444 cur_cpu_spec->mmu_features &= ~MMU_FTR_TYPE_RADIX; in early_check_vec5() 448 cur_cpu_spec->mmu_features &= ~MMU_FTR_TYPE_RADIX; in early_check_vec5() 462 cur_cpu_spec->mmu_features &= ~MMU_FTR_GTSE; in early_check_vec5() 464 cur_cpu_spec->mmu_features |= MMU_FTR_GTSE; in early_check_vec5() 466 cur_cpu_spec->mmu_features |= MMU_FTR_TYPE_RADIX; in early_check_vec5() 469 cur_cpu_spec->mmu_features &= ~MMU_FTR_TYPE_RADIX; in early_check_vec5() 470 cur_cpu_spec->mmu_features &= ~MMU_FTR_GTSE; in early_check_vec5() 632 cur_cpu_spec->mmu_features &= ~MMU_FTR_TYPE_RADIX; in mmu_early_init_devtree() 676 if (!(cur_cpu_spec->mmu_features in mmu_early_init_devtree() [all...] |
/linux/arch/powerpc/include/asm/ |
H A D | mmu.h | 226 return !!(MMU_FTRS_POSSIBLE & cur_cpu_spec->mmu_features & feature); in early_mmu_has_feature() 268 cur_cpu_spec->mmu_features &= ~feature; in mmu_clear_feature() 285 cur_cpu_spec->mmu_features &= ~feature; in mmu_clear_feature()
|
H A D | cputable.h | 53 unsigned int mmu_features; /* MMU features */ member
|
/linux/arch/powerpc/mm/book3s64/ |
H A D | pkeys.c | 144 cur_cpu_spec->mmu_features |= MMU_FTR_PKEY; in pkey_early_init_devtree() 269 cur_cpu_spec->mmu_features |= MMU_FTR_BOOK3S_KUEP; in setup_kuep() 295 cur_cpu_spec->mmu_features |= MMU_FTR_KUAP; in setup_kuap()
|
H A D | hash_utils.c | 811 cur_cpu_spec->mmu_features |= MMU_FTR_1T_SEGMENT; in htab_dt_scan_seg_sizes() 815 cur_cpu_spec->mmu_features &= ~MMU_FTR_NO_SLBIE_B; in htab_dt_scan_seg_sizes() 861 cur_cpu_spec->mmu_features &= ~(MMU_FTR_16M_PAGE); in htab_dt_scan_page_sizes() 878 cur_cpu_spec->mmu_features |= MMU_FTR_16M_PAGE; in htab_dt_scan_page_sizes()
|
/linux/arch/powerpc/mm/nohash/ |
H A D | kup.c | 19 cur_cpu_spec->mmu_features &= ~MMU_FTR_KUAP; in setup_kuap()
|
/linux/arch/powerpc/mm/book3s32/ |
H A D | kuap.c | 19 cur_cpu_spec->mmu_features &= ~MMU_FTR_KUAP; in setup_kuap()
|
/linux/arch/powerpc/kexec/ |
H A D | vmcore_info.c | 29 VMCOREINFO_OFFSET(cpu_spec, mmu_features); in arch_crash_save_vmcoreinfo()
|
/linux/drivers/gpu/drm/panthor/ |
H A D | panthor_gpu.c | 100 ptdev->gpu_info.mmu_features = gpu_read(ptdev, GPU_MMU_FEATURES); in panthor_gpu_init_info() 137 ptdev->gpu_info.mmu_features, in panthor_gpu_init_info() 211 pa_bits = GPU_MMU_FEATURES_PA_BITS(ptdev->gpu_info.mmu_features); in panthor_gpu_init()
|
H A D | panthor_mmu.c | 699 u32 va_bits = GPU_MMU_FEATURES_VA_BITS(ptdev->gpu_info.mmu_features); in panthor_vm_active() 1450 u32 va_bits = GPU_MMU_FEATURES_VA_BITS(ptdev->gpu_info.mmu_features); in panthor_vm_create_check_args() 2287 u32 va_bits = GPU_MMU_FEATURES_VA_BITS(ptdev->gpu_info.mmu_features); in panthor_vm_create() 2288 u32 pa_bits = GPU_MMU_FEATURES_PA_BITS(ptdev->gpu_info.mmu_features); in panthor_vm_create() 2723 u32 va_bits = GPU_MMU_FEATURES_VA_BITS(ptdev->gpu_info.mmu_features); in panthor_mmu_init() 2758 * which passes iova as an unsigned long. Patch the mmu_features to reflect this in panthor_mmu_init() 2762 ptdev->gpu_info.mmu_features &= ~GENMASK(7, 0); in panthor_mmu_init() 2763 ptdev->gpu_info.mmu_features |= BITS_PER_LONG; in panthor_mmu_init()
|
/linux/drivers/gpu/drm/panfrost/ |
H A D | panfrost_gpu.c | 258 pfdev->features.mmu_features = gpu_read(pfdev, GPU_MMU_FEATURES); in panfrost_gpu_init_features() 344 pfdev->features.mmu_features, in panfrost_gpu_init_features() 495 DMA_BIT_MASK(FIELD_GET(0xff00, pfdev->features.mmu_features))); in panfrost_gpu_init()
|
H A D | panfrost_device.h | 71 u32 mmu_features; member
|
H A D | panfrost_mmu.c | 721 u32 va_bits = GPU_MMU_FEATURES_VA_BITS(pfdev->features.mmu_features); in panfrost_mmu_ctx_create() 722 u32 pa_bits = GPU_MMU_FEATURES_PA_BITS(pfdev->features.mmu_features); in panfrost_mmu_ctx_create()
|
/linux/include/uapi/drm/ |
H A D | panthor_drm.h | 285 /** @mmu_features: MMU features. */ 286 __u32 mmu_features; member 447 * drm_panthor_gpu_info::mmu_features to extract the total virtual address
|