On Thu, May 09, 2019 at 11:41:42AM -0700, Sai Praneeth Prakhya wrote: > From: Sai Praneeth <[email protected]> > > 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.
FWIW, Reviewed-by: Andy Shevchenko <[email protected]> Since it's debugfs the format is not carved in stone. > > 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 <[email protected]> > Cc: Ashok Raj <[email protected]> > Cc: Lu Baolu <[email protected]> > Cc: Sohil Mehta <[email protected]> > Cc: David Woodhouse <[email protected]> > Cc: Jacob Pan <[email protected]> > Cc: Andy Shevchenko <[email protected]> > Signed-off-by: Sai Praneeth Prakhya <[email protected]> > > -- > 2.7.4 > -- With Best Regards, Andy Shevchenko _______________________________________________ iommu mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/iommu
