From: Mario Limonciello <superm1@kernel.org>
To: mario.limonciello@amd.com, hdegoede@redhat.com,
ilpo.jarvinen@linux.intel.com, Patil.Reddy@amd.com,
Shyam-sundar.S-k@amd.com
Cc: platform-driver-x86@vger.kernel.org
Subject: [PATCH v2 0/2] Handle bad policies for AMD-PMF better
Date: Wed, 23 Apr 2025 08:18:43 -0500 [thread overview]
Message-ID: <20250423132002.3984997-1-superm1@kernel.org> (raw)
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
next reply other threads:[~2025-04-23 13:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-23 13:18 Mario Limonciello [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250423132002.3984997-1-superm1@kernel.org \
--to=superm1@kernel.org \
--cc=Patil.Reddy@amd.com \
--cc=Shyam-sundar.S-k@amd.com \
--cc=hdegoede@redhat.com \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=mario.limonciello@amd.com \
--cc=platform-driver-x86@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox