blob: f4f0a1b9ba29e895b56edf943b57058aa24184fc [file] [log] [blame]
Mauro Carvalho Chehabe53dd082007-09-15 07:38:47 -03001 Kernel Parameters
2 ~~~~~~~~~~~~~~~~~
Linus Torvalds1da177e2005-04-16 15:20:36 -07003
Rusty Russell5888bcc2014-05-14 10:33:45 +09304The following is a consolidated list of the kernel parameters as
5implemented by the __setup(), core_param() and module_param() macros
6and sorted into English Dictionary order (defined as ignoring all
7punctuation and sorting digits before letters in a case insensitive
8manner), and with descriptions where known.
Linus Torvalds1da177e2005-04-16 15:20:36 -07009
Rusty Russell5888bcc2014-05-14 10:33:45 +093010The kernel parses parameters from the kernel command line up to "--";
11if it doesn't recognize a parameter and it doesn't contain a '.', the
12parameter gets passed to init: parameters with '=' go into init's
13environment, others are passed as command line arguments to init.
14Everything after "--" is passed as an argument to init.
Linus Torvalds1da177e2005-04-16 15:20:36 -070015
Rusty Russell5888bcc2014-05-14 10:33:45 +093016Module parameters can be specified in two ways: via the kernel command
17line with a module name prefix, or via modprobe, e.g.:
Linus Torvalds1da177e2005-04-16 15:20:36 -070018
Rusty Russell5888bcc2014-05-14 10:33:45 +093019 (kernel command line) usbcore.blinkenlights=1
20 (modprobe command line) modprobe usbcore blinkenlights=1
Linus Torvalds1da177e2005-04-16 15:20:36 -070021
Rusty Russell5888bcc2014-05-14 10:33:45 +093022Parameters for modules which are built into the kernel need to be
23specified on the kernel command line. modprobe looks through the
24kernel command line (/proc/cmdline) and collects module parameters
25when it loads a module, so the kernel command line can be used for
26loadable modules too.
Linus Torvalds1da177e2005-04-16 15:20:36 -070027
Randy Dunlapca1eda22009-05-06 16:02:58 -070028Hyphens (dashes) and underscores are equivalent in parameter names, so
29 log_buf_len=1M print-fatal-signals=1
30can also be entered as
31 log-buf-len=1M print_fatal_signals=1
32
Rusty Russell5888bcc2014-05-14 10:33:45 +093033Double-quotes can be used to protect spaces in values, e.g.:
34 param="spaces in here"
Randy Dunlapca1eda22009-05-06 16:02:58 -070035
Noam Camus2d13e6c2016-10-11 13:51:35 -070036cpu lists:
37----------
38
39Some kernel parameters take a list of CPUs as a value, e.g. isolcpus,
40nohz_full, irqaffinity, rcu_nocbs. The format of this list is:
41
42 <cpu number>,...,<cpu number>
43
44or
45
46 <cpu number>-<cpu number>
47 (must be a positive range in ascending order)
48
49or a mixture
50
51<cpu number>,...,<cpu number>-<cpu number>
52
53Note that for the special case of a range one can split the range into equal
54sized groups and for each group use some amount from the beginning of that
55group:
56
57 <cpu number>-cpu number>:<used size>/<group size>
58
59For example one can add to the command line following parameter:
60
61 isolcpus=1,2,10-20,100-2000:2/25
62
63where the final item represents CPUs 100,101,125,126,150,151,...
64
65
66
Stefan Richtera901ebb2006-04-01 01:43:18 +020067This document may not be entirely up to date and comprehensive. The command
68"modinfo -p ${modulename}" shows a current list of all parameters of a loadable
69module. Loadable modules, after being loaded into the running kernel, also
70reveal their parameters in /sys/module/${modulename}/parameters/. Some of these
71parameters may be changed at runtime by the command
72"echo -n ${value} > /sys/module/${modulename}/parameters/${parm}".
73
Stefan Richter6585fa82006-04-01 01:44:30 +020074The parameters listed below are only valid if certain kernel build options were
75enabled and if respective hardware is present. The text in square brackets at
76the beginning of each description states the restrictions within which a
77parameter is applicable:
Linus Torvalds1da177e2005-04-16 15:20:36 -070078
79 ACPI ACPI support is enabled.
Chuck Ebbertc99c1082007-07-27 10:46:20 +100080 AGP AGP (Accelerated Graphics Port) is enabled.
Linus Torvalds1da177e2005-04-16 15:20:36 -070081 ALSA ALSA sound support is enabled.
82 APIC APIC support is enabled.
83 APM Advanced Power Management support is enabled.
Randy Dunlap16290242011-08-13 12:34:52 -070084 ARM ARM architecture is enabled.
Haavard Skinnemoene7ba1762007-10-10 14:58:29 +020085 AVR32 AVR32 architecture is enabled.
Linus Torvalds1da177e2005-04-16 15:20:36 -070086 AX25 Appropriate AX.25 support is enabled.
Robin Getz0ae53642007-10-09 17:24:49 +080087 BLACKFIN Blackfin architecture is enabled.
Olof Johansson1e435252013-04-27 14:10:18 -070088 CLK Common clock infrastructure is enabled.
Robert Tivy5c71d612013-03-28 18:41:46 -070089 CMA Contiguous Memory Area support is enabled.
Alan Cox9cfe2682011-01-25 14:18:38 +000090 DRM Direct Rendering Management support is enabled.
91 DYNAMIC_DEBUG Build in debug messages and enable them at runtime
Linus Torvalds1da177e2005-04-16 15:20:36 -070092 EDD BIOS Enhanced Disk Drive Services (EDD) is enabled
93 EFI EFI Partitioning (GPT) is enabled
94 EIDE EIDE/ATAPI support is enabled.
Mimi Zohar7102ebc2011-05-12 18:33:20 -040095 EVM Extended Verification Module
Linus Torvalds1da177e2005-04-16 15:20:36 -070096 FB The frame buffer device is enabled.
Randy Dunlap16290242011-08-13 12:34:52 -070097 FTRACE Function tracing enabled.
Peter Oberparleiter2521f2c2009-06-17 16:28:08 -070098 GCOV GCOV profiling is enabled.
Linus Torvalds1da177e2005-04-16 15:20:36 -070099 HW Appropriate hardware is enabled.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700100 IA-64 IA-64 architecture is enabled.
Mimi Zohar6146f0d2009-02-04 09:06:57 -0500101 IMA Integrity measurement architecture is enabled.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700102 IOSCHED More than one I/O scheduler is enabled.
Adrian Bunk41e2e8b2005-07-12 13:58:33 -0700103 IP_PNP IP DHCP, BOOTP, or RARP is enabled.
Brian Haleyb0f83b22010-02-04 13:36:50 -0800104 IPV6 IPv6 support is enabled.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700105 ISAPNP ISA PnP code is enabled.
106 ISDN Appropriate ISDN support is enabled.
107 JOY Appropriate joystick support is enabled.
Jason Wessel84c08fd2010-05-20 21:04:24 -0500108 KGDB Kernel debugger support is enabled.
Andre Przywarafef07aa2009-07-10 14:20:35 +0200109 KVM Kernel Virtual Machine support is enabled.
Kristen Carlson Accardi11ef6972006-09-28 11:29:01 -0700110 LIBATA Libata driver is enabled
Linus Torvalds1da177e2005-04-16 15:20:36 -0700111 LP Printer support is enabled.
112 LOOP Loopback device support is enabled.
113 M68k M68k architecture is enabled.
114 These options have more detailed description inside of
115 Documentation/m68k/kernel-options.txt.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700116 MDA MDA console support is enabled.
Randy Dunlap16290242011-08-13 12:34:52 -0700117 MIPS MIPS architecture is enabled.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700118 MOUSE Appropriate mouse support is enabled.
Matthew Wilcox309e57d2006-03-05 22:33:34 -0700119 MSI Message Signaled Interrupts (PCI).
Randy Dunlapc8facbb2007-07-31 00:37:40 -0700120 MTD MTD (Memory Technology Device) support is enabled.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700121 NET Appropriate network support is enabled.
122 NUMA NUMA support is enabled.
123 NFS Appropriate NFS support is enabled.
124 OSS OSS sound support is enabled.
Randy Dunlapc8facbb2007-07-31 00:37:40 -0700125 PV_OPS A paravirtualized kernel is enabled.
126 PARIDE The ParIDE (parallel port IDE) subsystem is enabled.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700127 PARISC The PA-RISC architecture is enabled.
128 PCI PCI bus support is enabled.
Randy Dunlap7f785762007-10-05 13:17:58 -0700129 PCIE PCI Express support is enabled.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700130 PCMCIA The PCMCIA subsystem is enabled.
131 PNP Plug & Play support is enabled.
132 PPC PowerPC architecture is enabled.
133 PPT Parallel port support is enabled.
134 PS2 Appropriate PS/2 support is enabled.
135 RAM RAM disk support is enabled.
136 S390 S390 architecture is enabled.
137 SCSI Appropriate SCSI support is enabled.
Randy Dunlap163475f2010-08-14 12:36:14 -0700138 A lot of drivers have their options described inside
139 the Documentation/scsi/ sub-directory.
James Morris20510f22007-10-16 23:31:32 -0700140 SECURITY Different security models are enabled.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700141 SELINUX SELinux support is enabled.
John Johansenc1c124e2010-07-29 14:48:09 -0700142 APPARMOR AppArmor support is enabled.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700143 SERIAL Serial support is enabled.
Paul Mundte523d932007-02-28 18:30:01 +0900144 SH SuperH architecture is enabled.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700145 SMP The kernel is an SMP kernel.
146 SPARC Sparc architecture is enabled.
David Brownell77437fd2008-07-23 21:28:33 -0700147 SWSUSP Software suspend (hibernation) is enabled.
148 SUSPEND System suspend states are enabled.
Rajiv Andrade225a9be2010-03-25 00:55:32 -0300149 TPM TPM drivers are enabled.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700150 TS Appropriate touchscreen support is enabled.
Alan Sternd4f373e2008-11-10 14:07:45 -0500151 UMS USB Mass Storage support is enabled.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700152 USB USB support is enabled.
153 USBHID USB Human Interface Device support is enabled.
154 V4L Video For Linux support is enabled.
Pawel Moll81a054c2012-05-09 18:30:16 +0100155 VMMIO Driver for memory mapped virtio devices is enabled.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700156 VGA The VGA console has been enabled.
157 VT Virtual terminal support is enabled.
158 WDT Watchdog support is enabled.
159 XT IBM PC/XT MFM hard disk support is enabled.
Alan Coxcd4f0ef2007-07-31 00:37:59 -0700160 X86-32 X86-32, aka i386 architecture is enabled.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700161 X86-64 X86-64 architecture is enabled.
162 More X86-64 boot options can be found in
Uwe Hermann71cced62008-10-20 09:32:21 -0700163 Documentation/x86/x86_64/boot-options.txt .
Randy Dunlap16290242011-08-13 12:34:52 -0700164 X86 Either 32-bit or 64-bit x86 (same as X86-32+X86-64)
Alex Thorlton1c532e02016-03-31 14:18:29 -0500165 X86_UV SGI UV support is enabled.
Stefano Stabellinic1c54132010-05-14 12:44:30 +0100166 XEN Xen support is enabled
Linus Torvalds1da177e2005-04-16 15:20:36 -0700167
168In addition, the following text indicates that the option:
169
170 BUGS= Relates to possible processor bugs on the said processor.
171 KNL Is a kernel start-up parameter.
172 BOOT Is a boot loader parameter.
173
174Parameters denoted with BOOT are actually interpreted by the boot
175loader, and have no meaning to the kernel directly.
176Do not modify the syntax of boot loader parameters without extreme
Kyle McMartin954a8b82009-02-19 16:48:14 -0500177need or coordination with <Documentation/x86/boot.txt>.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700178
Karsten Weiss55588702007-02-13 13:26:21 +0100179There are also arch-specific kernel-parameters not documented here.
Uwe Hermann71cced62008-10-20 09:32:21 -0700180See for example <Documentation/x86/x86_64/boot-options.txt>.
Karsten Weiss55588702007-02-13 13:26:21 +0100181
Linus Torvalds1da177e2005-04-16 15:20:36 -0700182Note that ALL kernel parameters listed below are CASE SENSITIVE, and that
183a trailing = on the name of any parameter states that that parameter will
184be entered as an environment variable, whereas its absence indicates that
185it will appear as a kernel argument readable via /proc/cmdline by programs
186running once the system is up.
187
jens m. noedler9c4751f2006-09-29 02:00:27 -0700188The number of kernel parameters is not limited, but the length of the
189complete command line (parameters including spaces etc.) is limited to
190a fixed number of characters. This limit depends on the architecture
191and is between 256 and 4096 characters. It is defined in the file
192./include/asm/setup.h as COMMAND_LINE_SIZE.
193
Ahmed S. Darwish7a19a232011-02-20 20:08:35 -0800194Finally, the [KMG] suffix is commonly described after a number of kernel
195parameter values. These 'K', 'M', and 'G' letters represent the _binary_
196multipliers 'Kilo', 'Mega', and 'Giga', equalling 2^10, 2^20, and 2^30
197bytes respectively. Such letter suffixes can also be entirely omitted.
198
jens m. noedler9c4751f2006-09-29 02:00:27 -0700199
Al Stoneb10d79f2015-03-24 14:02:41 +0000200 acpi= [HW,ACPI,X86,ARM64]
Bernhard Walle03d926f2007-03-06 02:29:44 -0800201 Advanced Configuration and Power Interface
Ard Biesheuvel6a1f5472016-04-12 16:09:11 +0200202 Format: { force | on | off | strict | noirq | rsdt |
Rami Rosene58d1542015-09-26 19:27:57 +0300203 copy_dsdt }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700204 force -- enable ACPI if default was off
Ard Biesheuvel6a1f5472016-04-12 16:09:11 +0200205 on -- enable ACPI but allow fallback to DT [arm64]
Linus Torvalds1da177e2005-04-16 15:20:36 -0700206 off -- disable ACPI if default was on
207 noirq -- do not use ACPI for IRQ routing
Randy Dunlapa9913042005-10-23 12:57:11 -0700208 strict -- Be less tolerant of platforms that are not
Linus Torvalds1da177e2005-04-16 15:20:36 -0700209 strictly ACPI specification compliant.
Zhao Yakui237889b2008-12-17 16:55:18 +0800210 rsdt -- prefer RSDT over (default) XSDT
Lin Mingaa2110c2010-04-08 14:34:27 +0800211 copy_dsdt -- copy DSDT to memory
Ard Biesheuvel6a1f5472016-04-12 16:09:11 +0200212 For ARM64, ONLY "acpi=off", "acpi=on" or "acpi=force"
213 are available
Linus Torvalds1da177e2005-04-16 15:20:36 -0700214
Paul Bolle395cf962011-08-15 02:02:26 +0200215 See also Documentation/power/runtime_pm.txt, pci=noacpi
Linus Torvalds1da177e2005-04-16 15:20:36 -0700216
Len Browna1fdcc02007-03-11 03:26:14 -0400217 acpi_apic_instance= [ACPI, IOAPIC]
218 Format: <int>
219 2: use 2nd APIC table, if available
220 1,0: use 1st APIC table
Len Brown4e381a42007-03-30 14:16:10 -0400221 default: 0
Len Browna1fdcc02007-03-11 03:26:14 -0400222
Thomas Renningerc3d6de62008-08-01 17:37:55 +0200223 acpi_backlight= [HW,ACPI]
224 acpi_backlight=vendor
225 acpi_backlight=video
226 If set to vendor, prefer vendor specific driver
227 (e.g. thinkpad_acpi, sony_acpi, etc.) instead
228 of the ACPI video.ko driver.
229
Colin Ian Kingb2ca5da2016-01-21 17:05:47 +0000230 acpi_force_32bit_fadt_addr
231 force FADT to use 32 bit addresses rather than the
232 64 bit X_* addresses. Some firmware have broken 64
233 bit addresses for force ACPI ignore these and use
234 the older legacy 32 bit addresses.
235
Dominik Brodowskief694492015-05-14 15:31:28 +0200236 acpica_no_return_repair [HW, ACPI]
237 Disable AML predefined validation mechanism
238 This mechanism can repair the evaluation result to make
239 the return objects more ACPI specification compliant.
240 This option is useful for developers to identify the
241 root cause of an AML interpreter issue when the issue
242 has something to do with the repair mechanism.
243
Bjorn Helgaasa0d84a92008-11-07 16:58:05 -0700244 acpi.debug_layer= [HW,ACPI,ACPI_DEBUG]
245 acpi.debug_level= [HW,ACPI,ACPI_DEBUG]
Linus Torvalds1da177e2005-04-16 15:20:36 -0700246 Format: <int>
Bjorn Helgaasa0d84a92008-11-07 16:58:05 -0700247 CONFIG_ACPI_DEBUG must be enabled to produce any ACPI
248 debug output. Bits in debug_layer correspond to a
249 _COMPONENT in an ACPI source file, e.g.,
250 #define _COMPONENT ACPI_PCI_COMPONENT
251 Bits in debug_level correspond to a level in
252 ACPI_DEBUG_PRINT statements, e.g.,
253 ACPI_DEBUG_PRINT((ACPI_DB_INFO, ...
Bjorn Helgaase76f4272008-11-13 17:30:13 -0600254 The debug_level mask defaults to "info". See
255 Documentation/acpi/debug.txt for more information about
256 debug layers and levels.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700257
Bjorn Helgaase76f4272008-11-13 17:30:13 -0600258 Enable processor driver info messages:
259 acpi.debug_layer=0x20000000
260 Enable PCI/PCI interrupt routing info messages:
261 acpi.debug_layer=0x400000
Bjorn Helgaasa0d84a92008-11-07 16:58:05 -0700262 Enable AML "Debug" output, i.e., stores to the Debug
263 object while interpreting AML:
264 acpi.debug_layer=0xffffffff acpi.debug_level=0x2
Bjorn Helgaasa0d84a92008-11-07 16:58:05 -0700265 Enable all messages related to ACPI hardware:
266 acpi.debug_layer=0x2 acpi.debug_level=0xffffffff
Thomas Renninger36eec5e2008-08-11 15:03:20 +0200267
Bjorn Helgaasa0d84a92008-11-07 16:58:05 -0700268 Some values produce so much output that the system is
269 unusable. The "log_buf_len" parameter may be useful
270 if you need to capture more output.
Zhang Ruif9891062007-04-24 13:53:22 +0800271
Dominik Brodowskief694492015-05-14 15:31:28 +0200272 acpi_enforce_resources= [ACPI]
273 { strict | lax | no }
274 Check for resource conflicts between native drivers
275 and ACPI OperationRegions (SystemIO and SystemMemory
276 only). IO ports and memory declared in ACPI might be
277 used by the ACPI subsystem in arbitrary AML code and
278 can interfere with legacy drivers.
279 strict (default): access to resources claimed by ACPI
280 is denied; legacy drivers trying to access reserved
281 resources will fail to bind to device using them.
282 lax: access to resources claimed by ACPI is allowed;
283 legacy drivers trying to access reserved resources
284 will bind successfully but a warning message is logged.
285 no: ACPI OperationRegions are not marked as reserved,
286 no further checks are performed.
287
Lv Zheng4fc0a7e2014-05-31 08:15:02 +0800288 acpi_force_table_verification [HW,ACPI]
289 Enable table checksum verification during early stage.
290 By default, this is disabled due to x86 early mapping
291 size limitation.
292
Randy Dunlap0cb55ad2009-04-05 15:55:22 -0700293 acpi_irq_balance [HW,ACPI]
294 ACPI will balance active IRQs
295 default in APIC mode
296
297 acpi_irq_nobalance [HW,ACPI]
298 ACPI will not move active IRQs (default)
299 default in PIC mode
300
301 acpi_irq_isa= [HW,ACPI] If irq_balance, mark listed IRQs used by ISA
302 Format: <irq>,<irq>...
303
304 acpi_irq_pci= [HW,ACPI] If irq_balance, clear listed IRQs for
305 use by PCI
306 Format: <irq>,<irq>...
307
Lv Zhengc1e94142017-04-04 19:32:17 +0000308 acpi_mask_gpe= [HW,ACPI]
309 Due to the existence of _Lxx/_Exx, some GPEs triggered
310 by unsupported hardware/firmware features can result in
311 GPE floodings that cannot be automatically disabled by
312 the GPE dispatcher.
313 This facility can be used to prevent such uncontrolled
314 GPE floodings.
315 Format: <int>
Lv Zhengc1e94142017-04-04 19:32:17 +0000316
Lv Zheng08e1d7c2014-03-24 14:49:22 +0800317 acpi_no_auto_serialize [HW,ACPI]
318 Disable auto-serialization of AML methods
Bob Moore22b5afc2014-03-24 14:49:00 +0800319 AML control methods that contain the opcodes to create
320 named objects will be marked as "Serialized" by the
321 auto-serialization feature.
Lv Zheng08e1d7c2014-03-24 14:49:22 +0800322 This feature is enabled by default.
323 This option allows to turn off the feature.
Bob Moore22b5afc2014-03-24 14:49:00 +0800324
Dominik Brodowskief694492015-05-14 15:31:28 +0200325 acpi_no_memhotplug [ACPI] Disable memory hotplug. Useful for kdump
326 kernels.
327
Lv Zhenga94e88c2014-04-04 12:39:11 +0800328 acpi_no_static_ssdt [HW,ACPI]
329 Disable installation of static SSDTs at early boot time
330 By default, SSDTs contained in the RSDT/XSDT will be
331 installed automatically and they will appear under
332 /sys/firmware/acpi/tables.
333 This option turns off this feature.
334 Note that specifying this option does not affect
335 dynamic table installation which will install SSDT
336 tables to /sys/firmware/acpi/tables/dynamic.
Randy Dunlap0cb55ad2009-04-05 15:55:22 -0700337
Dominik Brodowskief694492015-05-14 15:31:28 +0200338 acpi_rsdp= [ACPI,EFI,KEXEC]
339 Pass the RSDP address to the kernel, mostly used
340 on machines running EFI runtime service to boot the
341 second kernel for kdump.
Lv Zheng4dde5072014-02-11 11:01:52 +0800342
Randy Dunlap0cb55ad2009-04-05 15:55:22 -0700343 acpi_os_name= [HW,ACPI] Tell ACPI BIOS the name of the OS
344 Format: To spoof as Windows 98: ="Microsoft Windows"
345
Rafael J. Wysocki18d78b62015-07-03 01:06:00 +0200346 acpi_rev_override [ACPI] Override the _REV object to return 5 (instead
347 of 2 which is mandated by ACPI 6) as the supported ACPI
348 specification revision (when using this switch, it may
349 be necessary to carry out a cold reboot _twice_ in a
350 row to make it take effect on the platform firmware).
351
Randy Dunlap0cb55ad2009-04-05 15:55:22 -0700352 acpi_osi= [HW,ACPI] Modify list of supported OS interface strings
Lv Zheng5dc17982013-07-22 16:08:25 +0800353 acpi_osi="string1" # add string1
354 acpi_osi="!string2" # remove string2
Lv Zheng741d8122013-07-22 16:08:36 +0800355 acpi_osi=!* # remove all strings
Lv Zheng5dc17982013-07-22 16:08:25 +0800356 acpi_osi=! # disable all built-in OS vendor
357 strings
Lv Zhenga707ede2016-05-03 16:48:32 +0800358 acpi_osi=!! # enable all built-in OS vendor
359 strings
Randy Dunlap0cb55ad2009-04-05 15:55:22 -0700360 acpi_osi= # disable all strings
361
Lv Zheng5dc17982013-07-22 16:08:25 +0800362 'acpi_osi=!' can be used in combination with single or
363 multiple 'acpi_osi="string1"' to support specific OS
364 vendor string(s). Note that such command can only
365 affect the default state of the OS vendor strings, thus
366 it cannot affect the default state of the feature group
367 strings and the current state of the OS vendor strings,
368 specifying it multiple times through kernel command line
Lv Zheng741d8122013-07-22 16:08:36 +0800369 is meaningless. This command is useful when one do not
370 care about the state of the feature group strings which
371 should be controlled by the OSPM.
Lv Zheng5dc17982013-07-22 16:08:25 +0800372 Examples:
373 1. 'acpi_osi=! acpi_osi="Windows 2000"' is equivalent
374 to 'acpi_osi="Windows 2000" acpi_osi=!', they all
375 can make '_OSI("Windows 2000")' TRUE.
376
377 'acpi_osi=' cannot be used in combination with other
378 'acpi_osi=' command lines, the _OSI method will not
379 exist in the ACPI namespace. NOTE that such command can
380 only affect the _OSI support state, thus specifying it
381 multiple times through kernel command line is also
382 meaningless.
383 Examples:
384 1. 'acpi_osi=' can make 'CondRefOf(_OSI, Local1)'
385 FALSE.
386
Lv Zheng741d8122013-07-22 16:08:36 +0800387 'acpi_osi=!*' can be used in combination with single or
388 multiple 'acpi_osi="string1"' to support specific
389 string(s). Note that such command can affect the
390 current state of both the OS vendor strings and the
391 feature group strings, thus specifying it multiple times
392 through kernel command line is meaningful. But it may
393 still not able to affect the final state of a string if
394 there are quirks related to this string. This command
395 is useful when one want to control the state of the
396 feature group strings to debug BIOS issues related to
397 the OSPM features.
398 Examples:
399 1. 'acpi_osi="Module Device" acpi_osi=!*' can make
400 '_OSI("Module Device")' FALSE.
401 2. 'acpi_osi=!* acpi_osi="Module Device"' can make
402 '_OSI("Module Device")' TRUE.
403 3. 'acpi_osi=! acpi_osi=!* acpi_osi="Windows 2000"' is
404 equivalent to
405 'acpi_osi=!* acpi_osi=! acpi_osi="Windows 2000"'
406 and
407 'acpi_osi=!* acpi_osi="Windows 2000" acpi_osi=!',
408 they all will make '_OSI("Windows 2000")' TRUE.
409
Jaswinder Singh Rajput6cececf2009-04-14 14:03:43 +0530410 acpi_pm_good [X86]
Randy Dunlap0cb55ad2009-04-05 15:55:22 -0700411 Override the pmtimer bug detection: force the kernel
412 to assume that this machine's pmtimer latches its value
413 and always returns good values.
414
Randy Dunlap4af94f32009-04-17 18:30:28 -0700415 acpi_sci= [HW,ACPI] ACPI System Control Interrupt trigger mode
416 Format: { level | edge | high | low }
417
Randy Dunlap4af94f32009-04-17 18:30:28 -0700418 acpi_skip_timer_override [HW,ACPI]
419 Recognize and ignore IRQ0/pin2 Interrupt Override.
420 For broken nForce2 BIOS resulting in XT-PIC timer.
421
422 acpi_sleep= [HW,ACPI] Sleep options
423 Format: { s3_bios, s3_mode, s3_beep, s4_nohwsig,
Amerigo Wangc3b07952011-05-10 21:09:38 +0200424 old_ordering, nonvs, sci_force_enable }
Randy Dunlap4af94f32009-04-17 18:30:28 -0700425 See Documentation/power/video.txt for information on
426 s3_bios and s3_mode.
427 s3_beep is for debugging; it makes the PC's speaker beep
428 as soon as the kernel's real-mode entry point is called.
429 s4_nohwsig prevents ACPI hardware signature from being
430 used during resume from hibernation.
431 old_ordering causes the ACPI 1.0 ordering of the _PTS
432 control method, with respect to putting devices into
433 low power states, to be enforced (the ACPI 2.0 ordering
434 of _PTS is used by default).
Rafael J. Wysocki72ad5d72010-07-23 22:59:09 +0200435 nonvs prevents the kernel from saving/restoring the
436 ACPI NVS memory during suspend/hibernation and resume.
Zhang Ruid7f0eea2009-12-30 15:36:42 +0800437 sci_force_enable causes the kernel to set SCI_EN directly
438 on resume from S1/S3 (which is against the ACPI spec,
439 but some broken systems don't work without it).
Randy Dunlap4af94f32009-04-17 18:30:28 -0700440
441 acpi_use_timer_override [HW,ACPI]
442 Use timer override. For some broken Nvidia NF5 boards
443 that require a timer override, but don't have HPET
444
Randy Dunlap4af94f32009-04-17 18:30:28 -0700445 add_efi_memmap [EFI; X86] Include EFI memory map in
446 kernel's map of available physical RAM.
447
Randy Dunlap0cb55ad2009-04-05 15:55:22 -0700448 agp= [AGP]
449 { off | try_unsupported }
450 off: disable AGP support
451 try_unsupported: try to drive unsupported chipsets
452 (may crash computer or cause data corruption)
453
Randy Dunlapbcfde332010-06-07 17:10:38 -0700454 ALSA [HW,ALSA]
455 See Documentation/sound/alsa/alsa-parameters.txt
456
Russell Kingd944d542010-02-20 16:13:29 +0000457 alignment= [KNL,ARM]
458 Allow the default userspace alignment fault handler
459 behaviour to be specified. Bit 0 enables warnings,
460 bit 1 enables fixups, and bit 2 sends a segfault.
461
Borislav Petkovdfb09f92011-08-05 15:15:08 +0200462 align_va_addr= [X86-64]
463 Align virtual addresses by clearing slice [14:12] when
464 allocating a VMA at process creation time. This option
465 gives you up to 3% performance improvement on AMD F15h
466 machines (where it is enabled by default) for a
467 CPU-intensive style benchmark, and it can vary highly in
468 a microbenchmark depending on workload and compiler.
469
Borislav Petkov8360ee22011-11-21 12:10:19 +0100470 32: only for 32-bit processes
471 64: only for 64-bit processes
Borislav Petkovdfb09f92011-08-05 15:15:08 +0200472 on: enable for both 32- and 64-bit processes
473 off: disable for both 32- and 64-bit processes
474
Steven Rostedt (Red Hat)55034cd2013-03-07 22:48:09 -0500475 alloc_snapshot [FTRACE]
476 Allocate the ftrace snapshot buffer on boot up when the
477 main buffer is allocated. This is handy if debugging
478 and you need to use tracing_snapshot() on boot up, and
479 do not want to use tracing_snapshot_alloc() as it needs
480 to be done where GFP_KERNEL allocations are allowed.
481
Sedat Dilek89e0b9a2011-12-05 23:08:32 +0100482 amd_iommu= [HW,X86-64]
Joerg Roedel54b4cbd2008-06-26 21:28:10 +0200483 Pass parameters to the AMD IOMMU driver in the system.
484 Possible values are:
FUJITA Tomonoriafa9fdc2008-09-20 01:23:30 +0900485 fullflush - enable flushing of IO/TLB entries when
486 they are unmapped. Otherwise they are
487 flushed before they will be reused, which
488 is a lot of faster
Joerg Roedela5235722010-05-11 17:12:33 +0200489 off - do not initialize any AMD IOMMU found in
490 the system
Joerg Roedel5abcdba2011-12-01 15:49:45 +0100491 force_isolation - Force device isolation for all
492 devices. The IOMMU driver is not
493 allowed anymore to lift isolation
494 requirements as needed. This option
495 does not override iommu=pt
FUJITA Tomonoriafa9fdc2008-09-20 01:23:30 +0900496
Shuah Khanc099cf12012-05-24 15:58:25 -0600497 amd_iommu_dump= [HW,X86-64]
498 Enable AMD IOMMU driver option to dump the ACPI table
499 for AMD IOMMU. With this option enabled, AMD IOMMU
500 driver will print ACPI tables for AMD IOMMU during
501 IOMMU initialization.
502
Suravee Suthikulpanit3928aa32016-08-23 13:52:32 -0500503 amd_iommu_intr= [HW,X86-64]
504 Specifies one of the following AMD IOMMU interrupt
505 remapping modes:
506 legacy - Use legacy interrupt remapping mode.
507 vapic - Use virtual APIC mode, which allows IOMMU
508 to inject interrupts directly into guest.
509 This mode requires kvm-amd.avic=1.
510 (Default when IOMMU HW support is present.)
511
Linus Torvalds1da177e2005-04-16 15:20:36 -0700512 amijoy.map= [HW,JOY] Amiga joystick support
513 Map of devices attached to JOY0DAT and JOY1DAT
514 Format: <a>,<b>
Paul Bolle395cf962011-08-15 02:02:26 +0200515 See also Documentation/input/joystick.txt
Linus Torvalds1da177e2005-04-16 15:20:36 -0700516
517 analog.map= [HW,JOY] Analog joystick and gamepad support
518 Specifies type or capabilities of an analog joystick
519 connected to one of 16 gameports
520 Format: <type1>,<type2>,..<type16>
521
Randy Dunlapa9913042005-10-23 12:57:11 -0700522 apc= [HW,SPARC]
523 Power management functions (SPARCstation-4/5 + deriv.)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700524 Format: noidle
525 Disable APC CPU standby support. SPARCstation-Fox does
526 not play well with APC CPU idle - disable it if you have
527 APC and your system crashes randomly.
528
Randy Dunlapca1eda22009-05-06 16:02:58 -0700529 apic= [APIC,X86-32] Advanced Programmable Interrupt Controller
Randy Dunlapc8facbb2007-07-31 00:37:40 -0700530 Change the output verbosity whilst booting
Linus Torvalds1da177e2005-04-16 15:20:36 -0700531 Format: { quiet (default) | verbose | debug }
532 Change the amount of debugging information output
533 when initialising the APIC and IO-APIC components.
Randy Dunlapa9913042005-10-23 12:57:11 -0700534
Hidehiro Kawaib7c49482015-12-14 11:19:12 +0100535 apic_extnmi= [APIC,X86] External NMI delivery setting
536 Format: { bsp (default) | all | none }
537 bsp: External NMI is delivered only to CPU 0
538 all: External NMIs are broadcast to all CPUs as a
539 backup of CPU 0
540 none: External NMI is masked for all CPUs. This is
541 useful so that a dump capture kernel won't be
542 shot down by NMI
543
Brian Haleyb0f83b22010-02-04 13:36:50 -0800544 autoconf= [IPV6]
545 See Documentation/networking/ipv6.txt.
546
Cyrill Gorcunov9636bc02009-10-14 19:09:04 +0400547 show_lapic= [APIC,X86] Advanced Programmable Interrupt Controller
548 Limit apic dumping. The parameter defines the maximal
549 number of local apics being dumped. Also it is possible
550 to set it to "all" by meaning -- no limit here.
551 Format: { 1 (default) | 2 | ... | all }.
552 The parameter valid if only apic=debug or
553 apic=verbose is specified.
554 Example: apic=debug show_lapic=all
555
Linus Torvalds1da177e2005-04-16 15:20:36 -0700556 apm= [APM] Advanced Power Management
Pavel Machek71f77052008-07-04 09:59:43 -0700557 See header of arch/x86/kernel/apm_32.c.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700558
Linus Torvalds1da177e2005-04-16 15:20:36 -0700559 arcrimi= [HW,NET] ARCnet - "RIM I" (entirely mem-mapped) cards
560 Format: <io>,<irq>,<nodeID>
561
562 ataflop= [HW,M68k]
563
564 atarimouse= [HW,MOUSE] Atari Mouse
565
Linus Torvalds1da177e2005-04-16 15:20:36 -0700566 atkbd.extra= [HW] Enable extra LEDs and keys on IBM RapidAccess,
567 EzKey and similar keyboards
568
569 atkbd.reset= [HW] Reset keyboard during initialization
570
Randy Dunlapa9913042005-10-23 12:57:11 -0700571 atkbd.set= [HW] Select keyboard code set
572 Format: <int> (2 = AT (default), 3 = PS/2)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700573
574 atkbd.scroll= [HW] Enable scroll wheel on MS Office and similar
575 keyboards
576
577 atkbd.softraw= [HW] Choose between synthetic and real raw mode
578 Format: <bool> (0 = real, 1 = synthetic (default))
Randy Dunlapa9913042005-10-23 12:57:11 -0700579
580 atkbd.softrepeat= [HW]
581 Use software keyboard repeat
Linus Torvalds1da177e2005-04-16 15:20:36 -0700582
Richard Guy Briggsa106fb02013-09-23 21:53:35 -0400583 audit= [KNL] Enable the audit sub-system
584 Format: { "0" | "1" } (0 = disabled, 1 = enabled)
Eric Parisd7961142014-01-13 16:01:06 -0500585 0 - kernel audit is disabled and can not be enabled
586 until the next reboot
587 unset - kernel audit is initialized but disabled and
588 will be fully enabled by the userspace auditd.
589 1 - kernel audit is initialized and partially enabled,
590 storing at most audit_backlog_limit messages in
591 RAM until it is fully enabled by the userspace
592 auditd.
Richard Guy Briggsa106fb02013-09-23 21:53:35 -0400593 Default: unset
Richard Guy Briggsf3411cb2013-09-17 12:34:52 -0400594
Richard Guy Briggsf910fde2013-09-17 12:34:52 -0400595 audit_backlog_limit= [KNL] Set the audit queue size limit.
596 Format: <int> (must be >=0)
597 Default: 64
598
Alex Thorlton1c532e02016-03-31 14:18:29 -0500599 bau= [X86_UV] Enable the BAU on SGI UV. The default
600 behavior is to disable the BAU (i.e. bau=0).
601 Format: { "0" | "1" }
602 0 - Disable the BAU.
603 1 - Enable the BAU.
604 unset - Disable the BAU.
605
Linus Torvalds1da177e2005-04-16 15:20:36 -0700606 baycom_epp= [HW,AX25]
607 Format: <io>,<mode>
Randy Dunlapa9913042005-10-23 12:57:11 -0700608
Linus Torvalds1da177e2005-04-16 15:20:36 -0700609 baycom_par= [HW,AX25] BayCom Parallel Port AX.25 Modem
610 Format: <io>,<mode>
611 See header of drivers/net/hamradio/baycom_par.c.
612
Randy Dunlapa9913042005-10-23 12:57:11 -0700613 baycom_ser_fdx= [HW,AX25]
614 BayCom Serial Port AX.25 Modem (Full Duplex Mode)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700615 Format: <io>,<irq>,<mode>[,<baud>]
616 See header of drivers/net/hamradio/baycom_ser_fdx.c.
617
Randy Dunlapa9913042005-10-23 12:57:11 -0700618 baycom_ser_hdx= [HW,AX25]
619 BayCom Serial Port AX.25 Modem (Half Duplex Mode)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700620 Format: <io>,<irq>,<mode>
621 See header of drivers/net/hamradio/baycom_ser_hdx.c.
622
Paul Gortmaker080506a2013-09-30 13:45:19 -0700623 blkdevparts= Manual partition parsing of block device(s) for
624 embedded devices based on command line input.
625 See Documentation/block/cmdline-partition.txt
626
Randy Dunlapbfe8df32007-10-16 01:23:46 -0700627 boot_delay= Milliseconds to delay each printk during boot.
628 Values larger than 10 seconds (10000) are changed to
629 no delay (0).
630 Format: integer
631
Andreas Herrmann35fc9082008-08-20 14:08:58 -0700632 bootmem_debug [KNL] Enable bootmem allocator debug messages.
633
Huang Yinga3e2acc2016-06-29 13:04:29 -0700634 bert_disable [ACPI]
635 Disable BERT OS support on buggy BIOSes.
636
Linus Torvalds1da177e2005-04-16 15:20:36 -0700637 bttv.card= [HW,V4L] bttv (bt848 + bt878 based grabber cards)
Randy Dunlapa9913042005-10-23 12:57:11 -0700638 bttv.radio= Most important insmod options are available as
639 kernel args too.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700640 bttv.pll= See Documentation/video4linux/bttv/Insmod-options
Paul Bolle395cf962011-08-15 02:02:26 +0200641 bttv.tuner=
Linus Torvalds1da177e2005-04-16 15:20:36 -0700642
Will Schmidt4e89a2d2010-09-28 15:33:12 +0000643 bulk_remove=off [PPC] This parameter disables the use of the pSeries
644 firmware feature for flushing multiple hpte entries
645 at a time.
646
Linus Torvalds1da177e2005-04-16 15:20:36 -0700647 c101= [NET] Moxa C101 synchronous serial card
648
Alan Coxcd4f0ef2007-07-31 00:37:59 -0700649 cachesize= [BUGS=X86-32] Override level 2 CPU cache size detection.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700650 Sometimes CPU hardware bugs make them report the cache
651 size incorrectly. The kernel will attempt work arounds
652 to fix known problems, but for some CPUs it is not
653 possible to determine what the correct size should be.
654 This option provides an override for these situations.
655
Dmitry Kasatkinffb70f62014-06-17 11:56:58 +0300656 ca_keys= [KEYS] This parameter identifies a specific key(s) on
657 the system trusted keyring to be used for certificate
658 trust validation.
Dmitry Kasatkin32c47412014-06-17 11:56:59 +0300659 format: { id:<keyid> | builtin }
Dmitry Kasatkinffb70f62014-06-17 11:56:58 +0300660
Florian Fainellifd1bb4c2014-06-25 16:41:13 -0700661 cca= [MIPS] Override the kernel pages' cache coherency
662 algorithm. Accepted values range from 0 to 7
663 inclusive. See arch/mips/include/asm/pgtable-bits.h
664 for platform specific values (SB1, Loongson3 and
665 others).
666
Sebastian Ott14ff56b2008-01-26 14:10:37 +0100667 ccw_timeout_log [S390]
668 See Documentation/s390/CommonIO for details.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700669
Paul Menage8bab8dd2008-04-04 14:29:57 -0700670 cgroup_disable= [KNL] Disable a particular controller
671 Format: {name of the controller(s) to disable}
Qiang Huangca0bdbb2013-11-06 13:18:09 -0800672 The effects of cgroup_disable=foo are:
673 - foo isn't auto-mounted if you mount all cgroups in
674 a single hierarchy
675 - foo isn't visible as an individually mountable
676 subsystem
677 {Currently only "memory" controller deal with this and
678 cut the overhead, others just disable the usage. So
679 only cgroup_disable=memory is actually worthy}
Paul Menage8bab8dd2008-04-04 14:29:57 -0700680
Johannes Weiner1619b6d2016-02-16 13:21:14 -0500681 cgroup_no_v1= [KNL] Disable one, multiple, all cgroup controllers in v1
682 Format: { controller[,controller...] | "all" }
683 Like cgroup_disable, but only applies to cgroup v1;
684 the blacklisted controllers remain available in cgroup2.
685
Johannes Weinerf7e1cb62016-01-14 15:21:29 -0800686 cgroup.memory= [KNL] Pass options to the cgroup memory controller.
687 Format: <string>
688 nosocket -- Disable socket memory accounting.
Vladimir Davydov04823c82016-01-20 15:02:38 -0800689 nokmem -- Disable kernel memory accounting.
Johannes Weinerf7e1cb62016-01-14 15:21:29 -0800690
Linus Torvalds1da177e2005-04-16 15:20:36 -0700691 checkreqprot [SELINUX] Set initial checkreqprot flag value.
692 Format: { "0" | "1" }
693 See security/selinux/Kconfig help text.
Randy Dunlapa9913042005-10-23 12:57:11 -0700694 0 -- check protection applied by kernel (includes
695 any implied execute protection).
Linus Torvalds1da177e2005-04-16 15:20:36 -0700696 1 -- check protection requested by application.
697 Default value is set via a kernel config option.
Randy Dunlapa9913042005-10-23 12:57:11 -0700698 Value can be changed at runtime via
699 /selinux/checkreqprot.
700
Sebastian Ott661ca0d2008-01-26 14:10:36 +0100701 cio_ignore= [S390]
702 See Documentation/s390/CommonIO for details.
Olof Johansson1e435252013-04-27 14:10:18 -0700703 clk_ignore_unused
704 [CLK]
Mike Turquettee156ee52014-09-30 14:24:38 -0700705 Prevents the clock framework from automatically gating
706 clocks that have not been explicitly enabled by a Linux
707 device driver but are enabled in hardware at reset or
708 by the bootloader/firmware. Note that this does not
709 force such clocks to be always-on nor does it reserve
710 those clocks in any way. This parameter is useful for
711 debug and development, but should not be needed on a
712 platform with proper driver support. For more
713 information, see Documentation/clk.txt.
Sebastian Ott661ca0d2008-01-26 14:10:36 +0100714
Alan Coxcd4f0ef2007-07-31 00:37:59 -0700715 clock= [BUGS=X86-32, HW] gettimeofday clocksource override.
john stultz734efb42006-06-26 00:25:05 -0700716 [Deprecated]
Matt LaPlante3f6dee92006-10-03 22:45:33 +0200717 Forces specified clocksource (if available) to be used
john stultz734efb42006-06-26 00:25:05 -0700718 when calculating gettimeofday(). If specified
Matt LaPlante3f6dee92006-10-03 22:45:33 +0200719 clocksource is not available, it defaults to PIT.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700720 Format: { pit | tsc | cyclone | pmtmr }
721
John Stultz592913e2010-07-13 17:56:20 -0700722 clocksource= Override the default clocksource
Randy Dunlap3d6ac982007-05-23 13:58:16 -0700723 Format: <string>
724 Override the default clocksource and use the clocksource
725 with the name specified.
726 Some clocksource names to choose from, depending on
727 the platform:
728 [all] jiffies (this is the base, fallback clocksource)
729 [ACPI] acpi_pm
730 [ARM] imx_timer1,OSTS,netx_timer,mpu_timer2,
731 pxa_timer,timer3,32k_counter,timer0_1
732 [AVR32] avr32
Alok Kataria9863c902010-08-23 14:49:11 -0700733 [X86-32] pit,hpet,tsc;
Randy Dunlap3d6ac982007-05-23 13:58:16 -0700734 scx200_hrt on Geode; cyclone on IBM x440
735 [MIPS] MIPS
736 [PARISC] cr16
737 [S390] tod
738 [SH] SuperH
739 [SPARC64] tick
740 [X86-64] hpet,tsc
741
Will Deacon46fd5c62016-06-27 17:30:13 +0100742 clocksource.arm_arch_timer.evtstrm=
743 [ARM,ARM64]
744 Format: <bool>
745 Enable/disable the eventstream feature of the ARM
746 architected timer so that code using WFE-based polling
747 loops can be debugged more effectively on production
748 systems.
749
Scott Woodf6dc1572016-09-22 03:35:17 -0500750 clocksource.arm_arch_timer.fsl-a008585=
751 [ARM64]
752 Format: <bool>
753 Enable/disable the workaround of Freescale/NXP
754 erratum A-008585. This can be useful for KVM
755 guests, if the guest device tree doesn't show the
756 erratum. If unspecified, the workaround is
757 enabled based on the device tree.
758
Andi Kleenac72e782008-01-30 13:33:21 +0100759 clearcpuid=BITNUM [X86]
760 Disable CPUID feature X for the kernel. See
Borislav Petkovcd4d09e2016-01-26 22:12:04 +0100761 arch/x86/include/asm/cpufeatures.h for the valid bit
Randy Dunlap07983f02009-01-06 14:42:41 -0800762 numbers. Note the Linux specific bits are not necessarily
Andi Kleenac72e782008-01-30 13:33:21 +0100763 stable over kernel options, but the vendor specific
764 ones should be.
765 Also note that user programs calling CPUID directly
766 or using the feature without checking anything
767 will still see it. This just prevents it from
768 being used by the kernel or shown in /proc/cpuinfo.
769 Also note the kernel might malfunction if you disable
770 some critical bits.
771
Akinobu Mita5ea3b1b2014-06-04 16:06:54 -0700772 cma=nn[MG]@[start[MG][-end[MG]]]
773 [ARM,X86,KNL]
774 Sets the size of kernel global memory area for
775 contiguous memory allocations and optionally the
776 placement constraint by the physical address range of
Jean Delvaref0d6d1f2014-10-09 15:29:41 -0700777 memory allocations. A value of 0 disables CMA
778 altogether. For more information, see
Marek Szyprowskic64be2b2011-12-29 13:09:51 +0100779 include/linux/dma-contiguous.h
780
Robert Jennings14f966e2009-04-15 05:55:32 +0000781 cmo_free_hint= [PPC] Format: { yes | no }
782 Specify whether pages are marked as being inactive
783 when they are freed. This is used in CMO environments
784 to determine OS memory pressure for page stealing by
785 a hypervisor.
786 Default: yes
787
Marek Szyprowskic7909502011-12-29 13:09:51 +0100788 coherent_pool=nn[KMG] [ARM,KNL]
789 Sets the size of memory pool for coherent, atomic dma
Marek Szyprowskie9da6e92012-07-30 09:11:33 +0200790 allocations, by default set to 256K.
Marek Szyprowskic7909502011-12-29 13:09:51 +0100791
Jaswinder Singh Rajput6cececf2009-04-14 14:03:43 +0530792 code_bytes [X86] How many bytes of object code to print
Arjan van de Vena25bd942008-01-30 13:33:08 +0100793 in an oops report.
Chuck Ebbert86c41832007-02-13 13:26:25 +0100794 Range: 0 - 8192
795 Default: 64
796
Linus Torvalds1da177e2005-04-16 15:20:36 -0700797 com20020= [HW,NET] ARCnet - COM20020 chipset
Randy Dunlapa9913042005-10-23 12:57:11 -0700798 Format:
799 <io>[,<irq>[,<nodeID>[,<backplane>[,<ckp>[,<timeout>]]]]]
Linus Torvalds1da177e2005-04-16 15:20:36 -0700800
801 com90io= [HW,NET] ARCnet - COM90xx chipset (IO-mapped buffers)
802 Format: <io>[,<irq>]
803
Randy Dunlapa9913042005-10-23 12:57:11 -0700804 com90xx= [HW,NET]
805 ARCnet - COM90xx chipset (memory-mapped buffers)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700806 Format: <io>[,<irq>[,<memstart>]]
807
808 condev= [HW,S390] console device
809 conmode=
Randy Dunlapa9913042005-10-23 12:57:11 -0700810
Linus Torvalds1da177e2005-04-16 15:20:36 -0700811 console= [KNL] Output console device and options.
812
813 tty<n> Use the virtual console device <n>.
814
815 ttyS<n>[,options]
Randy Dunlapf1a1c2d2006-03-25 03:08:17 -0800816 ttyUSB0[,options]
Linus Torvalds1da177e2005-04-16 15:20:36 -0700817 Use the specified serial port. The options are of
Randy Dunlapf1a1c2d2006-03-25 03:08:17 -0800818 the form "bbbbpnf", where "bbbb" is the baud rate,
819 "p" is parity ("n", "o", or "e"), "n" is number of
820 bits, and "f" is flow control ("r" for RTS or
821 omit it). Default is "9600n8".
Linus Torvalds1da177e2005-04-16 15:20:36 -0700822
Randy Dunlapf1a1c2d2006-03-25 03:08:17 -0800823 See Documentation/serial-console.txt for more
824 information. See
825 Documentation/networking/netconsole.txt for an
826 alternative.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700827
Yinghai Lu18a8bd92007-07-15 23:37:59 -0700828 uart[8250],io,<addr>[,options]
829 uart[8250],mmio,<addr>[,options]
Masahiro Yamadabd94c402015-10-28 12:46:05 +0900830 uart[8250],mmio16,<addr>[,options]
Peter Hurleyca782f12015-04-06 10:52:39 -0400831 uart[8250],mmio32,<addr>[,options]
832 uart[8250],0x<addr>[,options]
Linus Torvalds1da177e2005-04-16 15:20:36 -0700833 Start an early, polled-mode console on the 8250/16550
834 UART at the specified I/O port or MMIO address,
Peter Hurleyca782f12015-04-06 10:52:39 -0400835 switching to the matching ttyS device later.
836 MMIO inter-register address stride is either 8-bit
Masahiro Yamadabd94c402015-10-28 12:46:05 +0900837 (mmio), 16-bit (mmio16), or 32-bit (mmio32).
838 If none of [io|mmio|mmio16|mmio32], <addr> is assumed
839 to be equivalent to 'mmio'. 'options' are specified in
840 the same format described for ttyS above; if unspecified,
Peter Hurleyca782f12015-04-06 10:52:39 -0400841 the h/w is not re-initialized.
842
Konrad Rzeszutek Wilka2fd6412013-02-25 15:54:09 -0500843 hvc<n> Use the hypervisor console device <n>. This is for
844 both Xen and PowerPC hypervisors.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700845
Samuel Thibaultf7511d52008-04-30 00:54:51 -0700846 If the device connected to the port is not a TTY but a braille
847 device, prepend "brl," before the device type, for instance
848 console=brl,ttyS0
849 For now, only VisioBraille is supported.
850
Daniel Mackf324edc2009-06-16 15:33:52 -0700851 consoleblank= [KNL] The console blank (screen saver) timeout in
852 seconds. Defaults to 10*60 = 10mins. A value of 0
853 disables the blank timer.
854
Hidehiro Kawai4cb0e112009-01-06 14:42:47 -0800855 coredump_filter=
856 [KNL] Change the default value for
857 /proc/<pid>/coredump_filter.
858 See also Documentation/filesystems/proc.txt.
859
Len Brown62027ae2011-04-01 18:13:10 -0400860 cpuidle.off=1 [CPU_IDLE]
861 disable the cpuidle sub-system
862
Len Brownd68921f2015-05-11 17:27:09 -0400863 cpu_init_udelay=N
864 [X86] Delay for N microsec between assert and de-assert
865 of APIC INIT to start processors. This delay occurs
866 on every CPU online, such as boot, and resume from suspend.
867 Default: 10000
868
Linus Torvalds1da177e2005-04-16 15:20:36 -0700869 cpcihp_generic= [HW,PCI] Generic port I/O CompactPCI driver
Randy Dunlapa9913042005-10-23 12:57:11 -0700870 Format:
871 <first_slot>,<last_slot>,<port>,<enum_bit>[,<debug>]
Linus Torvalds1da177e2005-04-16 15:20:36 -0700872
Ahmed S. Darwish6f21e642011-02-20 20:08:35 -0800873 crashkernel=size[KMG][@offset[KMG]]
874 [KNL] Using kexec, Linux can switch to a 'crash kernel'
875 upon panic. This parameter reserves the physical
876 memory region [offset, offset + size] for that kernel
877 image. If '@offset' is omitted, then a suitable offset
878 is selected automatically. Check
879 Documentation/kdump/kdump.txt for further details.
Eric W. Biedermandc009d92005-06-25 14:57:52 -0700880
Bernhard Wallefb391592007-10-18 23:41:02 -0700881 crashkernel=range1:size1[,range2:size2,...][@offset]
882 [KNL] Same as above, but depends on the memory
883 in the running system. The syntax of range is
884 start-[end] where start and end are both
885 a memory unit (amount[KMG]). See also
Ahmed S. Darwish6f21e642011-02-20 20:08:35 -0800886 Documentation/kdump/kdump.txt for an example.
Bernhard Wallefb391592007-10-18 23:41:02 -0700887
Yinghai Luadbc7422013-04-15 22:23:48 -0700888 crashkernel=size[KMG],high
Yinghai Lu55a20ee2013-04-15 22:23:47 -0700889 [KNL, x86_64] range could be above 4G. Allow kernel
890 to allocate physical memory region from top, so could
891 be above 4G if system have more than 4G ram installed.
892 Otherwise memory region will be allocated below 4G, if
893 available.
894 It will be ignored if crashkernel=X is specified.
Yinghai Luadbc7422013-04-15 22:23:48 -0700895 crashkernel=size[KMG],low
896 [KNL, x86_64] range under 4G. When crashkernel=X,high
897 is passed, kernel could allocate physical memory region
Yinghai Luc729de82013-04-15 22:23:45 -0700898 above 4G, that cause second kernel crash on system
899 that require some amount of low memory, e.g. swiotlb
Baoquan Hec6045032015-09-24 16:51:25 +0800900 requires at least 64M+32K low memory, also enough extra
901 low memory is needed to make sure DMA buffers for 32-bit
902 devices won't run out. Kernel would try to allocate at
903 at least 256M below 4G automatically.
Yinghai Luc729de82013-04-15 22:23:45 -0700904 This one let user to specify own low range under 4G
905 for second kernel instead.
906 0: to disable low allocation.
Yinghai Luadbc7422013-04-15 22:23:48 -0700907 It will be ignored when crashkernel=X,high is not used
Yinghai Lu55a20ee2013-04-15 22:23:47 -0700908 or memory reserved is below 4G.
Yinghai Luc729de82013-04-15 22:23:45 -0700909
Richard W.M. Jones9e5c9fe2016-05-03 10:00:17 +0100910 cryptomgr.notests
911 [KNL] Disable crypto self-tests
912
Linus Torvalds1da177e2005-04-16 15:20:36 -0700913 cs89x0_dma= [HW,NET]
914 Format: <dma>
915
916 cs89x0_media= [HW,NET]
917 Format: { rj45 | aui | bnc }
Randy Dunlapa9913042005-10-23 12:57:11 -0700918
Randy Dunlapa9913042005-10-23 12:57:11 -0700919 dasd= [HW,NET]
Linus Torvalds1da177e2005-04-16 15:20:36 -0700920 See header of drivers/s390/block/dasd_devmap.c.
921
922 db9.dev[2|3]= [HW,JOY] Multisystem joystick support via parallel port
923 (one device per port)
924 Format: <port#>,<type>
925 See also Documentation/input/joystick-parport.txt
926
Thomas Renningera648ec02010-08-06 16:11:02 +0200927 ddebug_query= [KNL,DYNAMIC_DEBUG] Enable debug messages at early boot
928 time. See Documentation/dynamic-debug-howto.txt for
Jim Cromie29e36c92012-04-27 14:30:41 -0600929 details. Deprecated, see dyndbg.
Thomas Renningera648ec02010-08-06 16:11:02 +0200930
Linus Torvalds1da177e2005-04-16 15:20:36 -0700931 debug [KNL] Enable kernel debugging (events log level).
932
Ingo Molnarcae2ed92006-07-03 00:24:48 -0700933 debug_locks_verbose=
934 [KNL] verbose self-tests
935 Format=<0|1>
936 Print debugging info while doing the locking API
937 self-tests.
938 We default to 0 (no extra messages), setting it to
939 1 will print _a lot_ more information - normally
940 only useful to kernel developers.
941
Thomas Gleixner3ac7fe52008-04-30 00:55:01 -0700942 debug_objects [KNL] Enable object debugging
943
Kyle McMartin3e8ebb52009-03-01 20:41:41 -0500944 no_debug_objects
945 [KNL] Disable object debugging
946
Stanislaw Gruszkac0a32fc52012-01-10 15:07:28 -0800947 debug_guardpage_minorder=
948 [KNL] When CONFIG_DEBUG_PAGEALLOC is set, this
949 parameter allows control of the order of pages that will
950 be intentionally kept free (and hence protected) by the
951 buddy allocator. Bigger value increase the probability
952 of catching random memory corruption, but reduce the
953 amount of memory for normal system use. The maximum
954 possible value is MAX_ORDER/2. Setting this parameter
955 to 1 or 2 should be enough to identify most random
956 memory corruption problems caused by bugs in kernel or
957 driver code when a CPU writes to (or reads from) a
958 random memory location. Note that there exists a class
959 of memory corruptions problems caused by buggy H/W or
960 F/W or by drivers badly programing DMA (basically when
961 memory is written at bus level and the CPU MMU is
962 bypassed) which are not detectable by
963 CONFIG_DEBUG_PAGEALLOC, hence this option will not help
964 tracking down these problems.
965
Joonsoo Kim031bc572014-12-12 16:55:52 -0800966 debug_pagealloc=
967 [KNL] When CONFIG_DEBUG_PAGEALLOC is set, this
968 parameter enables the feature at boot time. In
969 default, it is disabled. We can avoid allocating huge
970 chunk of memory for debug pagealloc if we don't enable
971 it at boot time and the system will work mostly same
972 with the kernel built without CONFIG_DEBUG_PAGEALLOC.
973 on: enable the feature
974
Thomas Gleixnerd3af01f2008-07-15 15:04:56 +0200975 debugpat [X86] Enable PAT debugging
976
Robert P. J. Day2d27a962008-02-03 15:18:45 +0200977 decnet.addr= [HW,NET]
Linus Torvalds1da177e2005-04-16 15:20:36 -0700978 Format: <area>[,<node>]
979 See also Documentation/networking/decnet.txt.
980
Randy Dunlap0cb55ad2009-04-05 15:55:22 -0700981 default_hugepagesz=
982 [same as hugepagesz=] The size of the default
983 HugeTLB page size. This is the size represented by
984 the legacy /proc/ hugepages APIs, used for SHM, and
985 default size when mounting hugetlbfs filesystems.
986 Defaults to the default architecture's huge page size
987 if not specified.
Antonino A. Daplas55ff9782007-05-08 00:38:53 -0700988
Linus Torvalds1da177e2005-04-16 15:20:36 -0700989 dhash_entries= [KNL]
990 Set number of hash buckets for dentry cache.
Randy Dunlapa9913042005-10-23 12:57:11 -0700991
Oliver O'Halloranfaf78822016-07-05 11:43:21 +1000992 disable_1tb_segments [PPC]
993 Disables the use of 1TB hash page table segments. This
994 causes the kernel to fall back to 256MB segments which
995 can be useful when debugging issues that require an SLB
996 miss to occur.
997
Brian Haleyb0f83b22010-02-04 13:36:50 -0800998 disable= [IPV6]
999 See Documentation/networking/ipv6.txt.
1000
Aneesh Kumar K.Vb275bfb2016-07-13 15:05:31 +05301001 disable_radix [PPC]
1002 Disable RADIX MMU mode on POWER9
1003
HATAYAMA Daisuke151e0c72014-01-15 15:44:58 +09001004 disable_cpu_apicid= [X86,APIC,SMP]
1005 Format: <int>
1006 The number of initial APIC ID for the
1007 corresponding CPU to be disabled at boot,
1008 mostly used for the kdump 2nd kernel to
1009 disable BSP to wake up multiple CPUs without
1010 causing system reset or hang due to sending
1011 INIT from AP to BSP.
1012
Nishanth Aravamudan4e8b0cf2011-02-10 09:10:47 +00001013 disable_ddw [PPC/PSERIES]
1014 Disable Dynamic DMA Window support. Use this if
1015 to workaround buggy firmware.
1016
Brian Haleyb0f83b22010-02-04 13:36:50 -08001017 disable_ipv6= [IPV6]
1018 See Documentation/networking/ipv6.txt.
1019
Yinghai Lu95ffa242008-04-29 03:52:33 -07001020 disable_mtrr_cleanup [X86]
Yinghai Lu95ffa242008-04-29 03:52:33 -07001021 The kernel tries to adjust MTRR layout from continuous
1022 to discrete, to make X server driver able to add WB
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07001023 entry later. This parameter disables that.
Yinghai Lu95ffa242008-04-29 03:52:33 -07001024
Yinghai Lu093af8d2008-01-30 13:33:32 +01001025 disable_mtrr_trim [X86, Intel and AMD only]
Jesse Barnes99fc8d42008-01-30 13:33:18 +01001026 By default the kernel will trim any uncacheable
1027 memory out of your available memory pool based on
1028 MTRR settings. This parameter disables that behavior,
1029 possibly causing your machine to run very slowly.
1030
Jaswinder Singh Rajput6cececf2009-04-14 14:03:43 +05301031 disable_timer_pin_1 [X86]
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07001032 Disable PIN 1 of APIC timer
1033 Can be useful to work around chipset bugs.
1034
Prarit Bhargavace14c582015-08-25 13:34:53 -04001035 dis_ucode_ldr [X86] Disable the microcode loader.
1036
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07001037 dma_debug=off If the kernel is compiled with DMA_API_DEBUG support,
1038 this option disables the debugging code at boot.
1039
1040 dma_debug_entries=<number>
1041 This option allows to tune the number of preallocated
1042 entries for DMA-API debugging code. One entry is
1043 required per DMA-API allocation. Use this if the
1044 DMA-API debugging code disables itself because the
1045 architectural default is too low.
1046
Joerg Roedel1745de52009-05-22 21:49:51 +02001047 dma_debug_driver=<driver_name>
1048 With this option the DMA-API debugging driver
1049 filter feature can be enabled at boot time. Just
1050 pass the driver to filter for as the parameter.
1051 The filter can be disabled or changed to another
1052 driver later using sysfs.
1053
Bob Paauwe96206e22015-08-27 10:04:13 -07001054 drm_kms_helper.edid_firmware=[<connector>:]<file>[,[<connector>:]<file>]
1055 Broken monitors, graphic adapters, KVMs and EDIDless
1056 panels may send no or incorrect EDID data sets.
1057 This parameter allows to specify an EDID data sets
1058 in the /lib/firmware directory that are used instead.
Carsten Emdeda0df922012-03-18 22:37:33 +01001059 Generic built-in EDID data sets are used, if one of
1060 edid/1024x768.bin, edid/1280x1024.bin,
1061 edid/1680x1050.bin, or edid/1920x1080.bin is given
1062 and no file with the same name exists. Details and
1063 instructions how to build your own EDID data are
1064 available in Documentation/EDID/HOWTO.txt. An EDID
1065 data set will only be used for a particular connector,
1066 if its name and a colon are prepended to the EDID
Bob Paauwe96206e22015-08-27 10:04:13 -07001067 name. Each connector may use a unique EDID data
1068 set by separating the files with a comma. An EDID
1069 data set with no connector name will be used for
1070 any connectors not explicitly specified.
Carsten Emdeda0df922012-03-18 22:37:33 +01001071
Linus Torvalds1da177e2005-04-16 15:20:36 -07001072 dscc4.setup= [NET]
1073
Jim Cromie29e36c92012-04-27 14:30:41 -06001074 dyndbg[="val"] [KNL,DYNAMIC_DEBUG]
1075 module.dyndbg[="val"]
1076 Enable debug messages at boot time. See
1077 Documentation/dynamic-debug-howto.txt for details.
1078
Dave Hansen8c3641e2015-06-07 11:37:02 -07001079 nompx [X86] Disables Intel Memory Protection Extensions.
1080 See Documentation/x86/intel_mpx.txt for more
1081 information about the feature.
1082
Dave Hansen06976942016-02-12 13:02:29 -08001083 nopku [X86] Disable Memory Protection Keys CPU feature found
1084 in some Intel CPUs.
1085
Luis R. Rodriguezf2411da2015-03-30 16:20:05 -07001086 module.async_probe [KNL]
1087 Enable asynchronous probe on this module.
1088
Mark Salter56aeeba2014-04-07 15:39:53 -07001089 early_ioremap_debug [KNL]
1090 Enable debug messages in early_ioremap support. This
1091 is useful for tracking down temporary early mappings
1092 which are not unmapped.
1093
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07001094 earlycon= [KNL] Output early console device and options.
Rob Herring0d3c6732014-04-18 17:19:57 -05001095
Scott Wood5664f762015-09-14 19:54:07 -05001096 When used with no options, the early console is
1097 determined by the stdout-path property in device
1098 tree's chosen node.
1099
Scott Telfordc41251b2016-09-22 16:58:16 +01001100 cdns,<addr>[,options]
1101 Start an early, polled-mode console on a Cadence
1102 (xuartps) serial port at the specified address. Only
1103 supported option is baud rate. If baud rate is not
1104 specified, the serial port must already be setup and
1105 configured.
Michal Simek6fa62fc2014-09-10 12:43:02 +02001106
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07001107 uart[8250],io,<addr>[,options]
1108 uart[8250],mmio,<addr>[,options]
Samium Gromoff1917ac72010-07-20 15:26:51 -07001109 uart[8250],mmio32,<addr>[,options]
Noam Camus6e63be32015-05-25 06:54:28 +03001110 uart[8250],mmio32be,<addr>[,options]
Peter Hurleyca782f12015-04-06 10:52:39 -04001111 uart[8250],0x<addr>[,options]
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07001112 Start an early, polled-mode console on the 8250/16550
1113 UART at the specified I/O port or MMIO address.
Randy Dunlap16290242011-08-13 12:34:52 -07001114 MMIO inter-register address stride is either 8-bit
Noam Camus6e63be32015-05-25 06:54:28 +03001115 (mmio) or 32-bit (mmio32 or mmio32be).
1116 If none of [io|mmio|mmio32|mmio32be], <addr> is assumed
1117 to be equivalent to 'mmio'. 'options' are specified
1118 in the same format described for "console=ttyS<n>"; if
Peter Hurleyca782f12015-04-06 10:52:39 -04001119 unspecified, the h/w is not initialized.
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07001120
Rob Herring0d3c6732014-04-18 17:19:57 -05001121 pl011,<addr>
Timur Tabi3b78fae2016-01-04 15:37:42 -06001122 pl011,mmio32,<addr>
Rob Herring0d3c6732014-04-18 17:19:57 -05001123 Start an early, polled-mode console on a pl011 serial
1124 port at the specified address. The pl011 serial port
1125 must already be setup and configured. Options are not
Timur Tabi3b78fae2016-01-04 15:37:42 -06001126 yet supported. If 'mmio32' is specified, then only
1127 the driver will use only 32-bit accessors to read/write
1128 the device registers.
Rob Herring0d3c6732014-04-18 17:19:57 -05001129
Andreas Färber736d5532016-03-06 12:21:24 +01001130 meson,<addr>
1131 Start an early, polled-mode console on a meson serial
1132 port at the specified address. The serial port must
1133 already be setup and configured. Options are not yet
1134 supported.
1135
Stephen Boyd0efe7292014-09-15 17:22:51 -07001136 msm_serial,<addr>
1137 Start an early, polled-mode console on an msm serial
1138 port at the specified address. The serial port
1139 must already be setup and configured. Options are not
1140 yet supported.
1141
1142 msm_serial_dm,<addr>
1143 Start an early, polled-mode console on an msm serial
1144 dm port at the specified address. The serial port
1145 must already be setup and configured. Options are not
1146 yet supported.
1147
Rob Herringd50d7262014-04-18 17:19:58 -05001148 smh Use ARM semihosting calls for early console.
1149
Tomasz Figab94ba032015-01-23 14:47:41 +01001150 s3c2410,<addr>
1151 s3c2412,<addr>
1152 s3c2440,<addr>
1153 s3c6400,<addr>
1154 s5pv210,<addr>
1155 exynos4210,<addr>
1156 Use early console provided by serial driver available
1157 on Samsung SoCs, requires selecting proper type and
1158 a correct base address of the selected UART port. The
1159 serial port must already be setup and configured.
1160 Options are not yet supported.
1161
Stefan Agner1d59b382015-10-17 00:45:55 -07001162 lpuart,<addr>
1163 lpuart32,<addr>
1164 Use early console provided by Freescale LP UART driver
1165 found on Freescale Vybrid and QorIQ LS1021A processors.
1166 A valid base address must be provided, and the serial
1167 port must already be setup and configured.
1168
Wilson Ding30530792016-02-16 19:14:53 +01001169 armada3700_uart,<addr>
1170 Start an early, polled-mode console on the
1171 Armada 3700 serial port at the specified
1172 address. The serial port must already be setup
1173 and configured. Options are not yet supported.
1174
Finn Thain7913ad12014-04-12 23:48:56 +10001175 earlyprintk= [X86,SH,BLACKFIN,ARM,M68k]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001176 earlyprintk=vga
Matt Fleming72548e82013-10-04 09:36:56 +01001177 earlyprintk=efi
Konrad Rzeszutek Wilk2482a922013-02-25 15:54:08 -05001178 earlyprintk=xen
Linus Torvalds1da177e2005-04-16 15:20:36 -07001179 earlyprintk=serial[,ttySn[,baudrate]]
Dave Hansen147ea092013-04-10 14:03:38 -07001180 earlyprintk=serial[,0x...[,baudrate]]
Jason Wesselea3acb12009-09-24 09:08:30 -05001181 earlyprintk=ttySn[,baudrate]
Jason Wessel9780bc42009-08-20 15:39:57 -05001182 earlyprintk=dbgp[debugController#]
Alexander Kuleshovc43088e2015-06-10 23:21:15 +06001183 earlyprintk=pciserial,bus:device.function[,baudrate]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001184
Dave Hansen147ea092013-04-10 14:03:38 -07001185 earlyprintk is useful when the kernel crashes before
1186 the normal console is initialized. It is not enabled by
1187 default because it has some cosmetic problems.
1188
Randy Dunlapa9913042005-10-23 12:57:11 -07001189 Append ",keep" to not disable it when the real console
Linus Torvalds1da177e2005-04-16 15:20:36 -07001190 takes over.
1191
Matt Fleming72548e82013-10-04 09:36:56 +01001192 Only one of vga, efi, serial, or usb debug port can
1193 be used at a time.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001194
Dave Hansen147ea092013-04-10 14:03:38 -07001195 Currently only ttyS0 and ttyS1 may be specified by
1196 name. Other I/O ports may be explicitly specified
1197 on some architectures (x86 and arm at least) by
1198 replacing ttySn with an I/O port address, like this:
1199 earlyprintk=serial,0x1008,115200
1200 You can find the port for a given device in
1201 /proc/tty/driver/serial:
1202 2: uart:ST16650V2 port:00001008 irq:18 ...
Linus Torvalds1da177e2005-04-16 15:20:36 -07001203
1204 Interaction with the standard serial driver is not
1205 very good.
1206
Matt Fleming72548e82013-10-04 09:36:56 +01001207 The VGA and EFI output is eventually overwritten by
1208 the real console.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001209
Konrad Rzeszutek Wilk2482a922013-02-25 15:54:08 -05001210 The xen output can only be used by Xen PV guests.
1211
Chen, Gongc700f012013-12-06 01:17:08 -05001212 edac_report= [HW,EDAC] Control how to report EDAC event
1213 Format: {"on" | "off" | "force"}
1214 on: enable EDAC to report H/W event. May be overridden
1215 by other higher priority error reporting module.
1216 off: disable H/W event reporting through EDAC.
1217 force: enforce the use of EDAC to report H/W event.
1218 default: on.
1219
Jason Wessel97311912010-05-20 21:04:30 -05001220 ekgdboc= [X86,KGDB] Allow early kernel console debugging
1221 ekgdboc=kbd
1222
Lucas De Marchi25985ed2011-03-30 22:57:33 -03001223 This is designed to be used in conjunction with
Jason Wessel97311912010-05-20 21:04:30 -05001224 the boot argument: earlyprintk=vga
1225
Linus Torvalds1da177e2005-04-16 15:20:36 -07001226 edd= [EDD]
Tim Gardner8c4dd602008-04-29 01:02:45 -07001227 Format: {"off" | "on" | "skip[mbr]"}
Linus Torvalds1da177e2005-04-16 15:20:36 -07001228
Borislav Petkovd2f7cbe2013-10-31 17:25:08 +01001229 efi= [EFI]
Borislav Petkovfed6cef2015-02-05 11:44:41 +01001230 Format: { "old_map", "nochunk", "noruntime", "debug" }
Borislav Petkovd2f7cbe2013-10-31 17:25:08 +01001231 old_map [X86-64]: switch to the old ioremap-based EFI
1232 runtime services mapping. 32-bit still uses this one by
1233 default.
Matt Fleming5a17dae2014-08-05 11:52:11 +01001234 nochunk: disable reading files in "chunks" in the EFI
1235 boot stub, as chunking can cause problems with some
1236 firmware implementations.
Dave Young5ae36832014-08-14 17:15:28 +08001237 noruntime : disable EFI runtime services support
Borislav Petkovfed6cef2015-02-05 11:44:41 +01001238 debug: enable misc debug output
Borislav Petkovd2f7cbe2013-10-31 17:25:08 +01001239
Richard Weinberger8c58bf32013-04-17 01:00:53 +02001240 efi_no_storage_paranoia [EFI; X86]
1241 Using this parameter you can use more than 50% of
1242 your efi variable storage. Use this parameter only if
1243 you are really sure that your UEFI does sane gc and
1244 fulfills the spec otherwise your board may brick.
1245
Taku Izumi0f96a992015-09-30 23:01:56 +09001246 efi_fake_mem= nn[KMG]@ss[KMG]:aa[,nn[KMG]@ss[KMG]:aa,..] [EFI; X86]
1247 Add arbitrary attribute to specific memory range by
1248 updating original EFI memory map.
1249 Region of memory which aa attribute is added to is
1250 from ss to ss+nn.
1251 If efi_fake_mem=2G@4G:0x10000,2G@0x10a0000000:0x10000
1252 is specified, EFI_MEMORY_MORE_RELIABLE(0x10000)
1253 attribute is added to range 0x100000000-0x180000000 and
1254 0x10a0000000-0x1120000000.
1255
1256 Using this parameter you can do debugging of EFI memmap
1257 related feature. For example, you can do debugging of
1258 Address Range Mirroring feature even if your box
1259 doesn't support it.
1260
Octavian Purdila475fb4e2016-07-08 19:13:12 +03001261 efivar_ssdt= [EFI; X86] Name of an EFI variable that contains an SSDT
1262 that is to be dynamically loaded by Linux. If there are
1263 multiple variables with the same name but with different
1264 vendor GUIDs, all of them will be loaded. See
1265 Documentation/acpi/ssdt-overlays.txt for details.
1266
1267
Linus Torvalds1da177e2005-04-16 15:20:36 -07001268 eisa_irq_edge= [PARISC,HW]
1269 See header of drivers/parisc/eisa.c.
1270
Alan Coxcd4f0ef2007-07-31 00:37:59 -07001271 elanfreq= [X86-32]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001272 See comment before function elanfreq_setup() in
Pavel Machek71f77052008-07-04 09:59:43 -07001273 arch/x86/kernel/cpu/cpufreq/elanfreq.c.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001274
1275 elevator= [IOSCHED]
Randy Dunlap17a9e7b2010-11-11 12:09:59 +01001276 Format: {"cfq" | "deadline" | "noop"}
Paul Bolle395cf962011-08-15 02:02:26 +02001277 See Documentation/block/cfq-iosched.txt and
Randy Dunlapa9913042005-10-23 12:57:11 -07001278 Documentation/block/deadline-iosched.txt for details.
1279
Michael Holzheud3bf37952011-10-30 15:16:37 +01001280 elfcorehdr=[size[KMG]@]offset[KMG] [IA64,PPC,SH,X86,S390]
Randy Dunlapa9913042005-10-23 12:57:11 -07001281 Specifies physical address of start of kernel core
Michael Holzheud3bf37952011-10-30 15:16:37 +01001282 image elf header and optionally the size. Generally
1283 kexec loader will pass this option to capture kernel.
Vivek Goyalaac04b32006-01-09 20:51:47 -08001284 See Documentation/kdump/kdump.txt for details.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001285
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07001286 enable_mtrr_cleanup [X86]
1287 The kernel tries to adjust MTRR layout from continuous
1288 to discrete, to make X server driver able to add WB
1289 entry later. This parameter enables that.
1290
Randy Dunlapca1eda22009-05-06 16:02:58 -07001291 enable_timer_pin_1 [X86]
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07001292 Enable PIN 1 of APIC timer
1293 Can be useful to work around chipset bugs
1294 (in particular on some ATI chipsets).
1295 The kernel tries to set a reasonable default.
1296
Linus Torvalds1da177e2005-04-16 15:20:36 -07001297 enforcing [SELINUX] Set initial enforcing status.
1298 Format: {"0" | "1"}
1299 See security/selinux/Kconfig help text.
1300 0 -- permissive (log only, no denials).
1301 1 -- enforcing (deny and log).
1302 Default value is 0.
1303 Value can be changed at runtime via /selinux/enforce.
1304
Huang Yinga08f82d2010-05-18 14:35:21 +08001305 erst_disable [ACPI]
1306 Disable Error Record Serialization Table (ERST)
1307 support.
1308
Linus Torvalds1da177e2005-04-16 15:20:36 -07001309 ether= [HW,NET] Ethernet cards parameters
1310 This option is obsoleted by the "netdev=" option, which
1311 has equivalent usage. See its documentation for details.
1312
Mimi Zohar7102ebc2011-05-12 18:33:20 -04001313 evm= [EVM]
1314 Format: { "fix" }
1315 Permit 'security.evm' to be updated regardless of
1316 current integrity status.
1317
Akinobu Mitade1ba092006-12-08 02:39:42 -08001318 failslab=
1319 fail_page_alloc=
1320 fail_make_request=[KNL]
1321 General fault injection mechanism.
1322 Format: <interval>,<probability>,<space>,<times>
Paul Bolle395cf962011-08-15 02:02:26 +02001323 See also Documentation/fault-injection/.
Akinobu Mitade1ba092006-12-08 02:39:42 -08001324
Linus Torvalds1da177e2005-04-16 15:20:36 -07001325 floppy= [HW]
Randy Dunlap31c00fc2008-11-13 21:33:24 +00001326 See Documentation/blockdev/floppy.txt.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001327
Alex Chiangf13ae302008-05-08 14:03:23 -06001328 force_pal_cache_flush
1329 [IA-64] Avoid check_sal_cache_flush which may hang on
1330 buggy SAL_CACHE_FLUSH implementations. Using this
1331 parameter will force ia64_sal_cache_flush to call
1332 ia64_pal_cache_flush instead of SAL_CACHE_FLUSH.
1333
Chris Bainbridge69f23662014-03-07 18:40:42 +07001334 forcepae [X86-32]
1335 Forcefully enable Physical Address Extension (PAE).
1336 Many Pentium M systems disable PAE but may have a
1337 functionally usable PAE implementation.
1338 Warning: use of this parameter will taint the kernel
1339 and may cause unknown problems.
1340
Peter Zijlstrad9e54072008-11-01 19:57:37 +01001341 ftrace=[tracer]
Steven Rostedt2af15d62009-05-28 13:37:24 -04001342 [FTRACE] will set and start the specified tracer
Peter Zijlstrad9e54072008-11-01 19:57:37 +01001343 as early as possible in order to facilitate early
1344 boot debugging.
1345
Frederic Weisbeckercecbca92010-04-18 19:08:41 +02001346 ftrace_dump_on_oops[=orig_cpu]
Steven Rostedt2af15d62009-05-28 13:37:24 -04001347 [FTRACE] will dump the trace buffers on oops.
Frederic Weisbeckercecbca92010-04-18 19:08:41 +02001348 If no parameter is passed, ftrace will dump
1349 buffers of all CPUs, but if you pass orig_cpu, it will
1350 dump only the buffer of the CPU that triggered the
1351 oops.
Steven Rostedt2af15d62009-05-28 13:37:24 -04001352
1353 ftrace_filter=[function-list]
1354 [FTRACE] Limit the functions traced by the function
1355 tracer at boot up. function-list is a comma separated
1356 list of functions. This list can be changed at run
1357 time by the set_ftrace_filter file in the debugfs
Randy Dunlap16290242011-08-13 12:34:52 -07001358 tracing directory.
Steven Rostedt2af15d62009-05-28 13:37:24 -04001359
1360 ftrace_notrace=[function-list]
1361 [FTRACE] Do not trace the functions specified in
1362 function-list. This list can be changed at run time
1363 by the set_ftrace_notrace file in the debugfs
1364 tracing directory.
Peter Zijlstrad9e54072008-11-01 19:57:37 +01001365
Stefan Assmann369bc182009-10-12 22:17:21 +02001366 ftrace_graph_filter=[function-list]
1367 [FTRACE] Limit the top level callers functions traced
1368 by the function graph tracer at boot up.
1369 function-list is a comma separated list of functions
1370 that can be changed at run time by the
1371 set_graph_function file in the debugfs tracing directory.
1372
Namhyung Kim0d7d9a12014-06-13 01:23:50 +09001373 ftrace_graph_notrace=[function-list]
1374 [FTRACE] Do not trace from the functions specified in
1375 function-list. This list is a comma separated list of
1376 functions that can be changed at run time by the
1377 set_graph_notrace file in the debugfs tracing directory.
1378
Linus Torvalds1da177e2005-04-16 15:20:36 -07001379 gamecon.map[2|3]=
1380 [HW,JOY] Multisystem joystick and NES/SNES/PSX pad
1381 support via parallel port (up to 5 devices per port)
1382 Format: <port#>,<pad1>,<pad2>,<pad3>,<pad4>,<pad5>
1383 See also Documentation/input/joystick-parport.txt
1384
1385 gamma= [HW,DRM]
1386
Yinghai Luaaf23042008-01-30 13:33:09 +01001387 gart_fix_e820= [X86_64] disable the fix e820 for K8 GART
1388 Format: off | on
1389 default: on
1390
Peter Oberparleiter2521f2c2009-06-17 16:28:08 -07001391 gcov_persist= [GCOV] When non-zero (default), profiling data for
1392 kernel modules is saved and remains accessible via
1393 debugfs, even when the module is unloaded/reloaded.
1394 When zero, profiling data is discarded and associated
1395 debugfs files are removed at module unload time.
1396
Thomas Gleixner2709c2a2017-02-15 11:11:50 +01001397 goldfish [X86] Enable the goldfish android emulator platform.
1398 Don't use this when you are not running on the
1399 android emulator
1400
Linus Torvalds1da177e2005-04-16 15:20:36 -07001401 gpt [EFI] Forces disk with valid GPT signature but
Davidlohr Bueso6c5de792014-01-23 15:56:03 -08001402 invalid Protective MBR to be treated as GPT. If the
1403 primary GPT is corrupted, it enables the backup/alternate
1404 GPT to be used instead.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001405
Andreas Larsson6cec9b02012-11-15 08:47:14 +01001406 grcan.enable0= [HW] Configuration of physical interface 0. Determines
1407 the "Enable 0" bit of the configuration register.
1408 Format: 0 | 1
1409 Default: 0
1410 grcan.enable1= [HW] Configuration of physical interface 1. Determines
1411 the "Enable 0" bit of the configuration register.
1412 Format: 0 | 1
1413 Default: 0
1414 grcan.select= [HW] Select which physical interface to use.
1415 Format: 0 | 1
1416 Default: 0
1417 grcan.txsize= [HW] Sets the size of the tx buffer.
1418 Format: <unsigned int> such that (txsize & ~0x1fffc0) == 0.
1419 Default: 1024
1420 grcan.rxsize= [HW] Sets the size of the rx buffer.
1421 Format: <unsigned int> such that (rxsize & ~0x1fffc0) == 0.
1422 Default: 1024
1423
Bamvor Jian Zhang0f98dd12016-08-31 11:45:46 +02001424 gpio-mockup.gpio_mockup_ranges
1425 [HW] Sets the ranges of gpiochip of for this device.
1426 Format: <start1>,<end1>,<start2>,<end2>...
1427
Jiri Kosina55537872015-11-05 18:44:41 -08001428 hardlockup_all_cpu_backtrace=
1429 [KNL] Should the hard-lockup detector generate
1430 backtraces on all cpus.
1431 Format: <integer>
1432
Linus Torvalds1da177e2005-04-16 15:20:36 -07001433 hashdist= [KNL,NUMA] Large hashes allocated during boot
1434 are distributed across NUMA nodes. Defaults on
Randy Dunlap16290242011-08-13 12:34:52 -07001435 for 64-bit NUMA, off otherwise.
Randy Dunlapa9913042005-10-23 12:57:11 -07001436 Format: 0 | 1 (for off | on)
Linus Torvalds1da177e2005-04-16 15:20:36 -07001437
1438 hcl= [IA-64] SGI's Hardware Graph compatibility layer
1439
1440 hd= [EIDE] (E)IDE hard drive subsystem geometry
1441 Format: <cyl>,<head>,<sect>
1442
Huang Yingea8c0712010-05-18 14:35:15 +08001443 hest_disable [ACPI]
1444 Disable Hardware Error Source Table (HEST) support;
1445 corresponding firmware-first mode error processing
1446 logic will be disabled.
1447
Linus Torvalds1da177e2005-04-16 15:20:36 -07001448 highmem=nn[KMG] [KNL,BOOT] forces the highmem zone to have an exact
1449 size of <nn>. This works even on boxes that have no
1450 highmem otherwise. This also works to reduce highmem
1451 size on bigger boxes.
1452
Thomas Gleixner54cdfdb2007-02-16 01:28:11 -08001453 highres= [KNL] Enable/disable high resolution timer mode.
1454 Valid parameters: "on", "off"
1455 Default: "on"
1456
Linus Torvalds1da177e2005-04-16 15:20:36 -07001457 hisax= [HW,ISDN]
1458 See Documentation/isdn/README.HiSax.
1459
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07001460 hlt [BUGS=ARM,SH]
1461
1462 hpet= [X86-32,HPET] option to control HPET usage
1463 Format: { enable (default) | disable | force |
1464 verbose }
1465 disable: disable HPET and use PIT instead
1466 force: allow force enabled of undocumented chips (ICH4,
1467 VIA, nVidia)
1468 verbose: show contents of HPET registers during setup
1469
Prarit Bhargava3d035f52013-11-12 15:08:33 -08001470 hpet_mmap= [X86, HPET_MMAP] Allow userspace to mmap HPET
1471 registers. Default set by CONFIG_HPET_MMAP_DEFAULT.
1472
Andi Kleenb4718e62008-07-23 21:27:51 -07001473 hugepages= [HW,X86-32,IA-64] HugeTLB pages to allocate at boot.
1474 hugepagesz= [HW,IA-64,PPC,X86-64] The size of the HugeTLB pages.
Jon Tollefson0d9ea752008-07-23 21:27:56 -07001475 On x86-64 and powerpc, this option can be specified
1476 multiple times interleaved with hugepages= to reserve
1477 huge pages of different sizes. Valid pages sizes on
1478 x86-64 are 2M (when the CPU supports "pse") and 1G
Luiz Capitulino27ec26e2014-12-12 16:55:18 -08001479 (when the CPU supports the "pdpe1gb" cpuinfo flag).
Paul Mundt6902aa82008-09-21 17:14:42 +09001480
Hendrik Brueckner555d61d2009-01-09 12:15:02 +01001481 hvc_iucv= [S390] Number of z/VM IUCV hypervisor console (HVC)
1482 terminal devices. Valid values: 0..8
Hendrik Brueckner431429f2009-03-26 15:23:55 +01001483 hvc_iucv_allow= [S390] Comma-separated list of z/VM user IDs.
1484 If specified, z/VM IUCV HVC accepts connections
1485 from listed z/VM user IDs only.
Hendrik Bruecknercef71252008-12-25 13:39:55 +01001486
James Hoganfdabf522012-10-09 11:00:27 +01001487 hwthread_map= [METAG] Comma-separated list of Linux cpu id to
1488 hardware thread id mappings.
1489 Format: <cpu>:<hwthread>
1490
Fabio M. Di Nitto7bf69392011-03-22 16:34:20 -07001491 keep_bootcon [KNL]
1492 Do not unregister boot console at start. This is only
1493 useful for debugging when something happens in the window
1494 between unregistering the boot console and initializing
1495 the real console.
1496
Jarkko Nikula3a853fb2009-03-23 18:07:47 -07001497 i2c_bus= [HW] Override the default board specific I2C bus speed
Jarkko Nikula79547632009-03-23 18:07:48 -07001498 or register an additional I2C bus that is not
1499 registered from board initialization code.
Jarkko Nikula3a853fb2009-03-23 18:07:47 -07001500 Format:
1501 <bus_id>,<clkrate>
1502
Jiri Kosina36d95732008-10-06 02:51:09 -04001503 i8042.debug [HW] Toggle i8042 debug mode
Stephen Chandler Paule1443d22015-07-15 10:20:17 -07001504 i8042.unmask_kbd_data
1505 [HW] Enable printing of interrupt data from the KBD port
1506 (disabled by default, and as a pre-condition
1507 requires that i8042.debug=1 be enabled)
Linus Torvalds1da177e2005-04-16 15:20:36 -07001508 i8042.direct [HW] Put keyboard port into non-translated mode
Matt LaPlante84eb8d02006-10-03 22:53:09 +02001509 i8042.dumbkbd [HW] Pretend that controller can only read data from
1510 keyboard and cannot control its state
Linus Torvalds1da177e2005-04-16 15:20:36 -07001511 (Don't attempt to blink the leds)
1512 i8042.noaux [HW] Don't check for auxiliary (== mouse) port
Dmitry Torokhov945ef0d2005-09-04 01:42:00 -05001513 i8042.nokbd [HW] Don't check/create keyboard port
Jiri Kosina75d08c72008-03-13 16:13:59 -04001514 i8042.noloop [HW] Disable the AUX Loopback command while probing
1515 for the AUX port
Linus Torvalds1da177e2005-04-16 15:20:36 -07001516 i8042.nomux [HW] Don't check presence of an active multiplexing
Dmitry Torokhove55a3362014-10-31 09:35:53 -07001517 controller
Linus Torvalds1da177e2005-04-16 15:20:36 -07001518 i8042.nopnp [HW] Don't use ACPIPnP / PnPBIOS to discover KBD/AUX
1519 controllers
Masanari Iida24775d62012-02-15 00:26:42 +09001520 i8042.notimeout [HW] Ignore timeout condition signalled by controller
Marcos Paulo de Souza930e1922016-10-01 12:07:35 -07001521 i8042.reset [HW] Reset the controller during init, cleanup and
1522 suspend-to-ram transitions, only during s2r
1523 transitions, or never reset
1524 Format: { 1 | Y | y | 0 | N | n }
1525 1, Y, y: always reset controller
1526 0, N, n: don't ever reset controller
1527 Default: only on s2r transitions on x86; most other
1528 architectures force reset to be always executed
Linus Torvalds1da177e2005-04-16 15:20:36 -07001529 i8042.unlock [HW] Unlock (ignore) the keylock
Srihari Vijayaraghavan148e9a72015-01-07 16:25:53 -08001530 i8042.kbdreset [HW] Reset device connected to KBD port
Linus Torvalds1da177e2005-04-16 15:20:36 -07001531
1532 i810= [HW,DRM]
1533
Dmitry Torokhove70c9d52005-06-25 14:54:25 -07001534 i8k.ignore_dmi [HW] Continue probing hardware even if DMI data
1535 indicates that the driver is running on unsupported
1536 hardware.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001537 i8k.force [HW] Activate i8k driver even if SMM BIOS signature
1538 does not match list of supported models.
1539 i8k.power_status
1540 [HW] Report power status in /proc/i8k
1541 (disabled by default)
1542 i8k.restricted [HW] Allow controlling fans only if SYS_ADMIN
1543 capability is set.
1544
Carsten Emde4dca20e2012-03-15 15:56:26 +01001545 i915.invert_brightness=
Carsten Emde7bd90902012-03-15 15:56:25 +01001546 [DRM] Invert the sense of the variable that is used to
1547 set the brightness of the panel backlight. Normally a
Carsten Emde4dca20e2012-03-15 15:56:26 +01001548 brightness value of 0 indicates backlight switched off,
1549 and the maximum of the brightness value sets the backlight
1550 to maximum brightness. If this parameter is set to 0
1551 (default) and the machine requires it, or this parameter
1552 is set to 1, a brightness value of 0 sets the backlight
1553 to maximum brightness, and the maximum of the brightness
1554 value switches the backlight off.
1555 -1 -- never invert brightness
1556 0 -- machine default
1557 1 -- force brightness inversion
Carsten Emde7bd90902012-03-15 15:56:25 +01001558
Linus Torvalds1da177e2005-04-16 15:20:36 -07001559 icn= [HW,ISDN]
1560 Format: <io>[,<membase>[,<icn_id>[,<icn_id2>]]]
1561
David Fries0af80c02009-02-25 20:28:21 +01001562 ide-core.nodma= [HW] (E)IDE subsystem
1563 Format: =0.0 to prevent dma on hda, =0.1 hdb =1.0 hdc
Bartlomiej Zolnierkiewicz075affc2009-06-07 13:52:52 +02001564 .vlb_clock .pci_clock .noflush .nohpa .noprobe .nowerr
1565 .cdrom .chs .ignore_cable are additional options
Randy Dunlap1c10e932008-03-07 21:53:50 +01001566 See Documentation/ide/ide.txt.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001567
Maciej W. Rozycki0f8b7f52014-10-25 17:03:52 +01001568 ide-generic.probe-mask= [HW] (E)IDE subsystem
1569 Format: <int>
1570 Probe mask for legacy ISA IDE ports. Depending on
1571 platform up to 6 ports are supported, enabled by
1572 setting corresponding bits in the mask to 1. The
1573 default value is 0x0, which has a special meaning.
1574 On systems that have PCI, it triggers scanning the
1575 PCI bus for the first and the second port, which
1576 are then probed. On systems without PCI the value
1577 of 0x0 enables probing the two first ports as if it
1578 was 0x3.
1579
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07001580 ide-pci-generic.all-generic-ide [HW] (E)IDE subsystem
1581 Claim all unknown PCI IDE storage controllers.
1582
Andi Kleenf039b752007-05-02 19:27:12 +02001583 idle= [X86]
Len Brown69fb3672013-02-10 01:38:39 -05001584 Format: idle=poll, idle=halt, idle=nomwait
Randy Dunlapada9cfd2008-12-19 10:57:32 -08001585 Poll forces a polling idle loop that can slightly
1586 improve the performance of waking up a idle CPU, but
1587 will use a lot of power and make the system run hot.
1588 Not recommended.
Randy Dunlapada9cfd2008-12-19 10:57:32 -08001589 idle=halt: Halt is forced to be used for CPU idle.
Zhao Yakuic1e3b372008-06-24 17:58:53 +08001590 In such case C2/C3 won't be used again.
Randy Dunlapada9cfd2008-12-19 10:57:32 -08001591 idle=nomwait: Disable mwait for CPU C-states
Randy Dunlapa9913042005-10-23 12:57:11 -07001592
Maciej W. Rozycki503943e2015-11-13 00:48:29 +00001593 ieee754= [MIPS] Select IEEE Std 754 conformance mode
1594 Format: { strict | legacy | 2008 | relaxed }
1595 Default: strict
1596
1597 Choose which programs will be accepted for execution
1598 based on the IEEE 754 NaN encoding(s) supported by
1599 the FPU and the NaN encoding requested with the value
1600 of an ELF file header flag individually set by each
1601 binary. Hardware implementations are permitted to
1602 support either or both of the legacy and the 2008 NaN
1603 encoding mode.
1604
1605 Available settings are as follows:
1606 strict accept binaries that request a NaN encoding
1607 supported by the FPU
1608 legacy only accept legacy-NaN binaries, if supported
1609 by the FPU
1610 2008 only accept 2008-NaN binaries, if supported
1611 by the FPU
1612 relaxed accept any binaries regardless of whether
1613 supported by the FPU
1614
1615 The FPU emulator is always able to support both NaN
1616 encodings, so if no FPU hardware is present or it has
1617 been disabled with 'nofpu', then the settings of
1618 'legacy' and '2008' strap the emulator accordingly,
1619 'relaxed' straps the emulator for both legacy-NaN and
1620 2008-NaN, whereas 'strict' enables legacy-NaN only on
1621 legacy processors and both NaN encodings on MIPS32 or
1622 MIPS64 CPUs.
1623
1624 The setting for ABS.fmt/NEG.fmt instruction execution
1625 mode generally follows that for the NaN encoding,
1626 except where unsupported by hardware.
1627
Ingo Molnar792908222006-12-06 20:40:51 -08001628 ignore_loglevel [KNL]
1629 Ignore loglevel setting - this will print /all/
1630 kernel messages to the console. Useful for debugging.
Yanmin Zhang0eca6b72011-10-31 17:11:25 -07001631 We also add it as printk module parameter, so users
1632 could change it dynamically, usually by
1633 /sys/module/printk/parameters/ignore_loglevel.
Ingo Molnar792908222006-12-06 20:40:51 -08001634
Konstantin Khlebnikovd977d562016-02-02 16:57:43 -08001635 ignore_rlimit_data
1636 Ignore RLIMIT_DATA setting for data mappings,
1637 print warning at first misuse. Can be changed via
1638 /sys/module/kernel/parameters/ignore_rlimit_data.
1639
Linus Torvalds1da177e2005-04-16 15:20:36 -07001640 ihash_entries= [KNL]
1641 Set number of hash buckets for inode cache.
1642
Mimi Zohar2fe5d6d2012-02-13 10:15:05 -05001643 ima_appraise= [IMA] appraise integrity measurements
Dmitry Kasatkin2faa6ef2014-05-08 13:11:29 +03001644 Format: { "off" | "enforce" | "fix" | "log" }
Mimi Zohar2fe5d6d2012-02-13 10:15:05 -05001645 default: "enforce"
1646
Mimi Zohar07f6a792011-03-09 22:25:48 -05001647 ima_appraise_tcb [IMA]
1648 The builtin appraise policy appraises all files
1649 owned by uid=0.
1650
Mimi Zohar3323eec92009-02-04 09:06:58 -05001651 ima_hash= [IMA]
Mimi Zohare7a2ad72013-06-07 12:16:37 +02001652 Format: { md5 | sha1 | rmd160 | sha256 | sha384
1653 | sha512 | ... }
Mimi Zohar3323eec92009-02-04 09:06:58 -05001654 default: "sha1"
1655
Mimi Zohare7a2ad72013-06-07 12:16:37 +02001656 The list of supported hash algorithms is defined
1657 in crypto/hash_info.h.
1658
Mimi Zohar24fd03c2015-06-11 20:48:33 -04001659 ima_policy= [IMA]
1660 The builtin measurement policy to load during IMA
1661 setup. Specyfing "tcb" as the value, measures all
1662 programs exec'd, files mmap'd for exec, and all files
1663 opened with the read mode bit set by either the
1664 effective uid (euid=0) or uid=0.
1665 Format: "tcb"
1666
1667 ima_tcb [IMA] Deprecated. Use ima_policy= instead.
Eric Paris5789ba32009-05-21 15:47:06 -04001668 Load a policy which meets the needs of the Trusted
1669 Computing Base. This means IMA will measure all
1670 programs exec'd, files mmap'd for exec, and all files
1671 opened for read by uid=0.
1672
Roberto Sassu9b9d4ce2013-06-07 12:16:35 +02001673 ima_template= [IMA]
1674 Select one of defined IMA measurements template formats.
Roberto Sassu8265a2f2015-04-11 17:07:03 +02001675 Formats: { "ima" | "ima-ng" | "ima-sig" }
Roberto Sassu9b9d4ce2013-06-07 12:16:35 +02001676 Default: "ima-ng"
1677
Roberto Sassuc2426d22014-10-13 14:08:42 +02001678 ima_template_fmt=
1679 [IMA] Define a custom template format.
1680 Format: { "field1|...|fieldN" }
1681
Dmitry Kasatkin3bcced32014-02-26 17:05:20 +02001682 ima.ahash_minsize= [IMA] Minimum file size for asynchronous hash usage
1683 Format: <min_file_size>
1684 Set the minimal file size for using asynchronous hash.
1685 If left unspecified, ahash usage is disabled.
1686
1687 ahash performance varies for different data sizes on
1688 different crypto accelerators. This option can be used
1689 to achieve the best performance for a particular HW.
1690
Dmitry Kasatkin6edf7a82014-05-06 14:47:13 +03001691 ima.ahash_bufsize= [IMA] Asynchronous hash buffer size
1692 Format: <bufsize>
1693 Set hashing buffer size. Default: 4k.
1694
1695 ahash performance varies for different chunk sizes on
1696 different crypto accelerators. This option can be used
1697 to achieve best performance for particular HW.
1698
Linus Torvalds1da177e2005-04-16 15:20:36 -07001699 init= [KNL]
1700 Format: <full_path>
1701 Run specified binary instead of /sbin/init as init
1702 process.
1703
1704 initcall_debug [KNL] Trace initcalls as they are executed. Useful
1705 for working out where the kernel is dying during
1706 startup.
1707
Prarit Bhargava7b0b73d2014-06-04 16:12:17 -07001708 initcall_blacklist= [KNL] Do not execute a comma-separated list of
1709 initcall functions. Useful for debugging built-in
1710 modules and initcalls.
1711
Linus Torvalds1da177e2005-04-16 15:20:36 -07001712 initrd= [BOOT] Specify the location of the initial ramdisk
1713
Dave Hansenacd547b2016-07-29 09:30:21 -07001714 init_pkru= [x86] Specify the default memory protection keys rights
1715 register contents for all processes. 0x55555554 by
1716 default (disallow access to all but pkey 0). Can
1717 override in debugfs after boot.
1718
Linus Torvalds1da177e2005-04-16 15:20:36 -07001719 inport.irq= [HW] Inport (ATI XL and Microsoft) busmouse driver
1720 Format: <irq>
1721
Fenghua Yu6bb2ff82013-05-21 15:35:17 -04001722 int_pln_enable [x86] Enable power limit notification interrupt
1723
Mimi Zohard726d8d2013-03-18 14:48:02 -04001724 integrity_audit=[IMA]
1725 Format: { "0" | "1" }
1726 0 -- basic integrity auditing messages. (Default)
1727 1 -- additional integrity auditing messages.
1728
Keshavamurthy, Anil Sba395922007-10-21 16:41:49 -07001729 intel_iommu= [DMAR] Intel IOMMU driver (DMAR) option
Kyle McMartin0cd5c3c2009-02-04 14:29:19 -08001730 on
1731 Enable intel iommu driver.
Keshavamurthy, Anil Sba395922007-10-21 16:41:49 -07001732 off
1733 Disable intel iommu driver.
1734 igfx_off [Default Off]
1735 By default, gfx is mapped as normal device. If a gfx
1736 device has a dedicated DMAR unit, the DMAR unit is
1737 bypassed by not enabling DMAR with this option. In
1738 this case, gfx device will use physical address for
1739 DMA.
Keshavamurthy, Anil S7d3b03c2007-10-21 16:41:53 -07001740 forcedac [x86_64]
1741 With this option iommu will not optimize to look
Randy Dunlap16290242011-08-13 12:34:52 -07001742 for io virtual address below 32-bit forcing dual
Keshavamurthy, Anil S7d3b03c2007-10-21 16:41:53 -07001743 address cycle on pci bus for cards supporting greater
Randy Dunlap16290242011-08-13 12:34:52 -07001744 than 32-bit addressing. The default is to look
1745 for translation below 32-bit and if not available
Keshavamurthy, Anil S7d3b03c2007-10-21 16:41:53 -07001746 then look in the higher range.
mark gross5e0d2a62008-03-04 15:22:08 -08001747 strict [Default Off]
1748 With this option on every unmap_single operation will
1749 result in a hardware IOTLB flush operation as opposed
1750 to batching them for performance.
Youquan Song6dd9a7c2011-05-25 19:13:49 +01001751 sp_off [Default Off]
1752 By default, super page will be supported if Intel IOMMU
1753 has the capability. With this option, super page will
1754 not be supported.
David Woodhousec83b2f22015-06-12 10:15:49 +01001755 ecs_off [Default Off]
1756 By default, extended context tables will be supported if
1757 the hardware advertises that it has support both for the
1758 extended tables themselves, and also PASID support. With
1759 this option set, extended tables will not be used even
1760 on hardware which claims to support them.
Masanari Iida2e92c7a2011-12-15 01:18:52 +09001761
1762 intel_idle.max_cstate= [KNL,HW,ACPI,X86]
1763 0 disables intel_idle and fall back on acpi_idle.
baolex.ni22c6bbe2016-07-11 09:57:37 +08001764 1 to 9 specify maximum depth of C-state.
Masanari Iida2e92c7a2011-12-15 01:18:52 +09001765
Dirk Brandewie6be26492013-02-15 22:55:10 +01001766 intel_pstate= [X86]
1767 disable
1768 Do not enable intel_pstate as the default
1769 scaling driver for the supported processors
Ethan Zhaoaa4ea342014-12-09 10:43:19 +09001770 force
1771 Enable intel_pstate on systems that prohibit it by default
1772 in favor of acpi-cpufreq. Forcing the intel_pstate driver
1773 instead of acpi-cpufreq may disable platform features, such
1774 as thermal controls and power capping, that rely on ACPI
1775 P-States information being indicated to OSPM and therefore
1776 should be used with caution. This option does not work with
1777 processors that aren't supported by the intel_pstate driver
1778 or on platforms that use pcc-cpufreq instead of acpi-cpufreq.
Dirk Brandewie2f86dc42014-11-06 09:40:47 -08001779 no_hwp
1780 Do not enable hardware P state control (HWP)
1781 if available.
Kristen Carlson Accardid64c3b02015-02-06 13:41:55 -08001782 hwp_only
1783 Only load intel_pstate on systems which support
1784 hardware P state control (HWP) if available.
Srinivas Pandruvada9522a2f2016-04-27 15:48:06 -07001785 support_acpi_ppc
Srinivas Pandruvada2b3ec762016-04-27 15:48:08 -07001786 Enforce ACPI _PPC performance limits. If the Fixed ACPI
1787 Description Table, specifies preferred power management
1788 profile as "Enterprise Server" or "Performance Server",
1789 then this feature is turned on by default.
Dirk Brandewie6be26492013-02-15 22:55:10 +01001790
Chris Wrightd1423d52010-07-20 11:06:49 -07001791 intremap= [X86-64, Intel-IOMMU]
Chris Wrightd1423d52010-07-20 11:06:49 -07001792 on enable Interrupt Remapping (default)
1793 off disable Interrupt Remapping
1794 nosid disable Source ID checking
Suresh Siddha41750d32011-08-23 17:05:18 -07001795 no_x2apic_optout
1796 BIOS x2APIC opt-out request will be ignored
Feng Wub7d20632015-09-18 22:29:56 +08001797 nopost disable Interrupt Posting
Chris Wrightd1423d52010-07-20 11:06:49 -07001798
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07001799 iomem= Disable strict checking of access to MMIO memory
1800 strict regions from userspace.
1801 relaxed
1802
1803 iommu= [x86]
1804 off
1805 force
1806 noforce
1807 biomerge
1808 panic
1809 nopanic
1810 merge
1811 nomerge
1812 forcesac
1813 soft
Alex Williamsonbcb71ab2011-10-21 15:56:24 -04001814 pt [x86, IA-64]
Thadeu Lima de Souza Cascardo4e287842014-10-23 19:19:35 -02001815 nobypass [PPC/POWERNV]
1816 Disable IOMMU bypass, using IOMMU for PCI devices.
Alex Williamsonbcb71ab2011-10-21 15:56:24 -04001817
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07001818
1819 io7= [HW] IO7 for Marvel based alpha systems
1820 See comment before marvel_specify_io7 in
1821 arch/alpha/kernel/core_marvel.c.
1822
Jaswinder Singh Rajput6cececf2009-04-14 14:03:43 +05301823 io_delay= [X86] I/O delay method
Ingo Molnar6e7c4022008-01-30 13:30:05 +01001824 0x80
1825 Standard port 0x80 based delay
1826 0xed
1827 Alternate port 0xed based delay (needed on some systems)
Rene Hermanb02aae92008-01-30 13:30:05 +01001828 udelay
Ingo Molnar6e7c4022008-01-30 13:30:05 +01001829 Simple two microseconds delay
1830 none
1831 No delay
Rene Hermanb02aae92008-01-30 13:30:05 +01001832
Linus Torvalds1da177e2005-04-16 15:20:36 -07001833 ip= [IP_PNP]
J. Bruce Fieldsdc7a0812009-10-27 14:41:35 -04001834 See Documentation/filesystems/nfs/nfsroot.txt.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001835
Thomas Gleixnerfbf19802016-02-03 19:52:23 +01001836 irqaffinity= [SMP] Set the default irq affinity mask
Noam Camus2d13e6c2016-10-11 13:51:35 -07001837 The argument is a cpu list, as described above.
Thomas Gleixnerfbf19802016-02-03 19:52:23 +01001838
Alan Cox200803d2005-06-28 20:45:18 -07001839 irqfixup [HW]
1840 When an interrupt is not handled search all handlers
1841 for it. Intended to get systems with badly broken
1842 firmware running.
1843
1844 irqpoll [HW]
1845 When an interrupt is not handled search all handlers
1846 for it. Also check all handlers each timer
1847 interrupt. Intended to get systems with badly broken
1848 firmware running.
1849
Linus Torvalds1da177e2005-04-16 15:20:36 -07001850 isapnp= [ISAPNP]
Randy Dunlapa9913042005-10-23 12:57:11 -07001851 Format: <RDP>,<reset>,<pci_scan>,<verbosity>
Linus Torvalds1da177e2005-04-16 15:20:36 -07001852
1853 isolcpus= [KNL,SMP] Isolate CPUs from the general scheduler.
Noam Camus2d13e6c2016-10-11 13:51:35 -07001854 The argument is a cpu list, as described above.
Li Zefanb225d442008-11-06 12:53:39 -08001855
Linus Torvalds1da177e2005-04-16 15:20:36 -07001856 This option can be used to specify one or more CPUs
1857 to isolate from the general SMP balancing and scheduling
Li Zefanb225d442008-11-06 12:53:39 -08001858 algorithms. You can move a process onto or off an
1859 "isolated" CPU via the CPU affinity syscalls or cpuset.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001860 <cpu number> begins at 0 and the maximum value is
1861 "number of CPUs in system - 1".
1862
1863 This option is the preferred way to isolate CPUs. The
Randy Dunlapa9913042005-10-23 12:57:11 -07001864 alternative -- manually setting the CPU mask of all
1865 tasks in the system -- can cause problems and
1866 suboptimal load balancer performance.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001867
Randy Dunlapa9913042005-10-23 12:57:11 -07001868 iucv= [HW,NET]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001869
Joerg Roedel7d8bfa22013-04-09 21:27:19 +02001870 ivrs_ioapic [HW,X86_64]
1871 Provide an override to the IOAPIC-ID<->DEVICE-ID
1872 mapping provided in the IVRS ACPI table. For
1873 example, to map IOAPIC-ID decimal 10 to
1874 PCI device 00:14.0 write the parameter as:
1875 ivrs_ioapic[10]=00:14.0
1876
1877 ivrs_hpet [HW,X86_64]
1878 Provide an override to the HPET-ID<->DEVICE-ID
1879 mapping provided in the IVRS ACPI table. For
1880 example, to map HPET-ID decimal 0 to
1881 PCI device 00:14.0 write the parameter as:
1882 ivrs_hpet[0]=00:14.0
1883
Suravee Suthikulpanitca3bf5d2016-04-01 09:06:01 -04001884 ivrs_acpihid [HW,X86_64]
1885 Provide an override to the ACPI-HID:UID<->DEVICE-ID
1886 mapping provided in the IVRS ACPI table. For
1887 example, to map UART-HID:UID AMD0020:0 to
1888 PCI device 00:14.5 write the parameter as:
1889 ivrs_acpihid[00:14.5]=AMD0020:0
1890
Linus Torvalds1da177e2005-04-16 15:20:36 -07001891 js= [HW,JOY] Analog joystick
1892 See Documentation/input/joystick.txt.
1893
Kees Cook65fe9352016-06-13 15:10:02 -07001894 nokaslr [KNL]
1895 When CONFIG_RANDOMIZE_BASE is set, this disables
1896 kernel and module base offset ASLR (Address Space
1897 Layout Randomization).
Kees Cook24f2e022014-06-13 13:30:36 -07001898
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07001899 keepinitrd [HW,ARM]
1900
Taku Izumi342332e2016-03-15 14:55:22 -07001901 kernelcore= [KNL,X86,IA-64,PPC]
1902 Format: nn[KMGTPE] | "mirror"
1903 This parameter
Mel Gormaned7ed362007-07-17 04:03:14 -07001904 specifies the amount of memory usable by the kernel
1905 for non-movable allocations. The requested amount is
1906 spread evenly throughout all nodes in the system. The
1907 remaining memory in each node is used for Movable
1908 pages. In the event, a node is too small to have both
1909 kernelcore and Movable pages, kernelcore pages will
1910 take priority and other nodes will have a larger number
Weiping Pan675217f2013-09-30 13:45:10 -07001911 of Movable pages. The Movable zone is used for the
Mel Gormaned7ed362007-07-17 04:03:14 -07001912 allocation of pages that may be reclaimed or moved
1913 by the page migration subsystem. This means that
1914 HugeTLB pages may not be allocated from this zone.
1915 Note that allocations like PTEs-from-HighMem still
1916 use the HighMem zone if it exists, and the Normal
1917 zone if it does not.
1918
Taku Izumi342332e2016-03-15 14:55:22 -07001919 Instead of specifying the amount of memory (nn[KMGTPE]),
1920 you can specify "mirror" option. In case "mirror"
1921 option is specified, mirrored (reliable) memory is used
1922 for non-movable allocations and remaining memory is used
1923 for Movable pages. nn[KMGTPE] and "mirror" are exclusive,
1924 so you can NOT specify nn[KMGTPE] and "mirror" at the same
1925 time.
1926
Jason Wessel4fe1da42010-05-20 21:04:31 -05001927 kgdbdbgp= [KGDB,HW] kgdb over EHCI usb debug port.
1928 Format: <Controller#>[,poll interval]
1929 The controller # is the number of the ehci usb debug
1930 port as it is probed via PCI. The poll interval is
1931 optional and is the number seconds in between
1932 each poll cycle to the debug port in case you need
1933 the functionality for interrupting the kernel with
1934 gdb or control-c on the dbgp connection. When
1935 not using this parameter you use sysrq-g to break into
1936 the kernel debugger.
1937
Jason Wessel84c08fd2010-05-20 21:04:24 -05001938 kgdboc= [KGDB,HW] kgdb over consoles.
Jason Wesselada64e42010-05-20 21:04:24 -05001939 Requires a tty driver that supports console polling,
1940 or a supported polling keyboard driver (non-usb).
Jason Wessel65b5ac12010-08-05 09:22:33 -05001941 Serial only format: <serial_device>[,baud]
1942 keyboard only format: kbd
1943 keyboard and serial format: kbd,<serial_device>[,baud]
1944 Optional Kernel mode setting:
1945 kms, kbd format: kms,kbd
1946 kms, kbd and serial format: kms,kbd,<ser_dev>[,baud]
Jason Wessel6cdf6e02008-04-17 20:05:38 +02001947
Jason Wessel84c08fd2010-05-20 21:04:24 -05001948 kgdbwait [KGDB] Stop kernel execution and enter the
1949 kernel debugger at the earliest opportunity.
1950
Florian Fainelli9bed90c62008-08-23 18:54:37 +02001951 kmac= [MIPS] korina ethernet MAC address.
1952 Configure the RouterBoard 532 series on-chip
1953 Ethernet adapter MAC address.
1954
Catalin Marinas04f70332009-06-11 13:22:39 +01001955 kmemleak= [KNL] Boot-time kmemleak enable/disable
1956 Valid arguments: on, off
1957 Default: on
Masanari Iida47aeedd2014-10-24 21:24:59 +09001958 Built with CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=y,
1959 the default is off.
Catalin Marinas04f70332009-06-11 13:22:39 +01001960
Xishi Qiuc3ac14b2014-01-23 15:53:33 -08001961 kmemcheck= [X86] Boot-time kmemcheck enable/disable/one-shot mode
1962 Valid arguments: 0, 1, 2
1963 kmemcheck=0 (disabled)
1964 kmemcheck=1 (enabled)
1965 kmemcheck=2 (one-shot mode)
1966 Default: 2 (one-shot mode)
1967
Jaswinder Singh Rajput6cececf2009-04-14 14:03:43 +05301968 kstack=N [X86] Print N words from the kernel stack
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07001969 in oops dumps.
1970
Andre Przywarafef07aa2009-07-10 14:20:35 +02001971 kvm.ignore_msrs=[KVM] Ignore guest accesses to unhandled MSRs.
1972 Default is 0 (don't ignore, but inject #GP)
1973
Xiao Guangronga182d872010-09-20 22:17:48 +08001974 kvm.mmu_audit= [KVM] This is a R/W parameter which allows audit
1975 KVM MMU at runtime.
Andre Przywarafef07aa2009-07-10 14:20:35 +02001976 Default is 0 (off)
1977
Andre Przywarafef07aa2009-07-10 14:20:35 +02001978 kvm-amd.nested= [KVM,AMD] Allow nested virtualization in KVM/SVM.
Xiao Guangrong8475f942010-09-20 22:16:45 +08001979 Default is 1 (enabled)
Andre Przywarafef07aa2009-07-10 14:20:35 +02001980
1981 kvm-amd.npt= [KVM,AMD] Disable nested paging (virtualized MMU)
1982 for all guests.
Randy Dunlap16290242011-08-13 12:34:52 -07001983 Default is 1 (enabled) if in 64-bit or 32-bit PAE mode.
Andre Przywarafef07aa2009-07-10 14:20:35 +02001984
Andre Przywarafef07aa2009-07-10 14:20:35 +02001985 kvm-intel.ept= [KVM,Intel] Disable extended page tables
1986 (virtualized MMU) support on capable Intel chips.
1987 Default is 1 (enabled)
1988
1989 kvm-intel.emulate_invalid_guest_state=
1990 [KVM,Intel] Enable emulation of invalid guest states
1991 Default is 0 (disabled)
1992
1993 kvm-intel.flexpriority=
1994 [KVM,Intel] Disable FlexPriority feature (TPR shadow).
1995 Default is 1 (enabled)
1996
Sasha Levine1a72ae2011-08-09 14:28:35 +03001997 kvm-intel.nested=
1998 [KVM,Intel] Enable VMX nesting (nVMX).
1999 Default is 0 (disabled)
2000
Andre Przywarafef07aa2009-07-10 14:20:35 +02002001 kvm-intel.unrestricted_guest=
2002 [KVM,Intel] Disable unrestricted guest feature
2003 (virtualized real and unpaged mode) on capable
2004 Intel chips. Default is 1 (enabled)
2005
Konrad Rzeszutek Wilkaf6ce922018-07-02 12:29:30 +02002006 kvm-intel.vmentry_l1d_flush=[KVM,Intel] Mitigation for L1 Terminal Fault
2007 CVE-2018-3620.
2008
2009 Valid arguments: never, cond, always
2010
2011 always: L1D cache flush on every VMENTER.
2012 cond: Flush L1D on VMENTER only when the code between
2013 VMEXIT and VMENTER can leak host memory.
2014 never: Disables the mitigation
2015
2016 Default is cond (do L1 cache flush in specific instances)
2017
Andre Przywarafef07aa2009-07-10 14:20:35 +02002018 kvm-intel.vpid= [KVM,Intel] Disable Virtual Processor Identification
2019 feature (tagged TLBs) on capable Intel chips.
2020 Default is 1 (enabled)
2021
Jiri Kosina2decbf52018-07-13 16:23:25 +02002022 l1tf= [X86] Control mitigation of the L1TF vulnerability on
2023 affected CPUs
2024
2025 The kernel PTE inversion protection is unconditionally
2026 enabled and cannot be disabled.
2027
2028 full
2029 Provides all available mitigations for the
2030 L1TF vulnerability. Disables SMT and
2031 enables all mitigations in the
2032 hypervisors, i.e. unconditional L1D flush.
2033
2034 SMT control and L1D flush control via the
2035 sysfs interface is still possible after
2036 boot. Hypervisors will issue a warning
2037 when the first VM is started in a
2038 potentially insecure configuration,
2039 i.e. SMT enabled or L1D flush disabled.
2040
2041 full,force
2042 Same as 'full', but disables SMT and L1D
2043 flush runtime control. Implies the
2044 'nosmt=force' command line option.
2045 (i.e. sysfs control of SMT is disabled.)
2046
2047 flush
2048 Leaves SMT enabled and enables the default
2049 hypervisor mitigation, i.e. conditional
2050 L1D flush.
2051
2052 SMT control and L1D flush control via the
2053 sysfs interface is still possible after
2054 boot. Hypervisors will issue a warning
2055 when the first VM is started in a
2056 potentially insecure configuration,
2057 i.e. SMT enabled or L1D flush disabled.
2058
2059 flush,nosmt
2060
2061 Disables SMT and enables the default
2062 hypervisor mitigation.
2063
2064 SMT control and L1D flush control via the
2065 sysfs interface is still possible after
2066 boot. Hypervisors will issue a warning
2067 when the first VM is started in a
2068 potentially insecure configuration,
2069 i.e. SMT enabled or L1D flush disabled.
2070
2071 flush,nowarn
2072 Same as 'flush', but hypervisors will not
2073 warn when a VM is started in a potentially
2074 insecure configuration.
2075
2076 off
2077 Disables hypervisor mitigations and doesn't
2078 emit any warnings.
Michal Hockoc3692582018-11-13 19:49:10 +01002079 It also drops the swap size and available
2080 RAM limit restriction on both hypervisor and
2081 bare metal.
Jiri Kosina2decbf52018-07-13 16:23:25 +02002082
2083 Default is 'flush'.
2084
Thomas Gleixnercb106032019-02-19 11:10:49 +01002085 For details see: Documentation/hw-vuln/l1tf.rst
Jiri Kosina2decbf52018-07-13 16:23:25 +02002086
Linus Torvalds1da177e2005-04-16 15:20:36 -07002087 l2cr= [PPC]
2088
Robert Brosea78bfbf2008-03-29 07:20:23 +11002089 l3cr= [PPC]
2090
Alan Coxcd4f0ef2007-07-31 00:37:59 -07002091 lapic [X86-32,APIC] Enable the local APIC even if BIOS
Randy Dunlapa9913042005-10-23 12:57:11 -07002092 disabled it.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002093
Suresh Siddha279f1462012-10-22 14:37:58 -07002094 lapic= [x86,APIC] "notscdeadline" Do not use TSC deadline
2095 value for LAPIC timer one-shot implementation. Default
2096 back to the programmable timer unit in the LAPIC.
2097
Jaswinder Singh Rajput6cececf2009-04-14 14:03:43 +05302098 lapic_timer_c2_ok [X86,APIC] trust the local apic timer
Randy Dunlapada9cfd2008-12-19 10:57:32 -08002099 in C2 power state.
Thomas Gleixnere585bef2007-03-23 16:08:01 +01002100
FD Camifcb71f62008-01-06 19:08:56 +01002101 libata.dma= [LIBATA] DMA control
2102 libata.dma=0 Disable all PATA and SATA DMA
2103 libata.dma=1 PATA and SATA Disk DMA only
2104 libata.dma=2 ATAPI (CDROM) DMA only
Randy Dunlap16290242011-08-13 12:34:52 -07002105 libata.dma=4 Compact Flash DMA only
FD Camifcb71f62008-01-06 19:08:56 +01002106 Combinations also work, so libata.dma=3 enables DMA
2107 for disks and CDROMs, but not CFs.
Randy Dunlap16290242011-08-13 12:34:52 -07002108
Michael Prokop20308872009-08-06 00:14:10 +02002109 libata.ignore_hpa= [LIBATA] Ignore HPA limit
2110 libata.ignore_hpa=0 keep BIOS limits (default)
2111 libata.ignore_hpa=1 ignore limits, using full disk
FD Camifcb71f62008-01-06 19:08:56 +01002112
Dave Jones78e70c22007-09-27 11:50:13 -04002113 libata.noacpi [LIBATA] Disables use of ACPI in libata suspend/resume
2114 when set.
2115 Format: <int>
2116
Tejun Heo33267322008-02-13 09:15:09 +09002117 libata.force= [LIBATA] Force configurations. The format is comma
2118 separated list of "[ID:]VAL" where ID is
Roman Fietze4c44f302010-04-21 12:17:12 +02002119 PORT[.DEVICE]. PORT and DEVICE are decimal numbers
Tejun Heo33267322008-02-13 09:15:09 +09002120 matching port, link or device. Basically, it matches
2121 the ATA ID string printed on console by libata. If
2122 the whole ID part is omitted, the last PORT and DEVICE
2123 values are used. If ID hasn't been specified yet, the
2124 configuration applies to all ports, links and devices.
2125
2126 If only DEVICE is omitted, the parameter applies to
2127 the port and all links and devices behind it. DEVICE
2128 number of 0 either selects the first device or the
2129 first fan-out link behind PMP device. It does not
2130 select the host link. DEVICE number of 15 selects the
2131 host link and device attached to it.
2132
2133 The VAL specifies the configuration to force. As long
2134 as there's no ambiguity shortcut notation is allowed.
2135 For example, both 1.5 and 1.5G would work for 1.5Gbps.
2136 The following configurations can be forced.
2137
2138 * Cable type: 40c, 80c, short40c, unk, ign or sata.
2139 Any ID with matching PORT is used.
2140
2141 * SATA link speed limit: 1.5Gbps or 3.0Gbps.
2142
2143 * Transfer mode: pio[0-7], mwdma[0-4] and udma[0-7].
2144 udma[/][16,25,33,44,66,100,133] notation is also
2145 allowed.
2146
2147 * [no]ncq: Turn on or off NCQ.
2148
Martin K. Petersend7b16e42015-05-04 21:54:18 -04002149 * [no]ncqtrim: Turn off queued DSM TRIM.
2150
Tejun Heo05944bd2008-08-13 20:19:09 +09002151 * nohrst, nosrst, norst: suppress hard, soft
2152 and both resets.
2153
Dan Williamsca6d43b2012-06-21 23:41:41 -07002154 * rstonce: only attempt one reset during
2155 hot-unplug link recovery
2156
Tejun Heo43c9c592010-05-23 12:59:11 +02002157 * dump_id: dump IDENTIFY data.
2158
Vincent Pelletier966fbe12013-05-21 22:30:58 +02002159 * atapi_dmadir: Enable ATAPI DMADIR bridge support
2160
Robin H. Johnsonb8bd6dc2013-12-16 09:31:19 -08002161 * disable: Disable this device.
2162
Tejun Heo33267322008-02-13 09:15:09 +09002163 If there are multiple matching configurations changing
2164 the same attribute, the last one is used.
2165
Yinghai Lu95f72d12010-07-12 14:36:09 +10002166 memblock=debug [KNL] Enable memblock debug messages.
Randy Dunlap7c4be2532009-01-06 14:42:44 -08002167
Linus Torvalds1da177e2005-04-16 15:20:36 -07002168 load_ramdisk= [RAM] List of ramdisks to load from floppy
Randy Dunlap31c00fc2008-11-13 21:33:24 +00002169 See Documentation/blockdev/ramdisk.txt.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002170
Randy Dunlapa6b25b62006-01-14 13:21:19 -08002171 lockd.nlm_grace_period=P [NFS] Assign grace period.
2172 Format: <integer>
Linus Torvalds1da177e2005-04-16 15:20:36 -07002173
Randy Dunlapa6b25b62006-01-14 13:21:19 -08002174 lockd.nlm_tcpport=N [NFS] Assign TCP port.
2175 Format: <integer>
2176
2177 lockd.nlm_timeout=T [NFS] Assign timeout value.
2178 Format: <integer>
2179
2180 lockd.nlm_udpport=M [NFS] Assign UDP port.
2181 Format: <integer>
Linus Torvalds1da177e2005-04-16 15:20:36 -07002182
Paul E. McKenneyec4518a2014-09-12 10:50:01 -07002183 locktorture.nreaders_stress= [KNL]
2184 Set the number of locking read-acquisition kthreads.
2185 Defaults to being automatically set based on the
2186 number of online CPUs.
2187
2188 locktorture.nwriters_stress= [KNL]
2189 Set the number of locking write-acquisition kthreads.
2190
2191 locktorture.onoff_holdoff= [KNL]
2192 Set time (s) after boot for CPU-hotplug testing.
2193
2194 locktorture.onoff_interval= [KNL]
2195 Set time (s) between CPU-hotplug operations, or
2196 zero to disable CPU-hotplug testing.
2197
2198 locktorture.shuffle_interval= [KNL]
2199 Set task-shuffle interval (jiffies). Shuffling
2200 tasks allows some CPUs to go into dyntick-idle
2201 mode during the locktorture test.
2202
2203 locktorture.shutdown_secs= [KNL]
2204 Set time (s) after boot system shutdown. This
2205 is useful for hands-off automated testing.
2206
2207 locktorture.stat_interval= [KNL]
2208 Time (s) between statistics printk()s.
2209
2210 locktorture.stutter= [KNL]
2211 Time (s) to stutter testing, for example,
2212 specifying five seconds causes the test to run for
2213 five seconds, wait for five seconds, and so on.
2214 This tests the locking primitive's ability to
2215 transition abruptly to and from idle.
2216
2217 locktorture.torture_runnable= [BOOT]
2218 Start locktorture running at boot time.
2219
2220 locktorture.torture_type= [KNL]
2221 Specify the locking implementation to test.
2222
2223 locktorture.verbose= [KNL]
2224 Enable additional printk() statements.
2225
Linus Torvalds1da177e2005-04-16 15:20:36 -07002226 logibm.irq= [HW,MOUSE] Logitech Bus Mouse Driver
2227 Format: <irq>
2228
2229 loglevel= All Kernel Messages with a loglevel smaller than the
2230 console loglevel will be printed to the console. It can
2231 also be changed with klogd or other programs. The
2232 loglevels are defined as follows:
2233
2234 0 (KERN_EMERG) system is unusable
2235 1 (KERN_ALERT) action must be taken immediately
2236 2 (KERN_CRIT) critical conditions
2237 3 (KERN_ERR) error conditions
2238 4 (KERN_WARNING) warning conditions
2239 5 (KERN_NOTICE) normal but significant condition
2240 6 (KERN_INFO) informational
2241 7 (KERN_DEBUG) debug-level messages
2242
Randy Dunlapc756d082011-02-20 20:08:35 -08002243 log_buf_len=n[KMG] Sets the size of the printk ring buffer,
Luis R. Rodriguez23b28992014-08-06 16:08:56 -07002244 in bytes. n must be a power of two and greater
2245 than the minimal size. The minimal size is defined
2246 by LOG_BUF_SHIFT kernel config parameter. There is
2247 also CONFIG_LOG_CPU_MAX_BUF_SHIFT config parameter
2248 that allows to increase the default size depending on
2249 the number of CPUs. See init/Kconfig for more details.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002250
Randy Dunlapaccaa242007-10-16 01:29:37 -07002251 logo.nologo [FB] Disables display of the built-in Linux logo.
2252 This may be used to provide more screen space for
2253 kernel log messages and is useful when debugging
2254 kernel boot problems.
2255
Linus Torvalds1da177e2005-04-16 15:20:36 -07002256 lp=0 [LP] Specify parallel ports to use, e.g,
2257 lp=port[,port...] lp=none,parport0 (lp0 not configured, lp1 uses
2258 lp=reset first parallel port). 'lp=0' disables the
2259 lp=auto printer driver. 'lp=reset' (which can be
2260 specified in addition to the ports) causes
2261 attached printers to be reset. Using
2262 lp=port1,port2,... specifies the parallel ports
2263 to associate lp devices with, starting with
2264 lp0. A port specification may be 'none' to skip
2265 that lp device, or a parport name such as
2266 'parport0'. Specifying 'lp=auto' instead of a
2267 port specification list means that device IDs
2268 from each port should be examined, to see if
2269 an IEEE 1284-compliant printer is attached; if
2270 so, the driver will manage that printer.
2271 See also header of drivers/char/lp.c.
2272
2273 lpj=n [KNL]
2274 Sets loops_per_jiffy to given constant, thus avoiding
2275 time-consuming boot-time autodetection (up to 250 ms per
2276 CPU). 0 enables autodetection (default). To determine
2277 the correct value for your kernel, boot with normal
2278 autodetection and see what value is printed. Note that
2279 on SMP systems the preset will be applied to all CPUs,
2280 which is likely to cause problems if your CPUs need
2281 significantly divergent settings. An incorrect value
2282 will cause delays in the kernel to be wrong, leading to
2283 unpredictable I/O errors and other breakage. Although
2284 unlikely, in the extreme case this might damage your
2285 hardware.
2286
2287 ltpc= [NET]
2288 Format: <io>,<irq>,<dma>
2289
Randy Dunlap16290242011-08-13 12:34:52 -07002290 machvec= [IA-64] Force the use of a particular machine-vector
Randy Dunlapa9913042005-10-23 12:57:11 -07002291 (machvec) in a generic kernel.
2292 Example: machvec=hpzx1_swiotlb
Linus Torvalds1da177e2005-04-16 15:20:36 -07002293
Wu Zhangjin3209e702009-07-02 23:27:12 +08002294 machtype= [Loongson] Share the same kernel image file between different
2295 yeeloong laptop.
2296 Example: machtype=lemote-yeeloong-2f-7inch
2297
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07002298 max_addr=nn[KMG] [KNL,BOOT,ia64] All physical memory greater
2299 than or equal to this physical address is ignored.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002300
2301 maxcpus= [SMP] Maximum number of processors that an SMP kernel
Baoquan He7c142bf2016-08-24 13:06:45 +08002302 will bring up during bootup. maxcpus=n : n >= 0 limits
2303 the kernel to bring up 'n' processors. Surely after
2304 bootup you can bring up the other plugged cpu by executing
2305 "echo 1 > /sys/devices/system/cpu/cpuX/online". So maxcpus
2306 only takes effect during system bootup.
2307 While n=0 is a special case, it is equivalent to "nosmp",
2308 which also disables the IO APIC.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002309
Kay Sieversd134b002011-07-31 22:08:04 +02002310 max_loop= [LOOP] The number of loop block devices that get
2311 (loop.max_loop) unconditionally pre-created at init time. The default
2312 number is configured by BLK_DEV_LOOP_MIN_COUNT. Instead
2313 of statically allocating a predefined number, loop
2314 devices can be requested on-demand with the
2315 /dev/loop-control interface.
Bob Picco2b2c3752005-06-29 18:00:00 -07002316
Alan Coxcd4f0ef2007-07-31 00:37:59 -07002317 mce [X86-32] Machine Check Exception
Linus Torvalds1da177e2005-04-16 15:20:36 -07002318
Uwe Hermann71cced62008-10-20 09:32:21 -07002319 mce=option [X86-64] See Documentation/x86/x86_64/boot-options.txt
Andi Kleen909dd322007-10-17 18:04:38 +02002320
Linus Torvalds1da177e2005-04-16 15:20:36 -07002321 md= [HW] RAID subsystems devices and level
2322 See Documentation/md.txt.
Randy Dunlapa9913042005-10-23 12:57:11 -07002323
Linus Torvalds1da177e2005-04-16 15:20:36 -07002324 mdacon= [MDA]
2325 Format: <first>,<last>
2326 Specifies range of consoles to be captured by the MDA.
Randy Dunlapa9913042005-10-23 12:57:11 -07002327
Thomas Gleixner4e722ae2019-02-18 22:04:08 +01002328 mds= [X86,INTEL]
2329 Control mitigation for the Micro-architectural Data
2330 Sampling (MDS) vulnerability.
2331
2332 Certain CPUs are vulnerable to an exploit against CPU
2333 internal buffers which can forward information to a
2334 disclosure gadget under certain conditions.
2335
2336 In vulnerable processors, the speculatively
2337 forwarded data can be used in a cache side channel
2338 attack, to access data to which the attacker does
2339 not have direct access.
2340
2341 This parameter controls the MDS mitigation. The
2342 options are:
2343
Josh Poimboeuff02eee62019-04-02 09:59:33 -05002344 full - Enable MDS mitigation on vulnerable CPUs
2345 full,nosmt - Enable MDS mitigation and disable
2346 SMT on vulnerable CPUs
2347 off - Unconditionally disable MDS mitigation
Thomas Gleixner4e722ae2019-02-18 22:04:08 +01002348
2349 Not specifying this option is equivalent to
2350 mds=full.
2351
Thomas Gleixner3880bc12019-02-19 00:02:31 +01002352 For details see: Documentation/hw-vuln/mds.rst
2353
Linus Torvalds1da177e2005-04-16 15:20:36 -07002354 mem=nn[KMG] [KNL,BOOT] Force usage of a specific amount of memory
2355 Amount of memory to be used when the kernel is not able
2356 to see the whole system memory or for test.
Wen Congyangfbb97d82012-12-17 15:59:29 -08002357 [X86] Work as limiting max address. Use together
2358 with memmap= to avoid physical address space collisions.
2359 Without memmap= PCI devices could be placed at addresses
2360 belonging to unused RAM.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002361
Alan Coxcd4f0ef2007-07-31 00:37:59 -07002362 mem=nopentium [BUGS=X86-32] Disable usage of 4MB pages for kernel
Linus Torvalds1da177e2005-04-16 15:20:36 -07002363 memory.
2364
Paul Mundt6902aa82008-09-21 17:14:42 +09002365 memchunk=nn[KMG]
2366 [KNL,SH] Allow user to override the default size for
2367 per-device physically contiguous DMA buffers.
2368
Vitaly Kuznetsov86dd9952016-05-19 17:13:06 -07002369 memhp_default_state=online/offline
2370 [KNL] Set the initial state for the memory hotplug
2371 onlining policy. If not specified, the default value is
2372 set according to the
2373 CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE kernel config
2374 option.
2375 See Documentation/memory-hotplug.txt.
2376
Jaswinder Singh Rajput6cececf2009-04-14 14:03:43 +05302377 memmap=exactmap [KNL,X86] Enable setting of an exact
Linus Torvalds1da177e2005-04-16 15:20:36 -07002378 E820 memory map, as specified by the user.
2379 Such memmap=exactmap lines can be constructed based on
2380 BIOS output or other requirements. See the memmap=nn@ss
2381 option description.
2382
2383 memmap=nn[KMG]@ss[KMG]
Randy Dunlap277cba12014-02-06 12:04:19 -08002384 [KNL] Force usage of a specific region of memory.
2385 Region of memory to be used is from ss to ss+nn.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002386
2387 memmap=nn[KMG]#ss[KMG]
2388 [KNL,ACPI] Mark specific memory as ACPI data.
Randy Dunlap277cba12014-02-06 12:04:19 -08002389 Region of memory to be marked is from ss to ss+nn.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002390
2391 memmap=nn[KMG]$ss[KMG]
2392 [KNL,ACPI] Mark specific memory as reserved.
Randy Dunlap277cba12014-02-06 12:04:19 -08002393 Region of memory to be reserved is from ss to ss+nn.
Pavel Machek13128482008-03-24 12:29:43 -07002394 Example: Exclude memory from 0x18690000-0x1869ffff
2395 memmap=64K$0x18690000
2396 or
2397 memmap=0x10000$0x18690000
Linus Torvalds1da177e2005-04-16 15:20:36 -07002398
Christoph Hellwigec776ef2015-04-01 09:12:18 +02002399 memmap=nn[KMG]!ss[KMG]
2400 [KNL,X86] Mark specific memory as protected.
2401 Region of memory to be used, from ss to ss+nn.
2402 The memory region may be marked as e820 type 12 (0xc)
2403 and is NVDIMM or ADR memory.
2404
Jeremy Fitzhardinge9f077872008-09-07 01:51:34 -07002405 memory_corruption_check=0/1 [X86]
2406 Some BIOSes seem to corrupt the first 64k of
2407 memory when doing things like suspend/resume.
2408 Setting this option will scan the memory
2409 looking for corruption. Enabling this will
2410 both detect corruption and prevent the kernel
2411 from using the memory being corrupted.
2412 However, its intended as a diagnostic tool; if
2413 repeatable BIOS-originated corruption always
2414 affects the same memory, you can use memmap=
2415 to prevent the kernel from using that memory.
2416
2417 memory_corruption_check_size=size [X86]
2418 By default it checks for corruption in the low
2419 64k, making this memory unavailable for normal
2420 use. Use this parameter to scan for
2421 corruption in more or less memory.
2422
2423 memory_corruption_check_period=seconds [X86]
2424 By default it checks for corruption every 60
2425 seconds. Use this parameter to check at some
2426 other rate. 0 disables periodic checking.
2427
Vladimir Murzine4b0db72015-04-14 15:48:43 -07002428 memtest= [KNL,X86,ARM] Enable memtest
Yinghai Luc64df702008-03-21 18:56:19 -07002429 Format: <integer>
Yinghai Luc64df702008-03-21 18:56:19 -07002430 default : 0 <disable>
Andreas Herrmann9e5f6cf2009-02-25 11:30:45 +01002431 Specifies the number of memtest passes to be
2432 performed. Each pass selects another test
2433 pattern from a given set of patterns. Memtest
2434 fills the memory with this pattern, validates
2435 memory contents and reserves bad memory
2436 regions that are detected.
Yinghai Luc64df702008-03-21 18:56:19 -07002437
Linus Torvalds1da177e2005-04-16 15:20:36 -07002438 meye.*= [HW] Set MotionEye Camera parameters
2439 See Documentation/video4linux/meye.txt.
2440
Andres Salomon8f368812007-10-12 23:04:06 +02002441 mfgpt_irq= [IA-32] Specify the IRQ to use for the
2442 Multi-Function General Purpose Timers on AMD Geode
2443 platforms.
2444
Willy Tarreaue6c4dc62008-01-30 13:33:33 +01002445 mfgptfix [X86-32] Fix MFGPT timers on AMD Geode platforms when
2446 the BIOS has incorrectly applied a workaround. TinyBIOS
2447 version 0.98 is known to be affected, 0.99 fixes the
2448 problem by letting the user disable the workaround.
2449
Linus Torvalds1da177e2005-04-16 15:20:36 -07002450 mga= [HW,DRM]
2451
Randy Dunlap1c207f92008-11-19 15:36:16 -08002452 min_addr=nn[KMG] [KNL,BOOT,ia64] All physical memory below this
2453 physical address is ignored.
2454
Michel Pollet39f45d72009-05-20 11:10:31 +01002455 mini2440= [ARM,HW,KNL]
2456 Format:[0..2][b][c][t]
2457 Default: "0tb"
2458 MINI2440 configuration specification:
2459 0 - The attached screen is the 3.5" TFT
2460 1 - The attached screen is the 7" TFT
2461 2 - The VGA Shield is attached (1024x768)
2462 Leaving out the screen size parameter will not load
2463 the TFT driver, and the framebuffer will be left
2464 unconfigured.
2465 b - Enable backlight. The TFT backlight pin will be
2466 linked to the kernel VESA blanking code and a GPIO
2467 LED. This parameter is not necessary when using the
2468 VGA shield.
2469 c - Enable the s3c camera interface.
2470 t - Reserved for enabling touchscreen support. The
2471 touchscreen support is not enabled in the mainstream
2472 kernel as of 2.6.30, a preliminary port can be found
2473 in the "bleeding edge" mini2440 support kernel at
2474 http://repo.or.cz/w/linux-2.6/mini2440.git
2475
Josh Poimboeufedda9c32019-04-12 15:39:28 -05002476 mitigations=
Josh Poimboeuf17092842019-04-12 15:39:29 -05002477 [X86] Control optional mitigations for CPU
2478 vulnerabilities. This is a set of curated,
2479 arch-independent options, each of which is an
2480 aggregation of existing arch-specific options.
Josh Poimboeufedda9c32019-04-12 15:39:28 -05002481
2482 off
2483 Disable all optional CPU mitigations. This
2484 improves system performance, but it may also
2485 expose users to several CPU vulnerabilities.
Josh Poimboeuf17092842019-04-12 15:39:29 -05002486 Equivalent to: nopti [X86]
Josh Poimboeuf90d45f02019-07-08 11:52:26 -05002487 nospectre_v1 [X86]
Josh Poimboeuf17092842019-04-12 15:39:29 -05002488 nospectre_v2 [X86]
2489 spectre_v2_user=off [X86]
2490 spec_store_bypass_disable=off [X86]
2491 l1tf=off [X86]
Josh Poimboeuf025b9cf2019-04-17 16:39:02 -05002492 mds=off [X86]
Josh Poimboeufedda9c32019-04-12 15:39:28 -05002493
2494 auto (default)
2495 Mitigate all CPU vulnerabilities, but leave SMT
2496 enabled, even if it's vulnerable. This is for
2497 users who don't want to be surprised by SMT
2498 getting disabled across kernel upgrades, or who
2499 have other ways of avoiding SMT-based attacks.
Josh Poimboeuf17092842019-04-12 15:39:29 -05002500 Equivalent to: (default behavior)
Josh Poimboeufedda9c32019-04-12 15:39:28 -05002501
2502 auto,nosmt
2503 Mitigate all CPU vulnerabilities, disabling SMT
2504 if needed. This is for users who always want to
2505 be fully mitigated, even if it means losing SMT.
Josh Poimboeuf17092842019-04-12 15:39:29 -05002506 Equivalent to: l1tf=flush,nosmt [X86]
Josh Poimboeuf025b9cf2019-04-17 16:39:02 -05002507 mds=full,nosmt [X86]
Josh Poimboeufedda9c32019-04-12 15:39:28 -05002508
Mel Gorman6b74ab92008-07-23 21:26:49 -07002509 mminit_loglevel=
2510 [KNL] When CONFIG_DEBUG_MEMORY_INIT is set, this
2511 parameter allows control of the logging verbosity for
2512 the additional memory initialisation checks. A value
2513 of 0 disables mminit logging and a level of 4 will
2514 log everything. Information is printed at KERN_DEBUG
2515 so loglevel=8 may also need to be specified.
2516
Rusty Russell106a4ee2012-09-26 10:09:40 +01002517 module.sig_enforce
2518 [KNL] When CONFIG_MODULE_SIG is set, this means that
2519 modules without (valid) signatures will fail to load.
Paul Bolle2a039be2013-03-25 20:42:06 +01002520 Note that if CONFIG_MODULE_SIG_FORCE is set, that
Rusty Russell106a4ee2012-09-26 10:09:40 +01002521 is always true, so this option does nothing.
2522
Prarit Bhargavabe7de5f2016-07-21 15:37:56 +09302523 module_blacklist= [KNL] Do not load a comma-separated list of
2524 modules. Useful for debugging problem modules.
2525
Linus Torvalds1da177e2005-04-16 15:20:36 -07002526 mousedev.tap_time=
2527 [MOUSE] Maximum time between finger touching and
2528 leaving touchpad surface for touch to be considered
2529 a tap and be reported as a left button click (for
2530 touchpads working in absolute mode only).
2531 Format: <msecs>
2532 mousedev.xres= [MOUSE] Horizontal screen resolution, used for devices
2533 reporting absolute coordinates, such as tablets
2534 mousedev.yres= [MOUSE] Vertical screen resolution, used for devices
2535 reporting absolute coordinates, such as tablets
2536
Jaswinder Singh Rajput6cececf2009-04-14 14:03:43 +05302537 movablecore=nn[KMG] [KNL,X86,IA-64,PPC] This parameter
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07002538 is similar to kernelcore except it specifies the
2539 amount of memory used for migratable allocations.
2540 If both kernelcore and movablecore is specified,
2541 then kernelcore will be at *least* the specified
2542 value but may be more. If movablecore on its own
2543 is specified, the administrator must be careful
2544 that the amount of memory usable for all allocations
2545 is not too small.
2546
Tang Chenc5320922013-11-12 15:08:10 -08002547 movable_node [KNL,X86] Boot-time switch to enable the effects
2548 of CONFIG_MOVABLE_NODE=y. See mm/Kconfig for details.
2549
Linus Torvalds1da177e2005-04-16 15:20:36 -07002550 MTD_Partition= [MTD]
2551 Format: <name>,<region-number>,<size>,<offset>
2552
Randy Dunlapa9913042005-10-23 12:57:11 -07002553 MTD_Region= [MTD] Format:
2554 <name>,<region-number>[,<base>,<size>,<buswidth>,<altbuswidth>]
Linus Torvalds1da177e2005-04-16 15:20:36 -07002555
2556 mtdparts= [MTD]
Randy Dunlapc8facbb2007-07-31 00:37:40 -07002557 See drivers/mtd/cmdlinepart.c.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002558
Will Schmidt4e89a2d2010-09-28 15:33:12 +00002559 multitce=off [PPC] This parameter disables the use of the pSeries
2560 firmware feature for updating multiple TCE entries
2561 at a time.
2562
Rohit Hagargundgi5988af22009-05-12 13:46:57 -07002563 onenand.bdry= [HW,MTD] Flex-OneNAND Boundary Configuration
2564
2565 Format: [die0_boundary][,die0_lock][,die1_boundary][,die1_lock]
2566
2567 boundary - index of last SLC block on Flex-OneNAND.
2568 The remaining blocks are configured as MLC blocks.
2569 lock - Configure if Flex-OneNAND boundary should be locked.
2570 Once locked, the boundary cannot be changed.
2571 1 indicates lock status, 0 indicates unlock status.
2572
Ben Dooks9db829f2008-07-03 11:24:29 +01002573 mtdset= [ARM]
2574 ARM/S3C2412 JIVE boot control
2575
2576 See arch/arm/mach-s3c2412/mach-jive.c
2577
Linus Torvalds1da177e2005-04-16 15:20:36 -07002578 mtouchusb.raw_coordinates=
Randy Dunlapa9913042005-10-23 12:57:11 -07002579 [HW] Make the MicroTouch USB driver use raw coordinates
2580 ('y', default) or cooked coordinates ('n')
Linus Torvalds1da177e2005-04-16 15:20:36 -07002581
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07002582 mtrr_chunk_size=nn[KMG] [X86]
Matt LaPlante19f59462009-04-27 15:06:31 +02002583 used for mtrr cleanup. It is largest continuous chunk
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07002584 that could hold holes aka. UC entries.
2585
2586 mtrr_gran_size=nn[KMG] [X86]
2587 Used for mtrr cleanup. It is granularity of mtrr block.
2588 Default is 1.
2589 Large value could prevent small alignment from
2590 using up MTRRs.
2591
2592 mtrr_spare_reg_nr=n [X86]
2593 Format: <integer>
2594 Range: 0,7 : spare reg number
2595 Default : 1
2596 Used for mtrr cleanup. It is spare mtrr entries number.
2597 Set to 2 or more if your graphical card needs more.
2598
Linus Torvalds1da177e2005-04-16 15:20:36 -07002599 n2= [NET] SDL Inc. RISCom/N2 synchronous serial card
2600
Linus Torvalds1da177e2005-04-16 15:20:36 -07002601 netdev= [NET] Network devices parameters
2602 Format: <irq>,<io>,<mem_start>,<mem_end>,<name>
2603 Note that mem_start is often overloaded to mean
2604 something different and driver-specific.
Randy Dunlapa9913042005-10-23 12:57:11 -07002605 This usage is only documented in each driver source
2606 file if at all.
2607
Krzysztof Piotr Oledzki58401572008-07-21 10:01:34 -07002608 nf_conntrack.acct=
2609 [NETFILTER] Enable connection tracking flow accounting
2610 0 to disable accounting
2611 1 to enable accounting
Tim Gardnerd70a0112010-06-25 14:46:56 +02002612 Default value is 0.
Krzysztof Piotr Oledzki58401572008-07-21 10:01:34 -07002613
Chuck Lever306a0752010-09-17 10:54:37 -04002614 nfsaddrs= [NFS] Deprecated. Use ip= instead.
J. Bruce Fieldsdc7a0812009-10-27 14:41:35 -04002615 See Documentation/filesystems/nfs/nfsroot.txt.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002616
2617 nfsroot= [NFS] nfs root filesystem for disk-less boxes.
J. Bruce Fieldsdc7a0812009-10-27 14:41:35 -04002618 See Documentation/filesystems/nfs/nfsroot.txt.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002619
Chuck Lever306a0752010-09-17 10:54:37 -04002620 nfsrootdebug [NFS] enable nfsroot debugging messages.
2621 See Documentation/filesystems/nfs/nfsroot.txt.
2622
Trond Myklebust5405fc42016-08-29 20:03:52 -04002623 nfs.callback_nr_threads=
2624 [NFSv4] set the total number of threads that the
2625 NFS client will assign to service NFSv4 callback
2626 requests.
2627
Trond Myklebusta72b4422006-01-03 09:55:41 +01002628 nfs.callback_tcpport=
2629 [NFS] set the TCP port on which the NFSv4 callback
2630 channel should listen.
2631
Trond Myklebuste571cbf2009-08-19 18:12:27 -04002632 nfs.cache_getent=
2633 [NFS] sets the pathname to the program which is used
2634 to update the NFS client cache entries.
2635
2636 nfs.cache_getent_timeout=
2637 [NFS] sets the timeout after which an attempt to
2638 update a cache entry is deemed to have failed.
2639
Trond Myklebust58df0952006-01-03 09:55:57 +01002640 nfs.idmap_cache_timeout=
2641 [NFS] set the maximum lifetime for idmapper cache
2642 entries.
2643
Trond Myklebustf43bf0b2007-10-09 12:01:04 -04002644 nfs.enable_ino64=
2645 [NFS] enable 64-bit inode numbers.
2646 If zero, the NFS client will fake up a 32-bit inode
2647 number for the readdir() and stat() syscalls instead
2648 of returning the full 64-bit number.
2649 The default is to return 64-bit inode numbers.
2650
Trond Myklebust5405fc42016-08-29 20:03:52 -04002651 nfs.max_session_cb_slots=
2652 [NFSv4.1] Sets the maximum number of session
2653 slots the client will assign to the callback
2654 channel. This determines the maximum number of
2655 callbacks the client will process in parallel for
2656 a particular server.
2657
Trond Myklebustef159e92012-02-06 19:50:40 -05002658 nfs.max_session_slots=
2659 [NFSv4.1] Sets the maximum number of session slots
2660 the client will attempt to negotiate with the server.
2661 This limits the number of simultaneous RPC requests
2662 that the client can send to the NFSv4.1 server.
2663 Note that there is little point in setting this
2664 value higher than the max_tcp_slot_table_limit.
2665
Trond Myklebustb064eca22011-02-22 15:44:32 -08002666 nfs.nfs4_disable_idmapping=
Trond Myklebust074b1d12012-01-09 13:46:26 -05002667 [NFSv4] When set to the default of '1', this option
2668 ensures that both the RPC level authentication
2669 scheme and the NFS level operations agree to use
2670 numeric uids/gids if the mount is using the
2671 'sec=sys' security flavour. In effect it is
2672 disabling idmapping, which can make migration from
2673 legacy NFSv2/v3 systems to NFSv4 easier.
2674 Servers that do not support this mode of operation
2675 will be autodetected by the client, and it will fall
2676 back to using the idmapper.
2677 To turn off this behaviour, set the value to '0'.
Chuck Lever6f2ea7f2012-09-14 17:24:41 -04002678 nfs.nfs4_unique_id=
2679 [NFS4] Specify an additional fixed unique ident-
2680 ification string that NFSv4 clients can insert into
2681 their nfs_client_id4 string. This is typically a
2682 UUID that is generated at system install time.
Trond Myklebustb064eca22011-02-22 15:44:32 -08002683
Weston Andros Adamsondb8ac8b2012-02-17 15:20:24 -05002684 nfs.send_implementation_id =
2685 [NFSv4.1] Send client implementation identification
2686 information in exchange_id requests.
2687 If zero, no implementation identification information
2688 will be sent.
2689 The default is to send the implementation identification
2690 information.
Trond Myklebustf6de7a32013-09-04 10:08:54 -04002691
2692 nfs.recover_lost_locks =
2693 [NFSv4] Attempt to recover locks that were lost due
2694 to a lease timeout on the server. Please note that
2695 doing this risks data corruption, since there are
2696 no guarantees that the file will remain unchanged
2697 after the locks are lost.
2698 If you want to enable the kernel legacy behaviour of
2699 attempting to recover these locks, then set this
2700 parameter to '1'.
2701 The default parameter value of '0' causes the kernel
2702 not to attempt recovery of lost locks.
Weston Andros Adamsondb8ac8b2012-02-17 15:20:24 -05002703
Trond Myklebustbbf58bf2015-08-24 20:39:18 -04002704 nfs4.layoutstats_timer =
2705 [NFSv4.2] Change the rate at which the kernel sends
2706 layoutstats to the pNFS metadata server.
2707
2708 Setting this to value to 0 causes the kernel to use
2709 whatever value is the default set by the layout
2710 driver. A non-zero value sets the minimum interval
2711 in seconds between layoutstats transmissions.
2712
J. Bruce Fieldse9541ce2012-03-22 16:07:18 -04002713 nfsd.nfs4_disable_idmapping=
2714 [NFSv4] When set to the default of '1', the NFSv4
2715 server will return only numeric uids and gids to
2716 clients using auth_sys, and will accept numeric uids
2717 and gids from such clients. This is intended to ease
2718 migration from NFSv2/v3.
Weston Andros Adamsondb8ac8b2012-02-17 15:20:24 -05002719
Sachin Bhamare18d98f62012-03-19 20:47:58 -07002720 objlayoutdriver.osd_login_prog=
2721 [NFS] [OBJLAYOUT] sets the pathname to the program which
2722 is used to automatically discover and login into new
2723 osd-targets. Please see:
2724 Documentation/filesystems/pnfs.txt for more explanations
2725
Paul Mundt1e1030d2009-09-01 17:38:32 +09002726 nmi_debug= [KNL,AVR32,SH] Specify one or more actions to take
Haavard Skinnemoene7ba1762007-10-10 14:58:29 +02002727 when a NMI is triggered.
2728 Format: [state][,regs][,debounce][,die]
2729
Jaswinder Singh Rajput6cececf2009-04-14 14:03:43 +05302730 nmi_watchdog= [KNL,BUGS=X86] Debugging features for SMP kernels
Don Zickusfef2c9b2011-03-22 16:34:16 -07002731 Format: [panic,][nopanic,][num]
Ulrich Obergfell195daf62015-04-14 15:44:13 -07002732 Valid num: 0 or 1
Pranith Kumar334bb792015-10-10 15:40:42 -04002733 0 - turn hardlockup detector in nmi_watchdog off
2734 1 - turn hardlockup detector in nmi_watchdog on
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07002735 When panic is specified, panic when an NMI watchdog
Don Zickusfef2c9b2011-03-22 16:34:16 -07002736 timeout occurs (or 'nopanic' to override the opposite
Pranith Kumar334bb792015-10-10 15:40:42 -04002737 default). To disable both hard and soft lockup detectors,
2738 please see 'nowatchdog'.
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07002739 This is useful when you use a panic=... timeout and
2740 need the box quickly up again.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002741
Anton Vorontsovbff38772009-07-08 11:10:56 -07002742 netpoll.carrier_timeout=
2743 [NET] Specifies amount of time (in seconds) that
2744 netpoll should wait for a carrier. By default netpoll
2745 waits 4 seconds.
2746
Alan Coxcd4f0ef2007-07-31 00:37:59 -07002747 no387 [BUGS=X86-32] Tells the kernel to use the 387 maths
Linus Torvalds1da177e2005-04-16 15:20:36 -07002748 emulation library even if a 387 maths coprocessor
2749 is present.
2750
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07002751 no_console_suspend
2752 [HW] Never suspend the console
2753 Disable suspending of consoles during suspend and
2754 hibernate operations. Once disabled, debugging
2755 messages can reach various consoles while the rest
2756 of the system is being put to sleep (ie, while
2757 debugging driver suspend/resume hooks). This may
2758 not work reliably with all consoles, but is known
2759 to work with serial and VGA consoles.
Yanmin Zhang134620f2011-10-31 17:11:27 -07002760 To facilitate more flexible debugging, we also add
2761 console_suspend, a printk module parameter to control
2762 it. Users could use console_suspend (usually
2763 /sys/module/printk/parameters/console_suspend) to
2764 turn on/off it dynamically.
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07002765
Christoph Lameterc1aee212007-05-31 00:40:47 -07002766 noaliencache [MM, NUMA, SLAB] Disables the allocation of alien
2767 caches in the slab allocator. Saves per-node memory,
2768 but will impact performance.
Paul Menage3395ee02006-12-06 20:32:16 -08002769
Randy Dunlapa9913042005-10-23 12:57:11 -07002770 noalign [KNL,ARM]
2771
Vasily Gorbikd69aa5e2018-04-27 07:36:39 +02002772 noaltinstr [S390] Disables alternative instructions patching
2773 (CPU alternatives feature).
2774
Linus Torvalds1da177e2005-04-16 15:20:36 -07002775 noapic [SMP,APIC] Tells the kernel to not make use of any
2776 IOAPICs that may be present in the system.
2777
Mike Galbraith5091faa2010-11-30 14:18:03 +01002778 noautogroup Disable scheduler automatic task group creation.
2779
Linus Torvalds1da177e2005-04-16 15:20:36 -07002780 nobats [PPC] Do not use BATs for mapping kernel lowmem
2781 on "Classic" PPC cores.
2782
2783 nocache [ARM]
Randy Dunlapa9913042005-10-23 12:57:11 -07002784
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07002785 noclflush [BUGS=X86] Don't use the CLFLUSH instruction
2786
Shailabh Nagar163ecdf2006-07-30 03:03:11 -07002787 nodelayacct [KNL] Disable per-task delay accounting
2788
Paul Mundt6902aa82008-09-21 17:14:42 +09002789 nodsp [SH] Disable hardware DSP at boot time.
2790
Dave Youngb2e0a542014-08-14 17:15:26 +08002791 noefi Disable EFI runtime services support.
Huang, Ying8b2cb7a2008-01-30 13:32:11 +01002792
Linus Torvalds1da177e2005-04-16 15:20:36 -07002793 noexec [IA-64]
2794
Jaswinder Singh Rajput6cececf2009-04-14 14:03:43 +05302795 noexec [X86]
Jiri Slabyf5a1b192008-04-12 10:28:25 +02002796 On X86-32 available only on PAE configured kernels.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002797 noexec=on: enable non-executable mappings (default)
Jiri Slabyf5a1b192008-04-12 10:28:25 +02002798 noexec=off: disable non-executable mappings
2799
H. Peter Anvin52b61792012-09-21 12:43:13 -07002800 nosmap [X86]
2801 Disable SMAP (Supervisor Mode Access Prevention)
2802 even if it is supported by processor.
2803
Fenghua Yude5397a2011-05-11 16:51:05 -07002804 nosmep [X86]
H. Peter Anvin52b61792012-09-21 12:43:13 -07002805 Disable SMEP (Supervisor Mode Execution Prevention)
Fenghua Yude5397a2011-05-11 16:51:05 -07002806 even if it is supported by processor.
2807
Jiri Slabyf5a1b192008-04-12 10:28:25 +02002808 noexec32 [X86-64]
2809 This affects only 32-bit executables.
2810 noexec32=on: enable non-executable mappings (default)
2811 read doesn't imply executable mappings
2812 noexec32=off: disable non-executable mappings
2813 read implies executable mappings
Linus Torvalds1da177e2005-04-16 15:20:36 -07002814
Maciej W. Rozyckifab43ef2015-04-03 23:23:34 +01002815 nofpu [MIPS,SH] Disable hardware FPU at boot time.
Paul Mundt6902aa82008-09-21 17:14:42 +09002816
Alan Coxcd4f0ef2007-07-31 00:37:59 -07002817 nofxsr [BUGS=X86-32] Disables x86 floating point extended
Chuck Ebbert4f886512006-03-23 02:59:34 -08002818 register save and restore. The kernel will only save
2819 legacy floating-point registers on task switch.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002820
Toshi Kani0ddab1d2015-04-14 15:47:20 -07002821 nohugeiomap [KNL,x86] Disable kernel huge I/O mappings.
2822
Sascha Silbe52c48c52016-04-05 12:53:38 +02002823 nosmt [KNL,S390] Disable symmetric multithreading (SMT).
2824 Equivalent to smt=1.
2825
Thomas Gleixnerf37486c2018-05-29 17:48:27 +02002826 [KNL,x86] Disable symmetric multithreading (SMT).
Thomas Gleixnerfe2a9552018-06-29 16:05:47 +02002827 nosmt=force: Force disable SMT, cannot be undone
2828 via the sysfs control file.
Thomas Gleixnerf37486c2018-05-29 17:48:27 +02002829
Josh Poimboeuf90d45f02019-07-08 11:52:26 -05002830 nospectre_v1 [X86,PPC] Disable mitigations for Spectre Variant 1
2831 (bounds check bypass). With this option data leaks are
2832 possible in the system.
2833
Diana Craciun0feb3712018-12-12 16:03:10 +02002834 nospectre_v2 [X86,PPC_FSL_BOOK3E] Disable all mitigations for the Spectre variant 2
David Woodhouse8f96937ee2018-01-11 21:46:26 +00002835 (indirect branch prediction) vulnerability. System may
2836 allow data leaks with this option, which is equivalent
2837 to spectre_v2=off.
2838
Konrad Rzeszutek Wilk6f70a552018-04-25 22:04:21 -04002839 nospec_store_bypass_disable
2840 [HW] Disable all mitigations for the Speculative Store Bypass vulnerability
2841
Suresh Siddha0c752a92009-05-22 12:17:45 -07002842 noxsave [BUGS=X86] Disables x86 extended register state save
2843 and restore using xsave. The kernel will fallback to
2844 enabling legacy floating-point and sse state.
2845
Fenghua Yub6f42a42014-05-29 11:12:31 -07002846 noxsaveopt [X86] Disables xsaveopt used in saving x86 extended
2847 register states. The kernel will fall back to use
2848 xsave to save the states. By using this parameter,
2849 performance of saving the states is degraded because
2850 xsave doesn't support modified optimization while
2851 xsaveopt supports it on xsaveopt enabled systems.
2852
2853 noxsaves [X86] Disables xsaves and xrstors used in saving and
2854 restoring x86 extended register state in compacted
2855 form of xsave area. The kernel will fall back to use
2856 xsaveopt and xrstor to save and restore the states
2857 in standard form of xsave area. By using this
2858 parameter, xsave area per process might occupy more
2859 memory on xsaves enabled systems.
2860
Paulius Zaleckas01a24d22009-03-31 13:55:44 +01002861 nohlt [BUGS=ARM,SH] Tells the kernel that the sleep(SH) or
2862 wfi(ARM) instruction doesn't work correctly and not to
2863 use it. This is also useful when using JTAG debugger.
Randy Dunlapa9913042005-10-23 12:57:11 -07002864
Serge E. Hallyn1f29fae2008-11-05 16:08:52 -06002865 no_file_caps Tells the kernel not to honor file capabilities. The
2866 only way then for a file to be executed with privilege
2867 is to be setuid root or executed by root.
2868
Linus Torvalds1da177e2005-04-16 15:20:36 -07002869 nohalt [IA-64] Tells the kernel not to use the power saving
2870 function PAL_HALT_LIGHT when idle. This increases
2871 power-consumption. On the positive side, it reduces
2872 interrupt wake-up latency, which may improve performance
2873 in certain environments such as networked servers or
2874 real-time systems.
2875
Kees Cooka6e15a32014-06-13 13:30:35 -07002876 nohibernate [HIBERNATION] Disable hibernation and resume.
2877
Thomas Gleixner79bf2bb2007-02-16 01:28:03 -08002878 nohz= [KNL] Boottime enable/disable dynamic ticks
2879 Valid arguments: on, off
2880 Default: on
2881
Frederic Weisbeckerc5bfece2013-04-12 16:45:34 +02002882 nohz_full= [KNL,BOOT]
Noam Camus2d13e6c2016-10-11 13:51:35 -07002883 The argument is a cpu list, as described above.
Frederic Weisbeckerc5bfece2013-04-12 16:45:34 +02002884 In kernels built with CONFIG_NO_HZ_FULL=y, set
Frederic Weisbeckera8318812012-12-18 17:32:19 +01002885 the specified list of CPUs whose tick will be stopped
Frederic Weisbecker0453b432013-03-27 02:18:34 +01002886 whenever possible. The boot CPU will be forced outside
2887 the range to maintain the timekeeping.
Frederic Weisbeckerd1e43fa2013-03-26 23:47:24 +01002888 The CPUs in this range must also be included in the
2889 rcu_nocbs= set.
Frederic Weisbeckera8318812012-12-18 17:32:19 +01002890
Paul Mundteeee7852009-04-02 12:31:16 +09002891 noiotrap [SH] Disables trapped I/O port accesses.
2892
Alan Coxcd4f0ef2007-07-31 00:37:59 -07002893 noirqdebug [X86-32] Disables the code which attempts to detect and
Linus Torvalds1da177e2005-04-16 15:20:36 -07002894 disable unhandled interrupt sources.
2895
Jaswinder Singh Rajput6cececf2009-04-14 14:03:43 +05302896 no_timer_check [X86,APIC] Disables the code which tests for
Zachary Amsden8542b202006-12-07 02:14:09 +01002897 broken timer IRQ sources.
2898
Linus Torvalds1da177e2005-04-16 15:20:36 -07002899 noisapnp [ISAPNP] Disables ISA PnP code.
2900
2901 noinitrd [RAM] Tells the kernel not to load any configured
2902 initial RAM disk.
2903
Weidong Han03ea8152009-04-17 16:42:15 +08002904 nointremap [X86-64, Intel-IOMMU] Do not enable interrupt
2905 remapping.
Chris Wrightd1423d52010-07-20 11:06:49 -07002906 [Deprecated - use intremap=off]
Weidong Han03ea8152009-04-17 16:42:15 +08002907
Linus Torvalds1da177e2005-04-16 15:20:36 -07002908 nointroute [IA-64]
2909
Andy Lutomirskid12a72b2016-01-29 11:42:58 -08002910 noinvpcid [X86] Disable the INVPCID cpu feature.
2911
Randy Dunlap16290242011-08-13 12:34:52 -07002912 nojitter [IA-64] Disables jitter checking for ITC timers.
Tony Luck0aa366f2007-07-20 11:22:30 -07002913
Jiri Kosina9cf4c4f2010-08-16 17:51:20 +02002914 no-kvmclock [X86,KVM] Disable paravirtualized KVM clock driver
2915
Gleb Natapovfd10cde2010-10-14 11:22:51 +02002916 no-kvmapf [X86,KVM] Disable paravirtualized asynchronous page
2917 fault handling.
2918
Glauber Costad910f5c2011-07-11 15:28:19 -04002919 no-steal-acc [X86,KVM] Disable paravirtualized steal time accounting.
2920 steal time is computed, but won't influence scheduler
2921 behaviour
2922
Alan Coxcd4f0ef2007-07-31 00:37:59 -07002923 nolapic [X86-32,APIC] Do not enable or use the local APIC.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002924
Alan Coxcd4f0ef2007-07-31 00:37:59 -07002925 nolapic_timer [X86-32,APIC] Do not use the local APIC timer.
Thomas Gleixnerad62ca22007-03-22 00:11:21 -08002926
Linus Torvalds1da177e2005-04-16 15:20:36 -07002927 noltlbs [PPC] Do not use large page/tlb entries for kernel
Christophe Leroyf15eea62016-02-09 17:07:52 +01002928 lowmem mapping on PPC40x and PPC8xx
Linus Torvalds1da177e2005-04-16 15:20:36 -07002929
Horms312f1f02006-02-22 09:57:55 +09002930 nomca [IA-64] Disable machine check abort handling
2931
Masanari Iida13696e02015-05-16 02:16:43 +09002932 nomce [X86-32] Disable Machine Check Exception
Hormsabe37e52006-04-01 01:36:09 +02002933
Andres Salomon83d73842007-10-12 23:04:06 +02002934 nomfgpt [X86-32] Disable Multi-Function General Purpose
2935 Timer usage (for AMD Geode machines).
2936
Don Zickusbda62632011-10-13 15:14:27 -04002937 nonmi_ipi [X86] Disable using NMI IPIs during panic/reboot to
2938 shutdown the other cpus. Instead use the REBOOT_VECTOR
2939 irq.
2940
Dave Young02608be2012-02-01 10:33:14 +08002941 nomodule Disable module load
2942
Jiri Kosina016ddd92010-01-18 17:05:40 +01002943 nopat [X86] Disable PAT (page attribute table extension of
2944 pagetables) support.
2945
Andy Lutomirskie6a29322017-06-29 08:53:20 -07002946 nopcid [X86-64] Disable the PCID cpu feature.
2947
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07002948 norandmaps Don't use address space randomization. Equivalent to
2949 echo 0 > /proc/sys/kernel/randomize_va_space
2950
Alan Coxcd4f0ef2007-07-31 00:37:59 -07002951 noreplace-smp [X86-32,SMP] Don't replace SMP instructions
Jeremy Fitzhardingeb7fb4af2007-05-02 19:27:13 +02002952 with UP alternatives
2953
H. Peter Anvin7a5091d2014-05-11 20:25:20 -07002954 nordrand [X86] Disable kernel use of the RDRAND and
2955 RDSEED instructions even if they are supported
2956 by the processor. RDRAND and RDSEED are still
2957 available to user space applications.
H. Peter Anvin49d859d2011-07-31 14:02:19 -07002958
Randy Dunlapa9913042005-10-23 12:57:11 -07002959 noresume [SWSUSP] Disables resume and restores original swap
2960 space.
2961
Linus Torvalds1da177e2005-04-16 15:20:36 -07002962 no-scroll [VGA] Disables scrollback.
2963 This is required for the Braillex ib80-piezo Braille
2964 reader made by F.H. Papenmeier (Germany).
2965
2966 nosbagart [IA-64]
2967
Alan Coxcd4f0ef2007-07-31 00:37:59 -07002968 nosep [BUGS=X86-32] Disables x86 SYSENTER/SYSEXIT support.
Chuck Ebbert4f886512006-03-23 02:59:34 -08002969
Len Brown61ec7562007-08-16 03:34:22 -04002970 nosmp [SMP] Tells an SMP kernel to act as a UP kernel,
2971 and disable the IO APIC. legacy for "maxcpus=0".
Linus Torvalds1da177e2005-04-16 15:20:36 -07002972
Dave Jones97842212007-07-15 23:41:05 -07002973 nosoftlockup [KNL] Disable the soft-lockup detector.
2974
Linus Torvalds1da177e2005-04-16 15:20:36 -07002975 nosync [HW,M68K] Disables sync negotiation for all devices.
2976
Alan Coxcd4f0ef2007-07-31 00:37:59 -07002977 notsc [BUGS=X86-32] Disable Time Stamp Counter
Linus Torvalds1da177e2005-04-16 15:20:36 -07002978
Ulrich Obergfell195daf62015-04-14 15:44:13 -07002979 nowatchdog [KNL] Disable both lockup detectors, i.e.
2980 soft-lockup and NMI watchdog (hard-lockup).
Don Zickus58687ac2010-05-07 17:11:44 -04002981
Linus Torvalds1da177e2005-04-16 15:20:36 -07002982 nowb [ARM]
Randy Dunlapa9913042005-10-23 12:57:11 -07002983
Weidong Han2b2fd872009-04-17 16:42:12 +08002984 nox2apic [X86-64,APIC] Do not enable x2APIC mode.
2985
Fenghua Yuf78cff42012-11-13 11:32:38 -08002986 cpu0_hotplug [X86] Turn on CPU0 hotplug feature when
2987 CONFIG_BOOTPARAM_HOTPLUG_CPU0 is off.
2988 Some features depend on CPU0. Known dependencies are:
2989 1. Resume from suspend/hibernate depends on CPU0.
2990 Suspend/hibernate will fail if CPU0 is offline and you
2991 need to online CPU0 before suspend/hibernate.
2992 2. PIC interrupts also depend on CPU0. CPU0 can't be
2993 removed if a PIC interrupt is detected.
2994 It's said poweroff/reboot may depend on CPU0 on some
2995 machines although I haven't seen such issues so far
2996 after CPU0 is offline on a few tested machines.
2997 If the dependencies are under your control, you can
2998 turn on cpu0_hotplug.
2999
Randy Dunlap16290242011-08-13 12:34:52 -07003000 nptcg= [IA-64] Override max number of concurrent global TLB
Fenghua Yua6c75b862008-03-14 13:57:08 -07003001 purges which is reported from either PAL_VM_SUMMARY or
3002 SAL PALO.
3003
Yinghai Lu2b633e32010-02-10 01:20:37 -08003004 nr_cpus= [SMP] Maximum number of processors that an SMP kernel
3005 could support. nr_cpus=n : n >= 1 limits the kernel to
Baoquan He7c142bf2016-08-24 13:06:45 +08003006 support 'n' processors. It could be larger than the
3007 number of already plugged CPU during bootup, later in
3008 runtime you can physically add extra cpu until it reaches
3009 n. So during boot up some boot time memory for per-cpu
3010 variables need be pre-allocated for later physical cpu
3011 hot plugging.
Yinghai Lu2b633e32010-02-10 01:20:37 -08003012
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07003013 nr_uarts= [SERIAL] maximum number of UARTs to be registered.
3014
Mel Gorman1a687c22012-11-22 11:16:36 +00003015 numa_balancing= [KNL,X86] Enable or disable automatic NUMA balancing.
3016 Allowed values are enable and disable
3017
KAMEZAWA Hiroyukif0c0b2b2007-07-15 23:38:01 -07003018 numa_zonelist_order= [KNL, BOOT] Select zonelist order for NUMA.
3019 one of ['zone', 'node', 'default'] can be specified
3020 This can be set from sysctl after boot.
3021 See Documentation/sysctl/vm.txt for details.
3022
Randy Dunlap7c4be2532009-01-06 14:42:44 -08003023 ohci1394_dma=early [HW] enable debugging via the ohci1394 driver.
3024 See Documentation/debugging-via-ohci1394.txt for more
3025 info.
3026
Andres Salomon3ef0e1f2008-04-29 00:59:53 -07003027 olpc_ec_timeout= [OLPC] ms delay when issuing EC commands
3028 Rather than timing out after 20 ms if an EC
3029 command is not properly ACKed, override the length
3030 of the timeout. We have interrupts disabled while
3031 waiting for the ACK, so if this is set too high
3032 interrupts *may* be lost!
3033
Tony Lindgren15ac7af2009-12-11 16:16:32 -08003034 omap_mux= [OMAP] Override bootloader pin multiplexing.
3035 Format: <mux_mode0.mode_name=value>...
3036 For example, to override I2C bus2:
3037 omap_mux=i2c2_scl.i2c2_scl=0x100,i2c2_sda.i2c2_sda=0x100
3038
Linus Torvalds1da177e2005-04-16 15:20:36 -07003039 oprofile.timer= [HW]
3040 Use timer interrupt instead of performance counters
3041
Robert Richter7e4e0bd2009-05-06 12:10:23 +02003042 oprofile.cpu_type= Force an oprofile cpu type
3043 This might be useful if you have an older oprofile
3044 userland or if you want common events.
Robert Richter8d7ff4f2009-06-23 11:48:14 +02003045 Format: { arch_perfmon }
3046 arch_perfmon: [X86] Force use of architectural
Robert Richter7e4e0bd2009-05-06 12:10:23 +02003047 perfmon on Intel CPUs instead of the
3048 CPU specific event set.
Robert Richter159a80b2011-10-11 19:39:16 +02003049 timer: [X86] Force use of architectural NMI
3050 timer mode (see also oprofile.timer
3051 for generic hr timer mode)
Andi Kleen1dcdb5a2009-04-27 17:44:11 +02003052
Randy Dunlap44a4dcf2011-04-04 15:02:24 -07003053 oops=panic Always panic on oopses. Default is to just kill the
3054 process, but there is a small probability of
3055 deadlocking the machine.
Olaf Heringd404ab02011-03-22 16:34:04 -07003056 This will also cause panics on machine check exceptions.
3057 Useful together with panic=30 to trigger a reboot.
3058
Randy Dunlapbcfde332010-06-07 17:10:38 -07003059 OSS [HW,OSS]
3060 See Documentation/sound/oss/oss-parameters.txt
3061
Joonsoo Kim48c96a32014-12-12 16:56:01 -08003062 page_owner= [KNL] Boot-time page_owner enabling option.
3063 Storage of the information about who allocated
3064 each page is disabled in default. With this switch,
3065 we can turn it on.
3066 on: enable the feature
3067
Laura Abbott8823b1d2016-03-15 14:56:27 -07003068 page_poison= [KNL] Boot-time parameter changing the state of
3069 poisoning on the buddy allocator.
3070 off: turn off poisoning
3071 on: turn on poisoning
3072
Randy Dunlap44a4dcf2011-04-04 15:02:24 -07003073 panic= [KNL] Kernel behaviour on panic: delay <timeout>
Hugh Dickins4302fbc2011-07-26 16:08:52 -07003074 timeout > 0: seconds before rebooting
3075 timeout = 0: wait forever
3076 timeout < 0: reboot immediately
Linus Torvalds1da177e2005-04-16 15:20:36 -07003077 Format: <timeout>
3078
Prarit Bhargava9e3961a2014-12-10 15:45:50 -08003079 panic_on_warn panic() instead of WARN(). Useful to cause kdump
3080 on a WARN().
3081
Masami Hiramatsuf06e5152014-06-06 14:37:07 -07003082 crash_kexec_post_notifiers
3083 Run kdump after running panic-notifiers and dumping
3084 kmsg. This only for the users who doubt kdump always
3085 succeeds in any situation.
3086 Note that this also increases risks of kdump failure,
3087 because some panic notifiers can make the crashed
3088 kernel more unstable.
3089
Linus Torvalds1da177e2005-04-16 15:20:36 -07003090 parkbd.port= [HW] Parallel port number the keyboard adapter is
3091 connected to, default is 0.
3092 Format: <parport#>
3093 parkbd.mode= [HW] Parallel port keyboard adapter mode of operation,
3094 0 for XT, 1 for AT (default is AT).
Randy Dunlapa9913042005-10-23 12:57:11 -07003095 Format: <mode>
Linus Torvalds1da177e2005-04-16 15:20:36 -07003096
Randy Dunlapa9913042005-10-23 12:57:11 -07003097 parport= [HW,PPT] Specify parallel ports. 0 disables.
3098 Format: { 0 | auto | 0xBBB[,IRQ[,DMA]] }
3099 Use 'auto' to force the driver to use any
3100 IRQ/DMA settings detected (the default is to
3101 ignore detected IRQ/DMA settings because of
3102 possible conflicts). You can specify the base
3103 address, IRQ, and DMA settings; IRQ and DMA
3104 should be numbers, or 'auto' (for using detected
3105 settings on that particular port), or 'nofifo'
3106 (to avoid using a FIFO even if it is detected).
3107 Parallel ports are assigned in the order they
3108 are specified on the command line, starting
3109 with parport0.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003110
Randy Dunlapa9913042005-10-23 12:57:11 -07003111 parport_init_mode= [HW,PPT]
3112 Configure VIA parallel port to operate in
3113 a specific mode. This is necessary on Pegasos
3114 computer where firmware has no options for setting
3115 up parallel port mode and sets it to spp.
3116 Currently this function knows 686a and 8231 chips.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003117 Format: [spp|ps2|epp|ecp|ecpepp]
3118
Andrew Mortondd287792006-03-23 03:00:57 -08003119 pause_on_oops=
3120 Halt all CPUs after the first oops has been printed for
3121 the specified number of seconds. This is to be used if
3122 your oopses keep scrolling off the screen.
3123
Linus Torvalds1da177e2005-04-16 15:20:36 -07003124 pcbit= [HW,ISDN]
3125
3126 pcd. [PARIDE]
3127 See header of drivers/block/paride/pcd.c.
Randy Dunlap31c00fc2008-11-13 21:33:24 +00003128 See also Documentation/blockdev/paride.txt.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003129
Randy Dunlapa9913042005-10-23 12:57:11 -07003130 pci=option[,option...] [PCI] various PCI subsystem options:
Bjorn Helgaas1cc0ca22009-01-14 10:04:36 -07003131 earlydump [X86] dump PCI config space before the kernel
3132 changes anything
Andi Kleenc0115602008-08-22 09:53:39 +02003133 off [X86] don't probe for the PCI bus
Alan Coxcd4f0ef2007-07-31 00:37:59 -07003134 bios [X86-32] force use of PCI BIOS, don't access
Randy Dunlapa9913042005-10-23 12:57:11 -07003135 the hardware directly. Use this if your machine
3136 has a non-standard PCI host bridge.
Alan Coxcd4f0ef2007-07-31 00:37:59 -07003137 nobios [X86-32] disallow use of PCI BIOS, only direct
Randy Dunlapa9913042005-10-23 12:57:11 -07003138 hardware access methods are allowed. Use this
3139 if you experience crashes upon bootup and you
3140 suspect they are caused by the BIOS.
Borislav Petkovafd8c082016-01-13 16:48:51 +01003141 conf1 [X86] Force use of PCI Configuration Access
3142 Mechanism 1 (config address in IO port 0xCF8,
3143 data in IO port 0xCFC, both 32-bit).
3144 conf2 [X86] Force use of PCI Configuration Access
3145 Mechanism 2 (IO port 0xCF8 is an 8-bit port for
3146 the function, IO port 0xCFA, also 8-bit, sets
3147 bus number. The config space is then accessed
3148 through ports 0xC000-0xCFFF).
3149 See http://wiki.osdev.org/PCI for more info
3150 on the configuration access mechanisms.
Randy Dunlap7f785762007-10-05 13:17:58 -07003151 noaer [PCIE] If the PCIEAER kernel config parameter is
3152 enabled, this kernel boot option can be used to
3153 disable the use of PCIE advanced error reporting.
Jeff Garzik32a2eea2007-10-11 16:57:27 -04003154 nodomains [PCI] Disable support for multiple PCI
3155 root domains (aka PCI segments, in ACPI-speak).
Jaswinder Singh Rajput6cececf2009-04-14 14:03:43 +05303156 nommconf [X86] Disable use of MMCONFIG for PCI
Bjorn Helgaas61be6d62006-02-15 15:17:43 -08003157 Configuration
Andreas Herrmann12983072009-06-07 16:15:16 +02003158 check_enable_amd_mmconf [X86] check for and enable
3159 properly configured MMIO access to PCI
3160 config space on AMD family 10h CPU
Matthew Wilcox309e57d2006-03-05 22:33:34 -07003161 nomsi [MSI] If the PCI_MSI kernel config parameter is
3162 enabled, this kernel boot option can be used to
3163 disable the use of MSI interrupts system-wide.
Stefan Assmanna9322f62008-06-11 16:35:14 +02003164 noioapicquirk [APIC] Disable all boot interrupt quirks.
3165 Safety option to keep boot IRQs enabled. This
3166 should never be necessary.
Stefan Assmann91979792008-06-11 16:35:15 +02003167 ioapicreroute [APIC] Enable rerouting of boot IRQs to the
3168 primary IO-APIC for bridges that cannot disable
3169 boot IRQs. This fixes a source of spurious IRQs
3170 when the system masks IRQs.
Stefan Assmann41b9eb22008-07-15 13:48:55 +02003171 noioapicreroute [APIC] Disable workaround that uses the
3172 boot IRQ equivalent of an IRQ that connects to
3173 a chipset where boot IRQs cannot be disabled.
3174 The opposite of ioapicreroute.
Alan Coxcd4f0ef2007-07-31 00:37:59 -07003175 biosirq [X86-32] Use PCI BIOS calls to get the interrupt
Randy Dunlapa9913042005-10-23 12:57:11 -07003176 routing table. These calls are known to be buggy
3177 on several machines and they hang the machine
3178 when used, but on other computers it's the only
3179 way to get the interrupt routing table. Try
3180 this option if the kernel is unable to allocate
3181 IRQs or discover secondary PCI buses on your
3182 motherboard.
Andi Kleenc0115602008-08-22 09:53:39 +02003183 rom [X86] Assign address space to expansion ROMs.
Randy Dunlapa9913042005-10-23 12:57:11 -07003184 Use with caution as certain devices share
3185 address decoders between ROMs and other
3186 resources.
Andi Kleenc0115602008-08-22 09:53:39 +02003187 norom [X86] Do not assign address space to
Gary Hadebb71ad82008-05-12 13:57:46 -07003188 expansion ROMs that do not already have
3189 BIOS assigned address ranges.
Mike Habeck7bd1c362010-05-12 11:14:32 -07003190 nobar [X86] Do not assign address space to the
3191 BARs that weren't assigned by the BIOS.
Andi Kleenc0115602008-08-22 09:53:39 +02003192 irqmask=0xMMMM [X86] Set a bit mask of IRQs allowed to be
Randy Dunlapa9913042005-10-23 12:57:11 -07003193 assigned automatically to PCI devices. You can
3194 make the kernel exclude IRQs of your ISA cards
3195 this way.
Andi Kleenc0115602008-08-22 09:53:39 +02003196 pirqaddr=0xAAAAA [X86] Specify the physical address
Randy Dunlapa9913042005-10-23 12:57:11 -07003197 of the PIRQ table (normally generated
3198 by the BIOS) if it is outside the
3199 F0000h-100000h range.
Andi Kleenc0115602008-08-22 09:53:39 +02003200 lastbus=N [X86] Scan all buses thru bus #N. Can be
Randy Dunlapa9913042005-10-23 12:57:11 -07003201 useful if the kernel is unable to find your
3202 secondary buses and you want to tell it
3203 explicitly which ones they are.
Andi Kleenc0115602008-08-22 09:53:39 +02003204 assign-busses [X86] Always assign all PCI bus
Randy Dunlapa9913042005-10-23 12:57:11 -07003205 numbers ourselves, overriding
3206 whatever the firmware may have done.
Andi Kleenc0115602008-08-22 09:53:39 +02003207 usepirqmask [X86] Honor the possible IRQ mask stored
Randy Dunlapa9913042005-10-23 12:57:11 -07003208 in the BIOS $PIR table. This is needed on
3209 some systems with broken BIOSes, notably
3210 some HP Pavilion N5400 and Omnibook XE3
3211 notebooks. This will have no effect if ACPI
3212 IRQ routing is enabled.
Andi Kleenc0115602008-08-22 09:53:39 +02003213 noacpi [X86] Do not use ACPI for IRQ routing
Randy Dunlapa9913042005-10-23 12:57:11 -07003214 or for PCI scanning.
Bjorn Helgaas7bc5e3f2010-02-23 10:24:41 -07003215 use_crs [X86] Use PCI host bridge window information
3216 from ACPI. On BIOSes from 2008 or later, this
3217 is enabled by default. If you need to use this,
3218 please report a bug.
3219 nocrs [X86] Ignore PCI host bridge windows from ACPI.
3220 If you need to use this, please report a bug.
Randy Dunlapa9913042005-10-23 12:57:11 -07003221 routeirq Do IRQ routing for all PCI devices.
3222 This is normally done in pci_enable_device(),
3223 so this option is a temporary workaround
3224 for broken drivers that don't call it.
Yinghai Lu13a6ddb2008-03-27 01:31:18 -07003225 skip_isa_align [X86] do not align io start addr, so can
3226 handle more pci cards
Andi Kleen0637a702006-09-26 10:52:41 +02003227 noearly [X86] Don't do any early type 1 scanning.
3228 This might help on some broken boards which
3229 machine check when some devices' config space
3230 is read. But various workarounds are disabled
3231 and some IOMMU drivers will not work.
Matt Domsch6b4b78f2006-09-29 15:23:23 -05003232 bfsort Sort PCI devices into breadth-first order.
3233 This sorting is done to get a device
3234 order compatible with older (<= 2.4) kernels.
3235 nobfsort Don't sort PCI devices into breadth-first order.
Yijing Wangfa238712013-01-30 09:40:52 +08003236 pcie_bus_tune_off Disable PCIe MPS (Max Payload Size)
3237 tuning and use the BIOS-configured MPS defaults.
3238 pcie_bus_safe Set every device's MPS to the largest value
3239 supported by all devices below the root complex.
3240 pcie_bus_perf Set device MPS to the largest allowable MPS
3241 based on its parent bus. Also set MRRS (Max
3242 Read Request Size) to the largest supported
3243 value (no larger than the MPS that the device
3244 or bus can support) for best performance.
3245 pcie_bus_peer2peer Set every device's MPS to 128B, which
3246 every device is guaranteed to support. This
3247 configuration allows peer-to-peer DMA between
3248 any pair of devices, possibly at the cost of
3249 reduced performance. This also guarantees
3250 that hot-added devices will work.
Atsushi Nemoto4516a612007-02-05 16:36:06 -08003251 cbiosize=nn[KMG] The fixed amount of bus space which is
3252 reserved for the CardBus bridge's IO window.
3253 The default value is 256 bytes.
3254 cbmemsize=nn[KMG] The fixed amount of bus space which is
3255 reserved for the CardBus bridge's memory
3256 window. The default value is 64 megabytes.
Yuji Shimada32a9a6822009-03-16 17:13:39 +09003257 resource_alignment=
3258 Format:
3259 [<order of align>@][<domain>:]<bus>:<slot>.<func>[; ...]
Koehrer Mathias (ETAS/ESW5)644a5442016-06-07 14:24:17 +00003260 [<order of align>@]pci:<vendor>:<device>\
3261 [:<subvendor>:<subdevice>][; ...]
Yuji Shimada32a9a6822009-03-16 17:13:39 +09003262 Specifies alignment and device to reassign
3263 aligned memory resources.
3264 If <order of align> is not specified,
3265 PAGE_SIZE is used as alignment.
3266 PCI-PCI bridge can be specified, if resource
3267 windows need to be expanded.
Mathias Koehrer8b078c62016-08-09 10:33:31 +02003268 To specify the alignment for several
3269 instances of a device, the PCI vendor,
3270 device, subvendor, and subdevice may be
3271 specified, e.g., 4096@pci:8086:9c22:103c:198f
Andrew Patterson43c16402009-04-22 16:52:09 -06003272 ecrc= Enable/disable PCIe ECRC (transaction layer
3273 end-to-end CRC checking).
3274 bios: Use BIOS/firmware settings. This is the
3275 the default.
3276 off: Turn ECRC off
3277 on: Turn ECRC on.
Yijing Wang8c8803c2013-01-23 20:29:06 +08003278 hpiosize=nn[KMG] The fixed amount of bus space which is
3279 reserved for hotplug bridge's IO window.
3280 Default size is 256 bytes.
3281 hpmemsize=nn[KMG] The fixed amount of bus space which is
3282 reserved for hotplug bridge's memory window.
3283 Default size is 2 megabytes.
Keith Busche16b4662016-07-21 21:40:28 -06003284 hpbussize=nn The minimum amount of additional bus numbers
3285 reserved for buses below a hotplug bridge.
3286 Default is 1.
Yinghai Lub55438f2012-02-23 19:23:30 -08003287 realloc= Enable/disable reallocating PCI bridge resources
3288 if allocations done by BIOS are too small to
3289 accommodate resources required by all child
3290 devices.
3291 off: Turn realloc off
3292 on: Turn realloc on
3293 realloc same as realloc=on
Rafael J. Wysocki6748dcc2012-03-01 00:06:33 +01003294 noari do not use PCIe ARI.
Bjorn Helgaas284f5f92012-04-30 15:21:02 -06003295 pcie_scan_all Scan all possible PCIe devices. Otherwise we
3296 only look for one device below a PCIe downstream
3297 port.
Matt Domsch6b4b78f2006-09-29 15:23:23 -05003298
Chuck Ebberte5665a42008-09-24 20:40:34 -04003299 pcie_aspm= [PCIE] Forcibly enable or disable PCIe Active State Power
3300 Management.
3301 off Disable ASPM.
3302 force Enable ASPM even on devices that claim not to support it.
3303 WARNING: Forcing ASPM on may cause system lockups.
3304
MUNEDA Takahiro7570a332012-02-02 11:09:22 -05003305 pcie_hp= [PCIE] PCI Express Hotplug driver options:
3306 nomsi Do not use MSI for PCI Express Native Hotplug (this
3307 makes all PCIe ports use INTx for hotplug services).
3308
Rafael J. Wysocki79dd9182010-08-21 01:51:44 +02003309 pcie_ports= [PCIE] PCIe ports handling:
Rafael J. Wysocki28eb5f22010-08-21 22:02:38 +02003310 auto Ask the BIOS whether or not to use native PCIe services
3311 associated with PCIe ports (PME, hot-plug, AER). Use
3312 them only if that is allowed by the BIOS.
3313 native Use native PCIe services associated with PCIe ports
3314 unconditionally.
Rafael J. Wysocki79dd9182010-08-21 01:51:44 +02003315 compat Treat PCIe ports as PCI-to-PCI bridges, disable the PCIe
3316 ports driver.
3317
Mika Westerberg9d26d3a2016-06-02 11:17:12 +03003318 pcie_port_pm= [PCIE] PCIe port power management handling:
3319 off Disable power management of all PCIe ports
3320 force Forcibly enable power management of all PCIe ports
3321
Rafael J. Wysockic7f48652010-02-17 23:39:08 +01003322 pcie_pme= [PCIE,PM] Native PCIe PME signaling options:
Rafael J. Wysockic39fae12010-02-17 23:40:07 +01003323 nomsi Do not use MSI for native PCIe PME signaling (this makes
Rafael J. Wysocki28eb5f22010-08-21 22:02:38 +02003324 all PCIe root ports use INTx for all services).
Rafael J. Wysockic7f48652010-02-17 23:39:08 +01003325
Linus Torvalds1da177e2005-04-16 15:20:36 -07003326 pcmv= [HW,PCMCIA] BadgePAD 4
3327
Tushar Behera39ac5ba2014-03-28 10:50:21 +05303328 pd_ignore_unused
3329 [PM]
3330 Keep all power-domains already enabled by bootloader on,
3331 even if no driver has claimed them. This is useful
3332 for debug and development, but should not be
3333 needed on a platform with proper driver support.
3334
Linus Torvalds1da177e2005-04-16 15:20:36 -07003335 pd. [PARIDE]
Randy Dunlap31c00fc2008-11-13 21:33:24 +00003336 See Documentation/blockdev/paride.txt.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003337
3338 pdcchassis= [PARISC,HW] Disable/Enable PDC Chassis Status codes at
3339 boot time.
3340 Format: { 0 | 1 }
3341 See arch/parisc/kernel/pdc_chassis.c
3342
Tejun Heof58dc012009-08-14 15:00:50 +09003343 percpu_alloc= Select which percpu first chunk allocator to use.
Tejun Heoe933a732009-08-14 15:00:53 +09003344 Currently supported values are "embed" and "page".
3345 Archs may support subset or none of the selections.
3346 See comments in mm/percpu.c for details on each
3347 allocator. This parameter is primarily for debugging
3348 and performance comparison.
Tejun Heofa8a7092009-06-22 11:56:24 +09003349
Linus Torvalds1da177e2005-04-16 15:20:36 -07003350 pf. [PARIDE]
Randy Dunlap31c00fc2008-11-13 21:33:24 +00003351 See Documentation/blockdev/paride.txt.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003352
3353 pg. [PARIDE]
Randy Dunlap31c00fc2008-11-13 21:33:24 +00003354 See Documentation/blockdev/paride.txt.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003355
3356 pirq= [SMP,APIC] Manual mp-table setup
Uwe Hermann71cced62008-10-20 09:32:21 -07003357 See Documentation/x86/i386/IO-APIC.txt.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003358
3359 plip= [PPT,NET] Parallel port network link
3360 Format: { parport<nr> | timid | 0 }
3361 See also Documentation/parport.txt.
3362
Randy Dunlap16290242011-08-13 12:34:52 -07003363 pmtmr= [X86] Manual setup of pmtmr I/O Port.
Thomas Gleixnerde32a242008-07-12 05:33:30 +02003364 Override pmtimer IOPort with a hex value.
3365 e.g. pmtmr=0x508
3366
Bjorn Helgaas96242112011-08-11 12:14:05 -06003367 pnp.debug=1 [PNP]
3368 Enable PNP debug messages (depends on the
3369 CONFIG_PNP_DEBUG_MESSAGES option). Change at run-time
3370 via /sys/module/pnp/parameters/debug. We always show
3371 current resource usage; turning this on also shows
3372 possible settings and some assignment information.
Bjorn Helgaas97ef0622008-08-19 16:53:41 -06003373
Linus Torvalds1da177e2005-04-16 15:20:36 -07003374 pnpacpi= [ACPI]
3375 { off }
3376
3377 pnpbios= [ISAPNP]
3378 { on | off | curr | res | no-curr | no-res }
3379
3380 pnp_reserve_irq=
3381 [ISAPNP] Exclude IRQs for the autoconfiguration
3382
3383 pnp_reserve_dma=
3384 [ISAPNP] Exclude DMAs for the autoconfiguration
3385
3386 pnp_reserve_io= [ISAPNP] Exclude I/O ports for the autoconfiguration
Randy Dunlapa9913042005-10-23 12:57:11 -07003387 Ranges are in pairs (I/O port base and size).
Linus Torvalds1da177e2005-04-16 15:20:36 -07003388
3389 pnp_reserve_mem=
Randy Dunlapa9913042005-10-23 12:57:11 -07003390 [ISAPNP] Exclude memory regions for the
3391 autoconfiguration.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003392 Ranges are in pairs (memory base and size).
3393
Randy Dunlap4af94f32009-04-17 18:30:28 -07003394 ports= [IP_VS_FTP] IPVS ftp helper module
3395 Default is 21.
3396 Up to 8 (IP_VS_APP_MAX_PORTS) ports
3397 may be specified.
3398 Format: <port>,<port>....
3399
Anton Blanchard3eb5d582015-10-29 11:44:06 +11003400 ppc_strict_facility_enable
3401 [PPC] This option catches any kernel floating point,
3402 Altivec, VSX and SPE outside of regions specifically
3403 allowed (eg kernel_enable_fpu()/kernel_disable_fpu()).
3404 There is some performance impact when enabling this.
3405
Ingo Molnar45807a12007-07-15 23:40:10 -07003406 print-fatal-signals=
3407 [KNL] debug: print fatal signals
Naohiro Ooiwaf84d49b2009-11-09 00:46:42 +09003408
3409 If enabled, warn about various signal handling
3410 related application anomalies: too many signals,
3411 too many POSIX.1 timers, fatal signals causing a
3412 coredump - etc.
3413
3414 If you hit the warning due to signal overflow,
3415 you might want to try "ulimit -i unlimited".
3416
Ingo Molnar45807a12007-07-15 23:40:10 -07003417 default: off.
3418
Matthew Garrettc22ab332012-03-05 14:59:10 -08003419 printk.always_kmsg_dump=
3420 Trigger kmsg_dump for cases other than kernel oops or
3421 panics
3422 Format: <bool> (1/Y/y=enable, 0/N/n=disable)
3423 default: disabled
3424
Borislav Petkov750afe72016-08-02 14:04:07 -07003425 printk.devkmsg={on,off,ratelimit}
3426 Control writing to /dev/kmsg.
3427 on - unlimited logging to /dev/kmsg from userspace
3428 off - logging to /dev/kmsg disabled
3429 ratelimit - ratelimit the logging
3430 Default: ratelimit
3431
Randy Dunlape84845c2007-07-15 23:40:25 -07003432 printk.time= Show timing data prefixed to each printk message line
3433 Format: <bool> (1/Y/y=enable, 0/N/n=disable)
3434
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07003435 processor.max_cstate= [HW,ACPI]
3436 Limit processor to maximum C-state
3437 max_cstate=9 overrides any DMI blacklist limit.
3438
3439 processor.nocst [HW,ACPI]
3440 Ignore the _CST method to determine C-states,
3441 instead using the legacy FADT method
3442
Linus Torvalds1da177e2005-04-16 15:20:36 -07003443 profile= [KNL] Enable kernel profiling via /proc/profile
Randy Dunlapa9913042005-10-23 12:57:11 -07003444 Format: [schedule,]<number>
3445 Param: "schedule" - profile schedule points.
3446 Param: <number> - step/bucket size as a power of 2 for
3447 statistical time based profiling.
Mel Gormanb3da2a72007-10-24 18:23:50 +02003448 Param: "sleep" - profile D-state sleeping (millisecs).
3449 Requires CONFIG_SCHEDSTATS
Dave Jonesc0fe2e62007-10-20 03:08:22 +02003450 Param: "kvm" - profile VM exits.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003451
Linus Torvalds1da177e2005-04-16 15:20:36 -07003452 prompt_ramdisk= [RAM] List of RAM disks to prompt for floppy disk
3453 before loading.
Randy Dunlap31c00fc2008-11-13 21:33:24 +00003454 See Documentation/blockdev/ramdisk.txt.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003455
Randy Dunlapa9913042005-10-23 12:57:11 -07003456 psmouse.proto= [HW,MOUSE] Highest PS2 mouse protocol extension to
3457 probe for; one of (bare|imps|exps|lifebook|any).
Linus Torvalds1da177e2005-04-16 15:20:36 -07003458 psmouse.rate= [HW,MOUSE] Set desired mouse report rate, in reports
3459 per second.
Randy Dunlapa9913042005-10-23 12:57:11 -07003460 psmouse.resetafter= [HW,MOUSE]
3461 Try to reset the device after so many bad packets
Linus Torvalds1da177e2005-04-16 15:20:36 -07003462 (0 = never).
3463 psmouse.resolution=
3464 [HW,MOUSE] Set desired mouse resolution, in dpi.
3465 psmouse.smartscroll=
Randy Dunlapa9913042005-10-23 12:57:11 -07003466 [HW,MOUSE] Controls Logitech smartscroll autorepeat.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003467 0 = disabled, 1 = enabled (default).
3468
Matthew Garrettdee28e72011-07-21 16:57:55 -04003469 pstore.backend= Specify the name of the pstore backend to use
3470
Linus Torvalds1da177e2005-04-16 15:20:36 -07003471 pt. [PARIDE]
Randy Dunlap31c00fc2008-11-13 21:33:24 +00003472 See Documentation/blockdev/paride.txt.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003473
Dave Hansen4e6c2af2018-01-05 09:44:36 -08003474 pti= [X86_64] Control Page Table Isolation of user and
3475 kernel address spaces. Disabling this feature
3476 removes hardening, but improves performance of
3477 system calls and interrupts.
3478
3479 on - unconditionally enable
3480 off - unconditionally disable
3481 auto - kernel detects whether your CPU model is
3482 vulnerable to issues that PTI mitigates
3483
3484 Not specifying this option is equivalent to pti=auto.
3485
3486 nopti [X86_64]
3487 Equivalent to pti=off
Borislav Petkov80183072018-01-02 14:19:48 +01003488
Kay Sieversdc8c8582007-08-15 12:25:38 +02003489 pty.legacy_count=
3490 [KNL] Number of legacy pty's. Overwrites compiled-in
3491 default number.
3492
Randy Dunlap7d2c5022006-09-29 02:01:02 -07003493 quiet [KNL] Disable most log messages
Randy Dunlapa9913042005-10-23 12:57:11 -07003494
Linus Torvalds1da177e2005-04-16 15:20:36 -07003495 r128= [HW,DRM]
3496
3497 raid= [HW,RAID]
3498 See Documentation/md.txt.
3499
Linus Torvalds1da177e2005-04-16 15:20:36 -07003500 ramdisk_size= [RAM] Sizes of RAM disks in kilobytes
Randy Dunlap31c00fc2008-11-13 21:33:24 +00003501 See Documentation/blockdev/ramdisk.txt.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003502
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003503 rcu_nocbs= [KNL]
Noam Camus2d13e6c2016-10-11 13:51:35 -07003504 The argument is a cpu list, as described above.
3505
Paul E. McKenney3fbfbf72012-08-19 21:35:53 -07003506 In kernels built with CONFIG_RCU_NOCB_CPU=y, set
3507 the specified list of CPUs to be no-callback CPUs.
3508 Invocation of these CPUs' RCU callbacks will
Paul E. McKenneya4889852012-12-03 08:16:28 -08003509 be offloaded to "rcuox/N" kthreads created for
3510 that purpose, where "x" is "b" for RCU-bh, "p"
3511 for RCU-preempt, and "s" for RCU-sched, and "N"
3512 is the CPU number. This reduces OS jitter on the
Paul E. McKenney3fbfbf72012-08-19 21:35:53 -07003513 offloaded CPUs, which can be useful for HPC and
3514 real-time workloads. It can also improve energy
3515 efficiency for asymmetric multiprocessors.
3516
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003517 rcu_nocb_poll [KNL]
Paul E. McKenney3fbfbf72012-08-19 21:35:53 -07003518 Rather than requiring that offloaded CPUs
3519 (specified by rcu_nocbs= above) explicitly
3520 awaken the corresponding "rcuoN" kthreads,
3521 make these kthreads poll for callbacks.
3522 This improves the real-time response for the
3523 offloaded CPUs by relieving them of the need to
3524 wake up the corresponding kthread, but degrades
3525 energy efficiency by requiring that the kthreads
3526 periodically wake up to do the polling.
3527
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003528 rcutree.blimit= [KNL]
Paul E. McKenney97e63f02013-10-27 09:44:03 -07003529 Set maximum number of finished RCU callbacks to
3530 process in one batch.
Dipankar Sarma21a1ea92006-03-07 21:55:33 -08003531
Paul E. McKenneya3dc2942015-04-20 11:40:50 -07003532 rcutree.dump_tree= [KNL]
3533 Dump the structure of the rcu_node combining tree
3534 out at early boot. This is used for diagnostic
3535 purposes, to verify correct tree setup.
3536
Paul E. McKenney0f41c0d2015-03-10 18:33:20 -07003537 rcutree.gp_cleanup_delay= [KNL]
3538 Set the number of jiffies to delay each step of
3539 RCU grace-period cleanup. This only has effect
3540 when CONFIG_RCU_TORTURE_TEST_SLOW_CLEANUP is set.
3541
Paul E. McKenney37745d22015-01-22 18:24:08 -08003542 rcutree.gp_init_delay= [KNL]
3543 Set the number of jiffies to delay each step of
3544 RCU grace-period initialization. This only has
Paul E. McKenney0f41c0d2015-03-10 18:33:20 -07003545 effect when CONFIG_RCU_TORTURE_TEST_SLOW_INIT
3546 is set.
3547
3548 rcutree.gp_preinit_delay= [KNL]
3549 Set the number of jiffies to delay each step of
3550 RCU grace-period pre-initialization, that is,
3551 the propagation of recent CPU-hotplug changes up
3552 the rcu_node combining tree. This only has effect
3553 when CONFIG_RCU_TORTURE_TEST_SLOW_PREINIT is set.
Paul E. McKenney37745d22015-01-22 18:24:08 -08003554
Paul E. McKenney7fa27002015-04-20 10:27:15 -07003555 rcutree.rcu_fanout_exact= [KNL]
3556 Disable autobalancing of the rcu_node combining
3557 tree. This is used by rcutorture, and might
3558 possibly be useful for architectures having high
3559 cache-to-cache transfer latencies.
Dipankar Sarma21a1ea92006-03-07 21:55:33 -08003560
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003561 rcutree.rcu_fanout_leaf= [KNL]
Paul E. McKenneyee968ac2015-07-31 08:28:35 -07003562 Change the number of CPUs assigned to each
3563 leaf rcu_node structure. Useful for very
3564 large systems, which will choose the value 64,
3565 and for NUMA systems with large remote-access
3566 latencies, which will choose a value aligned
3567 with the appropriate hardware boundaries.
Paul E. McKenneyf885b7f2012-04-23 15:52:53 -07003568
Paul E. McKenney4a81e832014-06-20 16:49:01 -07003569 rcutree.jiffies_till_sched_qs= [KNL]
3570 Set required age in jiffies for a
3571 given grace period before RCU starts
3572 soliciting quiescent-state help from
3573 rcu_note_context_switch().
3574
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003575 rcutree.jiffies_till_first_fqs= [KNL]
Paul E. McKenneyc0f4dfd2012-12-28 11:30:36 -08003576 Set delay from grace-period initialization to
3577 first attempt to force quiescent states.
3578 Units are jiffies, minimum value is zero,
3579 and maximum value is HZ.
3580
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003581 rcutree.jiffies_till_next_fqs= [KNL]
Paul E. McKenneyc0f4dfd2012-12-28 11:30:36 -08003582 Set delay between subsequent attempts to force
3583 quiescent states. Units are jiffies, minimum
3584 value is one, and maximum value is HZ.
3585
Clark Williams21871d72014-09-12 21:21:09 -05003586 rcutree.kthread_prio= [KNL,BOOT]
Paul E. McKenneyd2af1ad2015-01-20 23:54:59 -08003587 Set the SCHED_FIFO priority of the RCU per-CPU
3588 kthreads (rcuc/N). This value is also used for
3589 the priority of the RCU boost threads (rcub/N)
3590 and for the RCU grace-period kthreads (rcu_bh,
3591 rcu_preempt, and rcu_sched). If RCU_BOOST is
3592 set, valid values are 1-99 and the default is 1
3593 (the least-favored priority). Otherwise, when
3594 RCU_BOOST is not set, valid values are 0-99 and
3595 the default is zero (non-realtime operation).
Clark Williams21871d72014-09-12 21:21:09 -05003596
Paul E. McKenneyfbce7492014-06-24 09:26:11 -07003597 rcutree.rcu_nocb_leader_stride= [KNL]
3598 Set the number of NOCB kthread groups, which
3599 defaults to the square root of the number of
3600 CPUs. Larger numbers reduces the wakeup overhead
3601 on the per-CPU grace-period kthreads, but increases
3602 that same overhead on each group's leader.
3603
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003604 rcutree.qhimark= [KNL]
Paul E. McKenney97e63f02013-10-27 09:44:03 -07003605 Set threshold of queued RCU callbacks beyond which
3606 batch limiting is disabled.
Dipankar Sarma21a1ea92006-03-07 21:55:33 -08003607
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003608 rcutree.qlowmark= [KNL]
Robert P. J. Day24aaef82008-02-03 15:20:26 +02003609 Set threshold of queued RCU callbacks below which
3610 batch limiting is re-enabled.
Dipankar Sarma21a1ea92006-03-07 21:55:33 -08003611
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003612 rcutree.rcu_idle_gp_delay= [KNL]
Paul E. McKenneyc0f4dfd2012-12-28 11:30:36 -08003613 Set wakeup interval for idle CPUs that have
3614 RCU callbacks (RCU_FAST_NO_HZ=y).
Paul E. McKenneyd40011f2012-06-26 20:45:57 -07003615
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003616 rcutree.rcu_idle_lazy_gp_delay= [KNL]
Paul E. McKenneyc0f4dfd2012-12-28 11:30:36 -08003617 Set wakeup interval for idle CPUs that have
3618 only "lazy" RCU callbacks (RCU_FAST_NO_HZ=y).
3619 Lazy RCU callbacks are those which RCU can
3620 prove do nothing more than free memory.
Paul E. McKenneyd40011f2012-06-26 20:45:57 -07003621
Paul E. McKenneybdea9e32016-01-01 13:47:19 -08003622 rcuperf.gp_exp= [KNL]
3623 Measure performance of expedited synchronous
3624 grace-period primitives.
3625
Paul E. McKenneydf37e662016-01-30 20:56:38 -08003626 rcuperf.holdoff= [KNL]
3627 Set test-start holdoff period. The purpose of
3628 this parameter is to delay the start of the
3629 test until boot completes in order to avoid
3630 interference.
3631
Paul E. McKenneybdea9e32016-01-01 13:47:19 -08003632 rcuperf.nreaders= [KNL]
3633 Set number of RCU readers. The value -1 selects
3634 N, where N is the number of CPUs. A value
3635 "n" less than -1 selects N-n+1, where N is again
3636 the number of CPUs. For example, -2 selects N
3637 (the number of CPUs), -3 selects N+1, and so on.
3638 A value of "n" less than or equal to -N selects
3639 a single reader.
3640
3641 rcuperf.nwriters= [KNL]
3642 Set number of RCU writers. The values operate
3643 the same as for rcuperf.nreaders.
3644 N, where N is the number of CPUs
3645
3646 rcuperf.perf_runnable= [BOOT]
3647 Start rcuperf running at boot time.
3648
3649 rcuperf.shutdown= [KNL]
3650 Shut the system down after performance tests
3651 complete. This is useful for hands-off automated
3652 testing.
3653
3654 rcuperf.perf_type= [KNL]
3655 Specify the RCU implementation to test.
3656
3657 rcuperf.verbose= [KNL]
3658 Enable additional printk() statements.
3659
Paul E. McKenney38706bc2014-08-18 21:12:17 -07003660 rcutorture.cbflood_inter_holdoff= [KNL]
3661 Set holdoff time (jiffies) between successive
3662 callback-flood tests.
3663
3664 rcutorture.cbflood_intra_holdoff= [KNL]
3665 Set holdoff time (jiffies) between successive
3666 bursts of callbacks within a given callback-flood
3667 test.
3668
3669 rcutorture.cbflood_n_burst= [KNL]
3670 Set the number of bursts making up a given
3671 callback-flood test. Set this to zero to
3672 disable callback-flood testing.
3673
3674 rcutorture.cbflood_n_per_burst= [KNL]
3675 Set the number of callbacks to be registered
3676 in a given burst of a callback-flood test.
3677
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003678 rcutorture.fqs_duration= [KNL]
Paul E. McKenney21b05de2015-05-14 17:29:51 -07003679 Set duration of force_quiescent_state bursts
3680 in microseconds.
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07003681
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003682 rcutorture.fqs_holdoff= [KNL]
Paul E. McKenney21b05de2015-05-14 17:29:51 -07003683 Set holdoff time within force_quiescent_state bursts
3684 in microseconds.
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07003685
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003686 rcutorture.fqs_stutter= [KNL]
Paul E. McKenney21b05de2015-05-14 17:29:51 -07003687 Set wait time between force_quiescent_state bursts
3688 in seconds.
3689
3690 rcutorture.gp_cond= [KNL]
3691 Use conditional/asynchronous update-side
3692 primitives, if available.
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07003693
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003694 rcutorture.gp_exp= [KNL]
Paul E. McKenney21b05de2015-05-14 17:29:51 -07003695 Use expedited update-side primitives, if available.
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07003696
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003697 rcutorture.gp_normal= [KNL]
Paul E. McKenney21b05de2015-05-14 17:29:51 -07003698 Use normal (non-expedited) asynchronous
3699 update-side primitives, if available.
3700
3701 rcutorture.gp_sync= [KNL]
3702 Use normal (non-expedited) synchronous
3703 update-side primitives, if available. If all
3704 of rcutorture.gp_cond=, rcutorture.gp_exp=,
3705 rcutorture.gp_normal=, and rcutorture.gp_sync=
3706 are zero, rcutorture acts as if is interpreted
3707 they are all non-zero.
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003708
3709 rcutorture.n_barrier_cbs= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07003710 Set callbacks/threads for rcu_barrier() testing.
3711
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003712 rcutorture.nfakewriters= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07003713 Set number of concurrent RCU writers. These just
3714 stress RCU, they don't participate in the actual
3715 test, hence the "fake".
3716
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003717 rcutorture.nreaders= [KNL]
Paul E. McKenney3838cc12015-03-12 13:55:48 -07003718 Set number of RCU readers. The value -1 selects
3719 N-1, where N is the number of CPUs. A value
3720 "n" less than -1 selects N-n-2, where N is again
3721 the number of CPUs. For example, -2 selects N
3722 (the number of CPUs), -3 selects N+1, and so on.
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07003723
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003724 rcutorture.object_debug= [KNL]
3725 Enable debug-object double-call_rcu() testing.
3726
3727 rcutorture.onoff_holdoff= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07003728 Set time (s) after boot for CPU-hotplug testing.
3729
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003730 rcutorture.onoff_interval= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07003731 Set time (s) between CPU-hotplug operations, or
3732 zero to disable CPU-hotplug testing.
3733
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003734 rcutorture.shuffle_interval= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07003735 Set task-shuffle interval (s). Shuffling tasks
3736 allows some CPUs to go into dyntick-idle mode
3737 during the rcutorture test.
3738
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003739 rcutorture.shutdown_secs= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07003740 Set time (s) after boot system shutdown. This
3741 is useful for hands-off automated testing.
3742
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003743 rcutorture.stall_cpu= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07003744 Duration of CPU stall (s) to test RCU CPU stall
3745 warnings, zero to disable.
3746
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003747 rcutorture.stall_cpu_holdoff= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07003748 Time to wait (s) after boot before inducing stall.
3749
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003750 rcutorture.stat_interval= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07003751 Time (s) between statistics printk()s.
3752
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003753 rcutorture.stutter= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07003754 Time (s) to stutter testing, for example, specifying
3755 five seconds causes the test to run for five seconds,
3756 wait for five seconds, and so on. This tests RCU's
3757 ability to transition abruptly to and from idle.
3758
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003759 rcutorture.test_boost= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07003760 Test RCU priority boosting? 0=no, 1=maybe, 2=yes.
3761 "Maybe" means test if the RCU implementation
3762 under test support RCU priority boosting.
3763
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003764 rcutorture.test_boost_duration= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07003765 Duration (s) of each individual boost test.
3766
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003767 rcutorture.test_boost_interval= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07003768 Interval (s) between each boost test.
3769
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003770 rcutorture.test_no_idle_hz= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07003771 Test RCU's dyntick-idle handling. See also the
3772 rcutorture.shuffle_interval parameter.
3773
Paul E. McKenney21b05de2015-05-14 17:29:51 -07003774 rcutorture.torture_runnable= [BOOT]
3775 Start rcutorture running at boot time.
3776
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003777 rcutorture.torture_type= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07003778 Specify the RCU implementation to test.
3779
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003780 rcutorture.verbose= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07003781 Enable additional printk() statements.
3782
Paul E. McKenney5a9be7c2015-11-24 15:44:06 -08003783 rcupdate.rcu_cpu_stall_suppress= [KNL]
3784 Suppress RCU CPU stall warning messages.
3785
3786 rcupdate.rcu_cpu_stall_timeout= [KNL]
3787 Set timeout for RCU CPU stall warning messages.
3788
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003789 rcupdate.rcu_expedited= [KNL]
3790 Use expedited grace-period primitives, for
3791 example, synchronize_rcu_expedited() instead
3792 of synchronize_rcu(). This reduces latency,
3793 but can increase CPU utilization, degrade
3794 real-time latency, and degrade energy efficiency.
Paul E. McKenney79cfea02015-12-07 13:09:52 -08003795 No effect on CONFIG_TINY_RCU kernels.
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003796
Paul E. McKenney5a9be7c2015-11-24 15:44:06 -08003797 rcupdate.rcu_normal= [KNL]
3798 Use only normal grace-period primitives,
3799 for example, synchronize_rcu() instead of
3800 synchronize_rcu_expedited(). This improves
Paul E. McKenney79cfea02015-12-07 13:09:52 -08003801 real-time latency, CPU utilization, and
3802 energy efficiency, but can expose users to
3803 increased grace-period latency. This parameter
3804 overrides rcupdate.rcu_expedited. No effect on
3805 CONFIG_TINY_RCU kernels.
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003806
Paul E. McKenney3e42ec12015-11-25 18:56:00 -08003807 rcupdate.rcu_normal_after_boot= [KNL]
3808 Once boot has completed (that is, after
3809 rcu_end_inkernel_boot() has been invoked), use
Paul E. McKenney79cfea02015-12-07 13:09:52 -08003810 only normal grace-period primitives. No effect
3811 on CONFIG_TINY_RCU kernels.
Paul E. McKenney3e42ec12015-11-25 18:56:00 -08003812
Paul E. McKenney52db30a2014-07-01 18:16:30 -07003813 rcupdate.rcu_task_stall_timeout= [KNL]
3814 Set timeout in jiffies for RCU task stall warning
3815 messages. Disable with a value less than or equal
3816 to zero.
3817
Pranith Kumar74860fe2014-09-19 11:34:09 -04003818 rcupdate.rcu_self_test= [KNL]
3819 Run the RCU early boot self tests
3820
3821 rcupdate.rcu_self_test_bh= [KNL]
3822 Run the RCU bh early boot self tests
3823
3824 rcupdate.rcu_self_test_sched= [KNL]
3825 Run the RCU sched early boot self tests
3826
Olof Johanssonffdfc402005-09-06 15:17:19 -07003827 rdinit= [KNL]
3828 Format: <full_path>
3829 Run specified binary instead of /init from the ramdisk,
3830 used for early userspace startup. See initrd.
3831
Robin Holt1b3a5d02013-07-08 16:01:42 -07003832 reboot= [KNL]
3833 Format (x86 or x86_64):
3834 [w[arm] | c[old] | h[ard] | s[oft] | g[pio]] \
3835 [[,]s[mp]#### \
3836 [[,]b[ios] | a[cpi] | k[bd] | t[riple] | e[fi] | p[ci]] \
3837 [[,]f[orce]
3838 Where reboot_mode is one of warm (soft) or cold (hard) or gpio,
3839 reboot_type is one of bios, acpi, kbd, triple, efi, or pci,
3840 reboot_force is either force or not specified,
3841 reboot_cpu is s[mp]#### with #### being the processor
3842 to be used for rebooting.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003843
Paul Jackson46b6d942008-07-04 10:00:09 -07003844 relax_domain_level=
3845 [KNL, SMP] Set scheduler's default relax_domain_level.
seokhoon.yoon09c3bcc2016-08-02 23:23:57 +09003846 See Documentation/cgroup-v1/cpusets.txt.
Paul Jackson46b6d942008-07-04 10:00:09 -07003847
Rafael J. Wysocki0399d4d2014-05-26 13:40:59 +02003848 relative_sleep_states=
3849 [SUSPEND] Use sleep state labeling where the deepest
3850 state available other than hibernation is always "mem".
3851 Format: { "0" | "1" }
3852 0 -- Traditional sleep state labels.
3853 1 -- Relative sleep state labels.
3854
Linus Torvalds1da177e2005-04-16 15:20:36 -07003855 reserve= [KNL,BUGS] Force the kernel to ignore some iomem area
3856
Alan Coxcd4f0ef2007-07-31 00:37:59 -07003857 reservetop= [X86-32]
Zachary Amsden461a9af2006-09-25 23:32:25 -07003858 Format: nn[KMG]
3859 Reserves a hole at the top of the kernel virtual
3860 address space.
3861
H. Peter Anvin9ea77bd2010-08-25 16:38:20 -07003862 reservelow= [X86]
3863 Format: nn[K]
3864 Set the amount of memory to reserve for BIOS at
3865 the bottom of the address space.
3866
Vivek Goyal7e962872006-09-27 01:50:44 -07003867 reset_devices [KNL] Force drivers to reset the underlying device
3868 during initialization.
3869
Randy Dunlapa9913042005-10-23 12:57:11 -07003870 resume= [SWSUSP]
3871 Specify the partition device for software suspend
Minho Ban2df83fa2012-05-14 21:45:31 +02003872 Format:
3873 {/dev/<dev> | PARTUUID=<uuid> | <int>:<int> | <hex>}
Linus Torvalds1da177e2005-04-16 15:20:36 -07003874
Rafael J. Wysockiecbd0da2006-12-06 20:34:13 -08003875 resume_offset= [SWSUSP]
3876 Specify the offset from the beginning of the partition
3877 given by "resume=" at which the swap header is located,
3878 in <PAGE_SIZE> units (needed only for swap files).
3879 See Documentation/power/swsusp-and-swap-files.txt
3880
Barry Songf126f732011-10-10 23:38:41 +02003881 resumedelay= [HIBERNATION] Delay (in seconds) to pause before attempting to
3882 read the resume files
3883
Barry Song6f8d7022011-10-06 20:34:46 +02003884 resumewait [HIBERNATION] Wait (indefinitely) for resume device to show up.
3885 Useful for devices that are detected asynchronously
3886 (e.g. USB and MMC devices).
3887
Bojan Smojverf996fc92010-09-09 23:06:23 +02003888 hibernate= [HIBERNATION]
3889 noresume Don't check if there's a hibernation image
3890 present during boot.
3891 nocompress Don't compress/decompress hibernation images.
Kees Cooka6e15a32014-06-13 13:30:35 -07003892 no Disable hibernation and resume.
Rafael J. Wysocki4c0b6c12016-07-10 02:12:10 +02003893 protect_image Turn on image protection during restoration
3894 (that will set all pages holding image data
3895 during restoration read-only).
Bojan Smojverf996fc92010-09-09 23:06:23 +02003896
Michael Neuling0a7b35cb2007-02-10 01:44:33 -08003897 retain_initrd [RAM] Keep initrd memory after extraction
3898
Andrew Clausen0efbb782015-01-09 20:24:55 +00003899 rfkill.default_state=
3900 0 "airplane mode". All wifi, bluetooth, wimax, gps, fm,
3901 etc. communication is blocked by default.
3902 1 Unblocked.
3903
3904 rfkill.master_switch_mode=
3905 0 The "airplane mode" button does nothing.
3906 1 The "airplane mode" button toggles between everything
3907 blocked and the previous configuration.
3908 2 The "airplane mode" button toggles between everything
3909 blocked and everything unblocked.
3910
Linus Torvalds1da177e2005-04-16 15:20:36 -07003911 rhash_entries= [KNL,NET]
3912 Set number of hash buckets for route cache
3913
Linus Torvalds1da177e2005-04-16 15:20:36 -07003914 ro [KNL] Mount root device read-only on boot
3915
Kees Cookd2aa1ac2016-02-17 14:41:13 -08003916 rodata= [KNL]
3917 on Mark read-only kernel memory as read-only (default).
3918 off Leave read-only kernel memory writable for debugging.
3919
Heiko Stuebner605df8a2016-02-22 12:55:01 +01003920 rockchip.usb_uart
3921 Enable the uart passthrough on the designated usb port
3922 on Rockchip SoCs. When active, the signals of the
3923 debug-uart get routed to the D+ and D- pins of the usb
3924 port and the regular usb controller gets disabled.
3925
Linus Torvalds1da177e2005-04-16 15:20:36 -07003926 root= [KNL] Root filesystem
Will Drewryf2d34fd2011-08-03 16:21:08 -07003927 See name_to_dev_t comment in init/do_mounts.c.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003928
3929 rootdelay= [KNL] Delay (in seconds) to pause before attempting to
3930 mount the root filesystem
3931
3932 rootflags= [KNL] Set root filesystem mount option string
3933
3934 rootfstype= [KNL] Set root filesystem type
3935
Pierre Ossmancc1ed752007-07-15 23:40:35 -07003936 rootwait [KNL] Wait (indefinitely) for root device to show up.
3937 Useful for devices that are detected asynchronously
3938 (e.g. USB and MMC devices).
3939
Robert Tivy5c71d612013-03-28 18:41:46 -07003940 rproc_mem=nn[KMG][@address]
3941 [KNL,ARM,CMA] Remoteproc physical memory block.
3942 Memory area to be used by remote processor image,
3943 managed by CMA.
3944
Linus Torvalds1da177e2005-04-16 15:20:36 -07003945 rw [KNL] Mount root device read-write on boot
3946
3947 S [KNL] Run init in single mode
3948
Gerald Schaeferc60d1ae2014-07-18 17:37:08 +02003949 s390_iommu= [HW,S390]
3950 Set s390 IOTLB flushing mode
3951 strict
3952 With strict flushing every unmap operation will result in
3953 an IOTLB flush. Default is lazy flushing before reuse,
3954 which is faster.
3955
Linus Torvalds1da177e2005-04-16 15:20:36 -07003956 sa1100ir [NET]
3957 See drivers/net/irda/sa1100_ir.c.
3958
Linus Torvalds1da177e2005-04-16 15:20:36 -07003959 sbni= [NET] Granch SBNI12 leased line adapter
Randy Dunlapa9913042005-10-23 12:57:11 -07003960
Mike Travisf6630112009-11-17 18:22:15 -06003961 sched_debug [KNL] Enables verbose scheduler debug messages.
3962
Mel Gormancb251762016-02-05 09:08:36 +00003963 schedstats= [KNL,X86] Enable or disable scheduled statistics.
3964 Allowed values are enable and disable. This feature
3965 incurs a small amount of overhead in the scheduler
3966 but is useful for debugging and performance tuning.
3967
Mike Galbraith5307c952012-05-08 12:20:58 +02003968 skew_tick= [KNL] Offset the periodic timer tick per cpu to mitigate
3969 xtime_lock contention on larger systems, and/or RCU lock
3970 contention on all systems with CONFIG_MAXSMP set.
3971 Format: { "0" | "1" }
3972 0 -- disable. (may be 1 via CONFIG_CMDLINE="skew_tick=1"
3973 1 -- enable.
3974 Note: increases power consumption, thus should only be
3975 enabled if running jitter sensitive (HPC/RT) workloads.
3976
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07003977 security= [SECURITY] Choose a security module to enable at boot.
3978 If this boot parameter is not specified, only the first
3979 security module asking for security registration will be
3980 loaded. An invalid security module name will be treated
3981 as if no module has been chosen.
3982
3983 selinux= [SELINUX] Disable or enable SELinux at boot time.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003984 Format: { "0" | "1" }
3985 See security/selinux/Kconfig help text.
3986 0 -- disable.
3987 1 -- enable.
3988 Default value is set via kernel config option.
3989 If enabled at boot time, /selinux/disable can be used
3990 later to disable prior to initial policy load.
3991
John Johansenc1c124e2010-07-29 14:48:09 -07003992 apparmor= [APPARMOR] Disable or enable AppArmor at boot time
3993 Format: { "0" | "1" }
3994 See security/apparmor/Kconfig help text
3995 0 -- disable.
3996 1 -- enable.
3997 Default value is set via kernel config option.
3998
Alan Coxcd4f0ef2007-07-31 00:37:59 -07003999 serialnumber [BUGS=X86-32]
Linus Torvalds1da177e2005-04-16 15:20:36 -07004000
Linus Torvalds1da177e2005-04-16 15:20:36 -07004001 shapers= [NET]
4002 Maximal number of shapers.
Randy Dunlapa9913042005-10-23 12:57:11 -07004003
Yinghai Lub05f78f2008-08-22 01:32:50 -07004004 show_msr= [x86] show boot-time MSR settings
4005 Format: { <integer> }
4006 Show boot-time (BIOS-initialized) MSR settings.
4007 The parameter means the number of CPUs to show,
4008 for example 1 means boot CPU only.
4009
Linus Torvalds1da177e2005-04-16 15:20:36 -07004010 simeth= [IA-64]
4011 simscsi=
Randy Dunlapa9913042005-10-23 12:57:11 -07004012
Linus Torvalds1da177e2005-04-16 15:20:36 -07004013 slram= [HW,MTD]
4014
Joonsoo Kim423c9292014-10-09 15:26:22 -07004015 slab_nomerge [MM]
4016 Disable merging of slabs with similar size. May be
4017 necessary if there is some reason to distinguish
4018 allocs to different slabs. Debug options disable
4019 merging on their own.
4020 For more information see Documentation/vm/slub.txt.
4021
David Rientjes3df1ccc2011-10-18 22:09:28 -07004022 slab_max_order= [MM, SLAB]
4023 Determines the maximum allowed order for slabs.
4024 A high setting may cause OOMs due to memory
4025 fragmentation. Defaults to 1 for systems with
4026 more than 32MB of RAM, 0 otherwise.
4027
Christoph Lameterf0630ff2007-07-15 23:38:14 -07004028 slub_debug[=options[,slabs]] [MM, SLUB]
4029 Enabling slub_debug allows one to determine the
4030 culprit if slab objects become corrupted. Enabling
4031 slub_debug can create guard zones around objects and
4032 may poison objects when not in use. Also tracks the
4033 last alloc / free. For more information see
4034 Documentation/vm/slub.txt.
Christoph Lameterc1aee212007-05-31 00:40:47 -07004035
4036 slub_max_order= [MM, SLUB]
Christoph Lameterf0630ff2007-07-15 23:38:14 -07004037 Determines the maximum allowed order for slabs.
4038 A high setting may cause OOMs due to memory
4039 fragmentation. For more information see
4040 Documentation/vm/slub.txt.
Christoph Lameterc1aee212007-05-31 00:40:47 -07004041
4042 slub_min_objects= [MM, SLUB]
Christoph Lameterf0630ff2007-07-15 23:38:14 -07004043 The minimum number of objects per slab. SLUB will
4044 increase the slab order up to slub_max_order to
4045 generate a sufficiently large slab able to contain
4046 the number of objects indicated. The higher the number
4047 of objects the smaller the overhead of tracking slabs
4048 and the less frequently locks need to be acquired.
Christoph Lameterc1aee212007-05-31 00:40:47 -07004049 For more information see Documentation/vm/slub.txt.
4050
4051 slub_min_order= [MM, SLUB]
Masanari Iida24775d62012-02-15 00:26:42 +09004052 Determines the minimum page order for slabs. Must be
Christoph Lameterf0630ff2007-07-15 23:38:14 -07004053 lower than slub_max_order.
Christoph Lameterc1aee212007-05-31 00:40:47 -07004054 For more information see Documentation/vm/slub.txt.
4055
4056 slub_nomerge [MM, SLUB]
Joonsoo Kim423c9292014-10-09 15:26:22 -07004057 Same with slab_nomerge. This is supported for legacy.
4058 See slab_nomerge for more information.
Christoph Lameterc1aee212007-05-31 00:40:47 -07004059
Linus Torvalds1da177e2005-04-16 15:20:36 -07004060 smart2= [HW]
4061 Format: <io1>[,<io2>[,...,<io8>]]
4062
Bjorn Helgaasd0d4f692007-05-08 00:36:05 -07004063 smsc-ircc2.nopnp [HW] Don't use PNP to discover SMC devices
4064 smsc-ircc2.ircc_cfg= [HW] Device configuration I/O port
4065 smsc-ircc2.ircc_sir= [HW] SIR base I/O port
4066 smsc-ircc2.ircc_fir= [HW] FIR base I/O port
4067 smsc-ircc2.ircc_irq= [HW] IRQ line
4068 smsc-ircc2.ircc_dma= [HW] DMA channel
4069 smsc-ircc2.ircc_transceiver= [HW] Transceiver type:
4070 0: Toshiba Satellite 1800 (GP data pin select)
4071 1: Fast pin select (default)
4072 2: ATC IRMode
4073
Sascha Silbe52c48c52016-04-05 12:53:38 +02004074 smt [KNL,S390] Set the maximum number of threads (logical
4075 CPUs) to use per physical CPU on systems capable of
4076 symmetric multithreading (SMT). Will be capped to the
4077 actual hardware limit.
4078 Format: <integer>
4079 Default: -1 (no limit)
4080
Ingo Molnar9c44bc02008-05-12 21:21:04 +02004081 softlockup_panic=
4082 [KNL] Should the soft-lockup detector generate panics.
Randy Dunlap44a4dcf2011-04-04 15:02:24 -07004083 Format: <integer>
Ingo Molnar9c44bc02008-05-12 21:21:04 +02004084
Aaron Tomlined235872014-06-23 13:22:05 -07004085 softlockup_all_cpu_backtrace=
4086 [KNL] Should the soft-lockup detector generate
4087 backtraces on all cpus.
4088 Format: <integer>
4089
Linus Torvalds1da177e2005-04-16 15:20:36 -07004090 sonypi.*= [HW] Sony Programmable I/O Control Device driver
Paul Bolle395cf962011-08-15 02:02:26 +02004091 See Documentation/laptops/sonypi.txt
Linus Torvalds1da177e2005-04-16 15:20:36 -07004092
David Woodhouse8f96937ee2018-01-11 21:46:26 +00004093 spectre_v2= [X86] Control mitigation of Spectre variant 2
4094 (indirect branch speculation) vulnerability.
Thomas Gleixnerdda365c2018-11-25 19:33:45 +01004095 The default operation protects the kernel from
4096 user space attacks.
David Woodhouse8f96937ee2018-01-11 21:46:26 +00004097
Thomas Gleixnerdda365c2018-11-25 19:33:45 +01004098 on - unconditionally enable, implies
4099 spectre_v2_user=on
4100 off - unconditionally disable, implies
4101 spectre_v2_user=off
David Woodhouse8f96937ee2018-01-11 21:46:26 +00004102 auto - kernel detects whether your CPU model is
4103 vulnerable
4104
4105 Selecting 'on' will, and 'auto' may, choose a
4106 mitigation method at run time according to the
4107 CPU, the available microcode, the setting of the
4108 CONFIG_RETPOLINE configuration option, and the
4109 compiler with which the kernel was built.
4110
Thomas Gleixnerdda365c2018-11-25 19:33:45 +01004111 Selecting 'on' will also enable the mitigation
4112 against user space to user space task attacks.
4113
4114 Selecting 'off' will disable both the kernel and
4115 the user space protections.
4116
David Woodhouse8f96937ee2018-01-11 21:46:26 +00004117 Specific mitigations can also be selected manually:
4118
4119 retpoline - replace indirect branches
4120 retpoline,generic - google's original retpoline
4121 retpoline,amd - AMD-specific minimal thunk
4122
4123 Not specifying this option is equivalent to
4124 spectre_v2=auto.
4125
Thomas Gleixnerdda365c2018-11-25 19:33:45 +01004126 spectre_v2_user=
4127 [X86] Control mitigation of Spectre variant 2
4128 (indirect branch speculation) vulnerability between
4129 user space tasks
4130
4131 on - Unconditionally enable mitigations. Is
4132 enforced by spectre_v2=on
4133
4134 off - Unconditionally disable mitigations. Is
4135 enforced by spectre_v2=off
4136
Thomas Gleixner91d9bbd2018-11-25 19:33:54 +01004137 prctl - Indirect branch speculation is enabled,
4138 but mitigation can be enabled via prctl
4139 per thread. The mitigation control state
4140 is inherited on fork.
4141
Thomas Gleixnere58cf372018-11-25 19:33:56 +01004142 prctl,ibpb
4143 - Like "prctl" above, but only STIBP is
4144 controlled per thread. IBPB is issued
4145 always when switching between different user
4146 space processes.
4147
Thomas Gleixner6f4b9252018-11-25 19:33:55 +01004148 seccomp
4149 - Same as "prctl" above, but all seccomp
4150 threads will enable the mitigation unless
4151 they explicitly opt out.
4152
Thomas Gleixnere58cf372018-11-25 19:33:56 +01004153 seccomp,ibpb
4154 - Like "seccomp" above, but only STIBP is
4155 controlled per thread. IBPB is issued
4156 always when switching between different
4157 user space processes.
4158
Thomas Gleixnerdda365c2018-11-25 19:33:45 +01004159 auto - Kernel selects the mitigation depending on
4160 the available CPU features and vulnerability.
Thomas Gleixner6f4b9252018-11-25 19:33:55 +01004161
4162 Default mitigation:
4163 If CONFIG_SECCOMP=y then "seccomp", otherwise "prctl"
Thomas Gleixnerdda365c2018-11-25 19:33:45 +01004164
4165 Not specifying this option is equivalent to
4166 spectre_v2_user=auto.
4167
Konrad Rzeszutek Wilk6f70a552018-04-25 22:04:21 -04004168 spec_store_bypass_disable=
4169 [HW] Control Speculative Store Bypass (SSB) Disable mitigation
4170 (Speculative Store Bypass vulnerability)
4171
4172 Certain CPUs are vulnerable to an exploit against a
4173 a common industry wide performance optimization known
4174 as "Speculative Store Bypass" in which recent stores
4175 to the same memory location may not be observed by
4176 later loads during speculative execution. The idea
4177 is that such stores are unlikely and that they can
4178 be detected prior to instruction retirement at the
4179 end of a particular speculation execution window.
4180
4181 In vulnerable processors, the speculatively forwarded
4182 store can be used in a cache side channel attack, for
4183 example to read memory to which the attacker does not
4184 directly have access (e.g. inside sandboxed code).
4185
4186 This parameter controls whether the Speculative Store
4187 Bypass optimization is used.
4188
Kees Cook05a85a32018-05-03 14:37:54 -07004189 on - Unconditionally disable Speculative Store Bypass
4190 off - Unconditionally enable Speculative Store Bypass
4191 auto - Kernel detects whether the CPU model contains an
4192 implementation of Speculative Store Bypass and
4193 picks the most appropriate mitigation. If the
4194 CPU is not vulnerable, "off" is selected. If the
4195 CPU is vulnerable the default mitigation is
4196 architecture and Kconfig dependent. See below.
4197 prctl - Control Speculative Store Bypass per thread
4198 via prctl. Speculative Store Bypass is enabled
4199 for a process by default. The state of the control
4200 is inherited on fork.
4201 seccomp - Same as "prctl" above, but all seccomp threads
4202 will disable SSB unless they explicitly opt out.
Konrad Rzeszutek Wilk6f70a552018-04-25 22:04:21 -04004203
4204 Not specifying this option is equivalent to
4205 spec_store_bypass_disable=auto.
4206
Kees Cook05a85a32018-05-03 14:37:54 -07004207 Default mitigations:
4208 X86: If CONFIG_SECCOMP=y "seccomp", otherwise "prctl"
4209
Linus Torvalds1da177e2005-04-16 15:20:36 -07004210 spia_io_base= [HW,MTD]
4211 spia_fio_base=
4212 spia_pedr=
4213 spia_peddr=
4214
Marc Zyngier3a64e6a2018-07-20 10:56:25 +01004215 ssbd= [ARM64,HW]
4216 Speculative Store Bypass Disable control
4217
4218 On CPUs that are vulnerable to the Speculative
4219 Store Bypass vulnerability and offer a
4220 firmware based mitigation, this parameter
4221 indicates how the mitigation should be used:
4222
4223 force-on: Unconditionally enable mitigation for
4224 for both kernel and userspace
4225 force-off: Unconditionally disable mitigation for
4226 for both kernel and userspace
4227 kernel: Always enable mitigation in the
4228 kernel, and offer a prctl interface
4229 to allow userspace to register its
4230 interest in being mitigated too.
4231
Hugh Dickinscfc0eb402017-06-19 04:03:24 -07004232 stack_guard_gap= [MM]
4233 override the default stack gap protection. The value
4234 is in page units and it defines how many pages prior
4235 to (for stacks growing down) resp. after (for stacks
4236 growing up) the main stack are reserved for no other
4237 mapping. Default value is 256 pages.
4238
Steven Rostedtf38f1d22008-12-16 23:06:40 -05004239 stacktrace [FTRACE]
4240 Enabled the stack tracer on boot up.
4241
Steven Rostedt762e1202011-12-19 22:01:00 -05004242 stacktrace_filter=[function-list]
4243 [FTRACE] Limit the functions that the stack tracer
4244 will trace at boot up. function-list is a comma separated
4245 list of functions. This list can be changed at run
4246 time by the stack_trace_filter file in the debugfs
4247 tracing directory. Note, this enables stack tracing
4248 and the stacktrace above is not needed.
4249
Linus Torvalds1da177e2005-04-16 15:20:36 -07004250 sti= [PARISC,HW]
4251 Format: <num>
4252 Set the STI (builtin display/keyboard on the HP-PARISC
4253 machines) console (graphic card) which should be used
4254 as the initial boot-console.
4255 See also comment in drivers/video/console/sticore.c.
4256
4257 sti_font= [HW]
4258 See comment in drivers/video/console/sticore.c.
4259
4260 stifb= [HW]
4261 Format: bpp:<bpp1>[:<bpp2>[:<bpp3>...]]
4262
Trond Myklebustcbf11072009-08-09 15:06:19 -04004263 sunrpc.min_resvport=
4264 sunrpc.max_resvport=
4265 [NFS,SUNRPC]
4266 SunRPC servers often require that client requests
4267 originate from a privileged port (i.e. a port in the
4268 range 0 < portnr < 1024).
4269 An administrator who wishes to reserve some of these
4270 ports for other uses may adjust the range that the
4271 kernel's sunrpc client considers to be privileged
4272 using these two parameters to set the minimum and
4273 maximum port values.
4274
Trond Myklebustff3ac5c2016-06-24 10:55:50 -04004275 sunrpc.svc_rpc_per_connection_limit=
4276 [NFS,SUNRPC]
4277 Limit the number of requests that the server will
4278 process in parallel from a single connection.
4279 The default value is 0 (no limit).
4280
Greg Banks42a7fc42007-03-06 01:42:23 -08004281 sunrpc.pool_mode=
4282 [NFS]
4283 Control how the NFS server code allocates CPUs to
4284 service thread pools. Depending on how many NICs
4285 you have and where their interrupts are bound, this
4286 option will affect which CPUs will do NFS serving.
4287 Note: this parameter cannot be changed while the
4288 NFS server is running.
4289
4290 auto the server chooses an appropriate mode
4291 automatically using heuristics
4292 global a single global pool contains all CPUs
4293 percpu one pool for each CPU
4294 pernode one pool for each NUMA node (equivalent
4295 to global on non-NUMA machines)
4296
Trond Myklebustcbf11072009-08-09 15:06:19 -04004297 sunrpc.tcp_slot_table_entries=
4298 sunrpc.udp_slot_table_entries=
4299 [NFS,SUNRPC]
4300 Sets the upper limit on the number of simultaneous
4301 RPC calls that can be sent from the client to a
4302 server. Increasing these values may allow you to
4303 improve throughput, but will also increase the
4304 amount of memory reserved for use by the client.
4305
Brian Norris1d4a9c12015-02-22 21:16:49 -08004306 suspend.pm_test_delay=
4307 [SUSPEND]
4308 Sets the number of seconds to remain in a suspend test
4309 mode before resuming the system (see
4310 /sys/power/pm_test). Only available when CONFIG_PM_DEBUG
4311 is set. Default value is 5.
4312
Michal Hocko07555ac2013-08-22 16:35:46 -07004313 swapaccount=[0|1]
Michal Hockoa42c3902010-11-24 12:57:08 -08004314 [KNL] Enable accounting of swap in memory resource
4315 controller if no parameter or 1 is given or disable
seokhoon.yoon09c3bcc2016-08-02 23:23:57 +09004316 it if 0 is given (See Documentation/cgroup-v1/memory.txt)
Michal Hockoa42c3902010-11-24 12:57:08 -08004317
Jiri Kosina91fec0f2013-11-27 13:48:09 +01004318 swiotlb= [ARM,IA-64,PPC,MIPS,X86]
Geert Uytterhoeven41c6b3e2016-12-16 14:28:42 +01004319 Format: { <int> | force | noforce }
Jiri Kosina91fec0f2013-11-27 13:48:09 +01004320 <int> -- Number of I/O TLB slabs
4321 force -- force using of bounce buffers even if they
4322 wouldn't be automatically used by the kernel
Geert Uytterhoeven41c6b3e2016-12-16 14:28:42 +01004323 noforce -- Never use bounce buffers (for debugging)
Randy Dunlapa9913042005-10-23 12:57:11 -07004324
Linus Torvalds1da177e2005-04-16 15:20:36 -07004325 switches= [HW,M68k]
4326
Andi Kleene52eec12010-09-08 16:54:17 +02004327 sysfs.deprecated=0|1 [KNL]
4328 Enable/disable old style sysfs layout for old udev
4329 on older distributions. When this option is enabled
4330 very new udev will not work anymore. When this option
4331 is disabled (or CONFIG_SYSFS_DEPRECATED not compiled)
4332 in older udev will not work anymore.
4333 Default depends on CONFIG_SYSFS_DEPRECATED_V2 set in
4334 the kernel configuration.
4335
Ingo Molnar5d6f6472006-12-13 00:34:36 -08004336 sysrq_always_enabled
4337 [KNL]
4338 Ignore sysrq setting - this boot parameter will
4339 neutralize any effect of /proc/sys/kernel/sysrq.
4340 Useful for debugging.
4341
Fabian Frederick747029a2014-11-06 19:46:50 +01004342 tcpmhash_entries= [KNL,NET]
4343 Set the number of tcp_metrics_hash slots.
4344 Default value is 8192 or 16384 depending on total
4345 ram pages. This is used to specify the TCP metrics
4346 cache size. See Documentation/networking/ip-sysctl.txt
4347 "tcp_no_metrics_save" section for more details.
4348
Linus Torvalds1da177e2005-04-16 15:20:36 -07004349 tdfx= [HW,DRM]
4350
Srinivas Pandruvadaacc82342014-09-02 11:54:41 -07004351 test_suspend= [SUSPEND][,N]
David Brownell77437fd2008-07-23 21:28:33 -07004352 Specify "mem" (for Suspend-to-RAM) or "standby" (for
Srinivas Pandruvadaacc82342014-09-02 11:54:41 -07004353 standby suspend) or "freeze" (for suspend type freeze)
4354 as the system sleep state during system startup with
4355 the optional capability to repeat N number of times.
4356 The system is woken from this state using a
4357 wakeup-capable RTC alarm.
David Brownell77437fd2008-07-23 21:28:33 -07004358
Linus Torvalds1da177e2005-04-16 15:20:36 -07004359 thash_entries= [KNL,NET]
4360 Set number of hash buckets for TCP connection
4361
Len Brownf8707ec2007-08-12 00:12:54 -04004362 thermal.act= [HW,ACPI]
4363 -1: disable all active trip points in all thermal zones
4364 <degrees C>: override all lowest active trip points
4365
Len Brownc52a7412007-08-14 15:49:32 -04004366 thermal.crt= [HW,ACPI]
4367 -1: disable all critical trip points in all thermal zones
Zhang Rui22a94d72008-10-17 02:41:20 -04004368 <degrees C>: override all critical trip points
Len Brownc52a7412007-08-14 15:49:32 -04004369
Len Brownf5487142007-08-12 00:12:44 -04004370 thermal.nocrt= [HW,ACPI]
4371 Set to disable actions on ACPI thermal zone
4372 critical and hot trip points.
4373
Len Brown72b33ef2007-08-12 00:12:17 -04004374 thermal.off= [HW,ACPI]
4375 1: disable ACPI thermal control
4376
Len Browna70cdc52007-08-12 00:12:35 -04004377 thermal.psv= [HW,ACPI]
4378 -1: disable all passive trip points
Randy Dunlapada9cfd2008-12-19 10:57:32 -08004379 <degrees C>: override all passive trip points to this
4380 value
Len Browna70cdc52007-08-12 00:12:35 -04004381
Len Brown730ff342007-08-12 00:12:26 -04004382 thermal.tzp= [HW,ACPI]
4383 Specify global default ACPI thermal zone polling rate
4384 <deci-seconds>: poll all this frequency
4385 0: no polling (default)
4386
Thomas Gleixner8d32a302011-02-23 23:52:23 +00004387 threadirqs [KNL]
4388 Force threading of all interrupt handlers except those
Masanari Iida24775d62012-02-15 00:26:42 +09004389 marked explicitly IRQF_NO_THREAD.
Thomas Gleixner8d32a302011-02-23 23:52:23 +00004390
Konrad Rzeszutek Wilk2ca62b02013-05-08 17:12:44 -04004391 tmem [KNL,XEN]
4392 Enable the Transcendent memory driver if built-in.
4393
4394 tmem.cleancache=0|1 [KNL, XEN]
4395 Default is on (1). Disable the usage of the cleancache
4396 API to send anonymous pages to the hypervisor.
4397
4398 tmem.frontswap=0|1 [KNL, XEN]
4399 Default is on (1). Disable the usage of the frontswap
Konrad Rzeszutek Wilk37d46e12013-05-14 13:56:42 -04004400 API to send swap pages to the hypervisor. If disabled
4401 the selfballooning and selfshrinking are force disabled.
Konrad Rzeszutek Wilk2ca62b02013-05-08 17:12:44 -04004402
4403 tmem.selfballooning=0|1 [KNL, XEN]
4404 Default is on (1). Disable the driving of swap pages
4405 to the hypervisor.
4406
4407 tmem.selfshrinking=0|1 [KNL, XEN]
4408 Default is on (1). Partial swapoff that immediately
4409 transfers pages from Xen hypervisor back to the
4410 kernel based on different criteria.
4411
Heiko Carstens2b1a61f2008-12-25 13:39:23 +01004412 topology= [S390]
4413 Format: {off | on}
4414 Specify if the kernel should make use of the cpu
Sylvestre Ledruf65e51d2011-04-04 15:04:46 -07004415 topology information if the hardware supports this.
4416 The scheduler will make use of this information and
Heiko Carstens2b1a61f2008-12-25 13:39:23 +01004417 e.g. base its process migration decisions on it.
Heiko Carstensc9af3fa2010-10-25 16:10:43 +02004418 Default is on.
Heiko Carstens2b1a61f2008-12-25 13:39:23 +01004419
Nishanth Aravamudan2d73bae2014-10-10 09:04:49 -07004420 topology_updates= [KNL, PPC, NUMA]
4421 Format: {off}
4422 Specify if the kernel should ignore (off)
4423 topology updates sent by the hypervisor to this
4424 LPAR.
4425
Linus Torvalds1da177e2005-04-16 15:20:36 -07004426 tp720= [HW,PS2]
4427
Rajiv Andrade225a9be2010-03-25 00:55:32 -03004428 tpm_suspend_pcr=[HW,TPM]
4429 Format: integer pcr id
4430 Specify that at suspend time, the tpm driver
4431 should extend the specified pcr with zeros,
4432 as a workaround for some chips which fail to
4433 flush the last written pcr on TPM_SaveState.
4434 This will guarantee that all the other pcrs
4435 are saved.
4436
Li Zefan9d612be2009-06-24 17:33:15 +08004437 trace_buf_size=nn[KMG]
Joonsoo Kim3e6fb8e2014-12-03 10:39:20 +09004438 [FTRACE] will set tracing buffer size on each cpu.
KOSAKI Motohiro631595f2009-03-10 13:57:10 +09004439
Li Zefan020e5f82009-07-01 10:47:05 +08004440 trace_event=[event-list]
4441 [FTRACE] Set and start specified trace events in order
Brian Norrisd81749e2016-05-23 13:37:58 -07004442 to facilitate early boot debugging. The event-list is a
4443 comma separated list of trace events to enable. See
4444 also Documentation/trace/events.txt
Li Zefan020e5f82009-07-01 10:47:05 +08004445
Steven Rostedt7bcfaf52012-11-01 22:56:07 -04004446 trace_options=[option-list]
4447 [FTRACE] Enable or disable tracer options at boot.
4448 The option-list is a comma delimited list of options
4449 that can be enabled or disabled just as if you were
4450 to echo the option name into
4451
4452 /sys/kernel/debug/tracing/trace_options
4453
4454 For example, to enable stacktrace option (to dump the
4455 stack trace of each event), add to the command line:
4456
4457 trace_options=stacktrace
4458
4459 See also Documentation/trace/ftrace.txt "trace options"
4460 section.
4461
Steven Rostedt (Red Hat)0daa23022014-12-12 22:27:10 -05004462 tp_printk[FTRACE]
4463 Have the tracepoints sent to printk as well as the
4464 tracing ring buffer. This is useful for early boot up
4465 where the system hangs or reboots and does not give the
4466 option for reading the tracing buffer or performing a
4467 ftrace_dump_on_oops.
4468
4469 To turn off having tracepoints sent to printk,
4470 echo 0 > /proc/sys/kernel/tracepoint_printk
4471 Note, echoing 1 into this file without the
4472 tracepoint_printk kernel cmdline option has no effect.
4473
4474 ** CAUTION **
4475
4476 Having tracepoints sent to printk() and activating high
4477 frequency tracepoints such as irq or sched, can cause
4478 the system to live lock.
4479
Steven Rostedt (Red Hat)de7edd32013-06-14 16:21:43 -04004480 traceoff_on_warning
4481 [FTRACE] enable this option to disable tracing when a
4482 warning is hit. This turns off "tracing_on". Tracing can
4483 be enabled again by echoing '1' into the "tracing_on"
4484 file located in /sys/kernel/debug/tracing/
4485
4486 This option is useful, as it disables the trace before
4487 the WARNING dump is called, which prevents the trace to
4488 be filled with content caused by the warning output.
4489
4490 This option can also be set at run time via the sysctl
4491 option: kernel/traceoff_on_warning
4492
Jiri Kosinafcf4d822012-03-21 16:34:02 -07004493 transparent_hugepage=
4494 [KNL]
4495 Format: [always|madvise|never]
4496 Can be used to control the default behavior of the system
4497 with respect to transparent hugepages.
4498 See Documentation/vm/transhuge.txt for more details.
4499
john stultzd3b8f882009-08-17 16:40:47 -07004500 tsc= Disable clocksource stability checks for TSC.
Alok Kataria395628e2008-10-24 17:22:01 -07004501 Format: <string>
4502 [x86] reliable: mark tsc clocksource as reliable, this
john stultzd3b8f882009-08-17 16:40:47 -07004503 disables clocksource verification at runtime, as well
4504 as the stability checks done at bootup. Used to enable
4505 high-resolution timer mode on older hardware, and in
4506 virtualized environment.
Venkatesh Pallipadie82b8e42010-10-04 17:03:20 -07004507 [x86] noirqtime: Do not use TSC to do irq accounting.
4508 Used to run time disable IRQ_TIME_ACCOUNTING on any
4509 platforms where RDTSC is slow and this accounting
4510 can add overhead.
Alok Kataria395628e2008-10-24 17:22:01 -07004511
Randy Dunlapa9913042005-10-23 12:57:11 -07004512 turbografx.map[2|3]= [HW,JOY]
4513 TurboGraFX parallel port interface
4514 Format:
4515 <port#>,<js1>,<js2>,<js3>,<js4>,<js5>,<js6>,<js7>
Linus Torvalds1da177e2005-04-16 15:20:36 -07004516 See also Documentation/input/joystick-parport.txt
4517
Christian Kujaub6935f82011-05-31 15:22:05 +00004518 udbg-immortal [PPC] When debugging early kernel crashes that
4519 happen after console_init() and before a proper
4520 console driver takes over, this boot options might
4521 help "seeing" what's going on.
4522
Eric Dumazetf86dcc52009-10-07 00:37:59 +00004523 uhash_entries= [KNL,NET]
4524 Set number of hash buckets for UDP/UDP-Lite connections
4525
Alan Stern5f8364b2006-12-05 16:29:55 -05004526 uhci-hcd.ignore_oc=
4527 [USB] Ignore overcurrent events (default N).
4528 Some badly-designed motherboards generate lots of
4529 bogus events, for ports that aren't wired to
4530 anything. Set this parameter to avoid log spamming.
4531 Note that genuine overcurrent events won't be
4532 reported either.
4533
Simon Arlotte3a61b02008-07-19 23:32:54 +01004534 unknown_nmi_panic
Randy Dunlap44a4dcf2011-04-04 15:02:24 -07004535 [X86] Cause panic on unknown NMI.
Simon Arlotte3a61b02008-07-19 23:32:54 +01004536
Carl-Daniel Hailfingerc4fc2342011-05-31 21:31:08 +02004537 usbcore.authorized_default=
4538 [USB] Default USB device authorization:
4539 (default -1 = authorized except for wireless USB,
4540 0 = not authorized, 1 = authorized)
4541
Alan Sternb5e795f2007-02-20 15:00:53 -05004542 usbcore.autosuspend=
4543 [USB] The autosuspend time delay (in seconds) used
4544 for newly-detected USB devices (default 2). This
4545 is the time required before an idle device will be
4546 autosuspended. Devices for which the delay is set
Alan Sterneaafbc32007-03-13 16:39:15 -04004547 to a negative value won't be autosuspended at all.
Alan Sternb5e795f2007-02-20 15:00:53 -05004548
Jaroslav Kyselafd7c5192008-10-10 16:24:45 +02004549 usbcore.usbfs_snoop=
4550 [USB] Set to log all usbfs traffic (default 0 = off).
4551
Alan Stern0290cc92015-11-20 13:53:22 -05004552 usbcore.usbfs_snoop_max=
4553 [USB] Maximum number of bytes to snoop in each URB
4554 (default = 65536).
4555
Jaroslav Kyselafd7c5192008-10-10 16:24:45 +02004556 usbcore.blinkenlights=
4557 [USB] Set to cycle leds on hubs (default 0 = off).
4558
4559 usbcore.old_scheme_first=
4560 [USB] Start with the old device initialization
4561 scheme (default 0 = off).
4562
Alan Stern3f5eb8d2011-11-17 16:41:35 -05004563 usbcore.usbfs_memory_mb=
4564 [USB] Memory limit (in MB) for buffers allocated by
4565 usbfs (default = 16, 0 = max = 2047).
4566
Jaroslav Kyselafd7c5192008-10-10 16:24:45 +02004567 usbcore.use_both_schemes=
4568 [USB] Try the other device initialization scheme
4569 if the first one fails (default 1 = enabled).
4570
4571 usbcore.initial_descriptor_timeout=
4572 [USB] Specifies timeout for the initial 64-byte
4573 USB_REQ_GET_DESCRIPTOR request in milliseconds
4574 (default 5000 = 5.0 seconds).
4575
Oliver Neukum40d58142015-12-03 15:03:32 +01004576 usbcore.nousb [USB] Disable the USB subsystem
4577
Linus Torvalds1da177e2005-04-16 15:20:36 -07004578 usbhid.mousepoll=
4579 [USBHID] The interval which mice are to be polled at.
Randy Dunlapa9913042005-10-23 12:57:11 -07004580
Alan Sternd4f373e2008-11-10 14:07:45 -05004581 usb-storage.delay_use=
4582 [UMS] The delay in seconds before a new device is
Mark Knibbs19101952014-11-04 13:00:15 +00004583 scanned for Logical Units (default 1).
Alan Sternd4f373e2008-11-10 14:07:45 -05004584
4585 usb-storage.quirks=
4586 [UMS] A list of quirks entries to supplement or
4587 override the built-in unusual_devs list. List
4588 entries are separated by commas. Each entry has
4589 the form VID:PID:Flags where VID and PID are Vendor
4590 and Product ID values (4-digit hex numbers) and
4591 Flags is a set of characters, each corresponding
4592 to a common usb-storage quirk flag as follows:
Alan Sternc838ea42008-12-15 10:40:06 -05004593 a = SANE_SENSE (collect more than 18 bytes
4594 of sense data);
Alan Sterna0bb1082009-12-07 16:39:16 -05004595 b = BAD_SENSE (don't collect more than 18
4596 bytes of sense data);
Alan Sternd4f373e2008-11-10 14:07:45 -05004597 c = FIX_CAPACITY (decrease the reported
4598 device capacity by one sector);
Karl Relton51169012011-05-18 21:42:34 +01004599 d = NO_READ_DISC_INFO (don't use
4600 READ_DISC_INFO command);
4601 e = NO_READ_CAPACITY_16 (don't use
4602 READ_CAPACITY_16 command);
Hans de Goede734016b2014-09-16 18:36:52 +02004603 f = NO_REPORT_OPCODES (don't use report opcodes
4604 command, uas only);
Hans de Goedeee136af2015-04-21 11:20:31 +02004605 g = MAX_SECTORS_240 (don't transfer more than
4606 240 sectors at a time, uas only);
Alan Sternc838ea42008-12-15 10:40:06 -05004607 h = CAPACITY_HEURISTICS (decrease the
4608 reported device capacity by one
4609 sector if the number is odd);
Alan Sternd4f373e2008-11-10 14:07:45 -05004610 i = IGNORE_DEVICE (don't bind to this
4611 device);
Hans de Goede13630742016-04-12 12:27:09 +02004612 j = NO_REPORT_LUNS (don't use report luns
4613 command, uas only);
Alan Sternd4f373e2008-11-10 14:07:45 -05004614 l = NOT_LOCKABLE (don't try to lock and
4615 unlock ejectable media);
4616 m = MAX_SECTORS_64 (don't transfer more
4617 than 64 sectors = 32 KB at a time);
Alan Stern21c13a42011-06-07 11:35:52 -04004618 n = INITIAL_READ10 (force a retry of the
4619 initial READ(10) command);
Alan Sternc838ea42008-12-15 10:40:06 -05004620 o = CAPACITY_OK (accept the capacity
4621 reported by the device);
Namjae Jeoneaa05df2012-07-07 23:05:28 -04004622 p = WRITE_CACHE (the device cache is ON
4623 by default);
Alan Sternd4f373e2008-11-10 14:07:45 -05004624 r = IGNORE_RESIDUE (the device reports
4625 bogus residue values);
4626 s = SINGLE_LUN (the device has only one
4627 Logical Unit);
Hans de Goede59307852014-09-15 16:04:12 +02004628 t = NO_ATA_1X (don't allow ATA(12) and ATA(16)
4629 commands, uas only);
Alan Sternb6089f12014-09-02 15:42:18 -04004630 u = IGNORE_UAS (don't bind to the uas driver);
Alan Sternd4f373e2008-11-10 14:07:45 -05004631 w = NO_WP_DETECT (don't test whether the
4632 medium is write-protected).
Oliver Neukum050bc4e2016-09-12 15:19:41 +02004633 y = ALWAYS_SYNC (issue a SYNCHRONIZE_CACHE
4634 even if the device claims no cache)
Alan Sternd4f373e2008-11-10 14:07:45 -05004635 Example: quirks=0419:aaf5:rl,0421:0433:rc
4636
Stephen Boydac1667d2011-08-13 12:34:50 -07004637 user_debug= [KNL,ARM]
4638 Format: <int>
4639 See arch/arm/Kconfig.debug help text.
4640 1 - undefined instruction events
4641 2 - system calls
4642 4 - invalid data aborts
4643 8 - SIGSEGV faults
4644 16 - SIGBUS faults
4645 Example: user_debug=31
4646
Ian Campbell14315592010-02-17 10:38:10 +00004647 userpte=
4648 [X86] Flags controlling user PTE allocations.
4649
4650 nohigh = do not allocate PTE pages in
4651 HIGHMEM regardless of setting
4652 of CONFIG_HIGHPTE.
4653
Jaswinder Singh Rajput6cececf2009-04-14 14:03:43 +05304654 vdso= [X86,SH]
Andy Lutomirskib0b49f22014-03-13 16:01:26 -07004655 On X86_32, this is an alias for vdso32=. Otherwise:
4656
4657 vdso=1: enable VDSO (the default)
Ingo Molnare6e54942006-06-27 02:53:50 -07004658 vdso=0: disable VDSO mapping
4659
Andy Lutomirskib0b49f22014-03-13 16:01:26 -07004660 vdso32= [X86] Control the 32-bit vDSO
4661 vdso32=1: enable 32-bit VDSO
4662 vdso32=0 or vdso32=2: disable 32-bit VDSO
4663
4664 See the help text for CONFIG_COMPAT_VDSO for more
4665 details. If CONFIG_COMPAT_VDSO is set, the default is
4666 vdso32=0; otherwise, the default is vdso32=1.
4667
4668 For compatibility with older kernels, vdso32=2 is an
4669 alias for vdso32=0.
4670
4671 Try vdso32=0 if you encounter an error that says:
4672 dl_main: Assertion `(void *) ph->p_vaddr == _rtld_local._dl_sysinfo_dso' failed!
Roland McGrathaf65d642008-01-30 13:30:43 +01004673
Yasuaki Ishimatsud080d392007-07-17 21:22:55 +09004674 vector= [IA-64,SMP]
4675 vector=percpu: enable percpu vector domain
4676
Linus Torvalds1da177e2005-04-16 15:20:36 -07004677 video= [FB] Frame buffer configuration
4678 See Documentation/fb/modedb.txt.
4679
Aaron Lu3afe6da2013-06-20 15:08:55 +08004680 video.brightness_switch_enabled= [0,1]
4681 If set to 1, on receiving an ACPI notify event
4682 generated by hotkey, video driver will adjust brightness
4683 level and then send out the event to user space through
4684 the allocated input device; If set to 0, video driver
4685 will only send out the event without touching backlight
4686 brightness level.
Rafael J. Wysocki28437682014-07-14 19:35:45 +02004687 default: 1
Aaron Lu3afe6da2013-06-20 15:08:55 +08004688
Pawel Moll81a054c2012-05-09 18:30:16 +01004689 virtio_mmio.device=
4690 [VMMIO] Memory mapped virtio (platform) device.
4691
4692 <size>@<baseaddr>:<irq>[:<id>]
4693 where:
4694 <size> := size (can use standard suffixes
4695 like K, M and G)
4696 <baseaddr> := physical base address
4697 <irq> := interrupt number (as passed to
4698 request_irq())
4699 <id> := (optional) platform device id
4700 example:
4701 virtio_mmio.device=1K@0x100b0000:48:7
4702
4703 Can be used multiple times for multiple devices.
4704
Alan Coxcd4f0ef2007-07-31 00:37:59 -07004705 vga= [BOOT,X86-32] Select a particular video mode
Kyle McMartin954a8b82009-02-19 16:48:14 -05004706 See Documentation/x86/boot.txt and
Randy Dunlapa9913042005-10-23 12:57:11 -07004707 Documentation/svga.txt.
Linus Torvalds1da177e2005-04-16 15:20:36 -07004708 Use vga=ask for menu.
4709 This is actually a boot loader parameter; the value is
4710 passed to the kernel using a special protocol.
4711
Randy Dunlapa9913042005-10-23 12:57:11 -07004712 vmalloc=nn[KMG] [KNL,BOOT] Forces the vmalloc area to have an exact
Linus Torvalds1da177e2005-04-16 15:20:36 -07004713 size of <nn>. This can be used to increase the
4714 minimum size (128MB on x86). It can also be used to
4715 decrease the size and leave more room for directly
4716 mapped kernel RAM.
4717
Peter Oberparleiter585c3042006-06-29 15:08:25 +02004718 vmhalt= [KNL,S390] Perform z/VM CP command after system halt.
4719 Format: <command>
Linus Torvalds1da177e2005-04-16 15:20:36 -07004720
Peter Oberparleiter585c3042006-06-29 15:08:25 +02004721 vmpanic= [KNL,S390] Perform z/VM CP command after kernel panic.
4722 Format: <command>
4723
4724 vmpoff= [KNL,S390] Perform z/VM CP command after power off.
4725 Format: <command>
Randy Dunlapa9913042005-10-23 12:57:11 -07004726
Andy Lutomirski3ae36652011-08-10 11:15:32 -04004727 vsyscall= [X86-64]
4728 Controls the behavior of vsyscalls (i.e. calls to
4729 fixed addresses of 0xffffffffff600x00 from legacy
4730 code). Most statically-linked binaries and older
4731 versions of glibc use these calls. Because these
4732 functions are at fixed addresses, they make nice
4733 targets for exploits that can control RIP.
4734
Andy Lutomirski2e57ae02011-11-07 16:33:41 -08004735 emulate [default] Vsyscalls turn into traps and are
4736 emulated reasonably safely.
Andy Lutomirski3ae36652011-08-10 11:15:32 -04004737
Andy Lutomirski2e57ae02011-11-07 16:33:41 -08004738 native Vsyscalls are native syscall instructions.
Andy Lutomirski3ae36652011-08-10 11:15:32 -04004739 This is a little bit faster than trapping
4740 and makes a few dynamic recompilers work
4741 better than they would in emulation mode.
4742 It also makes exploits much easier to write.
4743
4744 none Vsyscalls don't work at all. This makes
4745 them quite hard to use for exploits but
4746 might break your system.
4747
Clemens Ladisch3855ae12013-08-04 13:09:50 +02004748 vt.color= [VT] Default text color.
4749 Format: 0xYX, X = foreground, Y = background.
4750 Default: 0x07 = light gray on black.
4751
Clemens Ladisch9ea9a882009-12-15 16:45:39 -08004752 vt.cur_default= [VT] Default cursor shape.
4753 Format: 0xCCBBAA, where AA, BB, and CC are the same as
4754 the parameters of the <Esc>[?A;B;Cc escape sequence;
4755 see VGA-softcursor.txt. Default: 2 = underline.
4756
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07004757 vt.default_blu= [VT]
4758 Format: <blue0>,<blue1>,<blue2>,...,<blue15>
4759 Change the default blue palette of the console.
4760 This is a 16-member array composed of values
4761 ranging from 0-255.
4762
4763 vt.default_grn= [VT]
4764 Format: <green0>,<green1>,<green2>,...,<green15>
4765 Change the default green palette of the console.
4766 This is a 16-member array composed of values
4767 ranging from 0-255.
4768
4769 vt.default_red= [VT]
4770 Format: <red0>,<red1>,<red2>,...,<red15>
4771 Change the default red palette of the console.
4772 This is a 16-member array composed of values
4773 ranging from 0-255.
4774
4775 vt.default_utf8=
4776 [VT]
4777 Format=<0|1>
4778 Set system-wide default UTF-8 mode for all tty's.
4779 Default is 1, i.e. UTF-8 mode is enabled for all
4780 newly opened terminals.
4781
Matthew Garrettf6c06b62009-11-13 15:14:11 -05004782 vt.global_cursor_default=
4783 [VT]
4784 Format=<-1|0|1>
4785 Set system-wide default for whether a cursor
4786 is shown on new VTs. Default is -1,
4787 i.e. cursors will be created by default unless
4788 overridden by individual drivers. 0 will hide
4789 cursors, 1 will display them.
4790
Clemens Ladisch3855ae12013-08-04 13:09:50 +02004791 vt.italic= [VT] Default color for italic text; 0-15.
4792 Default: 2 = green.
4793
4794 vt.underline= [VT] Default color for underlined text; 0-15.
4795 Default: 3 = cyan.
4796
Randy Dunlap4724ba572010-05-03 11:42:52 -07004797 watchdog timers [HW,WDT] For information on watchdog timers,
4798 see Documentation/watchdog/watchdog-parameters.txt
4799 or other driver-specific files in the
4800 Documentation/watchdog/ directory.
Linus Torvalds1da177e2005-04-16 15:20:36 -07004801
Tejun Heo82607adc2015-12-08 11:28:04 -05004802 workqueue.watchdog_thresh=
4803 If CONFIG_WQ_WATCHDOG is configured, workqueue can
4804 warn stall conditions and dump internal state to
4805 help debugging. 0 disables workqueue stall
4806 detection; otherwise, it's the stall threshold
4807 duration in seconds. The default value is 30 and
4808 it can be updated at runtime by writing to the
4809 corresponding sysfs file.
4810
Tejun Heod55262c2013-04-01 11:23:38 -07004811 workqueue.disable_numa
4812 By default, all work items queued to unbound
4813 workqueues are affine to the NUMA nodes they're
4814 issued on, which results in better behavior in
4815 general. If NUMA affinity needs to be disabled for
4816 whatever reason, this option can be used. Note
4817 that this also can be controlled per-workqueue for
4818 workqueues visible under /sys/bus/workqueue/.
4819
Viresh Kumarcee22a12013-04-08 16:45:40 +05304820 workqueue.power_efficient
4821 Per-cpu workqueues are generally preferred because
4822 they show better performance thanks to cache
4823 locality; unfortunately, per-cpu workqueues tend to
4824 be more power hungry than unbound workqueues.
4825
4826 Enabling this makes the per-cpu workqueues which
4827 were observed to contribute significantly to power
4828 consumption unbound, leading to measurably lower
4829 power usage at the cost of small performance
4830 overhead.
4831
4832 The default value of this parameter is determined by
4833 the config option CONFIG_WQ_POWER_EFFICIENT_DEFAULT.
4834
Tejun Heof303fcc2016-02-09 17:59:38 -05004835 workqueue.debug_force_rr_cpu
4836 Workqueue used to implicitly guarantee that work
4837 items queued without explicit CPU specified are put
4838 on the local CPU. This guarantee is no longer true
4839 and while local CPU is still preferred work items
4840 may be put on foreign CPUs. This debug option
4841 forces round-robin CPU selection to flush out
4842 usages which depend on the now broken guarantee.
4843 When enabled, memory and cache locality will be
4844 impacted.
4845
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07004846 x2apic_phys [X86-64,APIC] Use x2apic physical mode instead of
4847 default x2apic cluster mode on platforms
4848 supporting x2apic.
4849
Kuppuswamy Sathyanarayanan712b6aa2013-10-17 15:35:29 -07004850 x86_intel_mid_timer= [X86-32,APBT]
4851 Choose timer option for x86 Intel MID platform.
Jacob Panbb24c472009-09-02 07:37:17 -07004852 Two valid options are apbt timer only and lapic timer
4853 plus one apbt timer for broadcast timer.
Kuppuswamy Sathyanarayanan712b6aa2013-10-17 15:35:29 -07004854 x86_intel_mid_timer=apbt_only | lapic_and_apbt
Jacob Panbb24c472009-09-02 07:37:17 -07004855
Juergen Grossc70727a2015-07-17 06:51:36 +02004856 xen_512gb_limit [KNL,X86-64,XEN]
4857 Restricts the kernel running paravirtualized under Xen
4858 to use only up to 512 GB of RAM. The reason to do so is
4859 crash analysis tools and Xen tools for doing domain
4860 save/restore/migration must be enabled to handle larger
4861 domains.
4862
Stefano Stabellinic1c54132010-05-14 12:44:30 +01004863 xen_emul_unplug= [HW,X86,XEN]
4864 Unplug Xen emulated devices
4865 Format: [unplug0,][unplug1]
4866 ide-disks -- unplug primary master IDE devices
4867 aux-ide-disks -- unplug non-primary-master IDE devices
4868 nics -- unplug network devices
4869 all -- unplug all emulated devices (NICs and IDE disks)
Ian Campbell1dc7ce92010-08-23 11:59:29 +01004870 unnecessary -- unplugging emulated devices is
4871 unnecessary even if the host did not respond to
4872 the unplug protocol
Ian Campbellc93a4df2010-08-23 11:59:28 +01004873 never -- do not unplug even if version check succeeds
Stefano Stabellinic1c54132010-05-14 12:44:30 +01004874
Konrad Rzeszutek Wilk15a3eac2013-09-25 10:07:20 -04004875 xen_nopvspin [X86,XEN]
4876 Disables the ticketlock slowpath using Xen PV
4877 optimizations.
4878
Konrad Rzeszutek Wilk8d693b92014-07-11 11:51:35 -04004879 xen_nopv [X86]
4880 Disables the PV optimizations forcing the HVM guest to
4881 run as generic HVM guest with no PV drivers.
4882
Linus Torvalds1da177e2005-04-16 15:20:36 -07004883 xirc2ps_cs= [NET,PCMCIA]
Randy Dunlapa9913042005-10-23 12:57:11 -07004884 Format:
4885 <irq>,<irq_mask>,<io>,<full_duplex>,<do_sound>,<lockup_hack>[,<irq2>[,<irq3>[,<irq4>]]]
Linus Torvalds1da177e2005-04-16 15:20:36 -07004886
Randy Dunlapa9913042005-10-23 12:57:11 -07004887______________________________________________________________________
Linus Torvalds1da177e2005-04-16 15:20:36 -07004888
4889TODO:
4890
Linus Torvalds1da177e2005-04-16 15:20:36 -07004891 Add more DRM drivers.