]> asedeno.scripts.mit.edu Git - linux.git/commit
iommu/vt-d: Add a check for 5-level paging support
authorSohil Mehta <sohil.mehta@intel.com>
Wed, 20 Dec 2017 19:59:26 +0000 (11:59 -0800)
committerJoerg Roedel <jroedel@suse.de>
Wed, 17 Jan 2018 14:02:50 +0000 (15:02 +0100)
commitf1ac10c24efbbcba0f8dae37ee90d45847f5c5af
treedfc517909ee0e7bd723dd37dace984008ba51dab
parent59103caa6839592788e7ad58b35863aac034631a
iommu/vt-d: Add a check for 5-level paging support

Add a check to verify IOMMU 5-level paging support. If the CPU supports
supports 5-level paging but the IOMMU does not support it then disable
SVM by not allocating PASID tables.

Signed-off-by: Sohil Mehta <sohil.mehta@intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-svm.c
include/linux/intel-iommu.h