]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
pseries/plpks: expose PowerVM wrapping features via the sysfs
authorSrish Srinivasan <ssrish@linux.ibm.com>
Tue, 27 Jan 2026 14:52:25 +0000 (20:22 +0530)
committerMadhavan Srinivasan <maddy@linux.ibm.com>
Fri, 30 Jan 2026 03:57:26 +0000 (09:27 +0530)
commit447eb1d5ef00f7da918221ed690cac980385d993
treec69c6a957021f8bd53a0983332ec6f30c6144836
parent40850c909fcf2a66237dea6b96c8e12003cf6d43
pseries/plpks: expose PowerVM wrapping features via the sysfs

Starting with Power11, PowerVM supports a new feature called "Key Wrapping"
that protects user secrets by wrapping them using a hypervisor generated
wrapping key. The status of this feature can be read by the
H_PKS_GET_CONFIG HCALL.

Expose the Power LPAR Platform KeyStore (PLPKS) wrapping features config
via the sysfs file /sys/firmware/plpks/config/wrapping_features.

Signed-off-by: Srish Srinivasan <ssrish@linux.ibm.com>
Tested-by: Nayna Jain <nayna@linux.ibm.com>
Reviewed-by: Nayna Jain <nayna@linux.ibm.com>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20260127145228.48320-4-ssrish@linux.ibm.com
Documentation/ABI/testing/sysfs-firmware-plpks
arch/powerpc/include/asm/hvcall.h
arch/powerpc/include/asm/plpks.h
arch/powerpc/platforms/pseries/plpks-sysfs.c
arch/powerpc/platforms/pseries/plpks.c