diff options
author | Lu Baolu <[email protected]> | 2019-08-06 08:14:08 +0800 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2019-08-09 17:35:25 +0200 |
commit | ae23bfb68f2896835e54a137688906713cb607e7 (patch) | |
tree | 792fcee847d247f73362cc1a1ec87134f617c4d5 /lib/test_overflow.c | |
parent | ab2cbeb0ed301a9f0460078e91b09f39958212ef (diff) |
iommu/vt-d: Detach domain before using a private one
When the default domain of a group doesn't work for a device,
the iommu driver will try to use a private domain. The domain
which was previously attached to the device must be detached.
Cc: Ashok Raj <[email protected]>
Cc: Jacob Pan <[email protected]>
Cc: Kevin Tian <[email protected]>
Cc: Alex Williamson <[email protected]>
Fixes: 942067f1b6b97 ("iommu/vt-d: Identify default domains replaced with private")
Reported-by: Alex Williamson <[email protected]>
Link: https://lkml.org/lkml/2019/8/2/1379
Signed-off-by: Lu Baolu <[email protected]>
Tested-by: Alex Williamson <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions