perf/x86/intel/uncore: Add Alder Lake support
authorKan Liang <kan.liang@linux.intel.com>
Mon, 12 Apr 2021 14:31:02 +0000 (07:31 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 19 Apr 2021 18:03:29 +0000 (20:03 +0200)
commit772ed05f3c5ce722b9de6c4c2dd87538a33fb8d3
tree82ea3c36c9ce8d14470171e8dfb52d5f38f2fca8
parent55bcf6ef314ae8ba81bcd74aa760247b635ed47b
perf/x86/intel/uncore: Add Alder Lake support

The uncore subsystem for Alder Lake is similar to the previous Tiger
Lake.

The difference includes:
- New MSR addresses for global control, fixed counters, CBOX and ARB.
  Add a new adl_uncore_msr_ops for uncore operations.
- Add a new threshold field for CBOX.
- New PCIIDs for IMC devices.

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://lkml.kernel.org/r/1618237865-33448-23-git-send-email-kan.liang@linux.intel.com
arch/x86/events/intel/uncore.c
arch/x86/events/intel/uncore.h
arch/x86/events/intel/uncore_snb.c