Amol Grover
28ffabf65e
iommu/vt-d: Fix RCU list debugging warnings
commit 02d715b4a8 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-03-18 07:17:54 +01:00
..
2020-01-14 20:08:28 +01:00
2020-02-19 19:53:09 +01:00
2020-02-11 04:35:52 -08:00
2020-02-11 04:35:51 -08:00
2020-01-26 10:01:07 +01:00
2020-03-05 16:43:44 +01:00
2020-02-24 08:36:35 +01:00
2020-02-01 09:34:49 +00:00
2020-02-24 08:36:47 +01:00
2020-02-11 04:35:55 -08:00
2020-03-05 16:43:36 +01:00
2019-10-30 12:04:35 -04:00
2020-02-28 17:22:16 +01:00
2020-01-09 10:19:59 +01:00
2020-02-11 04:35:11 -08:00
2020-01-09 10:19:54 +01:00
2019-10-14 15:04:01 -07:00
2020-03-05 16:43:52 +01:00
2020-03-05 16:43:52 +01:00
2019-10-31 21:41:33 +01:00
2020-03-18 07:17:48 +01:00
2019-11-29 10:10:08 +01:00
2019-10-11 09:26:05 -07:00
2019-11-04 12:22:02 +01:00
2020-02-11 04:35:25 -08:00
2020-02-24 08:36:34 +01:00
2020-01-04 19:17:24 +01:00
2020-01-04 19:17:00 +01:00
2020-02-24 08:36:40 +01:00
2020-03-18 07:17:54 +01:00
2019-10-22 12:54:44 -07:00
2019-10-31 09:40:19 +01:00
2020-02-11 04:35:37 -08:00
2019-10-18 15:32:52 +02:00
2019-10-22 11:26:09 -07:00
2019-12-17 19:55:30 +01:00
2019-11-29 10:10:13 +01:00
2019-10-28 16:17:31 -07:00
2020-03-05 16:43:42 +01:00
2020-01-04 19:18:41 +01:00
2019-11-08 08:46:49 -08:00
2020-01-12 12:21:46 +01:00
2019-10-24 14:53:49 -07:00
2019-10-24 14:53:48 -07:00
2019-10-24 14:53:49 -07:00
2020-03-18 07:17:38 +01:00
2019-11-11 16:10:54 +01:00
2020-02-28 17:22:26 +01:00
2019-12-31 16:44:14 +01:00
2020-02-11 04:35:54 -08:00
2020-02-28 17:22:20 +01:00
2019-12-13 08:42:53 +01:00
2019-12-13 08:42:53 +01:00
2020-02-11 04:35:54 -08:00
2020-02-11 04:35:40 -08:00
2019-10-08 22:05:58 +02:00
2020-02-28 17:22:28 +01:00
2020-01-04 19:18:28 +01:00
2020-02-24 08:36:45 +01:00
2020-01-09 10:19:56 +01:00
2019-11-15 18:34:00 -08:00
2019-10-17 16:31:52 -07:00
2019-12-13 08:43:18 +01:00
2019-11-06 08:28:58 -08:00
2020-03-12 13:00:19 +01:00
2020-01-23 08:22:39 +01:00
2019-12-31 16:41:16 +01:00
2020-03-05 16:43:35 +01:00
2020-01-09 10:19:41 +01:00
2019-12-31 16:44:40 +01:00
2019-12-31 16:44:43 +01:00
2020-02-11 04:35:28 -08:00
2019-10-14 15:04:00 -07:00
2019-11-06 08:28:58 -08:00
2020-02-24 08:36:37 +01:00
2020-02-11 04:35:44 -08:00
2019-10-28 11:02:01 +01:00
2020-03-18 07:17:46 +01:00
2019-12-21 11:04:31 +01:00
2020-01-04 19:18:48 +01:00
2020-01-04 19:17:25 +01:00
2019-12-17 19:56:43 +01:00
2019-11-01 22:26:34 -04:00
2020-02-24 08:36:45 +01:00
2019-10-28 12:18:23 +01:00
2019-10-24 10:26:33 +02:00
2020-02-05 21:22:43 +00:00
2019-10-31 09:40:21 +01:00
2020-01-04 19:18:39 +01:00
2020-01-23 08:22:45 +01:00
2019-10-31 14:01:40 -07:00
2019-10-08 13:27:05 +02:00
2020-02-19 19:52:56 +01:00
2019-10-13 10:13:08 -07:00
2020-01-04 19:18:42 +01:00
2019-12-18 16:08:43 +01:00
2020-01-23 08:22:44 +01:00
2020-02-28 17:22:19 +01:00
2020-01-17 19:48:40 +01:00
2019-10-28 04:25:04 -04:00
2019-10-14 15:04:01 -07:00