From: Xi Pardee <xi.pardee@linux.intel.com>
To: xi.pardee@linux.intel.com, rajvi0912@gmail.com,
irenic.rajneesh@gmail.com, david.e.box@linux.intel.com,
hdegoede@redhat.com, ilpo.jarvinen@linux.intel.com,
platform-driver-x86@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org
Subject: [PATCH v6 0/6] Add Arrow Lake U/H support
Date: Fri, 7 Feb 2025 14:56:06 -0800 [thread overview]
Message-ID: <20250207225615.401235-1-xi.pardee@linux.intel.com> (raw)
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(-)
--
2.43.0
next reply other threads:[~2025-02-07 22:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-07 22:56 Xi Pardee [this message]
2025-02-07 22:56 ` [PATCH v6 1/6] platform/x86:intel/pmc: Make tgl_core_generic_init() static Xi Pardee
2025-02-07 22:56 ` [PATCH v6 2/6] platform/x86/intel/pmc: Remove duplicate enum Xi Pardee
2025-02-07 22:56 ` [PATCH v6 3/6] platform/x86:intel/pmc: Create generic_core_init() for all platforms Xi Pardee
2025-02-07 22:56 ` [PATCH v6 4/6] platform/x86/intel/pmc: Remove simple init functions Xi Pardee
2025-02-07 22:56 ` [PATCH v6 5/6] platform/x86:intel/pmc: Move arch specific action to init function Xi Pardee
2025-02-10 11:58 ` Ilpo Järvinen
2025-02-10 18:11 ` Xi Pardee
2025-02-07 22:56 ` [PATCH v6 6/6] platform/x86/intel/pmc: Add Arrow Lake U/H support to intel_pmc_core driver Xi Pardee
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250207225615.401235-1-xi.pardee@linux.intel.com \
--to=xi.pardee@linux.intel.com \
--cc=david.e.box@linux.intel.com \
--cc=hdegoede@redhat.com \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=irenic.rajneesh@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=platform-driver-x86@vger.kernel.org \
--cc=rajvi0912@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.