
LoongArch inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/ICB2S5 CVE: NA -------------------------------- This patch fix the following dead lock: iommu_device_register (error occurred) iommu_device_unregister remove_iommu_group __iommu_group_remove_device ops->release_device(dev); iommu_group_remove_device __iommu_group_remove_device (dead lock waiting group->mutex) Signed-off-by: Hongchen Zhang <zhanghongchen@loongson.cn> --- drivers/iommu/loongarch_iommu.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/iommu/loongarch_iommu.c b/drivers/iommu/loongarch_iommu.c index e3d88d1a3dac..038438b06281 100644 --- a/drivers/iommu/loongarch_iommu.c +++ b/drivers/iommu/loongarch_iommu.c @@ -758,7 +758,6 @@ static void la_iommu_remove_device(struct device *dev) { struct la_iommu_dev_data *dev_data; - iommu_group_remove_device(dev); dev_data = dev->archdata.iommu; dev->archdata.iommu = NULL; kfree(dev_data); -- 2.33.0