X86 platform drivers
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Handle bad policies for AMD-PMF better
@ 2025-04-23 13:18 Mario Limonciello
  2025-04-23 13:18 ` [PATCH v2 1/2] drivers/platform/x86/amd: pmf: Check for invalid sideloaded Smart PC Policies Mario Limonciello
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Mario Limonciello @ 2025-04-23 13:18 UTC (permalink / raw)
  To: mario.limonciello, hdegoede, ilpo.jarvinen, Patil.Reddy,
	Shyam-sundar.S-k
  Cc: platform-driver-x86

From: Mario Limonciello <mario.limonciello@amd.com>

There are assumptions in AMD-PMF code regarding policies being
valid both from firmware and from sideloading.  This series adds an
extra test to ensure policies aren't empty and also handles a memory
leak in the cleanup path for the sideloaded policies.

v2:
 * call memchr_inv from helper
 * Split out cleanup error to it's own patch
Mario Limonciello (2):
  drivers/platform/x86/amd: pmf: Check for invalid sideloaded Smart PC
    Policies
  drivers/platform/x86/amd: pmf: Check for invalid Smart PC Policies

 drivers/platform/x86/amd/pmf/tee-if.c | 23 ++++++++++++++++++++++-
 1 file changed, 22 insertions(+), 1 deletion(-)

-- 
2.43.0


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

end of thread, other threads:[~2025-04-29 14:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-23 13:18 [PATCH v2 0/2] Handle bad policies for AMD-PMF better Mario Limonciello
2025-04-23 13:18 ` [PATCH v2 1/2] drivers/platform/x86/amd: pmf: Check for invalid sideloaded Smart PC Policies Mario Limonciello
2025-04-23 13:18 ` [PATCH v2 2/2] drivers/platform/x86/amd: pmf: Check for invalid " Mario Limonciello
2025-04-23 14:13   ` Christian Heusel
2025-04-29 14:49 ` [PATCH v2 0/2] Handle bad policies for AMD-PMF better Ilpo Järvinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox