iommu/vt-d: Add PRQ handling latency sampling
authorLu Baolu <baolu.lu@linux.intel.com>
Thu, 10 Jun 2021 02:01:08 +0000 (10:01 +0800)
committerJoerg Roedel <jroedel@suse.de>
Thu, 10 Jun 2021 07:06:13 +0000 (09:06 +0200)
commit0f4834ab255bf488f20544e120713decfa77843e
tree0aad04206047b930de154e2f07d7409cded8117b
parent74eb87a0f9eb8c81264f2eb1b13d578c951b7533
iommu/vt-d: Add PRQ handling latency sampling

The execution time for page fault request handling is performance critical
and needs to be monitored. This adds code to sample the execution time of
page fault request handling.

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-17-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel/svm.c