Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

sed-opal: add UID of Locking Table.

As described in ch. 6.3, Table 240 in TCG Storage
Architecture Core Specification document.

It's also referenced in TCG Storage Opal SSC Feature Set:
Single User Mode document, ch. 3.1.1.1 Reactivate method.

It will be used later in Reactivate method implemetation
for sed-opal interface.

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>

authored by

Ondrej Kozina and committed by
Jens Axboe
b26f29b6 1f318b96

+3
+1
block/opal_proto.h
··· 125 125 OPAL_LOCKING_INFO_TABLE, 126 126 OPAL_ENTERPRISE_LOCKING_INFO_TABLE, 127 127 OPAL_DATASTORE, 128 + OPAL_LOCKING_TABLE, 128 129 /* C_PIN_TABLE object ID's */ 129 130 OPAL_C_PIN_MSID, 130 131 OPAL_C_PIN_SID,
+2
block/sed-opal.c
··· 160 160 { 0x00, 0x00, 0x08, 0x01, 0x00, 0x00, 0x00, 0x00 }, 161 161 [OPAL_DATASTORE] = 162 162 { 0x00, 0x00, 0x10, 0x01, 0x00, 0x00, 0x00, 0x00 }, 163 + [OPAL_LOCKING_TABLE] = 164 + { 0x00, 0x00, 0x08, 0x02, 0x00, 0x00, 0x00, 0x00 }, 163 165 164 166 /* C_PIN_TABLE object ID's */ 165 167 [OPAL_C_PIN_MSID] =