From mboxrd@z Thu Jan 1 00:00:00 1970 From: hch@infradead.org (Christoph Hellwig) Date: Thu, 29 Oct 2015 04:55:36 -0700 Subject: [PATCH 0/5 v3] Fix NVMe driver support on Power with 32-bit DMA In-Reply-To: <20151028135922.GA27909@localhost.localdomain> References: <20151026.182746.1323901353520152838.davem@davemloft.net> <20151027222010.GD7716@linux.vnet.ibm.com> <20151027223643.GA25332@localhost.localdomain> <20151027.175443.140992924519172506.davem@davemloft.net> <20151028135922.GA27909@localhost.localdomain> Message-ID: <20151029115536.GA28090@infradead.org> On Wed, Oct 28, 2015@01:59:23PM +0000, Busch, Keith wrote: > The "new" interface for all the other architectures is the same as the > old one we've been using for the last 5 years. > > I welcome x86 maintainer feedback to confirm virtual and DMA addresses > have the same offset at 4k alignment, but I have to insist we don't > break my currently working hardware to force their attention. We had a quick cht about this issue and I think we simply should default to a NVMe controler page size of 4k everywhere as that's the safe default. This is also what we do for RDMA Memory reigstrations and it works fine there for SRP and iSER. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:1868:205::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 66A981A0B5F for ; Thu, 29 Oct 2015 22:55:51 +1100 (AEDT) Date: Thu, 29 Oct 2015 04:55:36 -0700 From: Christoph Hellwig To: "Busch, Keith" Cc: David Miller , aik@ozlabs.ru, mpe@ellerman.id.au, nacc@linux.vnet.ibm.com, linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, hch@infradead.org, paulus@samba.org, benh@kernel.crashing.org, sparclinux@vger.kernel.org, willy@linux.intel.com, linuxppc-dev@lists.ozlabs.org, david@gibson.dropbear.id.au Subject: Re: [PATCH 0/5 v3] Fix NVMe driver support on Power with 32-bit DMA Message-ID: <20151029115536.GA28090@infradead.org> References: <20151026.182746.1323901353520152838.davem@davemloft.net> <20151027222010.GD7716@linux.vnet.ibm.com> <20151027223643.GA25332@localhost.localdomain> <20151027.175443.140992924519172506.davem@davemloft.net> <20151028135922.GA27909@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20151028135922.GA27909@localhost.localdomain> List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, Oct 28, 2015 at 01:59:23PM +0000, Busch, Keith wrote: > The "new" interface for all the other architectures is the same as the > old one we've been using for the last 5 years. > > I welcome x86 maintainer feedback to confirm virtual and DMA addresses > have the same offset at 4k alignment, but I have to insist we don't > break my currently working hardware to force their attention. We had a quick cht about this issue and I think we simply should default to a NVMe controler page size of 4k everywhere as that's the safe default. This is also what we do for RDMA Memory reigstrations and it works fine there for SRP and iSER. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Date: Thu, 29 Oct 2015 11:55:36 +0000 Subject: Re: [PATCH 0/5 v3] Fix NVMe driver support on Power with 32-bit DMA Message-Id: <20151029115536.GA28090@infradead.org> List-Id: References: <20151026.182746.1323901353520152838.davem@davemloft.net> <20151027222010.GD7716@linux.vnet.ibm.com> <20151027223643.GA25332@localhost.localdomain> <20151027.175443.140992924519172506.davem@davemloft.net> <20151028135922.GA27909@localhost.localdomain> In-Reply-To: <20151028135922.GA27909@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: sparclinux@vger.kernel.org On Wed, Oct 28, 2015 at 01:59:23PM +0000, Busch, Keith wrote: > The "new" interface for all the other architectures is the same as the > old one we've been using for the last 5 years. > > I welcome x86 maintainer feedback to confirm virtual and DMA addresses > have the same offset at 4k alignment, but I have to insist we don't > break my currently working hardware to force their attention. We had a quick cht about this issue and I think we simply should default to a NVMe controler page size of 4k everywhere as that's the safe default. This is also what we do for RDMA Memory reigstrations and it works fine there for SRP and iSER.