ANDROID: iommu/arm-smmu-v3-kvm: Unregister IOMMU on remove
This was missed in the upstream posting. Bug: 357781595 Bug: 384432312 Change-Id: I446dbbea2507710ac5e67bee1f9c56900ebf3a0e Signed-off-by: Mostafa Saleh <smostafa@google.com>
This commit is contained in:
@@ -890,6 +890,7 @@ static void kvm_arm_smmu_remove(struct platform_device *pdev)
|
||||
*/
|
||||
arm_smmu_device_disable(smmu);
|
||||
arm_smmu_update_gbpa(smmu, host_smmu->boot_gbpa, GBPA_ABORT);
|
||||
arm_smmu_unregister_iommu(smmu);
|
||||
}
|
||||
|
||||
static int kvm_arm_smmu_suspend(struct device *dev)
|
||||
|
||||
Reference in New Issue
Block a user