Re: [PATCH] iommu/vt-d: fix RCU-list bugs in intel_iommu_init

2020-03-10 Thread Joerg Roedel
On Thu, Mar 05, 2020 at 03:00:46PM -0500, Qian Cai wrote: > drivers/iommu/intel-iommu.c | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) Applied, thanks. ___ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.or

Re: [PATCH] iommu/vt-d: fix RCU-list bugs in intel_iommu_init

2020-03-07 Thread Lu Baolu
Hi, On 2020/3/6 4:00, Qian Cai wrote: There are several places traverse RCU-list without holding any lock in intel_iommu_init(). Fix them by acquiring dmar_global_lock. WARNING: suspicious RCU usage - drivers/iommu/intel-iommu.c:5216 RCU-list traversed in non-r

[PATCH] iommu/vt-d: fix RCU-list bugs in intel_iommu_init

2020-03-05 Thread Qian Cai
There are several places traverse RCU-list without holding any lock in intel_iommu_init(). Fix them by acquiring dmar_global_lock. WARNING: suspicious RCU usage - drivers/iommu/intel-iommu.c:5216 RCU-list traversed in non-reader section!! other info that might help