All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Add debugfs support to show scalable mode DMAR table
@ 2019-05-09 18:41 Sai Praneeth Prakhya
  2019-05-09 18:41 ` [PATCH 1/3] iommu/vt-d: Modify the format of intel DMAR tables dump Sai Praneeth Prakhya
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Sai Praneeth Prakhya @ 2019-05-09 18:41 UTC (permalink / raw)
  To: iommu; +Cc: Ashok Raj, Andy Shevchenko, David Woodhouse

From: Sai Praneeth <sai.praneeth.prakhya@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 <joro@8bytes.org>
Cc: Ashok Raj <ashok.raj@intel.com>
Cc: Lu Baolu <baolu.lu@linux.intel.com>
Cc: Sohil Mehta <sohil.mehta@intel.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Jacob Pan <jacob.jun.pan@linux.intel.com>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Sai Praneeth Prakhya <sai.praneeth.prakhya@intel.com>

-- 
2.7.4

_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2019-05-10 14:56 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-09 18:41 [PATCH 0/3] Add debugfs support to show scalable mode DMAR table Sai Praneeth Prakhya
2019-05-09 18:41 ` [PATCH 1/3] iommu/vt-d: Modify the format of intel DMAR tables dump Sai Praneeth Prakhya
2019-05-10  2:46   ` Lu Baolu
2019-05-09 18:42 ` [PATCH 2/3] iommu/vt-d: Introduce macros useful for dumping DMAR table Sai Praneeth Prakhya
2019-05-10  2:47   ` Lu Baolu
2019-05-09 18:42 ` [PATCH 3/3] iommu/vt-d: Add debugfs support to show scalable mode DMAR table internals Sai Praneeth Prakhya
2019-05-10  2:55   ` Lu Baolu
2019-05-10  6:50     ` Prakhya, Sai Praneeth
2019-05-10  2:30 ` [PATCH 0/3] Add debugfs support to show scalable mode DMAR table Lu Baolu
2019-05-10  6:46   ` Prakhya, Sai Praneeth
2019-05-10 14:56 ` Andy Shevchenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.