diff options
author | Greg Joyce <gjoyce@linux.vnet.ibm.com> | 2023-07-21 23:15:33 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-08-22 19:10:26 +0200 |
commit | 5c82efc1aee8eb0919aa67a0d2559de5a326bd7c (patch) | |
tree | d62d84572313018c391069dec40bda90f4db857a /net/dsa/master.c | |
parent | block: sed-opal: Implement IOC_OPAL_DISCOVERY (diff) | |
download | linux-5c82efc1aee8eb0919aa67a0d2559de5a326bd7c.tar.xz linux-5c82efc1aee8eb0919aa67a0d2559de5a326bd7c.zip |
block: sed-opal: Implement IOC_OPAL_REVERT_LSP
This is used in conjunction with IOC_OPAL_REVERT_TPR to return a drive to
Original Factory State without erasing the data. If IOC_OPAL_REVERT_LSP
is called with opal_revert_lsp.options bit OPAL_PRESERVE set prior
to calling IOC_OPAL_REVERT_TPR, the drive global locking range will not
be erased.
Signed-off-by: Greg Joyce <gjoyce@linux.vnet.ibm.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jonathan Derrick <jonathan.derrick@linux.dev>
Acked-by: Jarkko Sakkinen <jarkko@kernel.org>
Link: https://lore.kernel.org/r/20230721211534.3437070-3-gjoyce@linux.vnet.ibm.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'net/dsa/master.c')
0 files changed, 0 insertions, 0 deletions