aboutsummaryrefslogtreecommitdiff
path: root/include/kvm
diff options
context:
space:
mode:
authorGravatar Marc Zyngier <maz@kernel.org> 2022-02-08 15:29:28 +0000
committerGravatar Marc Zyngier <maz@kernel.org> 2022-02-08 15:29:28 +0000
commitc30185412daf353e6bcc61cd50ee7b7eadf42d1e (patch)
tree308b3d59881d7ef8281c506fe0b6f4992d91ceac /include/kvm
parentMerge branch kvm-arm64/selftest/vgic-5.18 into kvmarm-master/next (diff)
parentKVM: arm64: pkvm: Implement CONFIG_DEBUG_LIST at EL2 (diff)
downloadlinux-c30185412daf353e6bcc61cd50ee7b7eadf42d1e.tar.gz
linux-c30185412daf353e6bcc61cd50ee7b7eadf42d1e.tar.bz2
linux-c30185412daf353e6bcc61cd50ee7b7eadf42d1e.zip
Merge branch kvm-arm64/misc-5.18 into kvmarm-master/next
* kvm-arm64/misc-5.18: : . : Misc fixes for KVM/arm64 5.18: : : - Drop unused kvm parameter to kvm_psci_version() : : - Implement CONFIG_DEBUG_LIST at EL2 : . KVM: arm64: pkvm: Implement CONFIG_DEBUG_LIST at EL2 KVM: arm64: Drop unused param from kvm_psci_version() Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'include/kvm')
-rw-r--r--include/kvm/arm_psci.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/kvm/arm_psci.h b/include/kvm/arm_psci.h
index 5b58bd2fe088..297645edcaff 100644
--- a/include/kvm/arm_psci.h
+++ b/include/kvm/arm_psci.h
@@ -16,11 +16,7 @@
#define KVM_ARM_PSCI_LATEST KVM_ARM_PSCI_1_0
-/*
- * We need the KVM pointer independently from the vcpu as we can call
- * this from HYP, and need to apply kern_hyp_va on it...
- */
-static inline int kvm_psci_version(struct kvm_vcpu *vcpu, struct kvm *kvm)
+static inline int kvm_psci_version(struct kvm_vcpu *vcpu)
{
/*
* Our PSCI implementation stays the same across versions from