From: Sai Praneeth <sai.praneeth.prak...@intel.com> Presently, "/sys/kernel/debug/iommu/intel/dmar_translation_struct" file dumps only legacy DMAR table which consists of root table and context table. Scalable mode DMAR table adds PASID directory and PASID table. Hence, add support to dump these tables as well.
Directly extending the present dumping format for PASID tables will make the output look clumsy. Hence, the first patch modifies the present format to a tabular format. The second patch introduces macros that are used during PASID table walk and the third patch actually adds support to dump scalable mode DMAR table. Sai Praneeth (3): iommu/vt-d: Modify the format of intel DMAR tables dump iommu/vt-d: Introduce macros useful for dumping DMAR table iommu/vt-d: Add debugfs support to show scalable mode DMAR table internals drivers/iommu/intel-iommu-debugfs.c | 132 +++++++++++++++++++++++++++++------- drivers/iommu/intel-pasid.c | 17 ----- drivers/iommu/intel-pasid.h | 26 +++++++ 3 files changed, 134 insertions(+), 41 deletions(-) Cc: Joerg Roedel <j...@8bytes.org> Cc: Ashok Raj <ashok....@intel.com> Cc: Lu Baolu <baolu...@linux.intel.com> Cc: Sohil Mehta <sohil.me...@intel.com> Cc: David Woodhouse <dw...@infradead.org> Cc: Jacob Pan <jacob.jun....@linux.intel.com> Cc: Andy Shevchenko <andriy.shevche...@linux.intel.com> Signed-off-by: Sai Praneeth Prakhya <sai.praneeth.prak...@intel.com> -- 2.7.4 _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu