diff options
author | 2020-09-28 06:32:40 -0700 | |
---|---|---|
committer | 2020-09-29 09:57:02 +0200 | |
commit | 8191016a026b8dfbb14dea64efc8e723ee99fe65 (patch) | |
tree | 7be28740f6e59837c99e8406d4cea7bcb6f4930e /drivers/usb/cdns3/cdns3-imx.c | |
parent | perf/x86/intel/uncore: Fix for iio mapping on Skylake Server (diff) | |
download | linux-dev-8191016a026b8dfbb14dea64efc8e723ee99fe65.tar.xz linux-dev-8191016a026b8dfbb14dea64efc8e723ee99fe65.zip |
perf/x86/intel/uncore: Fix the scale of the IMC free-running events
The "MiB" result of the IMC free-running bandwidth events,
uncore_imc_free_running/read/ and uncore_imc_free_running/write/ are 16
times too small.
The "MiB" value equals the raw IMC free-running bandwidth counter value
times a "scale" which is inaccurate.
The IMC free-running bandwidth events should be incremented per 64B
cache line, not DWs (4 bytes). The "scale" should be 6.103515625e-5.
Fix the "scale" for both Snow Ridge and Ice Lake.
Fixes: 2b3b76b5ec67 ("perf/x86/intel/uncore: Add Ice Lake server uncore support")
Fixes: ee49532b38dd ("perf/x86/intel/uncore: Add IMC uncore support for Snow Ridge")
Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20200928133240.12977-1-kan.liang@linux.intel.com
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions