]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sed-opal: add IOC_OPAL_REACTIVATE_LSP.
authorOndrej Kozina <okozina@redhat.com>
Fri, 6 Feb 2026 14:17:58 +0000 (15:17 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 9 Mar 2026 20:29:59 +0000 (14:29 -0600)
commitaca086ff27c3f67e81617e4b063d1126544a4f19
treee11efb1aa81a00bbbf7d857fab33ea4c80b559ce
parentc6c9dc91cb5fd30d2e11e7f2ae570e614b013ee1
sed-opal: add IOC_OPAL_REACTIVATE_LSP.

This adds the 'Reactivate' method as described in the
"TCG Storage Opal SSC Feature Set: Single User Mode"
document (ch. 3.1.1.1).

The method enables switching an already active SED OPAL2 device,
with appropriate firmware support for Single User Mode (SUM),
to or from SUM.

Signed-off-by: Ondrej Kozina <okozina@redhat.com>
Reviewed-and-tested-by: Milan Broz <gmazyland@gmail.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/opal_proto.h
block/sed-opal.c
include/linux/sed-opal.h
include/uapi/linux/sed-opal.h