platform-driver-x86.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/5] Enable SSRAM support in PTL and LNL
@ 2025-09-10 21:06 Xi Pardee
  2025-09-10 21:06 ` [PATCH v4 1/5] platform/x86:intel/pmc: Enable SSRAM support for Lunar Lake Xi Pardee
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Xi Pardee @ 2025-09-10 21:06 UTC (permalink / raw)
  To: xi.pardee, irenic.rajneesh, david.e.box, hdegoede, ilpo.jarvinen,
	platform-driver-x86, linux-kernel, linux-pm

This series enables SSRAM support, including achieving PMC information,
low power mode substate requirements in Lunar Lake and Panther Lake
platforms for Intel PMC Core driver. This patch series will not modify
the functionality of Intel PMC Core driver in previous platforms.

The first patch enables SSRAM support for Lunar Lake platforms. The next
three patches introduces a new table in telemetry region to get substate
requirement information for platforms starting from Panther Lake. The
last patch enables SSRAM support for Panther Lake platforms.

---
v4->v3:
- Drop the patch to show device and function number. This patch will be
  sent separately.
- Add a comma in enum definition.
- Use %u for unsigned variables.
- Remove unneeded variables.
- Remove unneeded empty lines.

v3->v2:
- Add a patch to show device and function number.
- Use function pointer in struct pmc_dev_info to determine which
  substate requirement table to achieve and which show operation to use.
- Fix alignment.
- Move variable declarations to appropriate locations.
- Replace char pointer with enum as function parameter.

v2->v1:
- Change to only check ret variable value when getting substate data in
  pmc_core_get_telem_info().
- Return immediately when devm_kcalloc() fails.
- Return 0 instead of ret when succeeding in
  pmc_core_pmt_get_blk_sub_req().
- Replace devm_kzalloc() with devm_kcalloc().
- Add telem_info field of arl_pmc_dev variable.

Xi Pardee (5):
  platform/x86:intel/pmc: Enable SSRAM support for Lunar Lake
  platform/x86:intel/pmc: Move telemetry endpoint register handling
  platform/x86:intel/pmc: Improve function to show substate header
  platform/x86:intel/pmc: Show substate requirement for S0ix blockers
  platform/x86:intel/pmc: Enable SSRAM support for Panther Lake

 drivers/platform/x86/intel/pmc/arl.c  |   4 +
 drivers/platform/x86/intel/pmc/core.c | 182 +++++++++++++++++++++-----
 drivers/platform/x86/intel/pmc/core.h |  16 +++
 drivers/platform/x86/intel/pmc/lnl.c  |  18 +++
 drivers/platform/x86/intel/pmc/mtl.c  |   2 +
 drivers/platform/x86/intel/pmc/ptl.c  |  31 +++++
 6 files changed, 217 insertions(+), 36 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-09-11  8:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-10 21:06 [PATCH v4 0/5] Enable SSRAM support in PTL and LNL Xi Pardee
2025-09-10 21:06 ` [PATCH v4 1/5] platform/x86:intel/pmc: Enable SSRAM support for Lunar Lake Xi Pardee
2025-09-10 21:06 ` [PATCH v4 2/5] platform/x86:intel/pmc: Move telemetry endpoint register handling Xi Pardee
2025-09-10 21:06 ` [PATCH v4 3/5] platform/x86:intel/pmc: Improve function to show substate header Xi Pardee
2025-09-10 21:06 ` [PATCH v4 4/5] platform/x86:intel/pmc: Show substate requirement for S0ix blockers Xi Pardee
2025-09-10 21:06 ` [PATCH v4 5/5] platform/x86:intel/pmc: Enable SSRAM support for Panther Lake Xi Pardee
2025-09-11  8:51 ` [PATCH v4 0/5] Enable SSRAM support in PTL and LNL Ilpo Järvinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).