Skip to content

Commit e87fa33

Browse files
apatni7884andy-shev
authored andcommitted
platform/x86: intel_pmc_core: Change Jasper Lake S0ix debug reg map back to ICL
Jasper Lake uses Icelake PCH IPs and the S0ix debug interfaces are same as Icelake. It uses SLP_S0_DBG register latch/read interface from Icelake generation. It doesn't use Tiger Lake LPM debug registers. Change the Jasper Lake S0ix debug interface to use the ICL reg map. Fixes: 16292be ("platform/x86: intel_pmc_core: Add Atom based Jasper Lake (JSL) platform support") Signed-off-by: Archana Patni <[email protected]> Acked-by: David E. Box <[email protected]> Tested-by: Divagar Mohandass <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]>
1 parent f585c9d commit e87fa33

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/platform/x86/intel_pmc_core.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ static const struct pmc_bit_map *ext_cnp_pfear_map[] = {
255255
};
256256

257257
static const struct pmc_bit_map icl_pfear_map[] = {
258-
/* Ice Lake generation onwards only */
258+
/* Ice Lake and Jasper Lake generation onwards only */
259259
{"RES_65", BIT(0)},
260260
{"RES_66", BIT(1)},
261261
{"RES_67", BIT(2)},
@@ -274,7 +274,7 @@ static const struct pmc_bit_map *ext_icl_pfear_map[] = {
274274
};
275275

276276
static const struct pmc_bit_map tgl_pfear_map[] = {
277-
/* Tiger Lake, Elkhart Lake and Jasper Lake generation onwards only */
277+
/* Tiger Lake and Elkhart Lake generation onwards only */
278278
{"PSF9", BIT(0)},
279279
{"RES_66", BIT(1)},
280280
{"RES_67", BIT(2)},
@@ -1156,7 +1156,7 @@ static const struct x86_cpu_id intel_pmc_core_ids[] = {
11561156
X86_MATCH_INTEL_FAM6_MODEL(TIGERLAKE_L, &tgl_reg_map),
11571157
X86_MATCH_INTEL_FAM6_MODEL(TIGERLAKE, &tgl_reg_map),
11581158
X86_MATCH_INTEL_FAM6_MODEL(ATOM_TREMONT, &tgl_reg_map),
1159-
X86_MATCH_INTEL_FAM6_MODEL(ATOM_TREMONT_L, &tgl_reg_map),
1159+
X86_MATCH_INTEL_FAM6_MODEL(ATOM_TREMONT_L, &icl_reg_map),
11601160
{}
11611161
};
11621162

0 commit comments

Comments
 (0)