/openbmc/linux/arch/powerpc/platforms/powernv/ |
H A D | pci-ioda-tce.c | 32 if (cpu_has_feature(CPU_FTR_ARCH_207S) && in pnv_ioda_parse_tce_sizes() 33 !cpu_has_feature(CPU_FTR_ARCH_300)) in pnv_ioda_parse_tce_sizes()
|
H A D | setup.c | 474 if (cpu_has_feature(CPU_FTR_ARCH_300)) in pnv_kexec_cpu_down()
|
/openbmc/linux/arch/powerpc/xmon/ |
H A D | xmon.c | 359 if (!cpu_has_feature(CPU_FTR_ARCH_207S)) in write_ciabr() 362 if (cpu_has_feature(CPU_FTR_HVMODE)) { in write_ciabr() 380 if (cpu_has_feature(CPU_FTR_HVMODE)) in set_ciabr() 1569 if (!cpu_has_feature(CPU_FTR_ARCH_207S)) { in bpt_cmds() 1923 if (!trap_is_syscall(fp) && cpu_has_feature(CPU_FTR_CFAR)) { in prregs() 2019 if (!cpu_has_feature(CPU_FTR_ARCH_206)) in dump_206_sprs() 2052 if (!cpu_has_feature(CPU_FTR_ARCH_207S)) in dump_207_sprs() 2102 if (!cpu_has_feature(CPU_FTR_ARCH_300)) in dump_300_sprs() 2105 if (cpu_has_feature(CPU_FTR_P9_TIDR)) { in dump_300_sprs() 2127 if (!cpu_has_feature(CPU_FTR_ARCH_31)) in dump_310_sprs() [all …]
|
/openbmc/linux/include/linux/raid/ |
H A D | pq.h | 53 #define cpu_has_feature(x) 1 macro
|
/openbmc/linux/drivers/misc/cxl/ |
H A D | debugfs.c | 125 if (!cpu_has_feature(CPU_FTR_HVMODE)) in cxl_debugfs_init()
|
H A D | api.c | 194 if (!cpu_has_feature(CPU_FTR_HVMODE)) { in cxl_allocate_afu_irqs() 218 if (!cpu_has_feature(CPU_FTR_HVMODE)) { in cxl_free_afu_irqs()
|
H A D | cxl.h | 769 if (cpu_has_feature(CPU_FTR_HVMODE)) { in cxl_adapter_link_ok() 778 WARN_ON(!cpu_has_feature(CPU_FTR_HVMODE)); in _cxl_p1_addr() 798 WARN_ON(!cpu_has_feature(CPU_FTR_HVMODE)); in _cxl_p1n_addr()
|
H A D | context.c | 102 if (cpu_has_feature(CPU_FTR_HVMODE)) { in cxl_context_init()
|
H A D | fault.c | 236 if (cpu_has_feature(CPU_FTR_HVMODE)) { in cxl_handle_fault()
|
H A D | sysfs.c | 64 if (cpu_has_feature(CPU_FTR_HVMODE)) { in psl_timebase_synced_show() 303 if (cpu_has_feature(CPU_FTR_HVMODE)) { in irqs_max_store()
|
/openbmc/linux/arch/powerpc/crypto/ |
H A D | chacha-p10-glue.c | 200 if (!cpu_has_feature(CPU_FTR_ARCH_31)) in chacha_p10_init()
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | traps.c | 456 if (cpu_has_feature(CPU_FTR_HVMODE)) { in DEFINE_INTERRUPT_HANDLER_NMI() 1418 cpu_has_feature(CPU_FTR_DSCR)) { in emulate_instruction() 1429 cpu_has_feature(CPU_FTR_DSCR)) { in emulate_instruction() 1575 if (cpu_has_feature(CPU_FTR_DEXCR_NPHIE)) { in do_program_check() 1842 if (!cpu_has_feature(CPU_FTR_TM)) in DEFINE_INTERRUPT_HANDLER()
|
H A D | align.c | 316 if (cpu_has_feature(CPU_FTR_PPC_LE)) in fix_alignment()
|
H A D | hw_breakpoint.c | 169 if (!cpu_has_feature(CPU_FTR_ARCH_31) && in hw_breakpoint_validate_len()
|
/openbmc/linux/drivers/misc/ocxl/ |
H A D | file.c | 120 if (cpu_has_feature(CPU_FTR_P9_TIDR)) { in afu_ioctl_enable_p9_wait() 165 if (cpu_has_feature(CPU_FTR_P9_TIDR)) in afu_ioctl_get_features()
|
/openbmc/linux/arch/powerpc/platforms/powermac/ |
H A D | smp.c | 666 if (!cpu_has_feature(CPU_FTR_L2CR)) in core99_init_caches() 679 if (!cpu_has_feature(CPU_FTR_L3CR)) in core99_init_caches()
|
H A D | setup.c | 231 if (cpu_has_feature(CPU_FTR_L2CR)) { in l2cr_init()
|
/openbmc/linux/drivers/cpuidle/ |
H A D | cpuidle-pseries.c | 434 if (cpu_has_feature(CPU_FTR_ARCH_31) || pvr_version_is(PVR_POWER10)) in pseries_idle_probe()
|
/openbmc/linux/lib/raid6/ |
H A D | altivec.uc | 117 return cpu_has_feature(CPU_FTR_ALTIVEC);
|
/openbmc/linux/arch/powerpc/mm/book3s64/ |
H A D | radix_pgtable.c | 387 if (!cpu_has_feature(CPU_FTR_HVMODE) && in radix_init_pgtable() 388 cpu_has_feature(CPU_FTR_P9_RADIX_PREFETCH_BUG)) { in radix_init_pgtable() 1500 if (!cpu_has_feature(CPU_FTR_ARCH_31) && (change & _PAGE_RW) && in radix__ptep_set_access_flags() 1534 if (!cpu_has_feature(CPU_FTR_ARCH_31) && in radix__ptep_modify_prot_commit()
|
/openbmc/linux/arch/powerpc/kernel/ptrace/ |
H A D | ptrace-noadv.c | 56 if (cpu_has_feature(CPU_FTR_ARCH_31)) in ppc_gethwdinfo()
|
/openbmc/linux/arch/powerpc/perf/ |
H A D | generic-compat-pmu.c | 331 if (!cpu_has_feature(CPU_FTR_ARCH_300)) in init_generic_compat_pmu()
|
H A D | power8-pmu.c | 407 if (cpu_has_feature(CPU_FTR_PMAO_BUG)) in init_power8_pmu()
|
/openbmc/linux/arch/powerpc/kvm/ |
H A D | booke.c | 201 if (cpu_has_feature(CPU_FTR_ALTIVEC)) { in kvmppc_load_guest_altivec() 220 if (cpu_has_feature(CPU_FTR_ALTIVEC)) { in kvmppc_save_guest_altivec() 400 if (cpu_has_feature(CPU_FTR_DEBUG_LVL_EXC)) { in set_guest_dsrr() 502 if (cpu_has_feature(CPU_FTR_DEBUG_LVL_EXC)) in kvmppc_booke_irqprio_deliver() 790 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in kvmppc_vcpu_run()
|
/openbmc/linux/arch/powerpc/mm/ |
H A D | fault.c | 258 (cpu_has_feature(CPU_FTR_NOEXECUTE) || in access_error()
|