Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux...
[deliverable/linux.git] / drivers / acpi / Kconfig
CommitLineData
1da177e4
LT
1#
2# ACPI Configuration
3#
4
3f2c48c9 5menuconfig ACPI
355ee5eb 6 bool "ACPI (Advanced Configuration and Power Interface) Support"
1da177e4
LT
7 depends on !IA64_HP_SIM
8 depends on IA64 || X86
1300124f 9 depends on PCI
243b66e7 10 select PNP
1da177e4 11 default y
1c48aa36 12 help
1da177e4 13 Advanced Configuration and Power Interface (ACPI) support for
1c48aa36 14 Linux requires an ACPI-compliant platform (hardware/firmware),
1da177e4
LT
15 and assumes the presence of OS-directed configuration and power
16 management (OSPM) software. This option will enlarge your
17 kernel by about 70K.
18
19 Linux ACPI provides a robust functional replacement for several
20 legacy configuration and power management interfaces, including
21 the Plug-and-Play BIOS specification (PnP BIOS), the
22 MultiProcessor Specification (MPS), and the Advanced Power
23 Management (APM) specification. If both ACPI and APM support
1c48aa36 24 are configured, ACPI is used.
1da177e4 25
1c48aa36 26 The project home page for the Linux ACPI subsystem is here:
aaf3d29f 27 <https://01.org/linux-acpi>
1da177e4
LT
28
29 Linux support for ACPI is based on Intel Corporation's ACPI
1c48aa36
BH
30 Component Architecture (ACPI CA). For more information on the
31 ACPI CA, see:
32 <http://acpica.org/>
1da177e4 33
c7f5220d
HG
34 ACPI is an open industry specification originally co-developed by
35 Hewlett-Packard, Intel, Microsoft, Phoenix, and Toshiba. Currently,
36 it is developed by the ACPI Specification Working Group (ASWG) under
37 the UEFI Forum and any UEFI member can join the ASWG and contribute
38 to the ACPI specification.
1c48aa36 39 The specification is available at:
1da177e4 40 <http://www.acpi.info>
c7f5220d 41 <http://www.uefi.org/acpi/specs>
1da177e4 42
3e11c3ce
LB
43if ACPI
44
673d5b43
LB
45config ACPI_SLEEP
46 bool
5d1e072b 47 depends on SUSPEND || HIBERNATION
673d5b43
LB
48 default y
49
1195a098
TR
50config ACPI_EC_DEBUGFS
51 tristate "EC read/write access through /sys/kernel/debug/ec"
500de3dd 52 default n
1195a098
TR
53 help
54 Say N to disable Embedded Controller /sys/kernel/debug interface
55
500de3dd
TR
56 Be aware that using this interface can confuse your Embedded
57 Controller in a way that a normal reboot is not enough. You then
25cb1bfd 58 have to power off your system, and remove the laptop battery for
500de3dd 59 some seconds.
1195a098
TR
60 An Embedded Controller typically is available on laptops and reads
61 sensor values like battery state and temperature.
500de3dd
TR
62 The kernel accesses the EC through ACPI parsed code provided by BIOS
63 tables. This option allows to access the EC directly without ACPI
64 code being involved.
1195a098
TR
65 Thus this option is a debug option that helps to write ACPI drivers
66 and can be used to identify ACPI code or EC firmware bugs.
67
1da177e4
LT
68config ACPI_AC
69 tristate "AC Adapter"
5527c8be 70 depends on X86
1b3d4c3b 71 select POWER_SUPPLY
07fefe4c 72 default y
1da177e4 73 help
1c48aa36
BH
74 This driver supports the AC Adapter object, which indicates
75 whether a system is on AC or not. If you have a system that can
07fefe4c 76 switch between A/C and battery, say Y.
1da177e4 77
1c48aa36
BH
78 To compile this driver as a module, choose M here:
79 the module will be called ac.
80
1da177e4
LT
81config ACPI_BATTERY
82 tristate "Battery"
5527c8be 83 depends on X86
1b3d4c3b 84 select POWER_SUPPLY
07fefe4c 85 default y
1da177e4
LT
86 help
87 This driver adds support for battery information through
88 /proc/acpi/battery. If you have a mobile system with a battery,
89 say Y.
90
1c48aa36
BH
91 To compile this driver as a module, choose M here:
92 the module will be called battery.
93
1da177e4
LT
94config ACPI_BUTTON
95 tristate "Button"
c0968f0e 96 depends on INPUT
07fefe4c 97 default y
1da177e4 98 help
1c48aa36 99 This driver handles events on the power, sleep, and lid buttons.
7d13f94c
KM
100 A daemon reads events from input devices or via netlink and
101 performs user-defined actions such as shutting down the system.
102 This is necessary for software-controlled poweroff.
1c48aa36
BH
103
104 To compile this driver as a module, choose M here:
105 the module will be called button.
1da177e4
LT
106
107config ACPI_VIDEO
108 tristate "Video"
9f380fc5 109 depends on X86 && BACKLIGHT_CLASS_DEVICE
03e2bf26 110 depends on INPUT
63c4ec90 111 select THERMAL
1da177e4 112 help
1c48aa36 113 This driver implements the ACPI Extensions For Display Adapters
1da177e4 114 for integrated graphics devices on motherboard, as specified in
1c48aa36
BH
115 ACPI 2.0 Specification, Appendix B. This supports basic operations
116 such as defining the video POST device, retrieving EDID information,
117 and setting up a video output.
118
119 To compile this driver as a module, choose M here:
120 the module will be called video.
1da177e4
LT
121
122config ACPI_FAN
123 tristate "Fan"
63c4ec90 124 select THERMAL
07fefe4c 125 default y
1da177e4 126 help
1c48aa36 127 This driver supports ACPI fan devices, allowing user-mode
1da177e4
LT
128 applications to perform basic fan control (on, off, status).
129
1c48aa36
BH
130 To compile this driver as a module, choose M here:
131 the module will be called fan.
132
c8f7a62c 133config ACPI_DOCK
898b054f 134 bool "Dock"
c8f7a62c 135 help
1c48aa36
BH
136 This driver supports ACPI-controlled docking stations and removable
137 drive bays such as the IBM Ultrabay and the Dell Module Bay.
01b57e73 138
1da177e4
LT
139config ACPI_PROCESSOR
140 tristate "Processor"
63c4ec90 141 select THERMAL
a4084c14 142 select CPU_IDLE
07fefe4c 143 default y
1da177e4 144 help
1c48aa36
BH
145 This driver installs ACPI as the idle handler for Linux and uses
146 ACPI C2 and C3 processor states to save power on systems that
07fefe4c 147 support it. It is required by several flavors of cpufreq
1c48aa36
BH
148 performance-state drivers.
149
150 To compile this driver as a module, choose M here:
151 the module will be called processor.
4b88e330 152
e92b297c
ZY
153config ACPI_IPMI
154 tristate "IPMI"
4b88e330 155 depends on IPMI_SI
e92b297c
ZY
156 default n
157 help
158 This driver enables the ACPI to access the BMC controller. And it
159 uses the IPMI request/response message to communicate with BMC
160 controller, which can be found on on the server.
161
162 To compile this driver as a module, choose M here:
163 the module will be called as acpi_ipmi.
1da177e4
LT
164
165config ACPI_HOTPLUG_CPU
cbfc1bae 166 bool
f756f28b 167 depends on ACPI_PROCESSOR && HOTPLUG_CPU
1da177e4 168 select ACPI_CONTAINER
cbfc1bae 169 default y
1da177e4 170
8e0af514
SL
171config ACPI_PROCESSOR_AGGREGATOR
172 tristate "Processor Aggregator"
173 depends on ACPI_PROCESSOR
d91f79eb 174 depends on X86
8e0af514
SL
175 help
176 ACPI 4.0 defines processor Aggregator, which enables OS to perform
c4c4e2a5 177 specific processor configuration and control that applies to all
8e0af514
SL
178 processors in the platform. Currently only logical processor idling
179 is defined, which is to reduce power consumption. This driver
c4c4e2a5 180 supports the new device.
8e0af514 181
1da177e4
LT
182config ACPI_THERMAL
183 tristate "Thermal Zone"
184 depends on ACPI_PROCESSOR
3f655ef8 185 select THERMAL
07fefe4c 186 default y
1da177e4 187 help
1c48aa36 188 This driver supports ACPI thermal zones. Most mobile and
1da177e4
LT
189 some desktop systems support ACPI thermal zones. It is HIGHLY
190 recommended that this option be enabled, as your processor(s)
191 may be damaged without it.
192
1c48aa36
BH
193 To compile this driver as a module, choose M here:
194 the module will be called thermal.
195
1da177e4
LT
196config ACPI_NUMA
197 bool "NUMA support"
198 depends on NUMA
762834e8 199 depends on (X86 || IA64)
1da177e4
LT
200 default y if IA64_GENERIC || IA64_SGI_SN2
201
7ce9573e
RD
202config ACPI_CUSTOM_DSDT_FILE
203 string "Custom DSDT Table file to include"
204 default ""
1da177e4 205 depends on !STANDALONE
1da177e4 206 help
d89e9d6b
LB
207 This option supports a custom DSDT by linking it into the kernel.
208 See Documentation/acpi/dsdt-override.txt
209
c30fe7f7
UZ
210 Enter the full path name to the file which includes the AmlCode
211 declaration.
1da177e4 212
7ce9573e
RD
213 If unsure, don't enter a file name.
214
215config ACPI_CUSTOM_DSDT
216 bool
217 default ACPI_CUSTOM_DSDT_FILE != ""
218
53aac44c 219config ACPI_INITRD_TABLE_OVERRIDE
565d956a
TR
220 bool "ACPI tables override via initrd"
221 depends on BLK_DEV_INITRD && X86
53aac44c
TR
222 default n
223 help
224 This option provides functionality to override arbitrary ACPI tables
225 via initrd. No functional change if no ACPI tables are passed via
226 initrd, therefore it's safe to say Y.
227 See Documentation/acpi/initrd_table_override.txt for details
228
1da177e4
LT
229config ACPI_DEBUG
230 bool "Debug Statements"
1da177e4
LT
231 default n
232 help
a0d84a92
BH
233 The ACPI subsystem can produce debug output. Saying Y enables this
234 output and increases the kernel size by around 50K.
235
236 Use the acpi.debug_layer and acpi.debug_level kernel command-line
237 parameters documented in Documentation/acpi/debug.txt and
238 Documentation/kernel-parameters.txt to control the type and
239 amount of debug output.
1da177e4 240
8344b568 241config ACPI_PCI_SLOT
ab1a2e03 242 bool "PCI slot detection driver"
268a03a4 243 depends on SYSFS
8344b568
AC
244 default n
245 help
1c48aa36
BH
246 This driver creates entries in /sys/bus/pci/slots/ for all PCI
247 slots in the system. This can help correlate PCI bus addresses,
248 i.e., segment/bus/device/function tuples, with physical slots in
249 the system. If you are unsure, say N.
250
1da177e4 251config X86_PM_TIMER
6a108a14 252 bool "Power Management Timer Support" if EXPERT
1da177e4 253 depends on X86
07fefe4c 254 default y
1da177e4
LT
255 help
256 The Power Management Timer is available on all ACPI-capable,
257 in most cases even if ACPI is unusable or blacklisted.
258
c73a668c 259 This timing source is not affected by power management features
1da177e4
LT
260 like aggressive processor idling, throttling, frequency and/or
261 voltage scaling, unlike the commonly used Time Stamp Counter
262 (TSC) timing source.
263
e78256b8
AK
264 You should nearly always say Y here because many modern
265 systems require this timer.
1da177e4
LT
266
267config ACPI_CONTAINER
06991c28 268 bool "Container and Module Devices"
ea6a4581 269 default (ACPI_HOTPLUG_MEMORY || ACPI_HOTPLUG_CPU)
1c48aa36
BH
270 help
271 This driver supports ACPI Container and Module devices (IDs
272 ACPI0004, PNP0A05, and PNP0A06).
45b1b196 273
1c48aa36
BH
274 This helps support hotplug of nodes, CPUs, and memory.
275
276 To compile this driver as a module, choose M here:
277 the module will be called container.
1da177e4
LT
278
279config ACPI_HOTPLUG_MEMORY
0a347644 280 bool "Memory Hotplug"
bc02af93 281 depends on MEMORY_HOTPLUG
1da177e4 282 help
1c48aa36
BH
283 This driver supports ACPI memory hotplug. The driver
284 fields notifications on ACPI memory devices (PNP0C80),
285 which represent memory ranges that may be onlined or
286 offlined during runtime.
1da177e4 287
1c48aa36
BH
288 If your hardware and firmware do not support adding or
289 removing memory devices at runtime, you need not enable
290 this driver.
1da177e4 291
1c48aa36
BH
292 To compile this driver as a module, choose M here:
293 the module will be called acpi_memhotplug.
3f86b832
RT
294
295config ACPI_SBS
94f6c086 296 tristate "Smart Battery System"
b4150fc4 297 depends on X86
1b3d4c3b 298 select POWER_SUPPLY
3f86b832 299 help
1c48aa36 300 This driver supports the Smart Battery System, another
94f6c086 301 type of access to battery information, found on some laptops.
3f86b832 302
1c48aa36
BH
303 To compile this driver as a module, choose M here:
304 the modules will be called sbs and sbshc.
305
801eab81
HY
306config ACPI_HED
307 tristate "Hardware Error Device"
308 help
309 This driver supports the Hardware Error Device (PNP0C33),
310 which is used to report some hardware errors notified via
311 SCI, mainly the corrected errors.
312
526b4af4
TR
313config ACPI_CUSTOM_METHOD
314 tristate "Allow ACPI methods to be inserted/replaced at run time"
315 depends on DEBUG_FS
316 default n
317 help
bd1b2a55 318 This debug facility allows ACPI AML methods to be inserted and/or
526b4af4
TR
319 replaced without rebooting the system. For details refer to:
320 Documentation/acpi/method-customizing.txt.
321
322 NOTE: This option is security sensitive, because it allows arbitrary
323 kernel memory to be written to by root (uid=0) users, allowing them
324 to bypass certain security measures (e.g. if root is not allowed to
325 load additional kernel modules after boot, this feature may be used
326 to override that restriction).
327
d1ff4b1c 328config ACPI_BGRT
2223af38 329 bool "Boottime Graphics Resource Table support"
e66cd537 330 depends on EFI && X86
d1ff4b1c
MG
331 help
332 This driver adds support for exposing the ACPI Boottime Graphics
333 Resource Table, which allows the operating system to obtain
334 data from the firmware boot splash. It will appear under
335 /sys/firmware/acpi/bgrt/ .
336
af1ae78a
AS
337config ACPI_REDUCED_HARDWARE_ONLY
338 bool "Hardware-reduced ACPI support only" if EXPERT
339 def_bool n
340 depends on ACPI
341 help
342 This config item changes the way the ACPI code is built. When this
343 option is selected, the kernel will use a specialized version of
344 ACPICA that ONLY supports the ACPI "reduced hardware" mode. The
345 resulting kernel will be smaller but it will also be restricted to
346 running in ACPI reduced hardware mode ONLY.
347
348 If you are unsure what to do, do not enable this option.
349
a643ce20
HY
350source "drivers/acpi/apei/Kconfig"
351
4b3db708
CG
352config ACPI_EXTLOG
353 tristate "Extended Error Log support"
9ebddac7 354 depends on X86_MCE && X86_LOCAL_APIC
7ea6c6c1 355 select UEFI_CPER
4b3db708
CG
356 default n
357 help
358 Certain usages such as Predictive Failure Analysis (PFA) require
359 more information about the error than what can be described in
360 processor machine check banks. Most server processors log
361 additional information about the error in processor uncore
362 registers. Since the addresses and layout of these registers vary
363 widely from one processor to another, system software cannot
364 readily make use of them. To complicate matters further, some of
365 the additional error information cannot be constructed without
366 detailed knowledge about platform topology.
367
368 Enhanced MCA Logging allows firmware to provide additional error
369 information to system software, synchronous with MCE or CMCI. This
370 driver adds support for that functionality.
371
1da177e4 372endif # ACPI
This page took 0.749931 seconds and 5 git commands to generate.