drivers/dax: Allow to include DEV_DAX_PMEM as builtin
PATCH v2 1/1 drivers/dax: Allow to include DEV_DAX_PMEM as builtin
This move the dependency to DEV_DAX_PMEM_COMPAT such that only if DEV_DAX_PMEM is built as module we can allow the compat support.
This allows to test the new code easily in a emulation setup where we often build things without module support.
---
Changes from V1:
* Make sure we only build compat code as module
drivers/dax/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/dax/Kconfig +1 -2
@@ -23,7 +23,6 @@ config DEV_DAX config DEV_DAX_PMEM tristate "PMEM DAX: direct access to persistent memory" depends on LIBNVDIMM && NVDIMM_DAX && DEV_DAX - depends on m # until we can kill DEV_DAX_PMEM_COMPAT default DEV_DAX help Support raw access to persistent memory. Note that this
@@ -50,7 +49,7 @@ config DEV_DAX_KMEM config DEV_DAX_PMEM_COMPAT tristate "PMEM DAX: support the deprecated /sys/class/dax interface" - depends on DEV_DAX_PMEM + depends on m && DEV_DAX_PMEM=m default DEV_DAX_PMEM help Older versions of the libdaxctl library expect to find all
Signature · 6 lines
2.20.1 _______________________________________________ Linux-nvdimm mailing list [email protected] https://lists.01.org/mailman/listinfo/linux-nvdimm
Hi Dan,
Quoted 7 lines · Aneesh Kumar K.V
This move the dependency to
DEV_DAX_PMEM_COMPATsuch that only ifDEV_DAX_PMEMis built as module we can allow the compat support.This allows to test the new code easily in a emulation setup where we often build things without module support.
Signed-off-by Aneesh Kumar K.V <[email protected]>
Any update on this. Can we merge this?
Quoted 30 lines
---
Changes from V1:
* Make sure we only build compat code as moduledrivers/dax/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)drivers/dax/Kconfig +1
-2@@ -23,7 +23,6 @@ config DEV_DAX config DEV_DAX_PMEM tristate "PMEM DAX: direct access to persistent memory" depends on LIBNVDIMM && NVDIMM_DAX && DEV_DAX - depends on m # until we can kill DEV_DAX_PMEM_COMPAT default DEV_DAX help Support raw access to persistent memory. Note that this@@ -50,7 +49,7 @@ config DEV_DAX_KMEM config DEV_DAX_PMEM_COMPAT tristate "PMEM DAX: support the deprecated /sys/class/dax interface" - depends on DEV_DAX_PMEM + depends on m && DEV_DAX_PMEM=m default DEV_DAX_PMEM help Older versions of the libdaxctl library expect to find allSignature · 1 line
2.20.1
_______________________________________________
Linux-nvdimm mailing list
[email protected]
https://lists.01.org/mailman/listinfo/linux-nvdimm
Quoted 9 lines · Aneesh Kumar K.V
Hi Dan,
Quoted 3 lines · Aneesh Kumar K.V
This move the dependency to
DEV_DAX_PMEM_COMPATsuch that only ifDEV_DAX_PMEMis built as module we can allow the compat support.
Quoted 6 lines
Quoted 4 lines
This allows to test the new code easily in a emulation setup where we often build things without module support.
Signed-off-by Aneesh Kumar K.V <[email protected]>Any update on this. Can we merge this?
Applied for the v5.2 pull request.
_______________________________________________
Linux-nvdimm mailing list
[email protected]
https://lists.01.org/mailman/listinfo/linux-nvdimm