diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-03-17 08:47:24 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-03-17 08:47:24 -0400 |
commit | 75c44eddcb4989b85826143bc09fd3ad120abd4e (patch) | |
tree | 13136da91a17c8e3970b2201bdc1f7b412cf3989 | |
parent | 6621c5a69a1dac50852ef09d5cf33154a174805a (diff) | |
parent | 7919010c4224e07b871f3b5513d245cc029fcd67 (diff) |
Merge branch 'acpi-config'
* acpi-config:
ACPI: Remove Kconfig symbol ACPI_PROCFS
ACPI / APEI: Remove X86 redundant dependency for APEI GHES.
ACPI: introduce CONFIG_ACPI_REDUCED_HARDWARE_ONLY
-rw-r--r-- | arch/ia64/configs/generic_defconfig | 1 | ||||
-rw-r--r-- | arch/ia64/configs/tiger_defconfig | 1 | ||||
-rw-r--r-- | arch/ia64/configs/zx1_defconfig | 1 | ||||
-rw-r--r-- | arch/x86/configs/i386_defconfig | 1 | ||||
-rw-r--r-- | arch/x86/configs/x86_64_defconfig | 1 | ||||
-rw-r--r-- | drivers/acpi/Kconfig | 26 | ||||
-rw-r--r-- | drivers/acpi/apei/Kconfig | 2 | ||||
-rw-r--r-- | include/acpi/platform/aclinux.h | 6 |
8 files changed, 20 insertions, 19 deletions
diff --git a/arch/ia64/configs/generic_defconfig b/arch/ia64/configs/generic_defconfig index efbd2929aeb7..f4a0daa556eb 100644 --- a/arch/ia64/configs/generic_defconfig +++ b/arch/ia64/configs/generic_defconfig | |||
@@ -25,7 +25,6 @@ CONFIG_KEXEC=y | |||
25 | CONFIG_CRASH_DUMP=y | 25 | CONFIG_CRASH_DUMP=y |
26 | CONFIG_EFI_VARS=y | 26 | CONFIG_EFI_VARS=y |
27 | CONFIG_BINFMT_MISC=m | 27 | CONFIG_BINFMT_MISC=m |
28 | CONFIG_ACPI_PROCFS=y | ||
29 | CONFIG_ACPI_BUTTON=m | 28 | CONFIG_ACPI_BUTTON=m |
30 | CONFIG_ACPI_FAN=m | 29 | CONFIG_ACPI_FAN=m |
31 | CONFIG_ACPI_DOCK=y | 30 | CONFIG_ACPI_DOCK=y |
diff --git a/arch/ia64/configs/tiger_defconfig b/arch/ia64/configs/tiger_defconfig index 0f4e9e41f130..0fed9ae5a42a 100644 --- a/arch/ia64/configs/tiger_defconfig +++ b/arch/ia64/configs/tiger_defconfig | |||
@@ -26,7 +26,6 @@ CONFIG_IA64_PALINFO=y | |||
26 | CONFIG_KEXEC=y | 26 | CONFIG_KEXEC=y |
27 | CONFIG_EFI_VARS=y | 27 | CONFIG_EFI_VARS=y |
28 | CONFIG_BINFMT_MISC=m | 28 | CONFIG_BINFMT_MISC=m |
29 | CONFIG_ACPI_PROCFS=y | ||
30 | CONFIG_ACPI_BUTTON=m | 29 | CONFIG_ACPI_BUTTON=m |
31 | CONFIG_ACPI_FAN=m | 30 | CONFIG_ACPI_FAN=m |
32 | CONFIG_ACPI_PROCESSOR=m | 31 | CONFIG_ACPI_PROCESSOR=m |
diff --git a/arch/ia64/configs/zx1_defconfig b/arch/ia64/configs/zx1_defconfig index fc7aba07c2b4..54bc72eda30d 100644 --- a/arch/ia64/configs/zx1_defconfig +++ b/arch/ia64/configs/zx1_defconfig | |||
@@ -16,7 +16,6 @@ CONFIG_IA64_PALINFO=y | |||
16 | CONFIG_CRASH_DUMP=y | 16 | CONFIG_CRASH_DUMP=y |
17 | CONFIG_EFI_VARS=y | 17 | CONFIG_EFI_VARS=y |
18 | CONFIG_BINFMT_MISC=y | 18 | CONFIG_BINFMT_MISC=y |
19 | CONFIG_ACPI_PROCFS=y | ||
20 | CONFIG_HOTPLUG_PCI=y | 19 | CONFIG_HOTPLUG_PCI=y |
21 | CONFIG_HOTPLUG_PCI_ACPI=y | 20 | CONFIG_HOTPLUG_PCI_ACPI=y |
22 | CONFIG_PACKET=y | 21 | CONFIG_PACKET=y |
diff --git a/arch/x86/configs/i386_defconfig b/arch/x86/configs/i386_defconfig index a7fef2621cc9..619e7f7426c6 100644 --- a/arch/x86/configs/i386_defconfig +++ b/arch/x86/configs/i386_defconfig | |||
@@ -60,7 +60,6 @@ CONFIG_CRASH_DUMP=y | |||
60 | CONFIG_HIBERNATION=y | 60 | CONFIG_HIBERNATION=y |
61 | CONFIG_PM_DEBUG=y | 61 | CONFIG_PM_DEBUG=y |
62 | CONFIG_PM_TRACE_RTC=y | 62 | CONFIG_PM_TRACE_RTC=y |
63 | CONFIG_ACPI_PROCFS=y | ||
64 | CONFIG_ACPI_DOCK=y | 63 | CONFIG_ACPI_DOCK=y |
65 | CONFIG_CPU_FREQ=y | 64 | CONFIG_CPU_FREQ=y |
66 | # CONFIG_CPU_FREQ_STAT is not set | 65 | # CONFIG_CPU_FREQ_STAT is not set |
diff --git a/arch/x86/configs/x86_64_defconfig b/arch/x86/configs/x86_64_defconfig index c1119d4c1281..6181c69b786b 100644 --- a/arch/x86/configs/x86_64_defconfig +++ b/arch/x86/configs/x86_64_defconfig | |||
@@ -58,7 +58,6 @@ CONFIG_CRASH_DUMP=y | |||
58 | CONFIG_HIBERNATION=y | 58 | CONFIG_HIBERNATION=y |
59 | CONFIG_PM_DEBUG=y | 59 | CONFIG_PM_DEBUG=y |
60 | CONFIG_PM_TRACE_RTC=y | 60 | CONFIG_PM_TRACE_RTC=y |
61 | CONFIG_ACPI_PROCFS=y | ||
62 | CONFIG_ACPI_DOCK=y | 61 | CONFIG_ACPI_DOCK=y |
63 | CONFIG_CPU_FREQ=y | 62 | CONFIG_CPU_FREQ=y |
64 | # CONFIG_CPU_FREQ_STAT is not set | 63 | # CONFIG_CPU_FREQ_STAT is not set |
diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index 4770de5707b9..f60f11d7e489 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig | |||
@@ -43,19 +43,6 @@ config ACPI_SLEEP | |||
43 | depends on SUSPEND || HIBERNATION | 43 | depends on SUSPEND || HIBERNATION |
44 | default y | 44 | default y |
45 | 45 | ||
46 | config ACPI_PROCFS | ||
47 | bool "Deprecated /proc/acpi files" | ||
48 | depends on PROC_FS | ||
49 | help | ||
50 | For backwards compatibility, this option allows | ||
51 | deprecated /proc/acpi/ files to exist, even when | ||
52 | they have been replaced by functions in /sys. | ||
53 | |||
54 | This option has no effect on /proc/acpi/ files | ||
55 | and functions which do not yet exist in /sys. | ||
56 | |||
57 | Say N to delete /proc/acpi/ files that have moved to /sys/ | ||
58 | |||
59 | config ACPI_EC_DEBUGFS | 46 | config ACPI_EC_DEBUGFS |
60 | tristate "EC read/write access through /sys/kernel/debug/ec" | 47 | tristate "EC read/write access through /sys/kernel/debug/ec" |
61 | default n | 48 | default n |
@@ -343,6 +330,19 @@ config ACPI_BGRT | |||
343 | data from the firmware boot splash. It will appear under | 330 | data from the firmware boot splash. It will appear under |
344 | /sys/firmware/acpi/bgrt/ . | 331 | /sys/firmware/acpi/bgrt/ . |
345 | 332 | ||
333 | config ACPI_REDUCED_HARDWARE_ONLY | ||
334 | bool "Hardware-reduced ACPI support only" if EXPERT | ||
335 | def_bool n | ||
336 | depends on ACPI | ||
337 | help | ||
338 | This config item changes the way the ACPI code is built. When this | ||
339 | option is selected, the kernel will use a specialized version of | ||
340 | ACPICA that ONLY supports the ACPI "reduced hardware" mode. The | ||
341 | resulting kernel will be smaller but it will also be restricted to | ||
342 | running in ACPI reduced hardware mode ONLY. | ||
343 | |||
344 | If you are unsure what to do, do not enable this option. | ||
345 | |||
346 | source "drivers/acpi/apei/Kconfig" | 346 | source "drivers/acpi/apei/Kconfig" |
347 | 347 | ||
348 | config ACPI_EXTLOG | 348 | config ACPI_EXTLOG |
diff --git a/drivers/acpi/apei/Kconfig b/drivers/acpi/apei/Kconfig index 3650b2183227..c4dac7150960 100644 --- a/drivers/acpi/apei/Kconfig +++ b/drivers/acpi/apei/Kconfig | |||
@@ -12,7 +12,7 @@ config ACPI_APEI | |||
12 | 12 | ||
13 | config ACPI_APEI_GHES | 13 | config ACPI_APEI_GHES |
14 | bool "APEI Generic Hardware Error Source" | 14 | bool "APEI Generic Hardware Error Source" |
15 | depends on ACPI_APEI && X86 | 15 | depends on ACPI_APEI |
16 | select ACPI_HED | 16 | select ACPI_HED |
17 | select IRQ_WORK | 17 | select IRQ_WORK |
18 | select GENERIC_ALLOCATOR | 18 | select GENERIC_ALLOCATOR |
diff --git a/include/acpi/platform/aclinux.h b/include/acpi/platform/aclinux.h index 008aa287c7a9..30c9a7c1af88 100644 --- a/include/acpi/platform/aclinux.h +++ b/include/acpi/platform/aclinux.h | |||
@@ -52,6 +52,12 @@ | |||
52 | 52 | ||
53 | #ifdef __KERNEL__ | 53 | #ifdef __KERNEL__ |
54 | 54 | ||
55 | /* Compile for reduced hardware mode only with this kernel config */ | ||
56 | |||
57 | #ifdef CONFIG_ACPI_REDUCED_HARDWARE_ONLY | ||
58 | #define ACPI_REDUCED_HARDWARE 1 | ||
59 | #endif | ||
60 | |||
55 | #include <linux/string.h> | 61 | #include <linux/string.h> |
56 | #include <linux/kernel.h> | 62 | #include <linux/kernel.h> |
57 | #include <linux/ctype.h> | 63 | #include <linux/ctype.h> |