platform/x86/intel/pmc: Fix stale NVL PCD-S S0ix_LPM telemetry constants
Subsystems (2)
Xi Pardee
maintainerPATCH 1/1 platform/x86/intel/pmc: Fix stale NVL PCD-S S0ix_LPM telemetry constants
The Nova Lake PCD-S S0ix_LPM telemetry layout changed. The PCD-S telemetry GUID was changed to reflect the layout change, per the client GUID revision rule.
nvl_pcds_d3_status_1_map[] was correctly updated, but two companion constants were never updated to match:
1. NVL_PCDS_NUM_S0IX_BLOCKER (core.h) is 71 instead of the actual
number of blk == 1 entries across nvl_pcds_blk_maps.
2. PCDS_LPM_REQ_GUID (nvl.c) is still 0x01091102. It was never
bumped to 0x01091103 to reflect the S0ix_LPM telemetry metadata
layout change.Both constants describe the same S0ix_LPM/blocker telemetry region for PCD-S, so fix them together in one change.
--- drivers/platform/x86/intel/pmc/core.h | 2 +- drivers/platform/x86/intel/pmc/nvl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/platform/x86/intel/pmc/core.h +1 -1
@@ -323,7 +323,7 @@ enum ppfear_regs {#define NVL_LPM_LIVE_STATUS_OFFSET 0x1760#define NVL_LPM_NUM_MAPS 15#define NVL_PCDH_NUM_S0IX_BLOCKER 107 -#define NVL_PCDS_NUM_S0IX_BLOCKER 71 +#define NVL_PCDS_NUM_S0IX_BLOCKER 70#define NVL_PCHS_NUM_S0IX_BLOCKER 54#define NVL_PCDS_PMC_LTR_RESERVED 0x1bac#define NVL_PCDH_BLK_REQ_OFFSET 53
drivers/platform/x86/intel/pmc/nvl.c +1 -1
@@ -14,7 +14,7 @@/* PMC SSRAM PMT Telemetry GUIDS */ #define PCDH_LPM_REQ_GUID 0x01093101#define PCHS_LPM_REQ_GUID 0x01092101 -#define PCDS_LPM_REQ_GUID 0x01091102 +#define PCDS_LPM_REQ_GUID 0x01091103/* * Die Mapping to Product.
Signature · 1 line
2.43.0
Ilpo Järvinen
maintainerQuoted 8 lines · Xi Pardee
The Nova Lake PCD-S
S0ix_LPMtelemetry layout changed. The PCD-S telemetry GUID was changed to reflect the layout change, per the client GUID revision rule.nvl_pcds_d3_status_1_map[] was correctly updated, but two companion constants were never updated to match:
[...]
Thank you for your contribution, it has been applied to my local review-ilpo-next branch. Note it will show up in the public platform-drivers-x86/review-ilpo-next branch only once I've pushed my local branch there, which might take a while.
FYI [if applicable to your patch], as per Linus' policy change, also fixes are mostly routed through for-next unless the fix is for a commit introduced in the most recent cycle or is clearly a regression fix.
The list of commits applied:
[1/1] platform/x86/intel/pmc: Fix stale NVL PCD-S S0ix_LPM telemetry constants
commit: fcad4877a04ea40d0402015a3c4bae89677aea12
--
i.