[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190612162012.06b4af7f.cohuck@redhat.com>
Date: Wed, 12 Jun 2019 16:20:12 +0200
From: Cornelia Huck <cohuck@...hat.com>
To: Pankaj Gupta <pagupta@...hat.com>
Cc: dm-devel@...hat.com, linux-nvdimm@...ts.01.org,
linux-kernel@...r.kernel.org,
virtualization@...ts.linux-foundation.org, kvm@...r.kernel.org,
linux-fsdevel@...r.kernel.org, linux-acpi@...r.kernel.org,
qemu-devel@...gnu.org, linux-ext4@...r.kernel.org,
linux-xfs@...r.kernel.org, dan.j.williams@...el.com,
zwisler@...nel.org, vishal.l.verma@...el.com, dave.jiang@...el.com,
mst@...hat.com, jasowang@...hat.com, willy@...radead.org,
rjw@...ysocki.net, hch@...radead.org, lenb@...nel.org,
jack@...e.cz, tytso@....edu, adilger.kernel@...ger.ca,
darrick.wong@...cle.com, lcapitulino@...hat.com, kwolf@...hat.com,
imammedo@...hat.com, jmoyer@...hat.com, nilal@...hat.com,
riel@...riel.com, stefanha@...hat.com, aarcange@...hat.com,
david@...hat.com, david@...morbit.com,
xiaoguangrong.eric@...il.com, pbonzini@...hat.com,
yuval.shaia@...cle.com, kilobyte@...band.pl, jstaron@...gle.com,
rdunlap@...radead.org, snitzer@...hat.com
Subject: Re: [PATCH v13 2/7] virtio-pmem: Add virtio pmem driver
On Wed, 12 Jun 2019 18:15:22 +0530
Pankaj Gupta <pagupta@...hat.com> wrote:
> This patch adds virtio-pmem driver for KVM guest.
>
> Guest reads the persistent memory range information from
> Qemu over VIRTIO and registers it on nvdimm_bus. It also
> creates a nd_region object with the persistent memory
> range information so that existing 'nvdimm/pmem' driver
> can reserve this into system memory map. This way
> 'virtio-pmem' driver uses existing functionality of pmem
> driver to register persistent memory compatible for DAX
> capable filesystems.
>
> This also provides function to perform guest flush over
> VIRTIO from 'pmem' driver when userspace performs flush
> on DAX memory range.
>
> Signed-off-by: Pankaj Gupta <pagupta@...hat.com>
> Reviewed-by: Yuval Shaia <yuval.shaia@...cle.com>
> Acked-by: Michael S. Tsirkin <mst@...hat.com>
> Acked-by: Jakub Staron <jstaron@...gle.com>
> Tested-by: Jakub Staron <jstaron@...gle.com>
> ---
> drivers/nvdimm/Makefile | 1 +
> drivers/nvdimm/nd_virtio.c | 125 +++++++++++++++++++++++++++++++
> drivers/nvdimm/virtio_pmem.c | 122 ++++++++++++++++++++++++++++++
> drivers/nvdimm/virtio_pmem.h | 55 ++++++++++++++
> drivers/virtio/Kconfig | 11 +++
> include/uapi/linux/virtio_ids.h | 1 +
> include/uapi/linux/virtio_pmem.h | 35 +++++++++
> 7 files changed, 350 insertions(+)
> create mode 100644 drivers/nvdimm/nd_virtio.c
> create mode 100644 drivers/nvdimm/virtio_pmem.c
> create mode 100644 drivers/nvdimm/virtio_pmem.h
> create mode 100644 include/uapi/linux/virtio_pmem.h
Reviewed-by: Cornelia Huck <cohuck@...hat.com>
Powered by blists - more mailing lists