Skip to content

Add Arrow Lake U/H support

Xi Pardee linux-pm lkml platform-driver-x86 5 versions – Applied

Status from this message: I've applied all but this patch into the review-ilpo-next branch.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest6 patches 2 repliesApplied
  2. v55 patches 2 repliesSuperseded
  3. v46 patches 5 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v33 patches3 repliesSuperseded
v13 patches2 repliesSuperseded

v6->v5 from the cover letter

- Move arch specific action from core.c to init() function of spt.c
- Remove core init functions from header and change them to static functions within each file.

Patches in v6 Applied

#Subject and filesSizeRepliesApplied
1/6platform/x86:intel/pmc: Make tgl_core_generic_init() staticdrivers/platform/x86/intel/pmc/core.h drivers/platform/x86/intel/pmc/tgl.c+11 -120 replies
2/6platform/x86/intel/pmc: Remove duplicate enumdrivers/platform/x86/intel/pmc/arl.c drivers/platform/x86/intel/pmc/core.h drivers/platform/x86/intel/pmc/lnl.c +1 more+3 -40 replies
3/6platform/x86:intel/pmc: Create generic_core_init() for all platformsdrivers/platform/x86/intel/pmc/adl.c drivers/platform/x86/intel/pmc/arl.c drivers/platform/x86/intel/pmc/cnp.c +7 more+131 -1470 replies
4/6platform/x86/intel/pmc: Remove simple init functionsdrivers/platform/x86/intel/pmc/adl.c drivers/platform/x86/intel/pmc/arl.c drivers/platform/x86/intel/pmc/cnp.c +7 more+86 -1020 replies
5/6platform/x86:intel/pmc: Move arch specific action to init functiondrivers/platform/x86/intel/pmc/core.c drivers/platform/x86/intel/pmc/spt.c+21 -132 replies
6/6platform/x86/intel/pmc: Add Arrow Lake U/H support to intel_pmc_core driverdrivers/platform/x86/intel/pmc/arl.c drivers/platform/x86/intel/pmc/core.c drivers/platform/x86/intel/pmc/core.h+40 -00 replies

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by.

PatchIlpo Järvinen
1/6R-b
2/6
3/6
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [PATCH v6 0/6] Add Arrow Lake U/H support

This patch series contains six patches to add Arrow Lake U/H support in intel_pmc_core driver.

The first five patches are preparation patches. The third patch creates a generic init function for all platforms. The fourth patch replaces the init functions with pmc_dev_info structures in X86_MATCH_VFM() of core.c file. In order to support platform specific init actions, the patch also adds a init function field in the pmc_dev_info structure. The fifth patch moves architecture specific action from core.c to init() function in spt.c.

v6->v5:
- Move arch specific action from core.c to init() function of spt.c
- Remove core init functions from header and change them to static functions within each file.

v5->v4:
- Replace DMU with full name.
- Rename func field to pci_func.
- Remove arch_specific callback function and replace generic_core_init completely with arch specific init functions when needed to allow more flexibility.

v4->v3:
- Remove all per architecture init functions and replace with pmc_dev_info structures in x86_cpu_id structure in core.c.
- Remove fixup field and add arch_specific field in pmc_dev_info structure.
- Move ssram init comment to be function comment.
- Remove ssram field in pmc_dev_info structure.
- Captilize PMC
- Remove PMC_IDX_SOC

v3->v2:
- Create a generic init function for all platforms

v2->v1:
- Create an info structure for platform variation information
- Make generic init function to static in tgl.c
- Fix typo

Xi Pardee (6):
platform/x86:intel/pmc: Make tgl_core_generic_init() static platform/x86/intel/pmc: Remove duplicate enum platform/x86:intel/pmc: Create generic_core_init() for all platforms platform/x86/intel/pmc: Remove simple init functions platform/x86:intel/pmc: Move arch specific action to init function platform/x86/intel/pmc: Add Arrow Lake U/H support to intel_pmc_core
driver

 drivers/platform/x86/intel/pmc/adl.c  |  22 ++---
 drivers/platform/x86/intel/pmc/arl.c  |  79 ++++++++++--------
 drivers/platform/x86/intel/pmc/cnp.c  |  21 ++---
 drivers/platform/x86/intel/pmc/core.c | 114 +++++++++++++++++---------
 drivers/platform/x86/intel/pmc/core.h |  46 ++++++++---
 drivers/platform/x86/intel/pmc/icl.c  |  18 +---
 drivers/platform/x86/intel/pmc/lnl.c  |  25 ++----
 drivers/platform/x86/intel/pmc/mtl.c  |  45 +++-------
 drivers/platform/x86/intel/pmc/spt.c  |  33 +++++---
 drivers/platform/x86/intel/pmc/tgl.c  |  39 ++++-----
 10 files changed, 228 insertions(+), 214 deletions(-)
Signature · 1 line
2.43.0