diff options
author | Greg Joyce <gjoyce@linux.vnet.ibm.com> | 2023-07-21 16:15:34 -0500 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-08-22 11:10:26 -0600 |
commit | 3bfeb61256643281ac4be5b8a57e9d9da3db4335 (patch) | |
tree | 71ffd9e63c62a0b114a72cd258e107db66473c7b /block/Kconfig | |
parent | 5c82efc1aee8eb0919aa67a0d2559de5a326bd7c (diff) | |
download | linux-rpi-3bfeb61256643281ac4be5b8a57e9d9da3db4335.tar.gz linux-rpi-3bfeb61256643281ac4be5b8a57e9d9da3db4335.tar.bz2 linux-rpi-3bfeb61256643281ac4be5b8a57e9d9da3db4335.zip |
block: sed-opal: keyring support for SED keys
Extend the SED block driver so it can alternatively
obtain a key from a sed-opal kernel keyring. The SED
ioctls will indicate the source of the key, either
directly in the ioctl data or from the keyring.
This allows the use of SED commands in scripts such as
udev scripts so that drives may be automatically unlocked
as they become available.
Signed-off-by: Greg Joyce <gjoyce@linux.vnet.ibm.com>
Reviewed-by: Jonathan Derrick <jonathan.derrick@linux.dev>
Acked-by: Jarkko Sakkinen <jarkko@kernel.org>
Link: https://lore.kernel.org/r/20230721211534.3437070-4-gjoyce@linux.vnet.ibm.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/Kconfig')
-rw-r--r-- | block/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/block/Kconfig b/block/Kconfig index 1a13ef0b1ca1..f1364d1c0d93 100644 --- a/block/Kconfig +++ b/block/Kconfig @@ -184,6 +184,8 @@ config BLK_DEBUG_FS_ZONED config BLK_SED_OPAL bool "Logic for interfacing with Opal enabled SEDs" + depends on KEYS + select PSERIES_PLPKS if PPC_PSERIES help Builds Logic for interfacing with Opal enabled controllers. Enabling this option enables users to setup/unlock/lock |