Revert "ANDROID: KVM: arm64: Add 'host_smc_handler' to kvm_iommu_ops"

This reverts commit ba27273db7.

Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: Icbfae975bb34e96a9eaf4d0f8e5bbbad56237081
This commit is contained in:
Will Deacon
2022-07-07 15:51:51 +01:00
parent 35da9fb07b
commit 6791d1a2c8
2 changed files with 0 additions and 3 deletions

View File

@@ -125,7 +125,6 @@ extern u64 kvm_nvhe_sym(id_aa64mmfr2_el1_sys_val);
struct kvm_iommu_ops {
int (*init)(void);
bool (*host_smc_handler)(struct kvm_cpu_context *host_ctxt);
};
extern struct kvm_iommu_ops kvm_iommu_ops;

View File

@@ -254,8 +254,6 @@ static void handle_host_smc(struct kvm_cpu_context *host_ctxt)
bool handled;
handled = kvm_host_psci_handler(host_ctxt);
if (!handled && kvm_iommu_ops.host_smc_handler)
handled = kvm_iommu_ops.host_smc_handler(host_ctxt);
if (!handled)
default_host_smc_handler(host_ctxt);