]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/vt-d: Allow devices with RMRRs to use identity domain
authorLu Baolu <baolu.lu@linux.intel.com>
Wed, 15 Jan 2020 03:03:58 +0000 (11:03 +0800)
committerJoerg Roedel <jroedel@suse.de>
Fri, 24 Jan 2020 14:32:54 +0000 (15:32 +0100)
commitda25633d9dc660f9765477de89eb1851e603c7d5
tree541ed4641012efb42dd4d86261218c7f5c1c7260
parent207ffc165a8e0e8d68bb1d79b3beb3b9aef3ea6e
iommu/vt-d: Allow devices with RMRRs to use identity domain

Since commit 093e746ced027 ("intel-iommu: Prevent devices with
RMRRs from being placed into SI Domain"), the Intel IOMMU driver
doesn't allow any devices with RMRR locked to use the identity
domain. This was added to to fix the issue where the RMRR info
for devices being placed in and out of the identity domain gets
lost. This identity maps all RMRRs when setting up the identity
domain, so that devices with RMRRs could also use it.

Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-iommu.c