block: sed-opal: PSID reverttper capability
authorRevanth Rajashekar <revanth.rajashekar@intel.com>
Thu, 27 Jun 2019 22:30:02 +0000 (16:30 -0600)
committerJens Axboe <axboe@kernel.dk>
Sat, 29 Jun 2019 15:40:30 +0000 (09:40 -0600)
commit5e4c7cf60ec3cad59703c203de1dfb31ea608e6e
tree09f96d4002afe2a879e881dbbdca54362f2d4b63
parentfbbe7c86b483878da4a2ec7b899e0814195942af
block: sed-opal: PSID reverttper capability

PSID is a 32 character password printed on the drive label,
to prove its physical access. This PSID reverttper function
is very useful to regain the control over the drive when it
is locked and the user can no longer access it because of some
failures. However, *all the data on the drive is completely
erased*. This method is advisable only when the user is exhausted
of all other recovery methods.

PSID capabilities are described in:
https://trustedcomputinggroup.org/wp-content/uploads/TCG_Storage-Opal_Feature_Set_PSID_v1.00_r1.00.pdf

Signed-off-by: Revanth Rajashekar <revanth.rajashekar@intel.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/sed-opal.c
include/linux/sed-opal.h
include/uapi/linux/sed-opal.h