linux-api.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v6 00/21] libnvdimm: non-volatile memory devices
@ 2015-06-11 20:09 Dan Williams
  2015-06-11 20:10 ` [PATCH v6 04/21] libnvdimm, nfit: dimm/memory-devices Dan Williams
                   ` (16 more replies)
  0 siblings, 17 replies; 33+ messages in thread
From: Dan Williams @ 2015-06-11 20:09 UTC (permalink / raw)
  To: linux-nvdimm
  Cc: Boaz Harrosh, rafael, neilb, Dave Chinner, Lv Zheng,
	H. Peter Anvin, hch, sfr, Rafael J. Wysocki, Robert Moore, mingo,
	linux-acpi, jmoyer, Nicholas Moulin, Matthew Wilcox, Ross Zwisler,
	Vishal Verma, Jens Axboe, Borislav Petkov, Thomas Gleixner, axboe,
	gregkh, linux-kernel, Andy Lutomirski, linux-api, akpm,
	Linus Torvalds

A new sub-system in support of non-volatile memory storage devices.  See
"[PATCH v6 21/21] libnvdimm: Non-Volatile Devices" for an overview.

Changes since v5 [1]:

1/ Add rationale/justification to the changelog for "[PATCH v6 20/21]
   tools/testing/nvdimm: libnvdimm unit test infrastructure".  Explain
   why QEMU is not suitable. (Christoph)

2/ Expand the changelog of "[PATCH v6 18/21] nd_btt: atomic sector
   updates" to give the reasoning behind architecture decisions related
   to scaling. (Christoph)

3/ Introduce ->rw_bytes() to struct block_device_operations and kill off
   the "ndio" implementation (save a couple hundred lines of glue code).
   (Christoph)

4/ Kill usage of __iomem in the namespace label implementation in favor
   of properly using byte-order helpers. (Christoph)

5/ Kill the include path munging in "[PATCH v6 20/21]
   tools/testing/nvdimm: libnvdimm unit test infrastructure" this makes
   the unit test implementation have near zero impact on the libnvdimm
   code base. (Christoph)

6/ Miscellaneous 80 column fixups. (Christoph)
   
7/ Restore BLK_DEV and PHYS_ADDR_T_64BIT dependencies to LIBNVDIMM.


Diffstat since v5 [1]: "ebba6912e36e libnvdimm: Non-Volatile Devices"
[1]: https://lists.01.org/pipermail/linux-nvdimm/2015-June/001035.html

 drivers/acpi/Makefile                 |   1 -
 drivers/acpi/nfit.c                   | 228 +++++++++++++++++++++-----------------
 drivers/acpi/nfit.h                   |  20 ++--
 drivers/nvdimm/Kconfig                |   6 +-
 drivers/nvdimm/Makefile               |   1 -
 drivers/nvdimm/blk.c                  |  39 +++----
 drivers/nvdimm/btt.c                  |  85 ++++++++-------
 drivers/nvdimm/btt_devs.c             | 163 +++++++++++++--------------
 drivers/nvdimm/bus.c                  | 156 +++++++++++---------------
 drivers/nvdimm/core.c                 |  72 ++----------
 drivers/nvdimm/dimm.c                 |   4 +-
 drivers/nvdimm/dimm_devs.c            |  31 +++---
 drivers/nvdimm/label.c                | 284 ++++++++++++++++++++++++------------------------
 drivers/nvdimm/label.h                |   8 +-
 drivers/nvdimm/namespace_devs.c       | 142 ++++++++++++------------
 drivers/nvdimm/nd-core.h              |  28 +++--
 drivers/nvdimm/nd.h                   | 113 ++-----------------
 drivers/nvdimm/pmem.c                 |  38 +++----
 drivers/nvdimm/region.c               |   2 +-
 drivers/nvdimm/region_devs.c          |  90 +++++++--------
 include/linux/blkdev.h                |  44 ++++++++
 include/linux/libnvdimm.h             |  14 ++-
 include/uapi/linux/ndctl.h            |   8 +-
 tools/testing/nvdimm/Kbuild           |   2 -
 tools/testing/nvdimm/test/nfit.c      |  63 ++++++-----
 tools/testing/nvdimm/test/nfit_test.h |   3 +-
 26 files changed, 768 insertions(+), 877 deletions(-)


