On 11/30/22 00:25, [email protected] wrote:
From: Greg Joyce <[email protected]>

Add IOC_OPAL_DISCOVERY ioctl to return raw discovery data to a SED Opal
application. This allows the application to display drive capabilities
and state.

Signed-off-by: Greg Joyce <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Jonathan Derrick <[email protected]>
---
  block/sed-opal.c              | 38 ++++++++++++++++++++++++++++++++---
  include/linux/sed-opal.h      |  1 +
  include/uapi/linux/sed-opal.h |  6 ++++++
  3 files changed, 42 insertions(+), 3 deletions(-)

Reviewed-by: Hannes Reinecke <[email protected]>

Cheers,

Hannes
--
Dr. Hannes Reinecke                Kernel Storage Architect
[email protected]                              +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Ivo Totev, Andrew
Myers, Andrew McDonald, Martje Boudien Moerman

Reply via email to