block: sed-opal: Introduce SUM_SET_LIST parameter and append it using 'add_token_u64'
authorRevanth Rajashekar <revanth.rajashekar@intel.com>
Fri, 8 Nov 2019 23:09:04 +0000 (16:09 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Nov 2019 16:49:15 +0000 (09:49 -0700)
commitc6da429ea988de8f9330405fc405ee32479b5bd5
tree1987e5274451bd6a603aadd3cc93f61cf3c95999
parent496074f94b19574c77240d3b3f84cfb1097de51d
block: sed-opal: Introduce SUM_SET_LIST parameter and append it using 'add_token_u64'

In function 'activate_lsp', rather than hard-coding the short atom
header(0x83), we need to let the function 'add_short_atom_header' append
the header based on the parameter being appended.

The parameter has been defined in Section 3.1.2.1 of
https://trustedcomputinggroup.org/wp-content/uploads/TCG_Storage-Opal_Feature_Set_Single_User_Mode_v1-00_r1-00-Final.pdf

Reviewed-by: Jon Derrick <jonathan.derrick@intel.com>
Signed-off-by: Revanth Rajashekar <revanth.rajashekar@intel.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/opal_proto.h
block/sed-opal.c