---

[PATCH v6 01/21] e820, efi: add ACPI 6.0 persistent memory types
[PATCH v6 02/21] libnvdimm, nfit: initial libnvdimm infrastructure and NFIT support
[PATCH v6 03/21] libnvdimm: control character device and nvdimm_bus sysfs attributes
[PATCH v6 04/21] libnvdimm, nfit: dimm/memory-devices
[PATCH v6 05/21] libnvdimm: control (ioctl) messages for nvdimm_bus and nvdimm devices
[PATCH v6 06/21] libnvdimm, nvdimm: dimm driver and base libnvdimm device-driver infrastructure
[PATCH v6 07/21] libnvdimm, nfit: regions (block-data-window, persistent memory, volatile memory)
[PATCH v6 08/21] libnvdimm: support for legacy (non-aliasing) nvdimms
[PATCH v6 09/21] libnvdimm, pmem: move pmem to drivers/nvdimm/
[PATCH v6 10/21] libnvdimm, pmem: add libnvdimm support to the pmem driver
[PATCH v6 11/21] libnvdimm, nfit: add interleave-set state-tracking infrastructure
[PATCH v6 12/21] libnvdimm: namespace indices: read and validate
[PATCH v6 13/21] libnvdimm: pmem label sets and namespace instantiation.
[PATCH v6 14/21] libnvdimm: blk labels and namespace instantiation
[PATCH v6 15/21] libnvdimm: write pmem label set
[PATCH v6 16/21] libnvdimm: write blk label set
[PATCH v6 17/21] libnvdimm: infrastructure for btt devices
[PATCH v6 18/21] nd_btt: atomic sector updates
[PATCH v6 19/21] libnvdimm, nfit, nd_blk: driver for BLK-mode access persistent memory
[PATCH v6 20/21] tools/testing/nvdimm: libnvdimm unit test infrastructure
[PATCH v6 21/21] libnvdimm: Non-Volatile Devices

 Documentation/nvdimm/btt.txt          |  273 +++++
 Documentation/nvdimm/nvdimm.txt       |  805 ++++++++++++++++
 MAINTAINERS                           |   39 +
 arch/arm64/kernel/efi.c               |    1 
 arch/ia64/kernel/efi.c                |    4 
 arch/x86/Kconfig                      |    3 
 arch/x86/boot/compressed/eboot.c      |    4 
 arch/x86/include/uapi/asm/e820.h      |    1 
 arch/x86/kernel/e820.c                |   28 -
 arch/x86/kernel/pmem.c                |   92 +-
 arch/x86/platform/efi/efi.c           |    3 
 drivers/Kconfig                       |    2 
 drivers/Makefile                      |    1 
 drivers/acpi/Kconfig                  |   26 +
 drivers/acpi/Makefile                 |    1 
 drivers/acpi/nfit.c                   | 1546 ++++++++++++++++++++++++++++++
 drivers/acpi/nfit.h                   |  155 +++
 drivers/block/Kconfig                 |   11 
 drivers/block/Makefile                |    1 
 drivers/nvdimm/Kconfig                |   75 +
 drivers/nvdimm/Makefile               |   20 
 drivers/nvdimm/blk.c                  |  241 +++++
 drivers/nvdimm/btt.c                  | 1449 ++++++++++++++++++++++++++++
 drivers/nvdimm/btt.h                  |  186 ++++
 drivers/nvdimm/btt_devs.c             |  432 ++++++++
 drivers/nvdimm/bus.c                  |  746 ++++++++++++++
 drivers/nvdimm/core.c                 |  416 ++++++++
 drivers/nvdimm/dimm.c                 |  115 ++
 drivers/nvdimm/dimm_devs.c            |  517 ++++++++++
 drivers/nvdimm/label.c                |  926 ++++++++++++++++++
 drivers/nvdimm/label.h                |  141 +++
 drivers/nvdimm/namespace_devs.c       | 1698 +++++++++++++++++++++++++++++++++
 drivers/nvdimm/nd-core.h              |  111 ++
 drivers/nvdimm/nd.h                   |  168 +++
 drivers/nvdimm/pmem.c                 |  107 +-
 drivers/nvdimm/region.c               |  189 ++++
 drivers/nvdimm/region_devs.c          |  667 +++++++++++++
 include/linux/blkdev.h                |   44 +
 include/linux/efi.h                   |    3 
 include/linux/libnvdimm.h             |  139 +++
 include/linux/nd.h                    |   98 ++
 include/uapi/linux/Kbuild             |    1 
 include/uapi/linux/ndctl.h            |  199 ++++
 tools/testing/nvdimm/Kbuild           |   35 +
 tools/testing/nvdimm/Makefile         |    7 
 tools/testing/nvdimm/test/Kbuild      |    8 
 tools/testing/nvdimm/test/iomap.c     |  151 +++
 tools/testing/nvdimm/test/nfit.c      | 1112 ++++++++++++++++++++++
 tools/testing/nvdimm/test/nfit_test.h |   29 +
 49 files changed, 12934 insertions(+), 92 deletions(-)
 create mode 100644 Documentation/nvdimm/btt.txt
 create mode 100644 Documentation/nvdimm/nvdimm.txt
 create mode 100644 drivers/acpi/nfit.c
 create mode 100644 drivers/acpi/nfit.h
 create mode 100644 drivers/nvdimm/Kconfig
 create mode 100644 drivers/nvdimm/Makefile
 create mode 100644 drivers/nvdimm/blk.c
 create mode 100644 drivers/nvdimm/btt.c
 create mode 100644 drivers/nvdimm/btt.h
 create mode 100644 drivers/nvdimm/btt_devs.c
 create mode 100644 drivers/nvdimm/bus.c
 create mode 100644 drivers/nvdimm/core.c
 create mode 100644 drivers/nvdimm/dimm.c
 create mode 100644 drivers/nvdimm/dimm_devs.c
 create mode 100644 drivers/nvdimm/label.c
 create mode 100644 drivers/nvdimm/label.h
 create mode 100644 drivers/nvdimm/namespace_devs.c
 create mode 100644 drivers/nvdimm/nd-core.h
 create mode 100644 drivers/nvdimm/nd.h
 rename drivers/{block/pmem.c => nvdimm/pmem.c} (69%)
 create mode 100644 drivers/nvdimm/region.c
 create mode 100644 drivers/nvdimm/region_devs.c
 create mode 100644 include/linux/libnvdimm.h
 create mode 100644 include/linux/nd.h
 create mode 100644 include/uapi/linux/ndctl.h
 create mode 100644 tools/testing/nvdimm/Kbuild
 create mode 100644 tools/testing/nvdimm/Makefile
 create mode 100644 tools/testing/nvdimm/test/Kbuild
 create mode 100644 tools/testing/nvdimm/test/iomap.c
 create mode 100644 tools/testing/nvdimm/test/nfit.c
 create mode 100644 tools/testing/nvdimm/test/nfit_test.h

