Messages in this thread | | | From | "Williams, Dan J" <> | Subject | [GIT PULL] libnvdimm for 4.7 | Date | Mon, 23 May 2016 00:01:14 +0000 |
| |
Hi Linus, please pull from:
git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm tags/libnvdimm-for-4.7
...to receive the device driver related nvdimm topic branches for 4.7.
The bulk of this update was stabilized before the merge window and appeared in -next. The "device dax" implementation was revised this week in response to review feedback, and to address failures detected by the recently expanded ndctl unit test suite.
Not included in this pull request are two dax topic branches (dax error handling, and dax radix-tree locking). These topics were deferred to get a few more days of -next integration testing, and to coordinate a branch baseline with Ted and the ext4 tree. Vishal and Ross will send the error handling and locking topics respectively in the next few days.
This branch has received a positive build result from the kbuild robot across 226 configs.
The following changes since commit 1b8d2afde54fade94339f573c4e05644f9ae9866:
libnvdimm, pfn: fix ARCH=alpha allmodconfig build failure (2016-05-06 10:20:10 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm tags/libnvdimm-for-4.7
for you to fetch changes up to 36092ee8ba695fce023b2118ececa6c2a56b1331:
Merge branch 'for-4.7/dax' into libnvdimm-for-next (2016-05-21 12:33:04 -0700)
---------------------------------------------------------------- libnvdimm for 4.7
1/ Device DAX for persistent memory: Device DAX is the device-centric analogue of Filesystem DAX (CONFIG_FS_DAX). It allows memory ranges to be allocated and mapped without need of an intervening file system. Device DAX is strict, precise and predictable. Specifically this interface:
a) Guarantees fault granularity with respect to a given page size (pte, pmd, or pud) set at configuration time.
b) Enforces deterministic behavior by being strict about what fault scenarios are supported.
Persistent memory is the first target, but the mechanism is also targeted for exclusive allocations of performance/feature differentiated memory ranges.
2/ Support for the HPE DSM (device specific method) command formats. This enables management of these first generation devices until a unified DSM specification materializes.
3/ Further ACPI 6.1 compliance with support for the common dimm identifier format.
4/ Various fixes and cleanups across the subsystem.
---------------------------------------------------------------- Dan Williams (40): libnvdimm, nfit: report multiple interface codes per-dimm libnvdimm, test: add mock SMART data payload libnvdimm, pmem: kill pmem->ndns libnvdimm, pfn, convert nd_pfn_probe() to devm libnvdimm, btt, convert nd_btt_probe() to devm libnvdimm, btt: add btt startup debug libnvdimm, blk: use devm_add_action to release bdev resources libnvdimm, blk: use ->queuedata for driver private data libnvdimm, pmem: use ->queuedata for driver private data libnvdimm, blk: quiet i/o error reporting libnvdimm, blk: move i/o infrastructure to nd_namespace_blk libnvdimm, pmem: use devm_add_action to release bdev resources libnvdimm, pmem: clean up resource print / request libnvdimm, pmem, pfn: make pmem_rw_bytes generic and refactor pfn setup libnvdimm, pmem, pfn: move pfn setup to the core libnvdimm, pmem: kill ->pmem_queue and ->pmem_disk libnvdimm: cleanup nvdimm_namespace_common_probe(), kill 'host' nfit, libnvdimm: clarify "commands" vs "_DSMs" nfit, libnvdimm: limited/whitelisted dimm command marshaling mechanism nfit: fix format interface code byte order per ACPI6.1 nfit: export subsystem ids as attributes nfit: disable vendor specific commands tools/testing/nvdimm: ND_CMD_CALL support nfit: add sysfs dimm 'family' and 'dsm_mask' attributes libnvdimm, dax: introduce device-dax infrastructure libnvdimm, dax: reserve space to store labels for device-dax libnvdimm, dax: record the specified alignment of a dax-device instance libnvdimm: stop requiring a driver ->remove() method Merge branch 'for-4.7/dax' into libnvdimm-for-next Merge branch 'for-4.7/libnvdimm' into libnvdimm-for-next Merge branch 'for-4.7/dsm' into libnvdimm-for-next Merge branch 'for-4.7/acpi6.1' into libnvdimm-for-next /dev/dax, pmem: direct access to persistent memory /dev/dax, core: file operations and dax-mmap Revert "block: enable dax for raw block devices" libnvdimm: release ida resources libnvdimm, dax: autodetect support libnvdimm, dax: fix alignment validation libnvdimm, dax: fix deletion Merge branch 'for-4.7/dax' into libnvdimm-for-next
Jerry Hoemann (2): acpi: widen acpi_evaluate_dsm() revision and function-index arguments libnvdimm: increase max envelope size for ioctl
Lee, Chun-Yi (1): libnvdimm, nfit: Use ACPI_SIG_NFIT instead of hard coded string
Toshi Kani (2): acpi/nfit: Update nfit driver to comply with ACPI 6.1 acpi/nfit: Add sysfs "id" for NVDIMM ID
block/ioctl.c | 32 --- drivers/Kconfig | 2 + drivers/Makefile | 1 + drivers/acpi/nfit.c | 282 ++++++++++++++++++++++--- drivers/acpi/nfit.h | 31 ++- drivers/acpi/utils.c | 4 +- drivers/dax/Kconfig | 26 +++ drivers/dax/Makefile | 4 + drivers/dax/dax.c | 575 ++++++++++++++++++++++++++++++++++++++++++++++++++ drivers/dax/dax.h | 24 +++ drivers/dax/pmem.c | 158 ++++++++++++++ drivers/nvdimm/Kconfig | 13 ++ drivers/nvdimm/Makefile | 1 + drivers/nvdimm/blk.c | 208 +++++++++--------- drivers/nvdimm/btt.c | 26 ++- drivers/nvdimm/btt_devs.c | 24 +-- drivers/nvdimm/bus.c | 63 +++++- drivers/nvdimm/claim.c | 86 +++++++- drivers/nvdimm/core.c | 5 +- drivers/nvdimm/dax_devs.c | 134 ++++++++++++ drivers/nvdimm/dimm_devs.c | 23 +- drivers/nvdimm/namespace_devs.c | 38 ++-- drivers/nvdimm/nd-core.h | 6 +- drivers/nvdimm/nd.h | 83 +++++++- drivers/nvdimm/pfn.h | 5 +- drivers/nvdimm/pfn_devs.c | 315 ++++++++++++++++++++++----- drivers/nvdimm/pmem.c | 493 ++++++++++--------------------------------- drivers/nvdimm/region.c | 2 + drivers/nvdimm/region_devs.c | 34 +++ fs/block_dev.c | 96 +++------ include/acpi/acpi_bus.h | 6 +- include/linux/fs.h | 8 - include/linux/libnvdimm.h | 7 +- include/linux/nd.h | 11 +- include/uapi/linux/fs.h | 1 - include/uapi/linux/ndctl.h | 80 ++++++- mm/huge_memory.c | 1 + mm/hugetlb.c | 1 + tools/testing/nvdimm/Kbuild | 11 + tools/testing/nvdimm/config_check.c | 2 + tools/testing/nvdimm/test/iomap.c | 27 ++- tools/testing/nvdimm/test/nfit.c | 90 ++++++-- 42 files changed, 2252 insertions(+), 787 deletions(-)
| |