mirror of
https://github.com/torvalds/linux.git
synced 2024-12-30 14:52:05 +00:00
9a27e109a3
The current test module cannot be used for testing platforms (make check) that do not have support for NFIT. In order to get the ndctl tests working, we need a module which can emulate NVDIMM devices without relying on ACPI/NFIT. The aim of this proposed module is to implement a similar functionality to the existing module but without the ACPI dependencies. This RFC series is split into reviewable and compilable chunks. This patch adds a new driver and registers two nvdimm bus needed for ndctl make check. Signed-off-by: Santosh Sivaraj <santosh@fossix.org> Link: https://lore.kernel.org/r/20201222042240.2983755-2-santosh@fossix.org Signed-off-by: Dan Williams <dan.j.williams@intel.com>
14 lines
290 B
Makefile
14 lines
290 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
ccflags-y := -I$(srctree)/drivers/nvdimm/
|
|
ccflags-y += -I$(srctree)/drivers/acpi/nfit/
|
|
|
|
obj-m += nfit_test.o
|
|
obj-m += nfit_test_iomap.o
|
|
|
|
ifeq ($(CONFIG_ACPI_NFIT),m)
|
|
nfit_test-y := nfit.o
|
|
else
|
|
nfit_test-y := ndtest.o
|
|
endif
|
|
nfit_test_iomap-y := iomap.o
|