iommu/vt-d: Introduce intel_iommu=pasid28, and pasid_enabled() macro
authorDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 9 Sep 2015 10:58:59 +0000 (11:58 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 15 Oct 2015 10:24:45 +0000 (11:24 +0100)
commitae853ddb9ad5e7c01cad3fbf016040acd961f407
tree7d48a76f8849125e95dcddc5b29937317537abd5
parentd14053b3c714178525f22660e6aaf41263d00056
iommu/vt-d: Introduce intel_iommu=pasid28, and pasid_enabled() macro

As long as we use an identity mapping to work around the worst of the
hardware bugs which caused us to defeature it and change the definition
of the capability bit, we *can* use PASID support on the devices which
advertised it in bit 28 of the Extended Capability Register.

Allow people to do so with 'intel_iommu=pasid28' on the command line.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/iommu/intel-iommu.c
include/linux/intel-iommu.h