diff options
author | Christoffer Dall <christoffer.dall@arm.com> | 2019-10-21 16:28:15 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2019-10-21 19:20:26 +0100 |
commit | 55009c6ed2d24fc0f5521ab2482f145d269389ea (patch) | |
tree | 9fc811613d56b7b37c97e57955988003b2da1ce7 /include/kvm/arm_psci.h | |
parent | 6a7458485b390f48e481fcd4a0b20e6c5c843d2e (diff) | |
download | lwn-55009c6ed2d24fc0f5521ab2482f145d269389ea.tar.gz lwn-55009c6ed2d24fc0f5521ab2482f145d269389ea.zip |
KVM: arm/arm64: Factor out hypercall handling from PSCI code
We currently intertwine the KVM PSCI implementation with the general
dispatch of hypercall handling, which makes perfect sense because PSCI
is the only category of hypercalls we support.
However, as we are about to support additional hypercalls, factor out
this functionality into a separate hypercall handler file.
Signed-off-by: Christoffer Dall <christoffer.dall@arm.com>
[steven.price@arm.com: rebased]
Reviewed-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Steven Price <steven.price@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'include/kvm/arm_psci.h')
-rw-r--r-- | include/kvm/arm_psci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/kvm/arm_psci.h b/include/kvm/arm_psci.h index 632e78bdef4d..5b58bd2fe088 100644 --- a/include/kvm/arm_psci.h +++ b/include/kvm/arm_psci.h @@ -40,7 +40,7 @@ static inline int kvm_psci_version(struct kvm_vcpu *vcpu, struct kvm *kvm) } -int kvm_hvc_call_handler(struct kvm_vcpu *vcpu); +int kvm_psci_call(struct kvm_vcpu *vcpu); struct kvm_one_reg; |