]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
sed-opal: add Admin1PIN parameter.
authorOndrej Kozina <okozina@redhat.com>
Fri, 6 Feb 2026 14:17:57 +0000 (15:17 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 9 Mar 2026 20:29:59 +0000 (14:29 -0600)
As desribed in ch. 3.1.1.1.1.3 of TCG Storage Opal SSC Feature Set:
Single User Mode document.

To be used later in Reactivate method implementation.

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

index b9877eacfe9142d9e4a0e294a7d817333586b9da..3ccee5977c1058cf008f35b6566334acb6b9fd51 100644 (file)
@@ -226,6 +226,7 @@ enum opal_lockingstate {
 enum opal_parameter {
        OPAL_SUM_SET_LIST = 0x060000,
        OPAL_SUM_RANGE_POLICY = 0x060001,
+       OPAL_SUM_ADMIN1_PIN = 0x060002,
 };
 
 enum opal_revertlsp {