Home
last modified time | relevance | path

Searched refs:cpu_has_feature (Results 26 – 50 of 115) sorted by relevance

12345

/openbmc/linux/arch/powerpc/mm/book3s64/
H A Dhash_64k.c79 if (cpu_has_feature(CPU_FTR_NOEXECUTE) && in __hash_page_4K()
80 !cpu_has_feature(CPU_FTR_COHERENT_ICACHE)) { in __hash_page_4K()
271 if (cpu_has_feature(CPU_FTR_NOEXECUTE) && in __hash_page_64K()
272 !cpu_has_feature(CPU_FTR_COHERENT_ICACHE)) in __hash_page_64K()
H A Dhash_4k.c62 if (cpu_has_feature(CPU_FTR_NOEXECUTE) && in __hash_page_4K()
63 !cpu_has_feature(CPU_FTR_COHERENT_ICACHE)) in __hash_page_4K()
H A Dslb.c52 if (!cpu_has_feature(CPU_FTR_ARCH_206)) in assert_slb_presence()
464 } else if (cpu_has_feature(CPU_FTR_ARCH_300)) { in switch_slb()
488 if (!cpu_has_feature(CPU_FTR_ARCH_207S) && offset == 1) in switch_slb()
599 if (cpu_has_feature(CPU_FTR_ARCH_300)) in slb_cache_update()
H A Dradix_hugetlbpage.c57 if (!cpu_has_feature(CPU_FTR_ARCH_31) && in radix__huge_ptep_modify_prot_commit()
/openbmc/linux/drivers/misc/cxl/
H A Dcxllib.c32 if (!cpu_has_feature(CPU_FTR_HVMODE)) in cxllib_slot_is_supported()
82 if (!cpu_has_feature(CPU_FTR_HVMODE)) in cxllib_get_xsl_config()
116 if (!cpu_has_feature(CPU_FTR_HVMODE)) in cxllib_switch_phb_mode()
H A Dirq.c21 if (cpu_has_feature(CPU_FTR_HVMODE)) in afu_irq_range_start()
306 if (cpu_has_feature(CPU_FTR_HVMODE)) in afu_allocate_irqs()
315 if (cpu_has_feature(CPU_FTR_HVMODE)) { in afu_allocate_irqs()
/openbmc/linux/arch/powerpc/kernel/ptrace/
H A Dptrace-view.c339 if (!cpu_has_feature(CPU_FTR_ARCH_207S)) in ebb_active()
355 if (!cpu_has_feature(CPU_FTR_ARCH_207S)) in ebb_get()
374 if (!cpu_has_feature(CPU_FTR_ARCH_207S)) in ebb_set()
397 if (!cpu_has_feature(CPU_FTR_ARCH_207S)) in pmu_active()
412 if (!cpu_has_feature(CPU_FTR_ARCH_207S)) in pmu_get()
430 if (!cpu_has_feature(CPU_FTR_ARCH_207S)) in pmu_set()
460 if (!cpu_has_feature(CPU_FTR_ARCH_31)) in dexcr_active()
469 if (!cpu_has_feature(CPU_FTR_ARCH_31)) in dexcr_get()
489 if (!cpu_has_feature(CPU_FTR_ARCH_31)) in hashkeyr_active()
498 if (!cpu_has_feature(CPU_FTR_ARCH_31)) in hashkeyr_get()
[all …]
/openbmc/linux/arch/powerpc/mm/nohash/
H A De500_hugetlbpage.c45 if (!cpu_has_feature(CPU_FTR_SMT)) in book3e_tlb_lock()
71 if (!cpu_has_feature(CPU_FTR_SMT)) in book3e_tlb_unlock()
/openbmc/linux/arch/powerpc/kernel/
H A Dtime.c159 if (cpu_has_feature(CPU_FTR_SPURR)) in read_spurr()
161 if (cpu_has_feature(CPU_FTR_PURR)) in read_spurr()
639 cpu_has_feature(CPU_FTR_ARCH_207S)) in running_clock()
821 if (!cpu_has_feature(CPU_FTR_ARCH_300)) in enable_large_decrementer()
831 if (cpu_has_feature(CPU_FTR_HVMODE)) in enable_large_decrementer()
841 if (!cpu_has_feature(CPU_FTR_ARCH_300)) in set_decrementer_max()
H A Dinterrupt.c111 if (cpu_has_feature(CPU_FTR_HVMODE) && trap == INTERRUPT_EXTERNAL) in check_return_regs_valid()
210 if (cpu_has_feature(CPU_FTR_VSX)) in interrupt_exit_user_prepare_main()
212 else if (cpu_has_feature(CPU_FTR_ALTIVEC)) in interrupt_exit_user_prepare_main()
H A Dsetup-common.c258 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in show_cpuinfo()
264 if (cpu_has_feature(CPU_FTR_TAU)) { in show_cpuinfo()
511 if (!cpu_has_feature(CPU_FTR_SMT)) { in smp_setup_cpu_maps()
537 if (cpu_has_feature(CPU_FTR_SMT)) in smp_setup_cpu_maps()
/openbmc/linux/arch/powerpc/kvm/
H A Dbook3s_hv_rm_mmu.c385 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_do_h_enter()
447 if (cpu_has_feature(CPU_FTR_P9_TLBIE_STQ_BUG)) { in fixup_tlbie_lpid()
503 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_do_h_remove()
602 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_h_bulk_remove()
692 if (cpu_has_feature(CPU_FTR_ARCH_300)) in kvmppc_h_protect()
767 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_h_read()
1025 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_invalidate_hpte()
1043 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_clear_ref_hpte()
1142 if (cpu_has_feature(CPU_FTR_ARCH_300)) in kvmppc_hv_find_lock_hpte()
1154 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_hv_find_lock_hpte()
[all …]
H A Dbook3s_hv_builtin.c89 if (!cpu_has_feature(CPU_FTR_HVMODE)) in kvm_cma_reserve()
204 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmhv_rm_send_ipi()
211 if (cpu_has_feature(CPU_FTR_ARCH_207S) && in kvmhv_rm_send_ipi()
571 WARN_ON_ONCE(cpu_has_feature(CPU_FTR_ARCH_300)); in kvmppc_guest_entry_inject_int()
H A Dbook3s_pr.c142 if (cpu_has_feature(CPU_FTR_HVMODE)) { in kvmppc_core_vcpu_load_pr()
143 if (cpu_has_feature(CPU_FTR_ARCH_207S)) in kvmppc_core_vcpu_load_pr()
173 if (cpu_has_feature(CPU_FTR_HVMODE)) { in kvmppc_core_vcpu_put_pr()
174 if (cpu_has_feature(CPU_FTR_ARCH_207S)) in kvmppc_core_vcpu_put_pr()
224 if (cpu_has_feature(CPU_FTR_ARCH_207S)) in kvmppc_copy_to_svcpu()
310 if (cpu_has_feature(CPU_FTR_ARCH_207S)) in kvmppc_copy_from_svcpu()
883 if (!cpu_has_feature(CPU_FTR_VSX)) in kvmppc_handle_ext()
1583 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in kvmppc_get_one_reg_pr()
1615 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in kvmppc_get_one_reg_pr()
1683 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in kvmppc_set_one_reg_pr()
[all …]
H A Dbook3s_64_mmu_hv.c265 if (cpu_has_feature(CPU_FTR_HVMODE)) { in kvmppc_mmu_hv_init()
273 if (!cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_mmu_hv_init()
275 if (cpu_has_feature(CPU_FTR_ARCH_207S)) in kvmppc_mmu_hv_init()
377 if (cpu_has_feature(CPU_FTR_ARCH_300)) in kvmppc_mmu_book3s_64_hv_xlate()
565 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_book3s_hv_page_fault()
685 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_book3s_hv_page_fault()
731 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_book3s_hv_page_fault()
1261 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in resize_hpt_rehash_hpte()
1304 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in resize_hpt_rehash_hpte()
1346 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in resize_hpt_rehash_hpte()
[all …]
H A Dbook3s_emulate.c488 if (!cpu_has_feature(CPU_FTR_TM)) in kvmppc_core_emulate_op_pr()
526 if (!cpu_has_feature(CPU_FTR_TM)) in kvmppc_core_emulate_op_pr()
552 if (!cpu_has_feature(CPU_FTR_TM)) in kvmppc_core_emulate_op_pr()
586 if (!cpu_has_feature(CPU_FTR_TM)) in kvmppc_core_emulate_op_pr()
782 if (!cpu_has_feature(CPU_FTR_TM)) in kvmppc_core_emulate_mtspr_pr()
963 if (!cpu_has_feature(CPU_FTR_TM)) in kvmppc_core_emulate_mfspr_pr()
H A Dpowerpc.c270 if (!cpu_has_feature(CPU_FTR_EMB_HV)) in kvmppc_sanity_check()
558 r = !!cpu_has_feature(CPU_FTR_HVMODE); in kvm_vm_ioctl_check_extension()
600 if (cpu_has_feature(CPU_FTR_ARCH_300)) in kvm_vm_ioctl_check_extension()
609 if (!cpu_has_feature(CPU_FTR_ARCH_300)) in kvm_vm_ioctl_check_extension()
712 } else if (cpu_has_feature(CPU_FTR_ARCH_207S) && in kvm_vm_ioctl_check_extension()
713 !cpu_has_feature(CPU_FTR_P9_RADIX_PREFETCH_BUG)) { in kvm_vm_ioctl_check_extension()
1718 if (!cpu_has_feature(CPU_FTR_ALTIVEC)) { in kvm_vcpu_ioctl_get_one_reg()
1725 if (!cpu_has_feature(CPU_FTR_ALTIVEC)) { in kvm_vcpu_ioctl_get_one_reg()
1769 if (!cpu_has_feature(CPU_FTR_ALTIVEC)) { in kvm_vcpu_ioctl_set_one_reg()
1776 if (!cpu_has_feature(CPU_FTR_ALTIVEC)) { in kvm_vcpu_ioctl_set_one_reg()
[all …]
/openbmc/linux/arch/powerpc/include/asm/
H A Dxor.h27 if (cpu_has_feature(CPU_FTR_ALTIVEC)) \
H A Dmman.h33 if (!cpu_has_feature(CPU_FTR_SAO)) in arch_validate_prot()
H A Dtime.h47 if (cpu_has_feature(CPU_FTR_ARCH_207S)) in get_vtb()
/openbmc/linux/lib/raid6/
H A Dvpermxor.uc89 return (cpu_has_feature(CPU_FTR_ALTIVEC_COMP) &&
90 cpu_has_feature(CPU_FTR_ARCH_207S));
/openbmc/linux/drivers/cpufreq/
H A Dpmac32-cpufreq.c265 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in pmu_set_cpu_speed()
338 cpu_has_feature(CPU_FTR_L3CR)) { in do_set_cpu_speed()
347 cpu_has_feature(CPU_FTR_L3CR)) { in do_set_cpu_speed()
/openbmc/linux/arch/powerpc/platforms/cell/
H A Dpervasive.c110 if (!cpu_has_feature(CPU_FTR_PAUSE_ZERO)) in cbe_pervasive_init()
H A Dsmp.c144 if (cpu_has_feature(CPU_FTR_SMT)) { in smp_init_cell()
/openbmc/linux/arch/powerpc/mm/
H A Dmmu_context.c94 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in switch_mm_irqs_off()

12345