diff options
author | Lu Baolu <baolu.lu@linux.intel.com> | 2021-06-10 10:01:05 +0800 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2021-06-10 09:06:13 +0200 |
commit | 55ee5e67a59a1b6f388d7a1c7b24022145f47a3e (patch) | |
tree | 5fd3b8d9c40d9a22e28067a6c6bc3135e33b4a1c /drivers/iommu/intel/Kconfig | |
parent | e93a67f5a0eef3e9ab5b4649cac5c3b831c6a9db (diff) | |
download | lwn-55ee5e67a59a1b6f388d7a1c7b24022145f47a3e.tar.gz lwn-55ee5e67a59a1b6f388d7a1c7b24022145f47a3e.zip |
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 'drivers/iommu/intel/Kconfig')
-rw-r--r-- | drivers/iommu/intel/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/iommu/intel/Kconfig b/drivers/iommu/intel/Kconfig index a37bd54c5b90..59be5447b775 100644 --- a/drivers/iommu/intel/Kconfig +++ b/drivers/iommu/intel/Kconfig @@ -3,6 +3,9 @@ config DMAR_TABLE bool +config DMAR_PERF + bool + config INTEL_IOMMU bool "Support for Intel IOMMU using DMA Remapping Devices" depends on PCI_MSI && ACPI && (X86 || IA64) |