Cmnt: [SRU][Q][PATCH 0/9] Enable PMF on AMD HPT/STX/KRK
Stefan Bader
stefan.bader at canonical.com
Wed Dec 3 08:52:01 UTC 2025
On 03/12/2025 02:49, Tim Whisonant wrote:
> On Tue, Dec 02, 2025 at 02:00:45PM +0800, AceLan Kao wrote:
>> From: "Chia-Lin Kao (AceLan)" <acelan.kao at canonical.com>
>>
>> BugLink: https://bugs.launchpad.net/bugs/2125022
>>
>> [Impact]
>> It is for basic AMD HPT/STX/KRK function. Current PMF driver missing two features:
>> 1. For the thermal policy input, the AMD Fusion Sensor Hub could not pass the data to PMF driver.
>> 2. PMF driver could not parse the thermal policy binary which is stored in the BIOS.
>>
>> [Fix]
>> Need this series of patches which is included in v6.18-rc1
>> https://lore.kernel.org/platform-driver-x86/175758069520.12104.11266006471249026373.b4-ty@linux.intel.com/T/#t
>>
>> 2ab7713d6e94 platform/x86/amd/pmf: Add debug logs for pending requests and custom BIOS inputs
>> 62214d942d2b platform/x86/amd/pmf: Call enact function sooner to process early pending requests
>> b21ec88340b7 platform/x86/amd/pmf: Preserve custom BIOS inputs for evaluating the policies
>> 04199ef48ac2 platform/x86/amd/pmf: Add custom BIOS input support for AMD_CPU_ID_PS
>> 4389d38080d7 platform/x86/amd/pmf: Add helper to verify BIOS input notifications are enable/disable
>> 37336ecb06a8 platform/x86/amd/pmf: Update ta_pmf_action structure member
>> ebc68a3451ce platform/x86/amd/pmf: Extend custom BIOS inputs for more policies
>> d82e3d2dd0ba platform/x86/amd/pmf: Fix the custom bios input handling mechanism
>> f10ea2df9e4d platform/x86/amd/pmf: Add support for adjusting PMF PPT and PPT APU thresholds
>>
>> [Test]
>> PMF driver is loaded and function works properly on AMD platforms.
>>
>> [Where problems could occur]
>> It's hard to evaluate the problems those patches may occur. Most of them
>> are withing amd/pmf, so it only impact the amd pmf functionailties.
>>
>> Shyam Sundar S K (9):
>> platform/x86/amd/pmf: Add support for adjusting PMF PPT and PPT APU
>> thresholds
>> platform/x86/amd/pmf: Fix the custom bios input handling mechanism
>> platform/x86/amd/pmf: Extend custom BIOS inputs for more policies
>> platform/x86/amd/pmf: Update ta_pmf_action structure member
>> platform/x86/amd/pmf: Add helper to verify BIOS input notifications
>> are enable/disable
>> platform/x86/amd/pmf: Add custom BIOS input support for AMD_CPU_ID_PS
>> platform/x86/amd/pmf: Preserve custom BIOS inputs for evaluating the
>> policies
>> platform/x86/amd/pmf: Call enact function sooner to process early
>> pending requests
>> platform/x86/amd/pmf: Add debug logs for pending requests and custom
>> BIOS inputs
>>
>> drivers/platform/x86/amd/pmf/acpi.c | 87 +++++++++++++++++++++++++--
>> drivers/platform/x86/amd/pmf/pmf.h | 77 +++++++++++++++++++++---
>> drivers/platform/x86/amd/pmf/spc.c | 80 +++++++++++++++++++++---
>> drivers/platform/x86/amd/pmf/tee-if.c | 22 ++++++-
>> 4 files changed, 240 insertions(+), 26 deletions(-)
>>
>> --
>> 2.43.0
>>
>
> Hi AceLan, I noticed that the armhf build is failing here:
> http://ktml-board.kernel/ktml/logs/1764655362.3245424_1.ktml-board,U=10222:2,.questing:linux.build_log.txt
>
> Is this expected?
Hi Tim,
are those builds cdb based? Questing starts to have code which enables
tools shipped with the kernel to be cross-compiled. But that requires a
specific dependency resolution which I believe cdb has not implemented,
yet. Not sure why only armhf in this case. I remember a similar log but
cannot remember it was armhf or any non-x86 arch.
-Stefan
>
> Tim
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xE8675DEECBEECEA3.asc
Type: application/pgp-keys
Size: 48643 bytes
Desc: OpenPGP public key
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20251203/990702a4/attachment-0001.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20251203/990702a4/attachment-0001.sig>
More information about the kernel-team
mailing list