diff options
author | Kan Liang <kan.liang@linux.intel.com> | 2021-06-30 14:08:39 -0700 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-07-02 15:58:42 +0200 |
commit | c76826a65f50038f050424365dbf3f97203f8710 (patch) | |
tree | 3742efe84c5fdfac52b5100aa691911746de2740 /arch/x86/kvm/x86.h | |
parent | 0378c93a92e226d99f4672e66fe4c08ee7b19e2d (diff) |
perf/x86/intel/uncore: Support IMC free-running counters on Sapphire Rapids server
Several free-running counters for IMC uncore blocks are supported on
Sapphire Rapids server.
They are not enumerated in the discovery tables. The number of the
free-running counter boxes is calculated from the number of
corresponding standard boxes.
The snbep_pci2phy_map_init() is invoked to setup the mapping from a PCI
BUS to a Die ID, which is used to locate the corresponding MC device of
a IMC uncore unit in the spr_uncore_imc_freerunning_init_box().
Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Andi Kleen <ak@linux.intel.com>
Link: https://lore.kernel.org/r/1625087320-194204-16-git-send-email-kan.liang@linux.intel.com
Diffstat (limited to 'arch/x86/kvm/x86.h')
0 files changed, 0 insertions, 0 deletions