diff options
author | Kan Liang <kan.liang@linux.intel.com> | 2021-03-17 10:59:34 -0700 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-04-02 10:04:54 +0200 |
commit | d6c754130435ab786711bed75d04a2388a6b4da8 (patch) | |
tree | 80f9dca448bee3f7144b8bf6db45f5d6f1cfe092 /net/xdp/xskmap.c | |
parent | edae1f06c2cda41edffc93de6aedc8ba8dc883c3 (diff) |
perf/x86/intel/uncore: Generic support for the MSR type of uncore blocks
The discovery table provides the generic uncore block information for
the MSR type of uncore blocks, e.g., the counter width, the number of
counters, the location of control/counter registers, which is good
enough to provide basic uncore support. It can be used as a fallback
solution when the kernel doesn't support a platform.
The name of the uncore box cannot be retrieved from the discovery table.
uncore_type_&typeID_&boxID will be used as its name. Save the type ID
and the box ID information in the struct intel_uncore_type.
Factor out uncore_get_pmu_name() to handle different naming methods.
Implement generic support for the MSR type of uncore block.
Some advanced features, such as filters and constraints, cannot be
retrieved from discovery tables. Features that rely on that
information are not be supported here.
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/1616003977-90612-3-git-send-email-kan.liang@linux.intel.com
Diffstat (limited to 'net/xdp/xskmap.c')
0 files changed, 0 insertions, 0 deletions