]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
powerpc/pseries: move the PLPKS config inside its own sysfs directory
authorSrish Srinivasan <ssrish@linux.ibm.com>
Tue, 27 Jan 2026 14:52:24 +0000 (20:22 +0530)
committerMadhavan Srinivasan <maddy@linux.ibm.com>
Fri, 30 Jan 2026 03:57:26 +0000 (09:27 +0530)
commit40850c909fcf2a66237dea6b96c8e12003cf6d43
tree7afa9e669f3a295cf82e0a5183a67f0ea5e351e7
parent88372ad4b060a283a475f0ebc31451c9059ebaa5
powerpc/pseries: move the PLPKS config inside its own sysfs directory

The /sys/firmware/secvar/config directory represents Power LPAR Platform
KeyStore (PLPKS) configuration properties such as max_object_size, signed_
update_algorithms, supported_policies, total_size, used_space, and version.
These attributes describe the PLPKS, and not the secure boot variables
(secvars).

Create /sys/firmware/plpks directory and move the PLPKS config inside this
directory. For backwards compatibility, create a soft link from the secvar
sysfs directory to this config and emit a warning stating that the older
sysfs path has been deprecated. Separate out the plpks specific
documentation from secvar.

Signed-off-by: Srish Srinivasan <ssrish@linux.ibm.com>
Tested-by: Nayna Jain <nayna@linux.ibm.com>
Reviewed-by: Mimi Zohar <zohar@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-3-ssrish@linux.ibm.com
Documentation/ABI/testing/sysfs-firmware-plpks [new file with mode: 0644]
Documentation/ABI/testing/sysfs-secvar
arch/powerpc/include/asm/plpks.h
arch/powerpc/include/asm/secvar.h
arch/powerpc/kernel/secvar-sysfs.c
arch/powerpc/platforms/pseries/Makefile
arch/powerpc/platforms/pseries/plpks-secvar.c
arch/powerpc/platforms/pseries/plpks-sysfs.c [new file with mode: 0644]