Skip to contentSkip to conversation

iommu/vt-d: add tips on dmar_perf_latency

PATCH New YeeLi 1 participant 1 message Jun 2, 2023

Subsystems (2)
lore
Share & tools
lore

YeeLi

author
#0 lore raw

PATCH 1/1 iommu/vt-d: add tips on dmar_perf_latency

Tips can make debugfs dmar_perf_latency user-friendly.

---
 drivers/iommu/intel/debugfs.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/iommu/intel/debugfs.c +3 -0
index 1f925285104e..195416acd2f2 100644
@@ -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);
Signature · 1 line
2.25.1