]> git.baikalelectronics.ru Git - kernel.git/commit
perf/x86/intel/uncore: Add Meteor Lake support
authorKan Liang <kan.liang@linux.intel.com>
Fri, 10 Feb 2023 19:02:38 +0000 (11:02 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2023 08:33:47 +0000 (09:33 +0100)
commit3c2672773fbe492e0ef16dacec4fffc9d548a976
tree195859128e3180858470bf2e715b88b2024558d8
parentbf206907c53de0cb98b17c66195f06d80c335a57
perf/x86/intel/uncore: Add Meteor Lake support

[ Upstream commit dc360c927a205c17f554abbd709b1aafb546ebf3 ]

The uncore subsystem for Meteor Lake is similar to the previous Alder
Lake. The main difference is that MTL provides PMU support for different
tiles, while ADL only provides PMU support for the whole package. On
ADL, there are CBOX, ARB, and clockbox uncore PMON units. On MTL, they
are split into CBOX/HAC_CBOX, ARB/HAC_ARB, and cncu/sncu which provides
a fixed counter for clockticks. Also, new MSR addresses are introduced
on MTL.

The IMC uncore PMON is the same as Alder Lake. Add new PCIIDs of IMC for
Meteor Lake.

Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20230210190238.1726237-1-kan.liang@linux.intel.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/x86/events/intel/uncore.c
arch/x86/events/intel/uncore.h
arch/x86/events/intel/uncore_snb.c