/openbmc/linux/arch/powerpc/mm/book3s64/ |
H A D | hash_64k.c | 79 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 D | hash_4k.c | 62 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 D | slb.c | 52 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 D | radix_hugetlbpage.c | 57 if (!cpu_has_feature(CPU_FTR_ARCH_31) && in radix__huge_ptep_modify_prot_commit()
|
/openbmc/linux/drivers/misc/cxl/ |
H A D | cxllib.c | 32 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 D | irq.c | 21 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 D | ptrace-view.c | 339 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 D | e500_hugetlbpage.c | 45 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 D | time.c | 159 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 D | interrupt.c | 111 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 D | setup-common.c | 258 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 D | book3s_hv_rm_mmu.c | 385 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 D | book3s_hv_builtin.c | 89 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 D | book3s_pr.c | 142 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 D | book3s_64_mmu_hv.c | 265 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 D | book3s_emulate.c | 488 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 D | powerpc.c | 270 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 D | xor.h | 27 if (cpu_has_feature(CPU_FTR_ALTIVEC)) \
|
H A D | mman.h | 33 if (!cpu_has_feature(CPU_FTR_SAO)) in arch_validate_prot()
|
H A D | time.h | 47 if (cpu_has_feature(CPU_FTR_ARCH_207S)) in get_vtb()
|
/openbmc/linux/lib/raid6/ |
H A D | vpermxor.uc | 89 return (cpu_has_feature(CPU_FTR_ALTIVEC_COMP) && 90 cpu_has_feature(CPU_FTR_ARCH_207S));
|
/openbmc/linux/drivers/cpufreq/ |
H A D | pmac32-cpufreq.c | 265 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 D | pervasive.c | 110 if (!cpu_has_feature(CPU_FTR_PAUSE_ZERO)) in cbe_pervasive_init()
|
H A D | smp.c | 144 if (cpu_has_feature(CPU_FTR_SMT)) { in smp_init_cell()
|
/openbmc/linux/arch/powerpc/mm/ |
H A D | mmu_context.c | 94 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in switch_mm_irqs_off()
|