Lines Matching refs:cpu_has_feature

192 	if (cpu_has_feature(CPU_FTR_ARCH_300)) {  in kvmppc_ipi_thread()
200 if (cpu_has_feature(CPU_FTR_ARCH_207S)) { in kvmppc_ipi_thread()
297 WARN_ON_ONCE(cpu_has_feature(CPU_FTR_ARCH_300)); in kvmppc_core_start_stolen()
308 WARN_ON_ONCE(cpu_has_feature(CPU_FTR_ARCH_300)); in kvmppc_core_end_stolen()
324 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_core_vcpu_load_hv()
359 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_core_vcpu_put_hv()
418 if (cpu_has_feature(CPU_FTR_ARCH_31)) in kvmppc_set_arch_compat()
420 else if (cpu_has_feature(CPU_FTR_ARCH_300)) in kvmppc_set_arch_compat()
422 else if (cpu_has_feature(CPU_FTR_ARCH_207S)) in kvmppc_set_arch_compat()
424 else if (cpu_has_feature(CPU_FTR_ARCH_206)) in kvmppc_set_arch_compat()
778 WARN_ON_ONCE(cpu_has_feature(CPU_FTR_ARCH_300)); in vcore_stolen_time()
884 if (cpu_has_feature(CPU_FTR_ARCH_300)) in kvmppc_doorbell_pending()
902 cpu_has_feature(CPU_FTR_ARCH_207S)) in kvmppc_power8_compatible()
941 if (!cpu_has_feature(CPU_FTR_DAWR1)) in kvmppc_h_set_mode()
957 if (cpu_has_feature(CPU_FTR_P9_RADIX_PREFETCH_BUG) && in kvmppc_h_set_mode()
1055 if (!cpu_has_feature(CPU_FTR_ARCH_300)) { in kvm_arch_vcpu_yield_to()
1787 if (cpu_has_feature(CPU_FTR_P9_RADIX_PREFETCH_BUG) && in kvmppc_handle_exit_hv()
1793 if (kvm_is_radix(vcpu->kvm) || !cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_handle_exit_hv()
1838 if (kvm_is_radix(vcpu->kvm) || !cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_handle_exit_hv()
1924 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_handle_exit_hv()
2174 if (!cpu_has_feature(CPU_FTR_ARCH_207S)) in kvmppc_filter_lpcr_hv()
2184 if (kvm_is_radix(kvm) && cpu_has_feature(CPU_FTR_P9_RADIX_PREFETCH_BUG)) in kvmppc_filter_lpcr_hv()
2191 if (!cpu_has_feature(CPU_FTR_ARCH_300)) in kvmppc_filter_lpcr_hv()
2340 if (cpu_has_feature(CPU_FTR_ARCH_300)) in kvmppc_get_one_reg_hv()
2445 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in kvmppc_get_one_reg_hv()
2477 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in kvmppc_get_one_reg_hv()
2592 if (cpu_has_feature(CPU_FTR_ARCH_300)) in kvmppc_set_one_reg_hv()
2728 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in kvmppc_set_one_reg_hv()
2759 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in kvmppc_set_one_reg_hv()
2808 if (cpu_has_feature(CPU_FTR_ARCH_300)) in threads_per_vcore()
2972 if (cpu_has_feature(CPU_FTR_ARCH_300) == IS_ENABLED(CONFIG_KVM_BOOK3S_HV_P9_TIMING)) in kvmppc_arch_create_vcpu_debugfs_hv()
3016 if (cpu_has_feature(CPU_FTR_ARCH_31)) { in kvmppc_core_vcpu_create_hv()
3041 if (cpu_has_feature(CPU_FTR_ARCH_31)) in kvmppc_core_vcpu_create_hv()
3044 if (cpu_has_feature(CPU_FTR_HVMODE)) { in kvmppc_core_vcpu_create_hv()
3048 if (cpu_has_feature(CPU_FTR_P9_TM_HV_ASSIST)) in kvmppc_core_vcpu_create_hv()
3052 if (cpu_has_feature(CPU_FTR_TM_COMP)) in kvmppc_core_vcpu_create_hv()
3071 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_core_vcpu_create_hv()
3084 if (vcore && cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_core_vcpu_create_hv()
3130 if (!cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmhv_set_smt_mode()
3323 if (!cpu_has_feature(CPU_FTR_HVMODE)) in kvmppc_prepare_radix_vcpu()
3472 WARN_ON_ONCE(cpu_has_feature(CPU_FTR_ARCH_300)); in kvmppc_vcore_preempt()
3490 WARN_ON_ONCE(cpu_has_feature(CPU_FTR_ARCH_300)); in kvmppc_vcore_end_preempt()
3536 if (cpu_has_feature(CPU_FTR_ARCH_300)) in subcore_config_ok()
3568 if (!cpu_has_feature(CPU_FTR_ARCH_207S)) in can_dynamic_split()
3819 if (WARN_ON_ONCE(cpu_has_feature(CPU_FTR_ARCH_300))) in kvmppc_run_core()
3904 is_power8 = cpu_has_feature(CPU_FTR_ARCH_207S); in kvmppc_run_core()
4559 WARN_ON_ONCE(cpu_has_feature(CPU_FTR_ARCH_300)); in kvmppc_vcore_blocked()
4677 if (cpu_has_feature(CPU_FTR_ARCH_300)) in kvmhv_setup_mmu()
5060 if (cpu_has_feature(CPU_FTR_TM) && current->thread.regs && in kvmppc_vcpu_run_hv()
5089 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in kvmppc_vcpu_run_hv()
5091 if (cpu_has_feature(CPU_FTR_VSX)) in kvmppc_vcpu_run_hv()
5093 if ((cpu_has_feature(CPU_FTR_TM) || in kvmppc_vcpu_run_hv()
5094 cpu_has_feature(CPU_FTR_P9_TM_HV_ASSIST)) && in kvmppc_vcpu_run_hv()
5103 if (!cpu_has_feature(CPU_FTR_ARCH_300)) in kvmppc_vcpu_run_hv()
5110 if (cpu_has_feature(CPU_FTR_ARCH_300)) in kvmppc_vcpu_run_hv()
5189 info->instr_keys = cpu_has_feature(CPU_FTR_ARCH_207S) ? 32 : 0; in kvm_vm_ioctl_get_smmu_info_hv()
5486 if (!cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_hv_setup_htab_rma()
5525 if (cpu_has_feature(CPU_FTR_ARCH_31)) in kvmppc_switch_mmu_to_hpt()
5553 if (cpu_has_feature(CPU_FTR_ARCH_31)) { in kvmppc_switch_mmu_to_radix()
5555 if (cpu_has_feature(CPU_FTR_HVMODE) && in kvmppc_switch_mmu_to_radix()
5582 if (cpu_has_feature(CPU_FTR_ARCH_300)) in kvmppc_alloc_host_rm_ops()
5702 if (!cpu_has_feature(CPU_FTR_ARCH_300)) in kvmppc_core_init_vm_hv()
5709 if (!cpu_has_feature(CPU_FTR_ARCH_300)) in kvmppc_core_init_vm_hv()
5713 if (cpu_has_feature(CPU_FTR_HVMODE)) { in kvmppc_core_init_vm_hv()
5729 if (cpu_has_feature(CPU_FTR_ARCH_207S)) in kvmppc_core_init_vm_hv()
5738 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_core_init_vm_hv()
5758 if (cpu_has_feature(CPU_FTR_HVMODE) && in kvmppc_core_init_vm_hv()
5759 cpu_has_feature(CPU_FTR_ARCH_31) && in kvmppc_core_init_vm_hv()
5783 if (cpu_has_feature(CPU_FTR_ARCH_31)) { in kvmppc_core_init_vm_hv()
5790 else if (cpu_has_feature(CPU_FTR_ARCH_300)) in kvmppc_core_init_vm_hv()
5792 else if (cpu_has_feature(CPU_FTR_ARCH_207S)) in kvmppc_core_init_vm_hv()
5801 if (!cpu_has_feature(CPU_FTR_ARCH_300)) in kvmppc_core_init_vm_hv()
5811 if (!cpu_has_feature(CPU_FTR_ARCH_300)) in kvmppc_core_init_vm_hv()
5839 if (!cpu_has_feature(CPU_FTR_ARCH_300)) in kvmppc_core_destroy_vm_hv()
5851 if (cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_core_destroy_vm_hv()
5892 if (cpu_has_feature(CPU_FTR_HVMODE) && in kvmppc_core_check_processor_compat_hv()
5893 cpu_has_feature(CPU_FTR_ARCH_206)) in kvmppc_core_check_processor_compat_hv()
5897 if (cpu_has_feature(CPU_FTR_ARCH_300) && radix_enabled()) in kvmppc_core_check_processor_compat_hv()
6214 if (!cpu_has_feature(CPU_FTR_ARCH_300)) in kvmhv_configure_mmu()
6274 if (!cpu_has_feature(CPU_FTR_ARCH_300)) in kvmhv_enable_nested()
6431 if (!cpu_has_feature(CPU_FTR_DAWR1)) in kvmhv_enable_dawr1()
6442 if (!cpu_has_feature(CPU_FTR_ARCH_300)) in kvmppc_hash_v3_possible()
6445 if (!cpu_has_feature(CPU_FTR_HVMODE)) in kvmppc_hash_v3_possible()
6544 return cpu_has_feature(CPU_FTR_ARCH_300) && radix_enabled(); in kvmppc_radix_possible()
6567 if (!cpu_has_feature(CPU_FTR_ARCH_300)) { in kvmppc_book3s_init_hv()