[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190503122902.GA5081@infradead.org>
Date: Fri, 3 May 2019 05:29:02 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Maxim Levitsky <mlevitsk@...hat.com>
Cc: linux-nvme@...ts.infradead.org, Fam Zheng <fam@...hon.net>,
Keith Busch <keith.busch@...el.com>,
Sagi Grimberg <sagi@...mberg.me>, kvm@...r.kernel.org,
"David S . Miller" <davem@...emloft.net>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Liang Cunming <cunming.liang@...el.com>,
Wolfram Sang <wsa@...-dreams.de>, linux-kernel@...r.kernel.org,
Kirti Wankhede <kwankhede@...dia.com>,
Jens Axboe <axboe@...com>,
Alex Williamson <alex.williamson@...hat.com>,
John Ferlan <jferlan@...hat.com>,
Mauro Carvalho Chehab <mchehab+samsung@...nel.org>,
Paolo Bonzini <pbonzini@...hat.com>,
Liu Changpeng <changpeng.liu@...el.com>,
"Paul E . McKenney " <paulmck@...ux.ibm.com>,
Amnon Ilan <ailan@...hat.com>, Christoph Hellwig <hch@....de>,
Nicolas Ferre <nicolas.ferre@...rochip.com>,
Jens Axboe <axboe@...nel.dk>
Subject: Re: [PATCH v2 06/10] nvme/core: add mdev interfaces
On Thu, May 02, 2019 at 02:47:57PM +0300, Maxim Levitsky wrote:
> If the mdev device driver also sets the
> NVME_F_MDEV_DMA_SUPPORTED, the mdev core will
> dma map all the guest memory into the nvme device,
> so that nvme device driver can use dma addresses as passed
> from the mdev core driver
We really need a proper block layer interface for that so that
uring or the nvme target can use pre-mapping as well.
Powered by blists - more mailing lists