]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/vt-d: Setup pasid entries for iova over first level
authorLu Baolu <baolu.lu@linux.intel.com>
Thu, 2 Jan 2020 00:18:17 +0000 (08:18 +0800)
committerJoerg Roedel <jroedel@suse.de>
Tue, 7 Jan 2020 13:05:58 +0000 (14:05 +0100)
commit70cf0554ab39e70197571feda5ec0186f67f5b38
tree260865f6d5df456895f13d209c0f8a42cf3993f7
parent280db36952becb8e63387025b2622eaa7690a618
iommu/vt-d: Setup pasid entries for iova over first level

Intel VT-d in scalable mode supports two types of page tables for
IOVA translation: first level and second level. The IOMMU driver
can choose one from both for IOVA translation according to the use
case. This sets up the pasid entry if a domain is selected to use
the first-level page table for iova translation.

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