diff options
author | Lu Baolu <baolu.lu@linux.intel.com> | 2019-07-20 05:01:26 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2019-08-09 18:29:25 +0300 |
commit | bfeaec7f7d2f6b09764a1b48e88e9ca3d5076419 (patch) | |
tree | 217f85e58440fd35621d9c693cf2d977fa9e96f0 /drivers/iommu/dma-iommu.c | |
parent | 458b7c8e0dde12d140e3472b80919cbb9ae793f4 (diff) | |
download | linux-bfeaec7f7d2f6b09764a1b48e88e9ca3d5076419.tar.xz |
iommu/vt-d: Correctly check format of page table in debugfs
PASID support and enable bit in the context entry isn't the right
indicator for the type of tables (legacy or scalable mode). Check
the DMA_RTADDR_SMT bit in the root context pointer instead.
Cc: Ashok Raj <ashok.raj@intel.com>
Cc: Jacob Pan <jacob.jun.pan@linux.intel.com>
Cc: Kevin Tian <kevin.tian@intel.com>
Cc: Sai Praneeth <sai.praneeth.prakhya@intel.com>
Fixes: dd5142ca5d24b ("iommu/vt-d: Add debugfs support to show scalable mode DMAR table internals")
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/dma-iommu.c')
0 files changed, 0 insertions, 0 deletions