]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/vt-d: Remove incorrect PSI capability check
authorLu Baolu <baolu.lu@linux.intel.com>
Wed, 20 Nov 2019 06:10:16 +0000 (14:10 +0800)
committerJoerg Roedel <jroedel@suse.de>
Wed, 18 Dec 2019 15:18:34 +0000 (16:18 +0100)
commit603a004a3aa06507c8367da23d543f6ee59ae431
treeb08f2a769d8053358f8582029a544cd733066fad
parent2a5f1d75045f3d9735022479d21616ad7f723774
iommu/vt-d: Remove incorrect PSI capability check

The PSI (Page Selective Invalidation) bit in the capability register
is only valid for second-level translation. Intel IOMMU supporting
scalable mode must support page/address selective IOTLB invalidation
for first-level translation. Remove the PSI capability check in SVA
cache invalidation code.

Fixes: 8d93dac4b8d1c ("iommu/vt-d: Remove global page flush support")
Cc: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-svm.c