* [PATCH] iommu/vt-d: add tips on dmar_perf_latency
@ 2023-06-02 2:36 YeeLi
0 siblings, 0 replies; only message in thread
From: YeeLi @ 2023-06-02 2:36 UTC (permalink / raw)
To: baolu.lu, dwmw2; +Cc: joro, will, iommu, YeeLi
Tips can make debugfs dmar_perf_latency user-friendly.
Signed-off-by: YeeLi <seven.yi.lee@gmail.com>
---
drivers/iommu/intel/debugfs.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/iommu/intel/debugfs.c b/drivers/iommu/intel/debugfs.c
index 1f925285104e..195416acd2f2 100644
--- a/drivers/iommu/intel/debugfs.c
+++ b/drivers/iommu/intel/debugfs.c
@@ -580,6 +580,9 @@ static int latency_show(struct seq_file *m, void *v)
struct dmar_drhd_unit *drhd;
struct intel_iommu *iommu;
+ seq_puts(m, "Write 1 IOTLB, 2 devTLB, 3 intr entry cache");
+ seq_puts(m, ", 4 prq handling, 0 disabled\n");
+
rcu_read_lock();
for_each_active_iommu(iommu, drhd)
latency_show_one(m, iommu, drhd);
--
2.25.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-06-02 2:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-02 2:36 [PATCH] iommu/vt-d: add tips on dmar_perf_latency YeeLi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).