Skip to content

Export PSP security attributes

Mario Limonciello linux-crypto lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 3 repliesIn review
  2. v24 patches 4 repliesSuperseded
  3. v14 patches 0 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4crypto: ccp: cache capability into psp devicedrivers/crypto/ccp/psp-dev.c drivers/crypto/ccp/psp-dev.h+22 -200 replies
2/4crypto: ccp: Export PSP security bits to userspaceDocumentation/ABI/testing/sysfs-driver-ccp drivers/crypto/ccp/psp-dev.h drivers/crypto/ccp/sp-pci.c+166 -00 replies
3/4crypto: ccp: Allow PSP driver to load without SEV/TEE supportdrivers/crypto/ccp/psp-dev.c+0 -161 reply
4/4crypto: ccp: When TSME and SME both detected notify userdrivers/crypto/ccp/psp-dev.c+6 -01 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchTom Lendacky
1/4A-b
2/4A-b
3/4A-b
4/4A-b

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

Read the v3 thread

Cover letter [PATCH v3 0/4] Export PSP security attributes

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
Signature · 1 line
2.34.1