]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform/x86/amd/pmf: Preserve custom BIOS inputs for evaluating the policies
authorShyam Sundar S K <Shyam-sundar.S-k@amd.com>
Mon, 1 Sep 2025 11:01:38 +0000 (16:31 +0530)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Thu, 11 Sep 2025 08:03:44 +0000 (11:03 +0300)
commitb21ec88340b7e9dbaac13d9902f1e8166932c277
treec871453bdcad00651a11566f752392c19b2cb970
parent04199ef48ac2c5f0985a54171da47a218c37b00f
platform/x86/amd/pmf: Preserve custom BIOS inputs for evaluating the policies

The current code fails to send multiple BIOS input data to the PMF-TA
for policy condition evaluation. Only the most recent BIOS input data is
properly sent to the PMF-TA, while previous inputs are overwritten with
the zeros.

To address this issue, the BIOS input data should be stored and passed on
to the PMF-TA.

Co-developed-by: Patil Rajesh Reddy <Patil.Reddy@amd.com>
Signed-off-by: Patil Rajesh Reddy <Patil.Reddy@amd.com>
Tested-by: Yijun Shen <Yijun.Shen@Dell.com>
Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Link: https://patch.msgid.link/20250901110140.2519072-8-Shyam-sundar.S-k@amd.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/amd/pmf/pmf.h
drivers/platform/x86/amd/pmf/spc.c