Skip to content

Commit 6952f5d

Browse files
committed
platform/x86:intel/pmc: Update LNL signal status map
JIRA: https://issues.redhat.com/browse/RHEL-46817 commit 4f3eec1 Author: Xi Pardee <xi.pardee@intel.com> Date: Thu Apr 25 17:27:50 2024 -0700 platform/x86:intel/pmc: Update LNL signal status map Update Lunar Lake signal status map. This status map has been updated since the map was merged. This patch updates the signal status map to the lastest version. Signed-off-by: Xi Pardee <xi.pardee@intel.com> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Link: https://lore.kernel.org/r/20240426002752.2504282-2-xi.pardee@linux.intel.com Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Steve Best <sbest@redhat.com>
1 parent a2b31a4 commit 6952f5d

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

drivers/platform/x86/intel/pmc/core.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -543,6 +543,7 @@ extern const struct pmc_bit_map lnl_vnn_misc_status_map[];
543543
extern const struct pmc_bit_map *lnl_lpm_maps[];
544544
extern const struct pmc_bit_map lnl_pfear_map[];
545545
extern const struct pmc_bit_map *ext_lnl_pfear_map[];
546+
extern const struct pmc_bit_map lnl_signal_status_map[];
546547

547548
/* ARL */
548549
extern const struct pmc_bit_map arl_socs_ltr_show_map[];

drivers/platform/x86/intel/pmc/lnl.c

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,26 @@ const struct pmc_bit_map lnl_clocksource_status_map[] = {
317317
{}
318318
};
319319

320+
const struct pmc_bit_map lnl_signal_status_map[] = {
321+
{"LSX_Wake0_STS", BIT(0)},
322+
{"LSX_Wake1_STS", BIT(1)},
323+
{"LSX_Wake2_STS", BIT(2)},
324+
{"LSX_Wake3_STS", BIT(3)},
325+
{"LSX_Wake4_STS", BIT(4)},
326+
{"LSX_Wake5_STS", BIT(5)},
327+
{"LSX_Wake6_STS", BIT(6)},
328+
{"LSX_Wake7_STS", BIT(7)},
329+
{"LPSS_Wake0_STS", BIT(8)},
330+
{"LPSS_Wake1_STS", BIT(9)},
331+
{"Int_Timer_SS_Wake0_STS", BIT(10)},
332+
{"Int_Timer_SS_Wake1_STS", BIT(11)},
333+
{"Int_Timer_SS_Wake2_STS", BIT(12)},
334+
{"Int_Timer_SS_Wake3_STS", BIT(13)},
335+
{"Int_Timer_SS_Wake4_STS", BIT(14)},
336+
{"Int_Timer_SS_Wake5_STS", BIT(15)},
337+
{}
338+
};
339+
320340
const struct pmc_bit_map *lnl_lpm_maps[] = {
321341
lnl_clocksource_status_map,
322342
lnl_power_gating_status_0_map,
@@ -331,7 +351,7 @@ const struct pmc_bit_map *lnl_lpm_maps[] = {
331351
lnl_vnn_req_status_2_map,
332352
lnl_vnn_req_status_3_map,
333353
lnl_vnn_misc_status_map,
334-
mtl_socm_signal_status_map,
354+
lnl_signal_status_map,
335355
NULL
336356
};
337357

0 commit comments

Comments
 (0)