File tree Expand file tree Collapse file tree 8 files changed +33
-30
lines changed Expand file tree Collapse file tree 8 files changed +33
-30
lines changed Original file line number Diff line number Diff line change @@ -447,32 +447,7 @@ config ACPI_REDUCED_HARDWARE_ONLY
447
447
448
448
If you are unsure what to do, do not enable this option.
449
449
450
- config ACPI_NFIT
451
- tristate "ACPI NVDIMM Firmware Interface Table (NFIT)"
452
- depends on PHYS_ADDR_T_64BIT
453
- depends on BLK_DEV
454
- depends on ARCH_HAS_MMIO_FLUSH
455
- select LIBNVDIMM
456
- help
457
- Infrastructure to probe ACPI 6 compliant platforms for
458
- NVDIMMs (NFIT) and register a libnvdimm device tree. In
459
- addition to storage devices this also enables libnvdimm to pass
460
- ACPI._DSM messages for platform/dimm configuration.
461
-
462
- To compile this driver as a module, choose M here:
463
- the module will be called nfit.
464
-
465
- config ACPI_NFIT_DEBUG
466
- bool "NFIT DSM debug"
467
- depends on ACPI_NFIT
468
- depends on DYNAMIC_DEBUG
469
- default n
470
- help
471
- Enabling this option causes the nfit driver to dump the
472
- input and output buffers of _DSM operations on the ACPI0012
473
- device and its children. This can be very verbose, so leave
474
- it disabled unless you are debugging a hardware / firmware
475
- issue.
450
+ source "drivers/acpi/nfit/Kconfig"
476
451
477
452
source "drivers/acpi/apei/Kconfig"
478
453
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ obj-$(CONFIG_ACPI_PCI_SLOT) += pci_slot.o
70
70
obj-$(CONFIG_ACPI_PROCESSOR) += processor.o
71
71
obj-$(CONFIG_ACPI) += container.o
72
72
obj-$(CONFIG_ACPI_THERMAL) += thermal.o
73
- obj-$(CONFIG_ACPI_NFIT) += nfit.o
73
+ obj-$(CONFIG_ACPI_NFIT) += nfit/
74
74
obj-$(CONFIG_ACPI) += acpi_memhotplug.o
75
75
obj-$(CONFIG_ACPI_HOTPLUG_IOAPIC) += ioapic.o
76
76
obj-$(CONFIG_ACPI_BATTERY) += battery.o
Original file line number Diff line number Diff line change
1
+ config ACPI_NFIT
2
+ tristate "ACPI NVDIMM Firmware Interface Table (NFIT)"
3
+ depends on PHYS_ADDR_T_64BIT
4
+ depends on BLK_DEV
5
+ depends on ARCH_HAS_MMIO_FLUSH
6
+ select LIBNVDIMM
7
+ help
8
+ Infrastructure to probe ACPI 6 compliant platforms for
9
+ NVDIMMs (NFIT) and register a libnvdimm device tree. In
10
+ addition to storage devices this also enables libnvdimm to pass
11
+ ACPI._DSM messages for platform/dimm configuration.
12
+
13
+ To compile this driver as a module, choose M here:
14
+ the module will be called nfit.
15
+
16
+ config ACPI_NFIT_DEBUG
17
+ bool "NFIT DSM debug"
18
+ depends on ACPI_NFIT
19
+ depends on DYNAMIC_DEBUG
20
+ default n
21
+ help
22
+ Enabling this option causes the nfit driver to dump the
23
+ input and output buffers of _DSM operations on the ACPI0012
24
+ device and its children. This can be very verbose, so leave
25
+ it disabled unless you are debugging a hardware / firmware
26
+ issue.
Original file line number Diff line number Diff line change
1
+ obj-$(CONFIG_ACPI_NFIT) := nfit.o
2
+ nfit-y := core.o
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ ldflags-y += --wrap=remove_resource
16
16
17
17
DRIVERS := ../../../drivers
18
18
NVDIMM_SRC := $(DRIVERS ) /nvdimm
19
- ACPI_SRC := $(DRIVERS ) /acpi
19
+ ACPI_SRC := $(DRIVERS ) /acpi/nfit
20
20
DAX_SRC := $(DRIVERS ) /dax
21
21
ccflags-y := -I$(src ) /$(NVDIMM_SRC ) /
22
22
@@ -29,7 +29,7 @@ obj-$(CONFIG_ACPI_NFIT) += nfit.o
29
29
obj-$(CONFIG_DEV_DAX) += dax.o
30
30
obj-$(CONFIG_DEV_DAX_PMEM) += dax_pmem.o
31
31
32
- nfit-y := $(ACPI_SRC ) /nfit .o
32
+ nfit-y := $(ACPI_SRC ) /core .o
33
33
nfit-y += config_check.o
34
34
35
35
nd_pmem-y := $(NVDIMM_SRC ) /pmem.o
Original file line number Diff line number Diff line change 1
1
ccflags-y := -I$(src ) /../../../../drivers/nvdimm/
2
- ccflags-y += -I$(src ) /../../../../drivers/acpi/
2
+ ccflags-y += -I$(src ) /../../../../drivers/acpi/nfit/
3
3
4
4
obj-m += nfit_test.o
5
5
obj-m += nfit_test_iomap.o
You can’t perform that action at this time.
0 commit comments