From: Mario Limonciello <mario.limonciello@amd.com>
To: Tom Lendacky <thomas.lendacky@amd.com>,
John Allen <john.allen@amd.com>,
Herbert Xu <herbert@gondor.apana.org.au>,
"David S . Miller" <davem@davemloft.net>
Cc: open list <linux-kernel@vger.kernel.org>,
"open list:AMD CRYPTOGRAPHIC COPROCESSOR (CCP) DRIVER"
<linux-crypto@vger.kernel.org>,
Kerneis Gabriel <Gabriel.Kerneis@ssi.gouv.fr>,
Richard Hughes <hughsient@gmail.com>,
"Mario Limonciello" <mario.limonciello@amd.com>
Subject: [PATCH v3 0/4] Export PSP security attributes
Date: Thu, 31 Mar 2022 16:12:09 -0500 [thread overview]
Message-ID: <20220331211213.2844-1-mario.limonciello@amd.com> (raw)
Select AMD SOCs include the ability to export capabilities that
have been activated or detected by the platform security processor.
This information is useful for both system designers as well as system
administrators to ensure that the system has been properly locked down
to their expectations.
Software such as fwupd will also be modified to use this information
as part of the calculations for a security level score that may be
presented to a user.
This series also adds the ability to detect that TSME and SME are both
activated simultaneously to notify a user. Previously a user could turn
on TSME and SME at the same time, but the kernel was unable to detect
that TSME was enabled in the OS.
This information is evaluated "too late" right now in the kernel to stop
the kernel from enabling SME, but if that is desirable at a later time
some of the early code can be modified to read the same information and
make that decision.
Mario Limonciello (4):
crypto: ccp: cache capability into psp device
crypto: ccp: Export PSP security bits to userspace
crypto: ccp: Allow PSP driver to load without SEV/TEE support
crypto: ccp: When TSME and SME both detected notify user
Documentation/ABI/testing/sysfs-driver-ccp | 87 ++++++++++++++++++++++
drivers/crypto/ccp/psp-dev.c | 49 +++++-------
drivers/crypto/ccp/psp-dev.h | 22 ++++++
drivers/crypto/ccp/sp-pci.c | 62 +++++++++++++++
4 files changed, 189 insertions(+), 31 deletions(-)
create mode 100644 Documentation/ABI/testing/sysfs-driver-ccp
--
2.34.1
next reply other threads:[~2022-03-31 21:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-31 21:12 Mario Limonciello [this message]
2022-03-31 21:12 ` [PATCH v3 1/4] crypto: ccp: cache capability into psp device Mario Limonciello
2022-03-31 21:12 ` [PATCH v3 2/4] crypto: ccp: Export PSP security bits to userspace Mario Limonciello
2022-03-31 21:12 ` [PATCH v3 3/4] crypto: ccp: Allow PSP driver to load without SEV/TEE support Mario Limonciello
2022-04-05 21:05 ` Tom Lendacky
2022-03-31 21:12 ` [PATCH v3 4/4] crypto: ccp: When TSME and SME both detected notify user Mario Limonciello
2022-04-05 21:06 ` Tom Lendacky
2022-04-08 8:32 ` [PATCH v3 0/4] Export PSP security attributes Herbert Xu
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=20220331211213.2844-1-mario.limonciello@amd.com \
--to=mario.limonciello@amd.com \
--cc=Gabriel.Kerneis@ssi.gouv.fr \
--cc=davem@davemloft.net \
--cc=herbert@gondor.apana.org.au \
--cc=hughsient@gmail.com \
--cc=john.allen@amd.com \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=thomas.lendacky@amd.com \
/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
all inboxes | Powered by JetHome®