]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
sd: add support for TCG OPAL self encrypting disks
authorChristoph Hellwig <hch@lst.de>
Mon, 19 Jun 2017 12:26:46 +0000 (14:26 +0200)
committerTejun Heo <tj@kernel.org>
Thu, 29 Jun 2017 14:21:15 +0000 (10:21 -0400)
commitd80210f25ff0050245556bb8ce84d280d8fa4ca7
tree33e29cea8ae969eb19c884b9bc18bf577fe1589c
parentc8ccf812c36bfc939063b83614beaa2562828e07
sd: add support for TCG OPAL self encrypting disks

Just wire up the generic TCG OPAL infrastructure to the SCSI disk driver
and the Security In/Out commands.

Note that I don't know of any actual SCSI disks that do support TCG OPAL,
but this is required to support ATA disks through libata.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/libata-scsi.c
drivers/scsi/sd.c
drivers/scsi/sd.h
include/scsi/scsi_device.h