]> git.karo-electronics.de Git - karo-tx-linux.git/commit
nvme: Add Support for Opal: Unlock from S3 & Opal Allocation/Ioctls
authorScott Bauer <scott.bauer@intel.com>
Fri, 3 Feb 2017 19:50:32 +0000 (12:50 -0700)
committerJens Axboe <axboe@fb.com>
Mon, 6 Feb 2017 16:44:21 +0000 (09:44 -0700)
commita98e58e54fbd0c80b6a46a7cac6e231eed3b3efa
treefa346839016a9667d47cf28d0744828d9db93006
parent455a7b238cd6bc68c4a550cbbd37c1e22b64f71c
nvme: Add Support for Opal: Unlock from S3 & Opal Allocation/Ioctls

This patch implements the necessary logic to unlock an Opal
enabled device coming back from an S3.

The patch also implements the SED/Opal allocation necessary to support
the opal ioctls.

Signed-off-by: Scott Bauer <scott.bauer@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/core.c
drivers/nvme/host/nvme.h
drivers/nvme/host/pci.c