[PATCH v2 0/7] Enable NVL support in intel_pmc_core

Xi Pardee posted 7 patches 1 week ago
drivers/platform/x86/intel/pmc/Makefile |    3 +-
drivers/platform/x86/intel/pmc/arl.c    |   13 +-
drivers/platform/x86/intel/pmc/core.c   |  137 +-
drivers/platform/x86/intel/pmc/core.h   |   66 +-
drivers/platform/x86/intel/pmc/lnl.c    |    6 +-
drivers/platform/x86/intel/pmc/mtl.c    |    7 +-
drivers/platform/x86/intel/pmc/nvl.c    | 1539 +++++++++++++++++++++++
drivers/platform/x86/intel/pmc/ptl.c    |    8 +-
drivers/platform/x86/intel/pmc/wcl.c    |    6 +-
9 files changed, 1747 insertions(+), 38 deletions(-)
create mode 100644 drivers/platform/x86/intel/pmc/nvl.c
[PATCH v2 0/7] Enable NVL support in intel_pmc_core
Posted by Xi Pardee 1 week ago
This patch series introduces two new features, enhances existing
functionalities, and adds NVL support to the intel_pmc_core driver.

The first three patches add new attributes to improve Package C-state
debugging. The fourth and fifth patches refine current functionality
for better support. The sixth patch enables the intel_pmc_core driver
retrieves PMC information only for available PMCs. Finally, the last
patch adds support for Nova Lake platforms.

v2->v1:
- Add a patch to use __free(pci_dev_put) in pmc_core_punit_pmt_init().
- When using scoped base cleanup method, move variable declaration and
  assignment in one place.
- Simplifies logic and remove unneeded offset variables.
- Create common helper function to used by pmc_core_pkgc_ltr_blocker_show()
  and pmc_core_pkgc_blocker_residency_show()
- Add num_pmcs field in pmc_dev_info struct to store the number of PMCs
  available in the platform.
- Use lowercase letter for variable in nvl.c().
- Fix typo.

Xi Pardee (7):
  platform/x86/intel/pmc: Use __free() in pmc_core_punit_pmt_init()
  platform/x86/intel/pmc: Enable PkgC LTR blocking counter
  platform/x86/intel/pmc: Enable Pkgc blocking residency counter
  platform/x86/intel/pmc: Use PCI DID for PMC SSRAM device discovery
  platform/x86/intel/pmc: Add support for variable DMU offsets
  platform/x86/intel/pmc: Retrieve PMC info only for available PMCs
  platform/x86/intel/pmc: Add Nova Lake support to intel_pmc_core driver

 drivers/platform/x86/intel/pmc/Makefile |    3 +-
 drivers/platform/x86/intel/pmc/arl.c    |   13 +-
 drivers/platform/x86/intel/pmc/core.c   |  137 +-
 drivers/platform/x86/intel/pmc/core.h   |   66 +-
 drivers/platform/x86/intel/pmc/lnl.c    |    6 +-
 drivers/platform/x86/intel/pmc/mtl.c    |    7 +-
 drivers/platform/x86/intel/pmc/nvl.c    | 1539 +++++++++++++++++++++++
 drivers/platform/x86/intel/pmc/ptl.c    |    8 +-
 drivers/platform/x86/intel/pmc/wcl.c    |    6 +-
 9 files changed, 1747 insertions(+), 38 deletions(-)
 create mode 100644 drivers/platform/x86/intel/pmc/nvl.c

-- 
2.43.0