Skip to content

generic and PowerPC SED Opal keystore

[email protected] linux-block linuxppc-dev 9 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest3 patches 4 repliesApplied
  2. v7 posting 3/33 patches 13 repliesSuperseded
  3. v7 posting 2/33 patches 4 repliesSuperseded
Earlier versions · 6
VersionPostedPatchesRepliesStatus
v7 posting 1/33 patches0 repliesSuperseded
v6 posting 2/20 of 4 patches0 repliesSuperseded
v6 posting 1/23 patches0 repliesSuperseded
v5 posting 2/24 patches4 repliesSuperseded
v5 posting 1/23 patches0 repliesSuperseded
v43 patches6 repliesSuperseded

v4 from the cover letter

- scope reduced to cover just SED Opal keys
- base SED Opal keystore is now in SED block driver
- removed use of enum to indicate type
- refactored common code into common function that read and write use
- removed cast to void
- added use of SED Opal keystore functions to SED block driver

Patches in v8 Applied

#Subject and filesSizeRepliesApplied
1/3block:sed-opal: SED Opal keystoreinclude/linux/sed-opal-key.h+26 -00 replies
2/3block: sed-opal: keystore access for SED Opal keysblock/sed-opal.c+16 -20 replies
3/3powerpc/pseries: PLPKS SED Opal keystore supportarch/powerpc/platforms/pseries/Kconfig arch/powerpc/platforms/pseries/Makefile arch/powerpc/platforms/pseries/plpks_sed_ops.c +1 more+139 -01 reply

Reviews trailers per patch

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

PatchJonathan Derrick
1/3R-b
2/3R-b
3/3R-b

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

Read the v8 thread

Cover letter [PATCH v8 0/3] generic and PowerPC SED Opal keystore

From: Greg Joyce <[email protected]>

This patchset has gone through numerous rounds of review and all comments/suggetions have been addressed. The reviews have covered all relevant areas including reviews by block and keyring developers as well as the SED Opal maintainer.

TCG SED Opal is a specification from The Trusted Computing Group that allows self encrypting storage devices (SED) to be locked at power on and require an authentication key to unlock the drive.

PowerPC/pseries versions of key functions provide read/write access to SED Opal keys in the PLPKS keystore.

The SED block driver has been modified to read the SED Opal keystore to populate a key in the SED Opal keyring. Changes to the SED Opal key will be written to the SED Opal keystore.

Changelog
v8: - rebased to 6.6-rc4
- fixed issues using clang (thanks Nathan Chancellor and Nick Desaulniers)
- fixed crash if PLPKS is not present for pseries (thanks Michael Ellerman)

v7: - rebased to for-6.5/block

v6: - squashed two commits (suggested by Andrew Donnellan)

v5: - updated to reflect changes in PLPKS API

v4:
- scope reduced to cover just SED Opal keys
- base SED Opal keystore is now in SED block driver
- removed use of enum to indicate type
- refactored common code into common function that read and write use
- removed cast to void
- added use of SED Opal keystore functions to SED block driver

v3:
- No code changes, but per reviewer requests, adding additional mailing lists(keyring, EFI) for wider review.

v2:
- Include feedback from Gregory Joyce, Eric Richter and Murilo Opsfelder Araujo.
- Include suggestions from Michael Ellerman.
- Moved a dependency from generic SED code to this patchset. This patchset now builds of its own.

Greg Joyce (3):
block:sed-opal: SED Opal keystore
block: sed-opal: keystore access for SED Opal keys powerpc/pseries: PLPKS SED Opal keystore support

 arch/powerpc/platforms/pseries/Kconfig        |   6 +
 arch/powerpc/platforms/pseries/Makefile       |   1 +
 .../powerpc/platforms/pseries/plpks_sed_ops.c | 131 ++++++++++++++++++
 block/Kconfig                                 |   1 +
 block/sed-opal.c                              |  18 ++-
 include/linux/sed-opal-key.h                  |  26 ++++
 6 files changed, 181 insertions(+), 2 deletions(-)
 create mode 100644 arch/powerpc/platforms/pseries/plpks_sed_ops.c
 create mode 100644 include/linux/sed-opal-key.h
Signature · 1 line
[email protected]