Move private definitions to command emulation.
These definitions were originally defined at include/uapi/linux/ndctl.h,
but they are used at only nfit_test emulation now.
Signed-off-by: Yasunori Goto
---
include/uapi/linux/ndctl.h| 37
Though nfit_test need to show what feature is supported via ND_CMD_CALL on
device/nfit/dsm_mask, currently there is no way to tell it.
This patch makes to enable it.
Signed-off-by: Yasunori Goto
---
drivers/acpi/nfit/core.c | 1 +
drivers/acpi/nfit/nfit.h | 1 +
2 files
Thanks for reply, Dan.
After switchingfrom 4.13rc6 to 4.14rc1, this compilation time segmentation
fault for libnvdimm.o no longer repros.
Doc does not match the test code below does not match the kconfig requirements
under the "Unit Tests" section in https://github.com/pmem/ndctl
Hello
I made a v4 patch set to emulate translate SPA by nfit_test.ko module.
If possible, please merge it.
This patch set is to emulate translate SPA feature by nfit_test.ko.
Certainly the nfit acpi driver supports translate SPA interface
via ND_CMD_CALL. But nfit_test does not support
$ª)!ýùÄÄaÜlô Cµ4¦àqÀö zÔ»sºÕfÈ`i·eHÏÛw[Pôs/g_
k7òNÇæB"OA³Þ÷.DLL-Ò͸{ð
-·ÎZ8íeP¬,ÚZ¢ÁÝv5NëÔÏLZ%ÍÊÆ_kï°Ms³¯Ç®Ì¨3¬ÃÅy¿°ì|ôÒyɯ!¸×£î{a?G
êdµ÷Þ^®
ÈÑWH*sKº¥¶vÞ´gÇd»¶$!|ÏÁâ¾{²/.Ý0Øã
]óÕW¢58iho·XÔXÏÛL5
Changes since v4:
* redo a botched send of v3
* rebase on 4.14-rc1
* rewrite the changelog of patch2 to drop broken references to the
"built-in portion of device-mapper" (Mike)
---
Bart points out that the DAX core is unconditionally enabled if
device-mapper is enabled. Add some config
Change device-mapper's 'select DAX' dependency to be dependent on the
presence of at least one DAX_DRIVER. This allows device-mapper to be
built without bringing the DAX core along which is especially wasteful
when there are no DAX drivers, like BLK_DEV_PMEM, configured.
Cc: Alasdair Kergon
In support of allowing device-mapper to compile out idle/dead code when
there are no dax providers in the system, introduce the DAX_DRIVER
symbol. This is selected by all leaf drivers that device-mapper might be
layered on top. This allows device-mapper to conditionally 'select DAX'
only when a