mbox series

[v4,00/11] platform/x86/amd/pmc: Updates to AMD PMC driver

Message ID 20241107072714.943423-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. 7, 2024, 7:27 a.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.

v4:
----
  - Reorder patches as suggested by Mario and Ilpo
  - Squash patches
  - Update tags

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 (11):
  platform/x86/amd/pmc: Move STB block into amd_pmc_s2d_init()
  platform/x86/amd/pmc: Invoke amd_pmc_s2d_init() Post Debugfs
    Registration
  platform/x86/amd/pmc: Move STB functionality to a new file for better
    code organization
  platform/x86/amd/pmc: Update function names to align with new STB file
  platform/x86/amd/pmc: Define enum for S2D/PMC msg_port and add helper
    function
  platform/x86/amd/pmc: Isolate STB code changes to a new file
  platform/x86/amd/pmc: Use ARRAY_SIZE() to fill num_ips information
  platform/x86/amd/pmc: Update IP information structure for newer SoCs
  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 | 332 ++++++++++++++++++++++
 drivers/platform/x86/amd/pmc/pmc.c     | 367 +++++--------------------
 drivers/platform/x86/amd/pmc/pmc.h     |  20 +-
 5 files changed, 417 insertions(+), 306 deletions(-)
 create mode 100644 drivers/platform/x86/amd/pmc/mp1_stb.c