linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3a 0/2] generic and PowerPC accessor functions for arch keystore
@ 2022-08-08 15:43 gjoyce
  2022-08-08 15:43 ` [PATCH v3a 1/2] lib: generic " gjoyce
  2022-08-08 15:43 ` [PATCH v3a 2/2] powerpc/pseries: Override lib/arch_vars.c functions gjoyce
  0 siblings, 2 replies; 6+ messages in thread
From: gjoyce @ 2022-08-08 15:43 UTC (permalink / raw)
  To: linux-block
  Cc: axboe, linux-efi, gjoyce, nayna, keyrings, jonathan.derrick,
	brking, akpm, msuchanek, linuxppc-dev

From: Greg Joyce <gjoyce@linux.vnet.ibm.com>

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


Signed-off-by: Greg Joyce <gjoyce@linux.vnet.ibm.com>
base-commit: ff6992735ade75aae3e35d16b17da1008d753d28
-- 
2.27.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-08-08 16:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-08 15:43 [PATCH v3a 0/2] generic and PowerPC accessor functions for arch keystore gjoyce
2022-08-08 15:43 ` [PATCH v3a 1/2] lib: generic " gjoyce
2022-08-08 16:31   ` Christophe Leroy
2022-08-08 16:42     ` Michal Suchánek
2022-08-08 15:43 ` [PATCH v3a 2/2] powerpc/pseries: Override lib/arch_vars.c functions gjoyce
2022-08-08 16:39   ` Christophe Leroy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).