From: Taylor Stark <tstark@linux.microsoft.com>
To: dan.j.williams@intel.com, vishal.l.verma@intel.com,
dave.jiang@intel.com, ira.weiny@intel.com
Cc: nvdimm@lists.linux.dev, apais@microsoft.com,
tyhicks@microsoft.com, jamorris@microsoft.com,
benhill@microsoft.com, sunilmut@microsoft.com,
grahamwo@microsoft.com, tstark@microsoft.com
Subject: [PATCH v2 0/2] virtio-pmem: Support PCI BAR-relative addresses
Date: Thu, 15 Jul 2021 15:33:24 -0700 [thread overview]
Message-ID: <20210715223324.GA29063@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> (raw)
Changes from v1 [1]:
- Fixed a bug where the guest might touch pmem region prior to the
backing file being mapped into the guest's address space.
[1]: https://www.mail-archive.com/linux-nvdimm@lists.01.org/msg23736.html
---
These patches add support to virtio-pmem to allow the pmem region to be
specified in either guest absolute terms or as a PCI BAR-relative address.
This is required to support virtio-pmem in Hyper-V, since Hyper-V only
allows PCI devices to operate on PCI memory ranges defined via BARs.
Taylor Stark (2):
virtio-pmem: Support PCI BAR-relative addresses
virtio-pmem: Set DRIVER_OK status prior to creating pmem region
drivers/nvdimm/virtio_pmem.c | 27 +++++++++++++++++++++++----
drivers/nvdimm/virtio_pmem.h | 3 +++
2 files changed, 26 insertions(+), 4 deletions(-)
base-commit: e73f0f0ee7541171d89f2e2491130c7771ba58d3
--
2.32.0
next reply other threads:[~2021-07-15 22:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-15 22:33 Taylor Stark [this message]
2021-08-25 0:35 ` [PATCH v2 0/2] virtio-pmem: Support PCI BAR-relative addresses Dan Williams
2021-08-25 21:56 ` Taylor Stark
2021-08-25 22:05 ` Dan Williams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210715223324.GA29063@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net \
--to=tstark@linux.microsoft.com \
--cc=apais@microsoft.com \
--cc=benhill@microsoft.com \
--cc=dan.j.williams@intel.com \
--cc=dave.jiang@intel.com \
--cc=grahamwo@microsoft.com \
--cc=ira.weiny@intel.com \
--cc=jamorris@microsoft.com \
--cc=nvdimm@lists.linux.dev \
--cc=sunilmut@microsoft.com \
--cc=tstark@microsoft.com \
--cc=tyhicks@microsoft.com \
--cc=vishal.l.verma@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).