Skip to content

Handle bad policies for AMD-PMF better

Mario Limonciello platform-driver-x86 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v12 patches 2 repliesSuperseded

Changes in v2 from the cover letter

* 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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drivers/platform/x86/amd: pmf: Check for invalid sideloaded Smart PC Policiesdrivers/platform/x86/amd/pmf/tee-if.c+6 -10 replies
2/2drivers/platform/x86/amd: pmf: Check for invalid Smart PC Policiesdrivers/platform/x86/amd/pmf/tee-if.c+16 -01 reply

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchChristian Heusel
1/2
2/2T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] Handle bad policies for AMD-PMF better

From: Mario Limonciello <[email protected]>

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(-)
Signature · 1 line
2.43.0