7 #ifndef __KVM_ARM_PSCI_H__
8 #define __KVM_ARM_PSCI_H__
10 #include <linux/kvm_host.h>
11 #include <uapi/linux/psci.h>
13 #define KVM_ARM_PSCI_0_1 PSCI_VERSION(0, 1)
14 #define KVM_ARM_PSCI_0_2 PSCI_VERSION(0, 2)
15 #define KVM_ARM_PSCI_1_0 PSCI_VERSION(1, 0)
16 #define KVM_ARM_PSCI_1_1 PSCI_VERSION(1, 1)
18 #define KVM_ARM_PSCI_LATEST KVM_ARM_PSCI_1_1
29 if (vcpu_has_feature(vcpu, KVM_ARM_VCPU_PSCI_0_2)) {
30 if (vcpu->kvm->arch.psci_version)
31 return vcpu->kvm->arch.psci_version;
int kvm_psci_call(struct kvm_vcpu *vcpu)
#define KVM_ARM_PSCI_LATEST
static int kvm_psci_version(struct kvm_vcpu *vcpu)