diff options
author | Lu Baolu <baolu.lu@linux.intel.com> | 2021-06-10 05:01:05 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2021-06-10 10:06:13 +0300 |
commit | 55ee5e67a59a1b6f388d7a1c7b24022145f47a3e (patch) | |
tree | 5fd3b8d9c40d9a22e28067a6c6bc3135e33b4a1c /include/linux/intel-iommu.h | |
parent | e93a67f5a0eef3e9ab5b4649cac5c3b831c6a9db (diff) | |
download | linux-55ee5e67a59a1b6f388d7a1c7b24022145f47a3e.tar.xz |
iommu/vt-d: Add common code for dmar latency performance monitors
The execution time of some operations is very performance critical, such
as cache invalidation and PRQ processing time. This adds some common code
to monitor the execution time range of those operations. The interfaces
include enabling/disabling, checking status, updating sampling data and
providing a common string format for users.
Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/20210520031531.712333-1-baolu.lu@linux.intel.com
Link: https://lore.kernel.org/r/20210610020115.1637656-14-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'include/linux/intel-iommu.h')
-rw-r--r-- | include/linux/intel-iommu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/intel-iommu.h b/include/linux/intel-iommu.h index 98b04fa9373e..f5cf31dd7280 100644 --- a/include/linux/intel-iommu.h +++ b/include/linux/intel-iommu.h @@ -621,6 +621,7 @@ struct intel_iommu { u32 flags; /* Software defined flags */ struct dmar_drhd_unit *drhd; + void *perf_statistic; }; /* Per subdevice private data */ |