summaryrefslogtreecommitdiffstats
path: root/drivers/dax
diff options
context:
space:
mode:
authorPankaj Gupta2019-07-05 16:03:23 +0200
committerDan Williams2019-07-06 00:19:10 +0200
commit6e84200c0a2994b991259d19450eee561029bf70 (patch)
tree66e3cd2cb9bf896803e6012148731cb4ddeaf36f /drivers/dax
parentlibnvdimm: nd_region flush callback support (diff)
downloadkernel-qcow2-linux-6e84200c0a2994b991259d19450eee561029bf70.tar.gz
kernel-qcow2-linux-6e84200c0a2994b991259d19450eee561029bf70.tar.xz
kernel-qcow2-linux-6e84200c0a2994b991259d19450eee561029bf70.zip
virtio-pmem: Add virtio pmem driver
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@redhat.com> Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Jakub Staron <jstaron@google.com> Tested-by: Jakub Staron <jstaron@google.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dax')
0 files changed, 0 insertions, 0 deletions