mbox series

[v3,00/13] platform/x86/amd/pmc: Updates to AMD PMC driver

Message ID 20241105173637.733589-1-Shyam-sundar.S-k@amd.com (mailing list archive)
Headers show
Series platform/x86/amd/pmc: Updates to AMD PMC driver | expand

Message

Shyam Sundar S K Nov. 5, 2024, 5:36 p.m. UTC
Updates include:
- Rework STB code and move into a separate file
- Update the code with new IP block information for newer SoCs
- Add STB support for new generation
- Add STB support for Ryzen desktop variants
- Updates to MAINTAINERS record.

v3:
----
 - Split patch 1/8 of v2 into two more patches
 - Add helper for printing S2D/PMC ports
 - Use ARRAY_SIZE() for getting the number of IPs
 - Address other remarks from Ilpo.

v2:
----
 - Add Mario's Reviewed-by tags
 - Add amd_stb_update_args() to simplify code handling
 - use cpu_feature_enabled() instead of root port's cpu_id information.


Shyam Sundar S K (13):
  platform/x86/amd/pmc: Move STB functionality to a new file for better
    code organization
  platform/x86/amd/pmc: Relocate STB Debugfs to a New File
  platform/x86/amd/pmc: Skip Completing amd_pmc_s2d_init() on Older
    Platforms
  platform/x86/amd/pmc: Invoke amd_pmc_s2d_init() Post Debugfs
    Registration
  platform/x86/amd/pmc: Update function names to align with new STB file
  platform/x86/amd/pmc: Define enum for S2D/PMC msg_port
  platform/x86/amd/pmc: Isolate STB code changes to a new file
  platform/x86/amd/pmc: Introduce helper function to set proper string
  platform/x86/amd/pmc: Update IP information structure for newer SoCs
  platform/x86/amd/pmc: Use ARRAY_SIZE() to fill num_ips information
  platform/x86/amd/pmc: Update S2D message id for 1Ah Family 70h model
  platform/x86/amd/pmc: Add STB support for AMD Desktop variants
  MAINTAINERS: Change AMD PMC driver status to "Supported"

 MAINTAINERS                            |   2 +-
 drivers/platform/x86/amd/pmc/Makefile  |   2 +-
 drivers/platform/x86/amd/pmc/mp1_stb.c | 337 +++++++++++++++++++++++
 drivers/platform/x86/amd/pmc/pmc.c     | 363 +++++--------------------
 drivers/platform/x86/amd/pmc/pmc.h     |  15 +-
 5 files changed, 415 insertions(+), 304 deletions(-)
 create mode 100644 drivers/platform/x86/amd/pmc/mp1_stb.c