From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751183AbcFXIAr (ORCPT ); Fri, 24 Jun 2016 04:00:47 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:54679 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751101AbcFXIAq (ORCPT ); Fri, 24 Jun 2016 04:00:46 -0400 Date: Fri, 24 Jun 2016 01:00:44 -0700 From: Christoph Hellwig To: Jethro Beekman Cc: Christoph Hellwig , keith.busch@intel.com, axboe@fb.com, linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org Subject: Re: [PATCH 0/3] nvme: Don't add namespaces for locked drives Message-ID: <20160624080044.GA17446@infradead.org> References: <20160619230634.17229-1-kernel@jbeekman.nl> <20160624073728.GA30277@infradead.org> <576CE504.5020101@jbeekman.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <576CE504.5020101@jbeekman.nl> User-Agent: Mutt/1.6.1 (2016-04-27) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 24, 2016 at 12:45:08AM -0700, Jethro Beekman wrote: > As you found NVMe points to SPC-4. SPC-4 lists protocol 0xEF "ATA Device Server > Password Security" as part of the SECURITY PROTOCOL IN command, pointing to > SAT-2. In one SAT-2 draft I could find there is are these sections > > 12 SAT-specific SCSI extensions > 12.5 SAT-specific Security Protocols > 12.5.1 ATA Device Server Password Security Protocol > > which provide a pretty straightforward translation of the ATA SECURITY feature > set (except that there is a new command to gather information that would > normally be part of ATA IDENTIFY). I have implemented all this and it seems to > work on my drive. Oh, fun. Can you add a little file in Documentation that explains this chain and how we end up building the NVMe commands?