^ permalink raw reply	[flat|nested] 33+ messages in thread

end of thread, other threads:[~2015-06-17 22:09 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-11 20:09 [PATCH v6 00/21] libnvdimm: non-volatile memory devices Dan Williams
2015-06-11 20:10 ` [PATCH v6 04/21] libnvdimm, nfit: dimm/memory-devices Dan Williams
2015-06-17 22:02   ` Rafael J. Wysocki
2015-06-11 20:10 ` [PATCH v6 05/21] libnvdimm: control (ioctl) messages for nvdimm_bus and nvdimm devices Dan Williams
2015-06-11 20:10 ` [PATCH v6 06/21] libnvdimm, nvdimm: dimm driver and base libnvdimm device-driver infrastructure Dan Williams
2015-06-11 20:10 ` [PATCH v6 08/21] libnvdimm: support for legacy (non-aliasing) nvdimms Dan Williams
2015-06-11 20:11 ` [PATCH v6 10/21] libnvdimm, pmem: add libnvdimm support to the pmem driver Dan Williams
     [not found] ` <20150611183830.25175.51256.stgit-p8uTFz9XbKj2zm6wflaqv1nYeNYlB/vhral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-06-11 20:10   ` [PATCH v6 01/21] e820, efi: add ACPI 6.0 persistent memory types Dan Williams
2015-06-11 20:10   ` [PATCH v6 02/21] libnvdimm, nfit: initial libnvdimm infrastructure and NFIT support Dan Williams
2015-06-17 21:59     ` Rafael J. Wysocki
     [not found]       ` <1863642.qegEO3HtMW-sKB8Sp2ER+y1GS7QM15AGw@public.gmane.org>
2015-06-17 21:35         ` Dan Williams
2015-06-11 20:10   ` [PATCH v6 03/21] libnvdimm: control character device and nvdimm_bus sysfs attributes Dan Williams
     [not found]     ` <20150611201024.25175.7686.stgit-p8uTFz9XbKj2zm6wflaqv1nYeNYlB/vhral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-06-17 22:00       ` Rafael J. Wysocki
2015-06-11 20:10   ` [PATCH v6 07/21] libnvdimm, nfit: regions (block-data-window, persistent memory, volatile memory) Dan Williams
2015-06-17 22:03     ` Rafael J. Wysocki
2015-06-11 20:10   ` [PATCH v6 09/21] libnvdimm, pmem: move pmem to drivers/nvdimm/ Dan Williams
2015-06-11 20:11   ` [PATCH v6 11/21] libnvdimm, nfit: add interleave-set state-tracking infrastructure Dan Williams
2015-06-17 22:06     ` Rafael J. Wysocki
2015-06-11 20:11 ` [PATCH v6 12/21] libnvdimm: namespace indices: read and validate Dan Williams
2015-06-11 20:11 ` [PATCH v6 13/21] libnvdimm: pmem label sets and namespace instantiation Dan Williams
2015-06-11 20:11 ` [PATCH v6 14/21] libnvdimm: blk labels " Dan Williams
2015-06-11 20:11 ` [PATCH v6 15/21] libnvdimm: write pmem label set Dan Williams
2015-06-11 20:11 ` [PATCH v6 16/21] libnvdimm: write blk " Dan Williams
2015-06-11 20:11 ` [PATCH v6 17/21] libnvdimm: infrastructure for btt devices Dan Williams
     [not found]   ` <20150611201142.25175.66768.stgit-p8uTFz9XbKj2zm6wflaqv1nYeNYlB/vhral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-06-17 10:49     ` Christoph Hellwig
2015-06-11 20:11 ` [PATCH v6 18/21] nd_btt: atomic sector updates Dan Williams
2015-06-11 20:22   ` Dan Williams
2015-06-11 20:11 ` [PATCH v6 19/21] libnvdimm, nfit, nd_blk: driver for BLK-mode access persistent memory Dan Williams
     [not found]   ` <20150611201153.25175.83474.stgit-p8uTFz9XbKj2zm6wflaqv1nYeNYlB/vhral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-06-17 22:09     ` Rafael J. Wysocki
2015-06-11 20:11 ` [PATCH v6 20/21] tools/testing/nvdimm: libnvdimm unit test infrastructure Dan Williams
2015-06-11 20:12 ` [PATCH v6 21/21] libnvdimm: Non-Volatile Devices Dan Williams
2015-06-17 11:26 ` [PATCH v6 00/21] libnvdimm: non-volatile memory devices Christoph Hellwig
2015-06-17 17:28   ` Dan Williams

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).