Amol Grover
02d715b4a8
iommu/vt-d: Fix RCU list debugging warnings
dmar_drhd_units is traversed using list_for_each_entry_rcu()
outside of an RCU read side critical section but under the
protection of dmar_global_lock. Hence add corresponding lockdep
expression to silence the following false-positive warnings:
[ 1.603975] =============================
[ 1.603976] WARNING: suspicious RCU usage
[ 1.603977] 5.5.4-stable #17 Not tainted
[ 1.603978] -----------------------------
[ 1.603980] drivers/iommu/intel-iommu.c:4769 RCU-list traversed in non-reader section!!
[ 1.603869] =============================
[ 1.603870] WARNING: suspicious RCU usage
[ 1.603872] 5.5.4-stable #17 Not tainted
[ 1.603874] -----------------------------
[ 1.603875] drivers/iommu/dmar.c:293 RCU-list traversed in non-reader section!!
Tested-by: Madhuparna Bhowmik <madhuparnabhowmik10@gmail.com>
Signed-off-by: Amol Grover <frextrite@gmail.com>
Cc: stable@vger.kernel.org
Acked-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
2020-03-02 17:03:57 +01:00
..
2020-02-28 09:02:18 -08:00
2020-02-04 11:58:07 +00:00
2020-01-27 16:46:44 -05:00
2020-02-08 14:17:27 -08:00
2020-03-02 17:03:57 +01:00
2020-02-17 21:33:28 -08:00
2020-01-30 16:28:52 -04:00
2020-02-14 17:13:54 -05:00
2020-02-08 14:04:19 -08:00
2020-02-18 13:33:39 +01:00
2020-02-08 14:04:19 -08:00
2020-02-21 12:44:53 -08:00
2020-02-05 17:44:14 +00:00