mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
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:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user