perf/x86/rapl: Treat Tigerlake like Icelake
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 28 Dec 2022 11:34:54 +0000 (06:34 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Jan 2023 06:22:42 +0000 (07:22 +0100)
commite1df7f0b27c251ae051600eb6a2584ab3fc873cf
tree267c2ef19919e7bbb6cd27faeccd0fadca80cb01
parent2c129e868992621a739bdd57a5bffa3985ef1b91
perf/x86/rapl: Treat Tigerlake like Icelake

[ Upstream commit c07311b5509f6035f1dd828db3e90ff4859cf3b9 ]

Since Tigerlake seems to have inherited its cstates and other RAPL power
caps from Icelake, assume it also follows Icelake for its RAPL events.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Zhang Rui <rui.zhang@intel.com>
Link: https://lore.kernel.org/r/20221228113454.1199118-1-rodrigo.vivi@intel.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/x86/events/rapl.c