Re: KVM "fake DAX" flushing interface - discussion

2017-11-02 Thread Dan Williams
On Thu, Nov 2, 2017 at 1:50 AM, Xiao Guangrong wrote: [..] >> Yes, the GUID will specifically identify this range as "Virtio Shared >> Memory" (or whatever name survives after a bikeshed debate). The >> libnvdimm core then needs to grow a new region type that mostly

[PATCH v3] acpi, nfit: add support for NVDIMM_FAMILY_INTEL v1.6 DSMs

2017-11-02 Thread Dan Williams
Per v1.6 of the NVDIMM_FAMILY_INTEL command set [1] some of the new commands require rev-id 2. In addition to enabling ND_CMD_CALL for these new function numbers, add a lookup table for revision-ids by family and function number. [1]: http://pmem.io/documents/NVDIMM_DSM_Interface-V1.6.pdf

Re: [PATCH 01/15] dax: quiet bdev_dax_supported()

2017-11-02 Thread Christoph Hellwig
On Tue, Oct 31, 2017 at 04:21:40PM -0700, Dan Williams wrote: > Before we add another failure reason, quiet the existing log messages. > Leave it to the caller to decide if bdev_dax_supported() failures are > errors worth emitting to the log. > > Reported-by: Jeff Moyer >

Re: [PATCH 10/15] IB/core: disable memory registration of fileystem-dax vmas

2017-11-02 Thread Christoph Hellwig
Any chance we could add a new get_user_pages_longerm or similar helper instead of opencoding this in the various callers? ___ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm

Re: [PATCH 07/15] dax: stop requiring a live device for dax_flush()

2017-11-02 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig ___ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm

Re: [PATCH 04/15] brd: remove dax support

2017-11-02 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig ___ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm

Re: [PATCH 10/15] IB/core: disable memory registration of fileystem-dax vmas

2017-11-02 Thread Dan Williams
On Thu, Nov 2, 2017 at 1:13 PM, Christoph Hellwig wrote: > Any chance we could add a new get_user_pages_longerm or similar > helper instead of opencoding this in the various callers? Sounds like a great idea to me, I'll take a look... ___

Re: KVM "fake DAX" flushing interface - discussion

2017-11-02 Thread Xiao Guangrong
On 11/01/2017 11:20 PM, Dan Williams wrote: On 11/01/2017 12:25 PM, Dan Williams wrote: [..] It's not persistent memory if it requires a hypercall to make it persistent. Unless memory writes can be made durable purely with cpu instructions it's dangerous for it to be treated as a PMEM range.

Re: [PATCH 02/15] mm, dax: introduce pfn_t_special()

2017-11-02 Thread Michael Ellerman
Dan Williams writes: > In support of removing the VM_MIXEDMAP indication from DAX VMAs, > introduce pfn_t_special() for drivers to indicate that _PAGE_SPECIAL > should be used for DAX ptes. This also helps identify drivers like > dccssblk that only want to use DAX in a