]> www.infradead.org Git - users/jedix/linux-maple.git/commit
platform/x86/amd/pmf: Propagate PMF-TA return codes
authorShyam Sundar S K <Shyam-sundar.S-k@amd.com>
Wed, 5 Mar 2025 04:58:41 +0000 (10:28 +0530)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Wed, 5 Mar 2025 11:33:38 +0000 (13:33 +0200)
commit9ba93cb8212d62bccd8b41b8adb6656abf37280a
treed269755d86d977caaf6a4b54fe2e81ef8e646e32
parentf317f38e7fbb15a0d8329289fef8cf034938fb4f
platform/x86/amd/pmf: Propagate PMF-TA return codes

In the amd_pmf_invoke_cmd_init() function within the PMF driver ensure
that the actual result from the PMF-TA is returned rather than a generic
EIO. This change allows for proper handling of errors originating from the
PMF-TA.

Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Co-developed-by: Patil Rajesh Reddy <Patil.Reddy@amd.com>
Signed-off-by: Patil Rajesh Reddy <Patil.Reddy@amd.com>
Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Link: https://lore.kernel.org/r/20250305045842.4117767-1-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/tee-if.c