Skip to content

generic and PowerPC accessor functions for arch keystore

[email protected] keyrings linux-block linux-efi linuxppc-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2lib: generic accessor functions for arch keystoreinclude/linux/arch_vars.h lib/Makefile lib/arch_vars.c+49 -12 replies
2/2powerpc/pseries: Override lib/arch_vars.c functionsarch/powerpc/platforms/pseries/Makefile arch/powerpc/platforms/pseries/plpks_arch_ops.c+168 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v3a 0/2] generic and PowerPC accessor functions for arch keystore

From: Greg Joyce <[email protected]>

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

Architectural neutral functions have been defined for accessing architecture specific variable store. The neutral functions are defined as weak so that they may be superseded by platform specific versions. The functions have been desigined so that they can support a large range of platforms/architectures.

PowerPC/pseries versions of these functions provide read/write access to the non-volatile PLPKS data store.

This functionality allows kernel code such as the block SED opal driver to store authentication keys in a secure permanent store.

Greg Joyce (2):
lib: define generic accessor functions for arch specific keystore powerpc/pseries: Override lib/arch_vars.c functions

 arch/powerpc/platforms/pseries/Makefile       |   1 +
 .../platforms/pseries/plpks_arch_ops.c        | 167 ++++++++++++++++++
 include/linux/arch_vars.h                     |  23 +++
 lib/Makefile                                  |   2 +-
 lib/arch_vars.c                               |  25 +++
 5 files changed, 217 insertions(+), 1 deletion(-)
 create mode 100644 arch/powerpc/platforms/pseries/plpks_arch_ops.c
 create mode 100644 include/linux/arch_vars.h
 create mode 100644 lib/arch_vars.c

base-commit: ff6992735ade75aae3e35d16b17da1008d753d28

Signature · 1 line
2.27.0