The Emerald Rapids CPU model uses similar memory controller registers
as Sapphire Rapids server. Add Emerald Rapids CPU model number ID for
EDAC support.
Emerald Rapids (EMR) is the next Intel Xeon processor after Sapphire
Rapids (SPR).
EMR C-states are the same as SPR C-states, and we expect that EMR
C-state characteristics (latency and target residency) will be the
same as in SPR. Therefore, add EMR support by using SPR C-states table.
Signed-off-by: Artem Bityutskiy <email address hidden>
Signed-off-by: Rafael J. Wysocki <email address hidden>
(cherry picked from commit 74528edfbc664f9d2c927c4e5a44f1285598ed0f)
Signed-off-by: Roxana Nicolescu <email address hidden>
perf/x86/rapl: Add support for Intel Emerald Rapids
Emerald Rapids RAPL support is the same as previous Sapphire Rapids.
Add Emerald Rapids model for RAPL.
Signed-off-by: Zhang Rui <email address hidden>
Signed-off-by: Ingo Molnar <email address hidden>
Link: https://<email address hidden>
(backported from commit 57512b57dcfaf63c52d8ad2fb35321328cde31b0)
[roxanan: Small context adjustment in rapl_model_match array
due to missing ADL, RPL and MTL cpu models introduced in
1ab28f17eeeec, eff98a7421b3e, f52853a668bfe and in rapl_check_hw_unit
due to missing commit 80275ca9e525c
"perf/x86/rapl: Use standard Energy Unit for SPR Dram RAPL domain"]
Signed-off-by: Roxana Nicolescu <email address hidden>
From the perspective of Intel cstate residency counters,
Emerald Rapids is the same as the Sapphire Rapids and Ice Lake.
Add Emerald Rapids model.
Signed-off-by: Kan Liang <email address hidden>
Signed-off-by: Ingo Molnar <email address hidden>
Link: https://<email address hidden>
(backported from commit 5a8a05f165fb18d37526062419774d9088c2a9b9)
[roxanan: Small context adjustment in intel_cstates_match array
because of missing SPR, RPL and MTL cpu models introduced in
528c9f1daf20d, d0ca946bcf84e, 2da202aa1c38b, cd971104ac7e4,
d12940d2ead51, 01f2ea5bcf89d]
Make Intel uncore frequency driver support Emerald Rapids by adding its
CPU model to the match table.
Emerald Rapids uncore frequency control is the same as in Sapphire
Rapids.
Signed-off-by: Artem Bityutskiy <email address hidden>
Acked-by: Srinivas Pandruvada <email address hidden>
Acked-by: Hans de Goede <email address hidden>
Signed-off-by: Rafael J. Wysocki <email address hidden>
(backported from commit 9c252ecf30360cb7b4dbcc275aebe5642174fd39)
[roxanan: adjusted the path due to missing uncore-frequency
dir in introduced in ce2645c458b5c83b0872ea9e39d2c3293445353a]
Signed-off-by: Roxana Nicolescu <email address hidden>