All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 00/11] platform/x86/amd/pmf: Add 1AH_M80H support
@ 2026-11-24  7:52 Shyam Sundar S K
  2026-11-24  7:52 ` [PATCH v4 01/11] platform/x86/amd/pmf: Skip legacy DRAM address commands on 1AH_M80H Shyam Sundar S K
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: Shyam Sundar S K @ 2026-11-24  7:52 UTC (permalink / raw)
  To: hansg, ilpo.jarvinen
  Cc: platform-driver-x86, Patil.Reddy, mario.limonciello,
	Shyam Sundar S K

This series enables the PMF driver features on the 1AH_M80H platform.

Patch 1 stops sending the legacy DRAM address commands on 1AH_M80H.
Patches 2-3 move the static slider handling to per version ops and add
the 1AH_M80H static slider support as per APMF 2.03.
Patches 4-5 add per-platform TA ops and the signature size handling for
RSA4K and alternatively signed policy binaries.
Patch 6 uses the system state enum in the TA policy action code.
Patch 7 adds the Smart PC builder support for the new TA.
Patch 8 remaps the metrics table on resume.
Patch 9 passes the custom BIOS inputs to the TA on 1AH_M80H.
Patch 10 shares the TA policy apply code between the TA versions.
Patch 11 extends the custom BIOS inputs to 20 on 1AH_M80H (APMF 2.03).

---
v4:
 - Rebase on the latest review-ilpo-next
 - New patch 2: move the static slider handling to per version sps_ops (Ilpo)
 - Patch 3: add the 1AH_M80H static slider support as a new set of sps_ops
 - Patch 11: add apmf_get_custom_policy_ext() and read the SBIOS requests
   through one helper so that the event handler has a single path (Ilpo)
 - Pick Mario's Reviewed-by for patch 5

v3: https://lore.kernel.org/all/20261118143034.3566684-1-Shyam-sundar.S-k@amd.com/
 - Rebase on the latest review-ilpo-next
 - Patch 4: also handle policy binaries signed with the alternative
   signing mechanism
 - Pick Mario's Reviewed-by for patches 5 and 10

v2: https://lore.kernel.org/all/20261106164429.30738-1-Shyam-sundar.S-k@amd.com/
 - Rebase on the latest review-ilpo-next
 - Pick Mario's Reviewed-by
 - Use ARRAY_SIZE() and rename the APTS state array to states[] (Ilpo)
 - Use SZ_256/SZ_512 for the PSP header and signature sizes (Ilpo)
 - Use max(), sizeof() of the destination, and a single update of the
   previous sample in amd_pmf_get_smu_info_v2() (Ilpo)
 - New patch 5: use enum system_state instead of literals (Ilpo)
 - Keep allocating the metrics buffer on 1AH_M80H and only skip the
   SET_DRAM_ADDR commands, the existing metrics paths still use it
 - Keep the power source notifier registration unchanged, skip the
   1AH_M80H slider update instead when the APTS defaults were not read
 - Read the v2 TA layout in the util interface on 1AH_M80H
 - Do not fail resume/restore when the metrics table remap fails
 - New patch 10: add the custom BIOS inputs 11-20 of APMF 2.03

v1: https://lore.kernel.org/all/20261011100554.1841309-1-Shyam-sundar.S-k@amd.com/

Patil Rajesh Reddy (1):
  platform/x86/amd/pmf: Abstract static slider handling through sps_ops

Shyam Sundar S K (10):
  platform/x86/amd/pmf: Skip legacy DRAM address commands on 1AH_M80H
  platform/x86/amd/pmf: Add 1AH_M80H static slider support
  platform/x86/amd/pmf: Abstract TA dispatch through ta_ops table
  platform/x86/amd/pmf: Get policy binary signature size from PSP header
  platform/x86/amd/pmf: Use enum system_state for the TA system state
    action
  platform/x86/amd/pmf: Add Smart PC builder support for 1AH_M80H
  platform/x86/amd/pmf: Remap metrics table on resume for 1AH_M80H
  platform/x86/amd/pmf: Add custom BIOS input support for 1AH_M80H
  platform/x86/amd/pmf: Share TA policy apply code between TA versions
  platform/x86/amd/pmf: Add extended custom BIOS inputs for 1AH_M80H

 drivers/platform/x86/amd/pmf/acpi.c    |  32 ++-
 drivers/platform/x86/amd/pmf/core.c    |  38 ++-
 drivers/platform/x86/amd/pmf/metrics.c |  16 +-
 drivers/platform/x86/amd/pmf/pmf.h     | 328 ++++++++++++++++++++++++-
 drivers/platform/x86/amd/pmf/spc.c     | 210 ++++++++++++++++
 drivers/platform/x86/amd/pmf/sps.c     | 181 +++++++++++++-
 drivers/platform/x86/amd/pmf/tee-if.c  | 261 +++++++++++++++++---
 drivers/platform/x86/amd/pmf/util.c    |  83 +++++--
 8 files changed, 1057 insertions(+), 92 deletions(-)


base-commit: 61c0dac952b9308884936d05cce97565a5c89af4
-- 
2.34.1


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2026-11-25 21:07 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-24  7:52 [PATCH v4 00/11] platform/x86/amd/pmf: Add 1AH_M80H support Shyam Sundar S K
2026-11-24  7:52 ` [PATCH v4 01/11] platform/x86/amd/pmf: Skip legacy DRAM address commands on 1AH_M80H Shyam Sundar S K
2026-11-24  7:52 ` [PATCH v4 02/11] platform/x86/amd/pmf: Abstract static slider handling through sps_ops Shyam Sundar S K
2026-11-24  7:52 ` [PATCH v4 03/11] platform/x86/amd/pmf: Add 1AH_M80H static slider support Shyam Sundar S K
2026-11-24  7:52 ` [PATCH v4 04/11] platform/x86/amd/pmf: Abstract TA dispatch through ta_ops table Shyam Sundar S K
2026-11-24  7:52 ` [PATCH v4 05/11] platform/x86/amd/pmf: Get policy binary signature size from PSP header Shyam Sundar S K
2026-11-24  7:52 ` [PATCH v4 06/11] platform/x86/amd/pmf: Use enum system_state for the TA system state action Shyam Sundar S K
2026-11-24  7:52 ` [PATCH v4 07/11] platform/x86/amd/pmf: Add Smart PC builder support for 1AH_M80H Shyam Sundar S K
2026-11-24  7:52 ` [PATCH v4 08/11] platform/x86/amd/pmf: Remap metrics table on resume " Shyam Sundar S K
2026-11-24  7:52 ` [PATCH v4 09/11] platform/x86/amd/pmf: Add custom BIOS input support " Shyam Sundar S K
2026-11-24  7:52 ` [PATCH v4 10/11] platform/x86/amd/pmf: Share TA policy apply code between TA versions Shyam Sundar S K
2026-11-24  7:52 ` [PATCH v4 11/11] platform/x86/amd/pmf: Add extended custom BIOS inputs for 1AH_M80H Shyam Sundar S K
2026-11-25 20:43 ` [PATCH v4 00/11] platform/x86/amd/pmf: Add 1AH_M80H support Ilpo Järvinen

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.