Skip to content

libnvdimm, pfn updates for 4.5

Dan Williams linux-nvdimm lkml nvdimm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9libnvdimm, pfn: kill ND_PFN_ALIGNdrivers/nvdimm/nd.h drivers/nvdimm/pfn_devs.c drivers/nvdimm/pmem.c+1 -320 replies
2/9libnvdimm, pfn: clean up pfn create parametersdrivers/nvdimm/pfn_devs.c+3 -80 replies
3/9libnvdimm, pfn: add 'align' attribute, default to HPAGE_SIZEdrivers/nvdimm/nd.h drivers/nvdimm/pfn_devs.c drivers/nvdimm/pmem.c+65 -30 replies
4/9libnvdimm, pfn: add parent uuid validationdrivers/nvdimm/pfn_devs.c drivers/nvdimm/pmem.c+8 -30 replies
5/9libnvdimm, pfn: fix pfn seed creationdrivers/nvdimm/namespace_devs.c drivers/nvdimm/nd-core.h drivers/nvdimm/region_devs.c+20 -00 replies
6/9libnvdimm, pfn: enable pfn sysfs interface unit testingtools/testing/nvdimm/Kbuild tools/testing/nvdimm/test/iomap.c+32 -00 replies
7/9libnvdimm, pfn: fix nd_pfn_validate() return value handlingdrivers/nvdimm/pmem.c+3 -10 replies
8/9tools/testing/libnvdimm: cleanup mock resource lookuptools/testing/nvdimm/test/iomap.c+39 -471 reply
9/9libnvdimm, pfn: move 'memory mode' indication to sysfsdrivers/nvdimm/namespace_devs.c+28 -130 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/9] libnvdimm, pfn updates for 4.5

With the impending merge of the dax-gup patchset [1], a new set of unit tests for 'pfn' devices was added to ndctl. These are the cleanups and fixups identified from that testing.

The unit test updates will be posted separately on the linux-nvdimm list.

[1]: https://lists.01.org/pipermail/linux-nvdimm/2015-December/003213.html

---

Dan Williams (9):
libnvdimm, pfn: kill ND_PFN_ALIGN
libnvdimm, pfn: clean up pfn create parameters libnvdimm, pfn: add 'align' attribute, default to HPAGE_SIZE libnvdimm, pfn: add parent uuid validation libnvdimm, pfn: fix pfn seed creation
libnvdimm, pfn: enable pfn sysfs interface unit testing libnvdimm, pfn: fix nd_pfn_validate() return value handling tools/testing/libnvdimm: cleanup mock resource lookup libnvdimm, pfn: move 'memory mode' indication to sysfs

 drivers/nvdimm/namespace_devs.c   |   53 ++++++++++++++++-----
 drivers/nvdimm/nd-core.h          |    1 
 drivers/nvdimm/nd.h               |    8 ---
 drivers/nvdimm/pfn_devs.c         |   93 +++++++++++++++++++++++++++++--------
 drivers/nvdimm/pmem.c             |   26 +++-------
 drivers/nvdimm/region_devs.c      |    7 +++
 tools/testing/nvdimm/Kbuild       |    2 +
 tools/testing/nvdimm/test/iomap.c |   90 ++++++++++++++++++++++--------------
 8 files changed, 186 insertions(+), 94 deletions(-)