Jacob Pan
9b743915bd
iommu/vt-d: Fix off-by-one in PASID allocation
...
[ Upstream commit 39d630e332144028f56abba83d94291978e72df1 ]
PASID allocator uses IDR which is exclusive for the end of the
allocation range. There is no need to decrement pasid_max.
Fixes: af39507305fb ("iommu/vt-d: Apply global PASID in SVA")
Reported-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-02-24 08:36:26 +01:00
..
2018-07-06 14:06:30 +02:00
2020-01-29 16:45:29 +01:00
2019-06-05 17:37:06 +02:00
2019-10-30 10:24:03 +01:00
2020-02-01 09:34:48 +00:00
2019-06-05 17:37:06 +02:00
2020-02-01 09:34:48 +00:00
2019-08-23 10:26:48 +02:00
2019-08-20 10:58:03 +01:00
2020-02-14 16:34:16 -05:00
2019-10-01 12:13:16 +01:00
2019-08-23 15:05:45 +01:00
2020-02-01 09:34:45 +00:00
2019-09-11 12:36:53 +02:00
2019-09-11 12:39:19 +02:00
2019-06-05 17:30:28 +02:00
2019-06-05 17:30:28 +02:00
2019-06-05 17:30:28 +02:00
2019-06-05 17:30:28 +02:00
2019-02-28 11:12:16 +01:00
2019-08-30 15:47:37 +02:00
2019-08-09 17:29:25 +02:00
2020-01-29 16:45:27 +01:00
2019-07-04 17:26:48 +02:00
2019-05-27 16:16:09 +02:00
2020-02-24 08:36:26 +01:00
2019-09-11 12:34:30 +02:00
2019-08-30 16:12:10 +02:00
2019-10-01 12:16:47 +01:00
2019-06-19 17:09:07 +02:00
2019-02-26 11:15:58 +01:00
2019-06-19 17:09:55 +02:00
2017-11-02 11:10:55 +01:00
2020-01-17 19:48:20 +01:00
2020-01-12 12:21:35 +01:00
2019-10-30 10:16:37 +01:00
2019-05-21 10:50:45 +02:00
2019-06-05 17:37:06 +02:00
2019-09-16 15:32:01 -07:00
2019-09-11 12:39:19 +02:00
2019-06-05 17:30:29 +02:00
2019-08-20 11:09:43 +02:00
2019-06-05 17:30:29 +02:00
2019-09-19 13:48:37 -07:00
2020-01-17 19:48:59 +01:00
2020-01-17 19:48:59 +01:00
2019-06-05 17:37:06 +02:00
2019-07-04 17:26:48 +02:00
2019-09-11 12:39:19 +02:00
2019-08-09 17:37:10 +02:00
2019-06-19 17:09:55 +02:00
2019-09-11 12:39:19 +02:00
2020-01-04 19:16:38 +01:00
2019-07-29 17:22:52 +01:00
2019-07-29 17:22:52 +01:00
2020-01-04 19:16:39 +01:00
2019-08-23 17:41:59 +02:00