Lines Matching refs:hv_enabled
506 int hv_enabled = kvmppc_hv_ops ? 1 : 0; in kvm_vm_ioctl_check_extension() local
513 hv_enabled = is_kvmppc_hv_enabled(kvm); in kvm_vm_ioctl_check_extension()
544 r = !hv_enabled; in kvm_vm_ioctl_check_extension()
588 r = hv_enabled; in kvm_vm_ioctl_check_extension()
599 } else if (hv_enabled) { in kvm_vm_ioctl_check_extension()
608 if (hv_enabled) { in kvm_vm_ioctl_check_extension()
623 r = !!(hv_enabled && radix_enabled()); in kvm_vm_ioctl_check_extension()
626 r = !!(hv_enabled && kvmppc_hv_ops->hash_v3_possible && in kvm_vm_ioctl_check_extension()
630 r = !!(hv_enabled && kvmppc_hv_ops->enable_nested && in kvm_vm_ioctl_check_extension()
636 r = hv_enabled; in kvm_vm_ioctl_check_extension()
645 r = hv_enabled; in kvm_vm_ioctl_check_extension()
655 if (hv_enabled) in kvm_vm_ioctl_check_extension()
674 r = !!hv_enabled; in kvm_vm_ioctl_check_extension()
679 r = hv_enabled; in kvm_vm_ioctl_check_extension()
685 (hv_enabled && cpu_has_feature(CPU_FTR_P9_TM_HV_ASSIST)); in kvm_vm_ioctl_check_extension()
690 r = hv_enabled && kvmppc_hv_ops->enable_svm && in kvm_vm_ioctl_check_extension()
694 r = !!(hv_enabled && kvmppc_hv_ops->enable_dawr1 && in kvm_vm_ioctl_check_extension()
708 if (hv_enabled) { in kvm_vm_ioctl_check_extension()