diff options
| author | Srish Srinivasan <[email protected]> | 2025-06-10 21:19:05 +0000 |
|---|---|---|
| committer | Madhavan Srinivasan <[email protected]> | 2025-07-09 03:46:17 +0000 |
| commit | fbf355f32b98903c572544ead7fc0db79583c3a2 (patch) | |
| tree | 2dc36344173e25b0ca20f09d6a8c47ff30a64fca /rust/helpers/task.c | |
| parent | (powerpc/512) Fix possible `dma_unmap_single()` on uninitialized pointer (diff) | |
| download | kernel-fbf355f32b98903c572544ead7fc0db79583c3a2.tar.gz kernel-fbf355f32b98903c572544ead7fc0db79583c3a2.zip | |
powerpc/pseries: Correct secvar format representation for static key management
On a PLPKS enabled PowerVM LPAR, the secvar format property for static
key management is misrepresented as "ibm,plpks-sb-unknown", creating
reason for confusion.
Static key management mode uses fixed, built-in keys. Dynamic key
management mode allows keys to be updated in production to handle
security updates without firmware rebuilds.
Define a function named plpks_get_sb_keymgmt_mode() to retrieve the
key management mode based on the existence of the SB_VERSION property
in the firmware.
Set the secvar format property to either "ibm,plpks-sb-v<version>" or
"ibm,plpks-sb-v0" based on the key management mode, and return the
length of the secvar format property.
Co-developed-by: Souradeep <[email protected]>
Signed-off-by: Souradeep <[email protected]>
Signed-off-by: Srish Srinivasan <[email protected]>
Tested-by: R Nageswara Sastry <[email protected]>
Reviewed-by: Mimi Zohar <[email protected]>
Reviewed-by: Stefan Berger <[email protected]>
Reviewed-by: Nayna Jain <[email protected]>
Reviewed-by: Andrew Donnellan <[email protected]>
Signed-off-by: Madhavan Srinivasan <[email protected]>
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions
