Return-Path: From: Christoph Hellwig To: Tejun Heo , "Martin K . Petersen" Cc: Scott Bauer , Jonathan Derrick , Rafael Antognolli , Robert Elliott , linux-ide@vger.kernel.org, linux-block@vger.kernel.org, linux-scsi@vger.kernel.org Subject: TCG Opal support for sd.c Date: Mon, 19 Jun 2017 14:26:45 +0200 Message-Id: <20170619122646.32666-1-hch@lst.de> Sender: linux-ide-owner@vger.kernel.org List-ID: Hi all, this patch adds TCG Opal support to the scsi disk driver. As far as I know only SATA disks actually support OPAL, and as Martin fears RSOC-related regressions the support is conditional in a flag in struct scsi_device, which so far only libata sets. Because of that we should merge the patch through the libata tree with ACKs from the SCSI side. Changes from the previous version: - add the new security_supported flag - add a call to opal_unlock_from_suspend