From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bombadil.infradead.org ([198.137.202.9]:37828 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753867AbcHAPwM (ORCPT ); Mon, 1 Aug 2016 11:52:12 -0400 Date: Mon, 1 Aug 2016 08:52:06 -0700 From: Christoph Hellwig To: Haggai Eran Cc: linux-rdma@vger.kernel.org, linux-nvme@lists.infradead.org, Liran Liss , linux-pci@vger.kernel.org, Yishai Hadas , Stephen Bates , Leon Romanovsky , Artemy Kovalyov , Jerome Glisse Subject: Re: [RFC 7/7] NVMe: CMB on DMA-BUF Message-ID: <20160801155206.GA23224@infradead.org> References: <1470034653-9097-1-git-send-email-haggaie@mellanox.com> <1470034653-9097-8-git-send-email-haggaie@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1470034653-9097-8-git-send-email-haggaie@mellanox.com> Sender: linux-pci-owner@vger.kernel.org List-ID: On Mon, Aug 01, 2016 at 09:57:33AM +0300, Haggai Eran wrote: > Allocate a CMB region to user-space as a DMA-BUF object. NACK. Absolutely no way we're going to export a low-level device specific feature to userspace like that. If you want to DMA to the CMB do it from the kernel, and for that we'll need a proper block device level API.