]> git.ipfire.org Git - thirdparty/linux.git/commit - Documentation/admin-guide/kernel-parameters.txt
iommu/vt-d: Enumerate the scalable mode capability
authorLu Baolu <baolu.lu@linux.intel.com>
Mon, 10 Dec 2018 01:58:55 +0000 (09:58 +0800)
committerJoerg Roedel <jroedel@suse.de>
Tue, 11 Dec 2018 09:45:57 +0000 (10:45 +0100)
commit765b6a98c1de3d84dfdae344cc4ee4c24d9447f7
treeb249638f982910e2dd79da1e6c4c91644bc08a6d
parent3569dd07aaad71920c5ea4da2d5cc9a167c1ffd4
iommu/vt-d: Enumerate the scalable mode capability

The Intel vt-d spec rev3.0 introduces a new translation
mode called scalable mode, which enables PASID-granular
translations for first level, second level, nested and
pass-through modes. At the same time, the previous
Extended Context (ECS) mode is deprecated (no production
ever implements ECS).

This patch adds enumeration for Scalable Mode and removes
the deprecated ECS enumeration. It provides a boot time
option to disable scalable mode even hardware claims to
support it.

Cc: Ashok Raj <ashok.raj@intel.com>
Cc: Jacob Pan <jacob.jun.pan@linux.intel.com>
Cc: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Sanjay Kumar <sanjay.k.kumar@intel.com>
Signed-off-by: Liu Yi L <yi.l.liu@intel.com>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Ashok Raj <ashok.raj@intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Documentation/admin-guide/kernel-parameters.txt
drivers/iommu/intel-iommu.c
include/linux/intel-iommu.h