powerpc/pseries: define driver for Platform KeyStore
authorNayna Jain <nayna@linux.ibm.com>
Sat, 23 Jul 2022 11:30:46 +0000 (07:30 -0400)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 28 Jul 2022 06:22:13 +0000 (16:22 +1000)
commit2454a7af0f2a42918aa972147a0bec38e6656cd8
tree4e87b1a302abec249aa0fa000ef17a1d8da878ef
parentd80f6de9d601c30b53c17f00cb7cfe3169f2ddad
powerpc/pseries: define driver for Platform KeyStore

PowerVM provides an isolated Platform Keystore(PKS) storage allocation
for each LPAR with individually managed access controls to store
sensitive information securely. It provides a new set of hypervisor
calls for Linux kernel to access PKS storage.

Define POWER LPAR Platform KeyStore(PLPKS) driver using H_CALL interface
to access PKS storage.

Signed-off-by: Nayna Jain <nayna@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220723113048.521744-2-nayna@linux.ibm.com
arch/powerpc/include/asm/hvcall.h
arch/powerpc/platforms/pseries/Kconfig
arch/powerpc/platforms/pseries/Makefile
arch/powerpc/platforms/pseries/plpks.c [new file with mode: 0644]
arch/powerpc/platforms/pseries/plpks.h [new file with mode: 0644]