blob: 491abfa245b5b04d398ecf0d95cf4ddc748a5ed2 [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.
Will Drewry077d23c2010-06-09 17:47:38 -050090 DM Device mapper support is enabled.
Alan Cox9cfe2682011-01-25 14:18:38 +000091 DRM Direct Rendering Management support is enabled.
92 DYNAMIC_DEBUG Build in debug messages and enable them at runtime
Linus Torvalds1da177e2005-04-16 15:20:36 -070093 EDD BIOS Enhanced Disk Drive Services (EDD) is enabled
94 EFI EFI Partitioning (GPT) is enabled
95 EIDE EIDE/ATAPI support is enabled.
Mimi Zohar7102ebc2011-05-12 18:33:20 -040096 EVM Extended Verification Module
Linus Torvalds1da177e2005-04-16 15:20:36 -070097 FB The frame buffer device is enabled.
Randy Dunlap16290242011-08-13 12:34:52 -070098 FTRACE Function tracing enabled.
Peter Oberparleiter2521f2c2009-06-17 16:28:08 -070099 GCOV GCOV profiling is enabled.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700100 HW Appropriate hardware is enabled.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700101 IA-64 IA-64 architecture is enabled.
Mimi Zohar6146f0d2009-02-04 09:06:57 -0500102 IMA Integrity measurement architecture is enabled.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700103 IOSCHED More than one I/O scheduler is enabled.
Adrian Bunk41e2e8b2005-07-12 13:58:33 -0700104 IP_PNP IP DHCP, BOOTP, or RARP is enabled.
Brian Haleyb0f83b22010-02-04 13:36:50 -0800105 IPV6 IPv6 support is enabled.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700106 ISAPNP ISA PnP code is enabled.
107 ISDN Appropriate ISDN support is enabled.
108 JOY Appropriate joystick support is enabled.
Jason Wessel84c08fd2010-05-20 21:04:24 -0500109 KGDB Kernel debugger support is enabled.
Andre Przywarafef07aa2009-07-10 14:20:35 +0200110 KVM Kernel Virtual Machine support is enabled.
Kristen Carlson Accardi11ef6972006-09-28 11:29:01 -0700111 LIBATA Libata driver is enabled
Linus Torvalds1da177e2005-04-16 15:20:36 -0700112 LP Printer support is enabled.
113 LOOP Loopback device support is enabled.
114 M68k M68k architecture is enabled.
115 These options have more detailed description inside of
116 Documentation/m68k/kernel-options.txt.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700117 MDA MDA console support is enabled.
Randy Dunlap16290242011-08-13 12:34:52 -0700118 MIPS MIPS architecture is enabled.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700119 MOUSE Appropriate mouse support is enabled.
Matthew Wilcox309e57d2006-03-05 22:33:34 -0700120 MSI Message Signaled Interrupts (PCI).
Randy Dunlapc8facbb2007-07-31 00:37:40 -0700121 MTD MTD (Memory Technology Device) support is enabled.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700122 NET Appropriate network support is enabled.
123 NUMA NUMA support is enabled.
124 NFS Appropriate NFS support is enabled.
125 OSS OSS sound support is enabled.
Randy Dunlapc8facbb2007-07-31 00:37:40 -0700126 PV_OPS A paravirtualized kernel is enabled.
127 PARIDE The ParIDE (parallel port IDE) subsystem is enabled.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700128 PARISC The PA-RISC architecture is enabled.
129 PCI PCI bus support is enabled.
Randy Dunlap7f785762007-10-05 13:17:58 -0700130 PCIE PCI Express support is enabled.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700131 PCMCIA The PCMCIA subsystem is enabled.
132 PNP Plug & Play support is enabled.
133 PPC PowerPC architecture is enabled.
134 PPT Parallel port support is enabled.
135 PS2 Appropriate PS/2 support is enabled.
136 RAM RAM disk support is enabled.
137 S390 S390 architecture is enabled.
138 SCSI Appropriate SCSI support is enabled.
Randy Dunlap163475f2010-08-14 12:36:14 -0700139 A lot of drivers have their options described inside
140 the Documentation/scsi/ sub-directory.
James Morris20510f22007-10-16 23:31:32 -0700141 SECURITY Different security models are enabled.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700142 SELINUX SELinux support is enabled.
John Johansenc1c124e2010-07-29 14:48:09 -0700143 APPARMOR AppArmor support is enabled.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700144 SERIAL Serial support is enabled.
Paul Mundte523d932007-02-28 18:30:01 +0900145 SH SuperH architecture is enabled.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700146 SMP The kernel is an SMP kernel.
147 SPARC Sparc architecture is enabled.
David Brownell77437fd2008-07-23 21:28:33 -0700148 SWSUSP Software suspend (hibernation) is enabled.
149 SUSPEND System suspend states are enabled.
Rajiv Andrade225a9be2010-03-25 00:55:32 -0300150 TPM TPM drivers are enabled.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700151 TS Appropriate touchscreen support is enabled.
Alan Sternd4f373e2008-11-10 14:07:45 -0500152 UMS USB Mass Storage support is enabled.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700153 USB USB support is enabled.
154 USBHID USB Human Interface Device support is enabled.
155 V4L Video For Linux support is enabled.
Pawel Moll81a054c2012-05-09 18:30:16 +0100156 VMMIO Driver for memory mapped virtio devices is enabled.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700157 VGA The VGA console has been enabled.
158 VT Virtual terminal support is enabled.
159 WDT Watchdog support is enabled.
160 XT IBM PC/XT MFM hard disk support is enabled.
Alan Coxcd4f0ef2007-07-31 00:37:59 -0700161 X86-32 X86-32, aka i386 architecture is enabled.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700162 X86-64 X86-64 architecture is enabled.
163 More X86-64 boot options can be found in
Uwe Hermann71cced62008-10-20 09:32:21 -0700164 Documentation/x86/x86_64/boot-options.txt .
Randy Dunlap16290242011-08-13 12:34:52 -0700165 X86 Either 32-bit or 64-bit x86 (same as X86-32+X86-64)
Alex Thorlton1c532e02016-03-31 14:18:29 -0500166 X86_UV SGI UV support is enabled.
Stefano Stabellinic1c54132010-05-14 12:44:30 +0100167 XEN Xen support is enabled
Linus Torvalds1da177e2005-04-16 15:20:36 -0700168
169In addition, the following text indicates that the option:
170
171 BUGS= Relates to possible processor bugs on the said processor.
172 KNL Is a kernel start-up parameter.
173 BOOT Is a boot loader parameter.
174
175Parameters denoted with BOOT are actually interpreted by the boot
176loader, and have no meaning to the kernel directly.
177Do not modify the syntax of boot loader parameters without extreme
Kyle McMartin954a8b82009-02-19 16:48:14 -0500178need or coordination with <Documentation/x86/boot.txt>.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700179
Karsten Weiss55588702007-02-13 13:26:21 +0100180There are also arch-specific kernel-parameters not documented here.
Uwe Hermann71cced62008-10-20 09:32:21 -0700181See for example <Documentation/x86/x86_64/boot-options.txt>.
Karsten Weiss55588702007-02-13 13:26:21 +0100182
Linus Torvalds1da177e2005-04-16 15:20:36 -0700183Note that ALL kernel parameters listed below are CASE SENSITIVE, and that
184a trailing = on the name of any parameter states that that parameter will
185be entered as an environment variable, whereas its absence indicates that
186it will appear as a kernel argument readable via /proc/cmdline by programs
187running once the system is up.
188
jens m. noedler9c4751f2006-09-29 02:00:27 -0700189The number of kernel parameters is not limited, but the length of the
190complete command line (parameters including spaces etc.) is limited to
191a fixed number of characters. This limit depends on the architecture
192and is between 256 and 4096 characters. It is defined in the file
193./include/asm/setup.h as COMMAND_LINE_SIZE.
194
Ahmed S. Darwish7a19a232011-02-20 20:08:35 -0800195Finally, the [KMG] suffix is commonly described after a number of kernel
196parameter values. These 'K', 'M', and 'G' letters represent the _binary_
197multipliers 'Kilo', 'Mega', and 'Giga', equalling 2^10, 2^20, and 2^30
198bytes respectively. Such letter suffixes can also be entirely omitted.
199
jens m. noedler9c4751f2006-09-29 02:00:27 -0700200
Al Stoneb10d79f2015-03-24 14:02:41 +0000201 acpi= [HW,ACPI,X86,ARM64]
Bernhard Walle03d926f2007-03-06 02:29:44 -0800202 Advanced Configuration and Power Interface
Ard Biesheuvel6a1f5472016-04-12 16:09:11 +0200203 Format: { force | on | off | strict | noirq | rsdt |
Rami Rosene58d1542015-09-26 19:27:57 +0300204 copy_dsdt }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700205 force -- enable ACPI if default was off
Ard Biesheuvel6a1f5472016-04-12 16:09:11 +0200206 on -- enable ACPI but allow fallback to DT [arm64]
Linus Torvalds1da177e2005-04-16 15:20:36 -0700207 off -- disable ACPI if default was on
208 noirq -- do not use ACPI for IRQ routing
Randy Dunlapa9913042005-10-23 12:57:11 -0700209 strict -- Be less tolerant of platforms that are not
Linus Torvalds1da177e2005-04-16 15:20:36 -0700210 strictly ACPI specification compliant.
Zhao Yakui237889b2008-12-17 16:55:18 +0800211 rsdt -- prefer RSDT over (default) XSDT
Lin Mingaa2110c2010-04-08 14:34:27 +0800212 copy_dsdt -- copy DSDT to memory
Ard Biesheuvel6a1f5472016-04-12 16:09:11 +0200213 For ARM64, ONLY "acpi=off", "acpi=on" or "acpi=force"
214 are available
Linus Torvalds1da177e2005-04-16 15:20:36 -0700215
Paul Bolle395cf962011-08-15 02:02:26 +0200216 See also Documentation/power/runtime_pm.txt, pci=noacpi
Linus Torvalds1da177e2005-04-16 15:20:36 -0700217
Len Browna1fdcc02007-03-11 03:26:14 -0400218 acpi_apic_instance= [ACPI, IOAPIC]
219 Format: <int>
220 2: use 2nd APIC table, if available
221 1,0: use 1st APIC table
Len Brown4e381a42007-03-30 14:16:10 -0400222 default: 0
Len Browna1fdcc02007-03-11 03:26:14 -0400223
Thomas Renningerc3d6de62008-08-01 17:37:55 +0200224 acpi_backlight= [HW,ACPI]
225 acpi_backlight=vendor
226 acpi_backlight=video
227 If set to vendor, prefer vendor specific driver
228 (e.g. thinkpad_acpi, sony_acpi, etc.) instead
229 of the ACPI video.ko driver.
230
Colin Ian Kingb2ca5da2016-01-21 17:05:47 +0000231 acpi_force_32bit_fadt_addr
232 force FADT to use 32 bit addresses rather than the
233 64 bit X_* addresses. Some firmware have broken 64
234 bit addresses for force ACPI ignore these and use
235 the older legacy 32 bit addresses.
236
Dominik Brodowskief694492015-05-14 15:31:28 +0200237 acpica_no_return_repair [HW, ACPI]
238 Disable AML predefined validation mechanism
239 This mechanism can repair the evaluation result to make
240 the return objects more ACPI specification compliant.
241 This option is useful for developers to identify the
242 root cause of an AML interpreter issue when the issue
243 has something to do with the repair mechanism.
244
Bjorn Helgaasa0d84a92008-11-07 16:58:05 -0700245 acpi.debug_layer= [HW,ACPI,ACPI_DEBUG]
246 acpi.debug_level= [HW,ACPI,ACPI_DEBUG]
Linus Torvalds1da177e2005-04-16 15:20:36 -0700247 Format: <int>
Bjorn Helgaasa0d84a92008-11-07 16:58:05 -0700248 CONFIG_ACPI_DEBUG must be enabled to produce any ACPI
249 debug output. Bits in debug_layer correspond to a
250 _COMPONENT in an ACPI source file, e.g.,
251 #define _COMPONENT ACPI_PCI_COMPONENT
252 Bits in debug_level correspond to a level in
253 ACPI_DEBUG_PRINT statements, e.g.,
254 ACPI_DEBUG_PRINT((ACPI_DB_INFO, ...
Bjorn Helgaase76f4272008-11-13 17:30:13 -0600255 The debug_level mask defaults to "info". See
256 Documentation/acpi/debug.txt for more information about
257 debug layers and levels.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700258
Bjorn Helgaase76f4272008-11-13 17:30:13 -0600259 Enable processor driver info messages:
260 acpi.debug_layer=0x20000000
261 Enable PCI/PCI interrupt routing info messages:
262 acpi.debug_layer=0x400000
Bjorn Helgaasa0d84a92008-11-07 16:58:05 -0700263 Enable AML "Debug" output, i.e., stores to the Debug
264 object while interpreting AML:
265 acpi.debug_layer=0xffffffff acpi.debug_level=0x2
Bjorn Helgaasa0d84a92008-11-07 16:58:05 -0700266 Enable all messages related to ACPI hardware:
267 acpi.debug_layer=0x2 acpi.debug_level=0xffffffff
Thomas Renninger36eec5e2008-08-11 15:03:20 +0200268
Bjorn Helgaasa0d84a92008-11-07 16:58:05 -0700269 Some values produce so much output that the system is
270 unusable. The "log_buf_len" parameter may be useful
271 if you need to capture more output.
Zhang Ruif9891062007-04-24 13:53:22 +0800272
Dominik Brodowskief694492015-05-14 15:31:28 +0200273 acpi_enforce_resources= [ACPI]
274 { strict | lax | no }
275 Check for resource conflicts between native drivers
276 and ACPI OperationRegions (SystemIO and SystemMemory
277 only). IO ports and memory declared in ACPI might be
278 used by the ACPI subsystem in arbitrary AML code and
279 can interfere with legacy drivers.
280 strict (default): access to resources claimed by ACPI
281 is denied; legacy drivers trying to access reserved
282 resources will fail to bind to device using them.
283 lax: access to resources claimed by ACPI is allowed;
284 legacy drivers trying to access reserved resources
285 will bind successfully but a warning message is logged.
286 no: ACPI OperationRegions are not marked as reserved,
287 no further checks are performed.
288
Lv Zheng4fc0a7e2014-05-31 08:15:02 +0800289 acpi_force_table_verification [HW,ACPI]
290 Enable table checksum verification during early stage.
291 By default, this is disabled due to x86 early mapping
292 size limitation.
293
Randy Dunlap0cb55ad2009-04-05 15:55:22 -0700294 acpi_irq_balance [HW,ACPI]
295 ACPI will balance active IRQs
296 default in APIC mode
297
298 acpi_irq_nobalance [HW,ACPI]
299 ACPI will not move active IRQs (default)
300 default in PIC mode
301
302 acpi_irq_isa= [HW,ACPI] If irq_balance, mark listed IRQs used by ISA
303 Format: <irq>,<irq>...
304
305 acpi_irq_pci= [HW,ACPI] If irq_balance, clear listed IRQs for
306 use by PCI
307 Format: <irq>,<irq>...
308
Lv Zhengc1e94142017-04-04 19:32:17 +0000309 acpi_mask_gpe= [HW,ACPI]
310 Due to the existence of _Lxx/_Exx, some GPEs triggered
311 by unsupported hardware/firmware features can result in
312 GPE floodings that cannot be automatically disabled by
313 the GPE dispatcher.
314 This facility can be used to prevent such uncontrolled
315 GPE floodings.
316 Format: <int>
Lv Zhengc1e94142017-04-04 19:32:17 +0000317
Lv Zheng08e1d7c2014-03-24 14:49:22 +0800318 acpi_no_auto_serialize [HW,ACPI]
319 Disable auto-serialization of AML methods
Bob Moore22b5afc2014-03-24 14:49:00 +0800320 AML control methods that contain the opcodes to create
321 named objects will be marked as "Serialized" by the
322 auto-serialization feature.
Lv Zheng08e1d7c2014-03-24 14:49:22 +0800323 This feature is enabled by default.
324 This option allows to turn off the feature.
Bob Moore22b5afc2014-03-24 14:49:00 +0800325
Dominik Brodowskief694492015-05-14 15:31:28 +0200326 acpi_no_memhotplug [ACPI] Disable memory hotplug. Useful for kdump
327 kernels.
328
Lv Zhenga94e88c2014-04-04 12:39:11 +0800329 acpi_no_static_ssdt [HW,ACPI]
330 Disable installation of static SSDTs at early boot time
331 By default, SSDTs contained in the RSDT/XSDT will be
332 installed automatically and they will appear under
333 /sys/firmware/acpi/tables.
334 This option turns off this feature.
335 Note that specifying this option does not affect
336 dynamic table installation which will install SSDT
337 tables to /sys/firmware/acpi/tables/dynamic.
Randy Dunlap0cb55ad2009-04-05 15:55:22 -0700338
Jean Delvaref2a18532020-02-06 16:58:45 +0100339 acpi_no_watchdog [HW,ACPI,WDT]
340 Ignore the ACPI-based watchdog interface (WDAT) and let
341 a native driver control the watchdog device instead.
342
Dominik Brodowskief694492015-05-14 15:31:28 +0200343 acpi_rsdp= [ACPI,EFI,KEXEC]
344 Pass the RSDP address to the kernel, mostly used
345 on machines running EFI runtime service to boot the
346 second kernel for kdump.
Lv Zheng4dde5072014-02-11 11:01:52 +0800347
Randy Dunlap0cb55ad2009-04-05 15:55:22 -0700348 acpi_os_name= [HW,ACPI] Tell ACPI BIOS the name of the OS
349 Format: To spoof as Windows 98: ="Microsoft Windows"
350
Rafael J. Wysocki18d78b62015-07-03 01:06:00 +0200351 acpi_rev_override [ACPI] Override the _REV object to return 5 (instead
352 of 2 which is mandated by ACPI 6) as the supported ACPI
353 specification revision (when using this switch, it may
354 be necessary to carry out a cold reboot _twice_ in a
355 row to make it take effect on the platform firmware).
356
Randy Dunlap0cb55ad2009-04-05 15:55:22 -0700357 acpi_osi= [HW,ACPI] Modify list of supported OS interface strings
Lv Zheng5dc17982013-07-22 16:08:25 +0800358 acpi_osi="string1" # add string1
359 acpi_osi="!string2" # remove string2
Lv Zheng741d8122013-07-22 16:08:36 +0800360 acpi_osi=!* # remove all strings
Lv Zheng5dc17982013-07-22 16:08:25 +0800361 acpi_osi=! # disable all built-in OS vendor
362 strings
Lv Zhenga707ede2016-05-03 16:48:32 +0800363 acpi_osi=!! # enable all built-in OS vendor
364 strings
Randy Dunlap0cb55ad2009-04-05 15:55:22 -0700365 acpi_osi= # disable all strings
366
Lv Zheng5dc17982013-07-22 16:08:25 +0800367 'acpi_osi=!' can be used in combination with single or
368 multiple 'acpi_osi="string1"' to support specific OS
369 vendor string(s). Note that such command can only
370 affect the default state of the OS vendor strings, thus
371 it cannot affect the default state of the feature group
372 strings and the current state of the OS vendor strings,
373 specifying it multiple times through kernel command line
Lv Zheng741d8122013-07-22 16:08:36 +0800374 is meaningless. This command is useful when one do not
375 care about the state of the feature group strings which
376 should be controlled by the OSPM.
Lv Zheng5dc17982013-07-22 16:08:25 +0800377 Examples:
378 1. 'acpi_osi=! acpi_osi="Windows 2000"' is equivalent
379 to 'acpi_osi="Windows 2000" acpi_osi=!', they all
380 can make '_OSI("Windows 2000")' TRUE.
381
382 'acpi_osi=' cannot be used in combination with other
383 'acpi_osi=' command lines, the _OSI method will not
384 exist in the ACPI namespace. NOTE that such command can
385 only affect the _OSI support state, thus specifying it
386 multiple times through kernel command line is also
387 meaningless.
388 Examples:
389 1. 'acpi_osi=' can make 'CondRefOf(_OSI, Local1)'
390 FALSE.
391
Lv Zheng741d8122013-07-22 16:08:36 +0800392 'acpi_osi=!*' can be used in combination with single or
393 multiple 'acpi_osi="string1"' to support specific
394 string(s). Note that such command can affect the
395 current state of both the OS vendor strings and the
396 feature group strings, thus specifying it multiple times
397 through kernel command line is meaningful. But it may
398 still not able to affect the final state of a string if
399 there are quirks related to this string. This command
400 is useful when one want to control the state of the
401 feature group strings to debug BIOS issues related to
402 the OSPM features.
403 Examples:
404 1. 'acpi_osi="Module Device" acpi_osi=!*' can make
405 '_OSI("Module Device")' FALSE.
406 2. 'acpi_osi=!* acpi_osi="Module Device"' can make
407 '_OSI("Module Device")' TRUE.
408 3. 'acpi_osi=! acpi_osi=!* acpi_osi="Windows 2000"' is
409 equivalent to
410 'acpi_osi=!* acpi_osi=! acpi_osi="Windows 2000"'
411 and
412 'acpi_osi=!* acpi_osi="Windows 2000" acpi_osi=!',
413 they all will make '_OSI("Windows 2000")' TRUE.
414
Jaswinder Singh Rajput6cececf2009-04-14 14:03:43 +0530415 acpi_pm_good [X86]
Randy Dunlap0cb55ad2009-04-05 15:55:22 -0700416 Override the pmtimer bug detection: force the kernel
417 to assume that this machine's pmtimer latches its value
418 and always returns good values.
419
Randy Dunlap4af94f32009-04-17 18:30:28 -0700420 acpi_sci= [HW,ACPI] ACPI System Control Interrupt trigger mode
421 Format: { level | edge | high | low }
422
Randy Dunlap4af94f32009-04-17 18:30:28 -0700423 acpi_skip_timer_override [HW,ACPI]
424 Recognize and ignore IRQ0/pin2 Interrupt Override.
425 For broken nForce2 BIOS resulting in XT-PIC timer.
426
427 acpi_sleep= [HW,ACPI] Sleep options
428 Format: { s3_bios, s3_mode, s3_beep, s4_nohwsig,
Amerigo Wangc3b07952011-05-10 21:09:38 +0200429 old_ordering, nonvs, sci_force_enable }
Randy Dunlap4af94f32009-04-17 18:30:28 -0700430 See Documentation/power/video.txt for information on
431 s3_bios and s3_mode.
432 s3_beep is for debugging; it makes the PC's speaker beep
433 as soon as the kernel's real-mode entry point is called.
434 s4_nohwsig prevents ACPI hardware signature from being
435 used during resume from hibernation.
436 old_ordering causes the ACPI 1.0 ordering of the _PTS
437 control method, with respect to putting devices into
438 low power states, to be enforced (the ACPI 2.0 ordering
439 of _PTS is used by default).
Rafael J. Wysocki72ad5d72010-07-23 22:59:09 +0200440 nonvs prevents the kernel from saving/restoring the
441 ACPI NVS memory during suspend/hibernation and resume.
Zhang Ruid7f0eea2009-12-30 15:36:42 +0800442 sci_force_enable causes the kernel to set SCI_EN directly
443 on resume from S1/S3 (which is against the ACPI spec,
444 but some broken systems don't work without it).
Randy Dunlap4af94f32009-04-17 18:30:28 -0700445
446 acpi_use_timer_override [HW,ACPI]
447 Use timer override. For some broken Nvidia NF5 boards
448 that require a timer override, but don't have HPET
449
Randy Dunlap4af94f32009-04-17 18:30:28 -0700450 add_efi_memmap [EFI; X86] Include EFI memory map in
451 kernel's map of available physical RAM.
452
Randy Dunlap0cb55ad2009-04-05 15:55:22 -0700453 agp= [AGP]
454 { off | try_unsupported }
455 off: disable AGP support
456 try_unsupported: try to drive unsupported chipsets
457 (may crash computer or cause data corruption)
458
Randy Dunlapbcfde332010-06-07 17:10:38 -0700459 ALSA [HW,ALSA]
460 See Documentation/sound/alsa/alsa-parameters.txt
461
Russell Kingd944d542010-02-20 16:13:29 +0000462 alignment= [KNL,ARM]
463 Allow the default userspace alignment fault handler
464 behaviour to be specified. Bit 0 enables warnings,
465 bit 1 enables fixups, and bit 2 sends a segfault.
466
Borislav Petkovdfb09f92011-08-05 15:15:08 +0200467 align_va_addr= [X86-64]
468 Align virtual addresses by clearing slice [14:12] when
469 allocating a VMA at process creation time. This option
470 gives you up to 3% performance improvement on AMD F15h
471 machines (where it is enabled by default) for a
472 CPU-intensive style benchmark, and it can vary highly in
473 a microbenchmark depending on workload and compiler.
474
Borislav Petkov8360ee22011-11-21 12:10:19 +0100475 32: only for 32-bit processes
476 64: only for 64-bit processes
Borislav Petkovdfb09f92011-08-05 15:15:08 +0200477 on: enable for both 32- and 64-bit processes
478 off: disable for both 32- and 64-bit processes
479
Steven Rostedt (Red Hat)55034cd2013-03-07 22:48:09 -0500480 alloc_snapshot [FTRACE]
481 Allocate the ftrace snapshot buffer on boot up when the
482 main buffer is allocated. This is handy if debugging
483 and you need to use tracing_snapshot() on boot up, and
484 do not want to use tracing_snapshot_alloc() as it needs
485 to be done where GFP_KERNEL allocations are allowed.
486
Sedat Dilek89e0b9a2011-12-05 23:08:32 +0100487 amd_iommu= [HW,X86-64]
Joerg Roedel54b4cbd2008-06-26 21:28:10 +0200488 Pass parameters to the AMD IOMMU driver in the system.
489 Possible values are:
FUJITA Tomonoriafa9fdc2008-09-20 01:23:30 +0900490 fullflush - enable flushing of IO/TLB entries when
491 they are unmapped. Otherwise they are
492 flushed before they will be reused, which
493 is a lot of faster
Joerg Roedela5235722010-05-11 17:12:33 +0200494 off - do not initialize any AMD IOMMU found in
495 the system
Joerg Roedel5abcdba2011-12-01 15:49:45 +0100496 force_isolation - Force device isolation for all
497 devices. The IOMMU driver is not
498 allowed anymore to lift isolation
499 requirements as needed. This option
500 does not override iommu=pt
FUJITA Tomonoriafa9fdc2008-09-20 01:23:30 +0900501
Shuah Khanc099cf12012-05-24 15:58:25 -0600502 amd_iommu_dump= [HW,X86-64]
503 Enable AMD IOMMU driver option to dump the ACPI table
504 for AMD IOMMU. With this option enabled, AMD IOMMU
505 driver will print ACPI tables for AMD IOMMU during
506 IOMMU initialization.
507
Suravee Suthikulpanit3928aa32016-08-23 13:52:32 -0500508 amd_iommu_intr= [HW,X86-64]
509 Specifies one of the following AMD IOMMU interrupt
510 remapping modes:
511 legacy - Use legacy interrupt remapping mode.
512 vapic - Use virtual APIC mode, which allows IOMMU
513 to inject interrupts directly into guest.
514 This mode requires kvm-amd.avic=1.
515 (Default when IOMMU HW support is present.)
516
Linus Torvalds1da177e2005-04-16 15:20:36 -0700517 amijoy.map= [HW,JOY] Amiga joystick support
518 Map of devices attached to JOY0DAT and JOY1DAT
519 Format: <a>,<b>
Paul Bolle395cf962011-08-15 02:02:26 +0200520 See also Documentation/input/joystick.txt
Linus Torvalds1da177e2005-04-16 15:20:36 -0700521
522 analog.map= [HW,JOY] Analog joystick and gamepad support
523 Specifies type or capabilities of an analog joystick
524 connected to one of 16 gameports
525 Format: <type1>,<type2>,..<type16>
526
Randy Dunlapa9913042005-10-23 12:57:11 -0700527 apc= [HW,SPARC]
528 Power management functions (SPARCstation-4/5 + deriv.)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700529 Format: noidle
530 Disable APC CPU standby support. SPARCstation-Fox does
531 not play well with APC CPU idle - disable it if you have
532 APC and your system crashes randomly.
533
Randy Dunlapca1eda22009-05-06 16:02:58 -0700534 apic= [APIC,X86-32] Advanced Programmable Interrupt Controller
Randy Dunlapc8facbb2007-07-31 00:37:40 -0700535 Change the output verbosity whilst booting
Linus Torvalds1da177e2005-04-16 15:20:36 -0700536 Format: { quiet (default) | verbose | debug }
537 Change the amount of debugging information output
538 when initialising the APIC and IO-APIC components.
Randy Dunlapa9913042005-10-23 12:57:11 -0700539
Hidehiro Kawaib7c49482015-12-14 11:19:12 +0100540 apic_extnmi= [APIC,X86] External NMI delivery setting
541 Format: { bsp (default) | all | none }
542 bsp: External NMI is delivered only to CPU 0
543 all: External NMIs are broadcast to all CPUs as a
544 backup of CPU 0
545 none: External NMI is masked for all CPUs. This is
546 useful so that a dump capture kernel won't be
547 shot down by NMI
548
Brian Haleyb0f83b22010-02-04 13:36:50 -0800549 autoconf= [IPV6]
550 See Documentation/networking/ipv6.txt.
551
Cyrill Gorcunov9636bc02009-10-14 19:09:04 +0400552 show_lapic= [APIC,X86] Advanced Programmable Interrupt Controller
553 Limit apic dumping. The parameter defines the maximal
554 number of local apics being dumped. Also it is possible
555 to set it to "all" by meaning -- no limit here.
556 Format: { 1 (default) | 2 | ... | all }.
557 The parameter valid if only apic=debug or
558 apic=verbose is specified.
559 Example: apic=debug show_lapic=all
560
Linus Torvalds1da177e2005-04-16 15:20:36 -0700561 apm= [APM] Advanced Power Management
Pavel Machek71f77052008-07-04 09:59:43 -0700562 See header of arch/x86/kernel/apm_32.c.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700563
Linus Torvalds1da177e2005-04-16 15:20:36 -0700564 arcrimi= [HW,NET] ARCnet - "RIM I" (entirely mem-mapped) cards
565 Format: <io>,<irq>,<nodeID>
566
567 ataflop= [HW,M68k]
568
569 atarimouse= [HW,MOUSE] Atari Mouse
570
Linus Torvalds1da177e2005-04-16 15:20:36 -0700571 atkbd.extra= [HW] Enable extra LEDs and keys on IBM RapidAccess,
572 EzKey and similar keyboards
573
574 atkbd.reset= [HW] Reset keyboard during initialization
575
Randy Dunlapa9913042005-10-23 12:57:11 -0700576 atkbd.set= [HW] Select keyboard code set
577 Format: <int> (2 = AT (default), 3 = PS/2)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700578
579 atkbd.scroll= [HW] Enable scroll wheel on MS Office and similar
580 keyboards
581
582 atkbd.softraw= [HW] Choose between synthetic and real raw mode
583 Format: <bool> (0 = real, 1 = synthetic (default))
Randy Dunlapa9913042005-10-23 12:57:11 -0700584
585 atkbd.softrepeat= [HW]
586 Use software keyboard repeat
Linus Torvalds1da177e2005-04-16 15:20:36 -0700587
Richard Guy Briggsa106fb02013-09-23 21:53:35 -0400588 audit= [KNL] Enable the audit sub-system
589 Format: { "0" | "1" } (0 = disabled, 1 = enabled)
Eric Parisd7961142014-01-13 16:01:06 -0500590 0 - kernel audit is disabled and can not be enabled
591 until the next reboot
592 unset - kernel audit is initialized but disabled and
593 will be fully enabled by the userspace auditd.
594 1 - kernel audit is initialized and partially enabled,
595 storing at most audit_backlog_limit messages in
596 RAM until it is fully enabled by the userspace
597 auditd.
Richard Guy Briggsa106fb02013-09-23 21:53:35 -0400598 Default: unset
Richard Guy Briggsf3411cb2013-09-17 12:34:52 -0400599
Richard Guy Briggsf910fde2013-09-17 12:34:52 -0400600 audit_backlog_limit= [KNL] Set the audit queue size limit.
601 Format: <int> (must be >=0)
602 Default: 64
603
Alex Thorlton1c532e02016-03-31 14:18:29 -0500604 bau= [X86_UV] Enable the BAU on SGI UV. The default
605 behavior is to disable the BAU (i.e. bau=0).
606 Format: { "0" | "1" }
607 0 - Disable the BAU.
608 1 - Enable the BAU.
609 unset - Disable the BAU.
610
Linus Torvalds1da177e2005-04-16 15:20:36 -0700611 baycom_epp= [HW,AX25]
612 Format: <io>,<mode>
Randy Dunlapa9913042005-10-23 12:57:11 -0700613
Linus Torvalds1da177e2005-04-16 15:20:36 -0700614 baycom_par= [HW,AX25] BayCom Parallel Port AX.25 Modem
615 Format: <io>,<mode>
616 See header of drivers/net/hamradio/baycom_par.c.
617
Randy Dunlapa9913042005-10-23 12:57:11 -0700618 baycom_ser_fdx= [HW,AX25]
619 BayCom Serial Port AX.25 Modem (Full Duplex Mode)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700620 Format: <io>,<irq>,<mode>[,<baud>]
621 See header of drivers/net/hamradio/baycom_ser_fdx.c.
622
Randy Dunlapa9913042005-10-23 12:57:11 -0700623 baycom_ser_hdx= [HW,AX25]
624 BayCom Serial Port AX.25 Modem (Half Duplex Mode)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700625 Format: <io>,<irq>,<mode>
626 See header of drivers/net/hamradio/baycom_ser_hdx.c.
627
Paul Gortmaker080506a2013-09-30 13:45:19 -0700628 blkdevparts= Manual partition parsing of block device(s) for
629 embedded devices based on command line input.
630 See Documentation/block/cmdline-partition.txt
631
Channagoud Kadabi85b8fdf2016-08-30 15:08:28 -0700632 boot_cpus= [SMP]
633 Rather than attempting to online all possible CPUs at
634 boot time, only online the specified set of CPUs.
635
Randy Dunlapbfe8df32007-10-16 01:23:46 -0700636 boot_delay= Milliseconds to delay each printk during boot.
637 Values larger than 10 seconds (10000) are changed to
638 no delay (0).
639 Format: integer
640
Andreas Herrmann35fc9082008-08-20 14:08:58 -0700641 bootmem_debug [KNL] Enable bootmem allocator debug messages.
642
Huang Yinga3e2acc2016-06-29 13:04:29 -0700643 bert_disable [ACPI]
644 Disable BERT OS support on buggy BIOSes.
645
Linus Torvalds1da177e2005-04-16 15:20:36 -0700646 bttv.card= [HW,V4L] bttv (bt848 + bt878 based grabber cards)
Randy Dunlapa9913042005-10-23 12:57:11 -0700647 bttv.radio= Most important insmod options are available as
648 kernel args too.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700649 bttv.pll= See Documentation/video4linux/bttv/Insmod-options
Paul Bolle395cf962011-08-15 02:02:26 +0200650 bttv.tuner=
Linus Torvalds1da177e2005-04-16 15:20:36 -0700651
Will Schmidt4e89a2d2010-09-28 15:33:12 +0000652 bulk_remove=off [PPC] This parameter disables the use of the pSeries
653 firmware feature for flushing multiple hpte entries
654 at a time.
655
Linus Torvalds1da177e2005-04-16 15:20:36 -0700656 c101= [NET] Moxa C101 synchronous serial card
657
Alan Coxcd4f0ef2007-07-31 00:37:59 -0700658 cachesize= [BUGS=X86-32] Override level 2 CPU cache size detection.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700659 Sometimes CPU hardware bugs make them report the cache
660 size incorrectly. The kernel will attempt work arounds
661 to fix known problems, but for some CPUs it is not
662 possible to determine what the correct size should be.
663 This option provides an override for these situations.
664
Dmitry Kasatkinffb70f62014-06-17 11:56:58 +0300665 ca_keys= [KEYS] This parameter identifies a specific key(s) on
666 the system trusted keyring to be used for certificate
667 trust validation.
Dmitry Kasatkin32c47412014-06-17 11:56:59 +0300668 format: { id:<keyid> | builtin }
Dmitry Kasatkinffb70f62014-06-17 11:56:58 +0300669
Florian Fainellifd1bb4c2014-06-25 16:41:13 -0700670 cca= [MIPS] Override the kernel pages' cache coherency
671 algorithm. Accepted values range from 0 to 7
672 inclusive. See arch/mips/include/asm/pgtable-bits.h
673 for platform specific values (SB1, Loongson3 and
674 others).
675
Sebastian Ott14ff56b2008-01-26 14:10:37 +0100676 ccw_timeout_log [S390]
677 See Documentation/s390/CommonIO for details.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700678
Paul Menage8bab8dd2008-04-04 14:29:57 -0700679 cgroup_disable= [KNL] Disable a particular controller
680 Format: {name of the controller(s) to disable}
Qiang Huangca0bdbb2013-11-06 13:18:09 -0800681 The effects of cgroup_disable=foo are:
682 - foo isn't auto-mounted if you mount all cgroups in
683 a single hierarchy
684 - foo isn't visible as an individually mountable
685 subsystem
686 {Currently only "memory" controller deal with this and
687 cut the overhead, others just disable the usage. So
688 only cgroup_disable=memory is actually worthy}
Paul Menage8bab8dd2008-04-04 14:29:57 -0700689
Johannes Weiner1619b6d2016-02-16 13:21:14 -0500690 cgroup_no_v1= [KNL] Disable one, multiple, all cgroup controllers in v1
691 Format: { controller[,controller...] | "all" }
692 Like cgroup_disable, but only applies to cgroup v1;
693 the blacklisted controllers remain available in cgroup2.
694
Johannes Weinerf7e1cb62016-01-14 15:21:29 -0800695 cgroup.memory= [KNL] Pass options to the cgroup memory controller.
696 Format: <string>
697 nosocket -- Disable socket memory accounting.
Vladimir Davydov04823c82016-01-20 15:02:38 -0800698 nokmem -- Disable kernel memory accounting.
Johannes Weinerf7e1cb62016-01-14 15:21:29 -0800699
Linus Torvalds1da177e2005-04-16 15:20:36 -0700700 checkreqprot [SELINUX] Set initial checkreqprot flag value.
701 Format: { "0" | "1" }
702 See security/selinux/Kconfig help text.
Randy Dunlapa9913042005-10-23 12:57:11 -0700703 0 -- check protection applied by kernel (includes
704 any implied execute protection).
Linus Torvalds1da177e2005-04-16 15:20:36 -0700705 1 -- check protection requested by application.
706 Default value is set via a kernel config option.
Randy Dunlapa9913042005-10-23 12:57:11 -0700707 Value can be changed at runtime via
708 /selinux/checkreqprot.
709
Sebastian Ott661ca0d2008-01-26 14:10:36 +0100710 cio_ignore= [S390]
711 See Documentation/s390/CommonIO for details.
Olof Johansson1e435252013-04-27 14:10:18 -0700712 clk_ignore_unused
713 [CLK]
Mike Turquettee156ee52014-09-30 14:24:38 -0700714 Prevents the clock framework from automatically gating
715 clocks that have not been explicitly enabled by a Linux
716 device driver but are enabled in hardware at reset or
717 by the bootloader/firmware. Note that this does not
718 force such clocks to be always-on nor does it reserve
719 those clocks in any way. This parameter is useful for
720 debug and development, but should not be needed on a
721 platform with proper driver support. For more
722 information, see Documentation/clk.txt.
Sebastian Ott661ca0d2008-01-26 14:10:36 +0100723
Alan Coxcd4f0ef2007-07-31 00:37:59 -0700724 clock= [BUGS=X86-32, HW] gettimeofday clocksource override.
john stultz734efb42006-06-26 00:25:05 -0700725 [Deprecated]
Matt LaPlante3f6dee92006-10-03 22:45:33 +0200726 Forces specified clocksource (if available) to be used
john stultz734efb42006-06-26 00:25:05 -0700727 when calculating gettimeofday(). If specified
Matt LaPlante3f6dee92006-10-03 22:45:33 +0200728 clocksource is not available, it defaults to PIT.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700729 Format: { pit | tsc | cyclone | pmtmr }
730
John Stultz592913e2010-07-13 17:56:20 -0700731 clocksource= Override the default clocksource
Randy Dunlap3d6ac982007-05-23 13:58:16 -0700732 Format: <string>
733 Override the default clocksource and use the clocksource
734 with the name specified.
735 Some clocksource names to choose from, depending on
736 the platform:
737 [all] jiffies (this is the base, fallback clocksource)
738 [ACPI] acpi_pm
739 [ARM] imx_timer1,OSTS,netx_timer,mpu_timer2,
740 pxa_timer,timer3,32k_counter,timer0_1
741 [AVR32] avr32
Alok Kataria9863c902010-08-23 14:49:11 -0700742 [X86-32] pit,hpet,tsc;
Randy Dunlap3d6ac982007-05-23 13:58:16 -0700743 scx200_hrt on Geode; cyclone on IBM x440
744 [MIPS] MIPS
745 [PARISC] cr16
746 [S390] tod
747 [SH] SuperH
748 [SPARC64] tick
749 [X86-64] hpet,tsc
750
Will Deacon46fd5c62016-06-27 17:30:13 +0100751 clocksource.arm_arch_timer.evtstrm=
752 [ARM,ARM64]
753 Format: <bool>
754 Enable/disable the eventstream feature of the ARM
755 architected timer so that code using WFE-based polling
756 loops can be debugged more effectively on production
757 systems.
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
Pavankumar Kondeti1e951a72017-03-21 14:00:09 +0530855 core_ctl_disable_cpumask= [SMP]
856 Exempt the CPUs from being managed by core_ctl.
857 core_ctl operates on a cluster basis. So all the
858 CPUs in a given cluster must be specified to disable
859 core_ctl for that cluster.
860
Hidehiro Kawai4cb0e112009-01-06 14:42:47 -0800861 coredump_filter=
862 [KNL] Change the default value for
863 /proc/<pid>/coredump_filter.
864 See also Documentation/filesystems/proc.txt.
865
Len Brown62027ae2011-04-01 18:13:10 -0400866 cpuidle.off=1 [CPU_IDLE]
867 disable the cpuidle sub-system
868
Len Brownd68921f2015-05-11 17:27:09 -0400869 cpu_init_udelay=N
870 [X86] Delay for N microsec between assert and de-assert
871 of APIC INIT to start processors. This delay occurs
872 on every CPU online, such as boot, and resume from suspend.
873 Default: 10000
874
Linus Torvalds1da177e2005-04-16 15:20:36 -0700875 cpcihp_generic= [HW,PCI] Generic port I/O CompactPCI driver
Randy Dunlapa9913042005-10-23 12:57:11 -0700876 Format:
877 <first_slot>,<last_slot>,<port>,<enum_bit>[,<debug>]
Linus Torvalds1da177e2005-04-16 15:20:36 -0700878
Ahmed S. Darwish6f21e642011-02-20 20:08:35 -0800879 crashkernel=size[KMG][@offset[KMG]]
880 [KNL] Using kexec, Linux can switch to a 'crash kernel'
881 upon panic. This parameter reserves the physical
882 memory region [offset, offset + size] for that kernel
883 image. If '@offset' is omitted, then a suitable offset
884 is selected automatically. Check
885 Documentation/kdump/kdump.txt for further details.
Eric W. Biedermandc009d92005-06-25 14:57:52 -0700886
Bernhard Wallefb391592007-10-18 23:41:02 -0700887 crashkernel=range1:size1[,range2:size2,...][@offset]
888 [KNL] Same as above, but depends on the memory
889 in the running system. The syntax of range is
890 start-[end] where start and end are both
891 a memory unit (amount[KMG]). See also
Ahmed S. Darwish6f21e642011-02-20 20:08:35 -0800892 Documentation/kdump/kdump.txt for an example.
Bernhard Wallefb391592007-10-18 23:41:02 -0700893
Yinghai Luadbc7422013-04-15 22:23:48 -0700894 crashkernel=size[KMG],high
Yinghai Lu55a20ee2013-04-15 22:23:47 -0700895 [KNL, x86_64] range could be above 4G. Allow kernel
896 to allocate physical memory region from top, so could
897 be above 4G if system have more than 4G ram installed.
898 Otherwise memory region will be allocated below 4G, if
899 available.
900 It will be ignored if crashkernel=X is specified.
Yinghai Luadbc7422013-04-15 22:23:48 -0700901 crashkernel=size[KMG],low
902 [KNL, x86_64] range under 4G. When crashkernel=X,high
903 is passed, kernel could allocate physical memory region
Yinghai Luc729de82013-04-15 22:23:45 -0700904 above 4G, that cause second kernel crash on system
905 that require some amount of low memory, e.g. swiotlb
Baoquan Hec6045032015-09-24 16:51:25 +0800906 requires at least 64M+32K low memory, also enough extra
907 low memory is needed to make sure DMA buffers for 32-bit
908 devices won't run out. Kernel would try to allocate at
909 at least 256M below 4G automatically.
Yinghai Luc729de82013-04-15 22:23:45 -0700910 This one let user to specify own low range under 4G
911 for second kernel instead.
912 0: to disable low allocation.
Yinghai Luadbc7422013-04-15 22:23:48 -0700913 It will be ignored when crashkernel=X,high is not used
Yinghai Lu55a20ee2013-04-15 22:23:47 -0700914 or memory reserved is below 4G.
Yinghai Luc729de82013-04-15 22:23:45 -0700915
Richard W.M. Jones9e5c9fe2016-05-03 10:00:17 +0100916 cryptomgr.notests
917 [KNL] Disable crypto self-tests
918
Linus Torvalds1da177e2005-04-16 15:20:36 -0700919 cs89x0_dma= [HW,NET]
920 Format: <dma>
921
922 cs89x0_media= [HW,NET]
923 Format: { rj45 | aui | bnc }
Randy Dunlapa9913042005-10-23 12:57:11 -0700924
Randy Dunlapa9913042005-10-23 12:57:11 -0700925 dasd= [HW,NET]
Linus Torvalds1da177e2005-04-16 15:20:36 -0700926 See header of drivers/s390/block/dasd_devmap.c.
927
928 db9.dev[2|3]= [HW,JOY] Multisystem joystick support via parallel port
929 (one device per port)
930 Format: <port#>,<type>
931 See also Documentation/input/joystick-parport.txt
932
Thomas Renningera648ec02010-08-06 16:11:02 +0200933 ddebug_query= [KNL,DYNAMIC_DEBUG] Enable debug messages at early boot
934 time. See Documentation/dynamic-debug-howto.txt for
Jim Cromie29e36c92012-04-27 14:30:41 -0600935 details. Deprecated, see dyndbg.
Thomas Renningera648ec02010-08-06 16:11:02 +0200936
Linus Torvalds1da177e2005-04-16 15:20:36 -0700937 debug [KNL] Enable kernel debugging (events log level).
938
Ingo Molnarcae2ed92006-07-03 00:24:48 -0700939 debug_locks_verbose=
940 [KNL] verbose self-tests
941 Format=<0|1>
942 Print debugging info while doing the locking API
943 self-tests.
944 We default to 0 (no extra messages), setting it to
945 1 will print _a lot_ more information - normally
946 only useful to kernel developers.
947
Thomas Gleixner3ac7fe52008-04-30 00:55:01 -0700948 debug_objects [KNL] Enable object debugging
949
Kyle McMartin3e8ebb52009-03-01 20:41:41 -0500950 no_debug_objects
951 [KNL] Disable object debugging
952
Stanislaw Gruszkac0a32fc52012-01-10 15:07:28 -0800953 debug_guardpage_minorder=
954 [KNL] When CONFIG_DEBUG_PAGEALLOC is set, this
955 parameter allows control of the order of pages that will
956 be intentionally kept free (and hence protected) by the
957 buddy allocator. Bigger value increase the probability
958 of catching random memory corruption, but reduce the
959 amount of memory for normal system use. The maximum
960 possible value is MAX_ORDER/2. Setting this parameter
961 to 1 or 2 should be enough to identify most random
962 memory corruption problems caused by bugs in kernel or
963 driver code when a CPU writes to (or reads from) a
964 random memory location. Note that there exists a class
965 of memory corruptions problems caused by buggy H/W or
966 F/W or by drivers badly programing DMA (basically when
967 memory is written at bus level and the CPU MMU is
968 bypassed) which are not detectable by
969 CONFIG_DEBUG_PAGEALLOC, hence this option will not help
970 tracking down these problems.
971
Joonsoo Kim031bc572014-12-12 16:55:52 -0800972 debug_pagealloc=
973 [KNL] When CONFIG_DEBUG_PAGEALLOC is set, this
974 parameter enables the feature at boot time. In
975 default, it is disabled. We can avoid allocating huge
976 chunk of memory for debug pagealloc if we don't enable
977 it at boot time and the system will work mostly same
978 with the kernel built without CONFIG_DEBUG_PAGEALLOC.
979 on: enable the feature
980
Thomas Gleixnerd3af01f2008-07-15 15:04:56 +0200981 debugpat [X86] Enable PAT debugging
982
Robert P. J. Day2d27a962008-02-03 15:18:45 +0200983 decnet.addr= [HW,NET]
Linus Torvalds1da177e2005-04-16 15:20:36 -0700984 Format: <area>[,<node>]
985 See also Documentation/networking/decnet.txt.
986
Randy Dunlap0cb55ad2009-04-05 15:55:22 -0700987 default_hugepagesz=
988 [same as hugepagesz=] The size of the default
989 HugeTLB page size. This is the size represented by
990 the legacy /proc/ hugepages APIs, used for SHM, and
991 default size when mounting hugetlbfs filesystems.
992 Defaults to the default architecture's huge page size
993 if not specified.
Antonino A. Daplas55ff9782007-05-08 00:38:53 -0700994
Linus Torvalds1da177e2005-04-16 15:20:36 -0700995 dhash_entries= [KNL]
996 Set number of hash buckets for dentry cache.
Randy Dunlapa9913042005-10-23 12:57:11 -0700997
Oliver O'Halloranfaf78822016-07-05 11:43:21 +1000998 disable_1tb_segments [PPC]
999 Disables the use of 1TB hash page table segments. This
1000 causes the kernel to fall back to 256MB segments which
1001 can be useful when debugging issues that require an SLB
1002 miss to occur.
1003
Brian Haleyb0f83b22010-02-04 13:36:50 -08001004 disable= [IPV6]
1005 See Documentation/networking/ipv6.txt.
1006
Aneesh Kumar K.Vb275bfb2016-07-13 15:05:31 +05301007 disable_radix [PPC]
1008 Disable RADIX MMU mode on POWER9
1009
HATAYAMA Daisuke151e0c72014-01-15 15:44:58 +09001010 disable_cpu_apicid= [X86,APIC,SMP]
1011 Format: <int>
1012 The number of initial APIC ID for the
1013 corresponding CPU to be disabled at boot,
1014 mostly used for the kdump 2nd kernel to
1015 disable BSP to wake up multiple CPUs without
1016 causing system reset or hang due to sending
1017 INIT from AP to BSP.
1018
Nishanth Aravamudan4e8b0cf2011-02-10 09:10:47 +00001019 disable_ddw [PPC/PSERIES]
1020 Disable Dynamic DMA Window support. Use this if
1021 to workaround buggy firmware.
1022
Brian Haleyb0f83b22010-02-04 13:36:50 -08001023 disable_ipv6= [IPV6]
1024 See Documentation/networking/ipv6.txt.
1025
Yinghai Lu95ffa242008-04-29 03:52:33 -07001026 disable_mtrr_cleanup [X86]
Yinghai Lu95ffa242008-04-29 03:52:33 -07001027 The kernel tries to adjust MTRR layout from continuous
1028 to discrete, to make X server driver able to add WB
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07001029 entry later. This parameter disables that.
Yinghai Lu95ffa242008-04-29 03:52:33 -07001030
Yinghai Lu093af8d2008-01-30 13:33:32 +01001031 disable_mtrr_trim [X86, Intel and AMD only]
Jesse Barnes99fc8d42008-01-30 13:33:18 +01001032 By default the kernel will trim any uncacheable
1033 memory out of your available memory pool based on
1034 MTRR settings. This parameter disables that behavior,
1035 possibly causing your machine to run very slowly.
1036
Jaswinder Singh Rajput6cececf2009-04-14 14:03:43 +05301037 disable_timer_pin_1 [X86]
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07001038 Disable PIN 1 of APIC timer
1039 Can be useful to work around chipset bugs.
1040
Prarit Bhargavace14c582015-08-25 13:34:53 -04001041 dis_ucode_ldr [X86] Disable the microcode loader.
1042
Will Drewry077d23c2010-06-09 17:47:38 -05001043 dm= [DM] Allows early creation of a device-mapper device.
1044 See Documentation/device-mapper/boot.txt.
1045
1046 dmasound= [HW,OSS] Sound subsystem buff
1047
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07001048 dma_debug=off If the kernel is compiled with DMA_API_DEBUG support,
1049 this option disables the debugging code at boot.
1050
1051 dma_debug_entries=<number>
1052 This option allows to tune the number of preallocated
1053 entries for DMA-API debugging code. One entry is
1054 required per DMA-API allocation. Use this if the
1055 DMA-API debugging code disables itself because the
1056 architectural default is too low.
1057
Joerg Roedel1745de52009-05-22 21:49:51 +02001058 dma_debug_driver=<driver_name>
1059 With this option the DMA-API debugging driver
1060 filter feature can be enabled at boot time. Just
1061 pass the driver to filter for as the parameter.
1062 The filter can be disabled or changed to another
1063 driver later using sysfs.
1064
Bob Paauwe96206e22015-08-27 10:04:13 -07001065 drm_kms_helper.edid_firmware=[<connector>:]<file>[,[<connector>:]<file>]
1066 Broken monitors, graphic adapters, KVMs and EDIDless
1067 panels may send no or incorrect EDID data sets.
1068 This parameter allows to specify an EDID data sets
1069 in the /lib/firmware directory that are used instead.
Carsten Emdeda0df922012-03-18 22:37:33 +01001070 Generic built-in EDID data sets are used, if one of
1071 edid/1024x768.bin, edid/1280x1024.bin,
1072 edid/1680x1050.bin, or edid/1920x1080.bin is given
1073 and no file with the same name exists. Details and
1074 instructions how to build your own EDID data are
1075 available in Documentation/EDID/HOWTO.txt. An EDID
1076 data set will only be used for a particular connector,
1077 if its name and a colon are prepended to the EDID
Bob Paauwe96206e22015-08-27 10:04:13 -07001078 name. Each connector may use a unique EDID data
1079 set by separating the files with a comma. An EDID
1080 data set with no connector name will be used for
1081 any connectors not explicitly specified.
Carsten Emdeda0df922012-03-18 22:37:33 +01001082
Linus Torvalds1da177e2005-04-16 15:20:36 -07001083 dscc4.setup= [NET]
1084
Jim Cromie29e36c92012-04-27 14:30:41 -06001085 dyndbg[="val"] [KNL,DYNAMIC_DEBUG]
1086 module.dyndbg[="val"]
1087 Enable debug messages at boot time. See
1088 Documentation/dynamic-debug-howto.txt for details.
1089
Dave Hansen8c3641e2015-06-07 11:37:02 -07001090 nompx [X86] Disables Intel Memory Protection Extensions.
1091 See Documentation/x86/intel_mpx.txt for more
1092 information about the feature.
1093
Dave Hansen06976942016-02-12 13:02:29 -08001094 nopku [X86] Disable Memory Protection Keys CPU feature found
1095 in some Intel CPUs.
1096
Luis R. Rodriguezf2411da2015-03-30 16:20:05 -07001097 module.async_probe [KNL]
1098 Enable asynchronous probe on this module.
1099
Mark Salter56aeeba2014-04-07 15:39:53 -07001100 early_ioremap_debug [KNL]
1101 Enable debug messages in early_ioremap support. This
1102 is useful for tracking down temporary early mappings
1103 which are not unmapped.
1104
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07001105 earlycon= [KNL] Output early console device and options.
Rob Herring0d3c6732014-04-18 17:19:57 -05001106
Scott Wood5664f762015-09-14 19:54:07 -05001107 When used with no options, the early console is
1108 determined by the stdout-path property in device
1109 tree's chosen node.
1110
Scott Telfordc41251b2016-09-22 16:58:16 +01001111 cdns,<addr>[,options]
1112 Start an early, polled-mode console on a Cadence
1113 (xuartps) serial port at the specified address. Only
1114 supported option is baud rate. If baud rate is not
1115 specified, the serial port must already be setup and
1116 configured.
Michal Simek6fa62fc2014-09-10 12:43:02 +02001117
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07001118 uart[8250],io,<addr>[,options]
1119 uart[8250],mmio,<addr>[,options]
Samium Gromoff1917ac72010-07-20 15:26:51 -07001120 uart[8250],mmio32,<addr>[,options]
Noam Camus6e63be32015-05-25 06:54:28 +03001121 uart[8250],mmio32be,<addr>[,options]
Peter Hurleyca782f12015-04-06 10:52:39 -04001122 uart[8250],0x<addr>[,options]
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07001123 Start an early, polled-mode console on the 8250/16550
1124 UART at the specified I/O port or MMIO address.
Randy Dunlap16290242011-08-13 12:34:52 -07001125 MMIO inter-register address stride is either 8-bit
Noam Camus6e63be32015-05-25 06:54:28 +03001126 (mmio) or 32-bit (mmio32 or mmio32be).
1127 If none of [io|mmio|mmio32|mmio32be], <addr> is assumed
1128 to be equivalent to 'mmio'. 'options' are specified
1129 in the same format described for "console=ttyS<n>"; if
Peter Hurleyca782f12015-04-06 10:52:39 -04001130 unspecified, the h/w is not initialized.
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07001131
Rob Herring0d3c6732014-04-18 17:19:57 -05001132 pl011,<addr>
Timur Tabi3b78fae2016-01-04 15:37:42 -06001133 pl011,mmio32,<addr>
Rob Herring0d3c6732014-04-18 17:19:57 -05001134 Start an early, polled-mode console on a pl011 serial
1135 port at the specified address. The pl011 serial port
1136 must already be setup and configured. Options are not
Timur Tabi3b78fae2016-01-04 15:37:42 -06001137 yet supported. If 'mmio32' is specified, then only
1138 the driver will use only 32-bit accessors to read/write
1139 the device registers.
Rob Herring0d3c6732014-04-18 17:19:57 -05001140
Andreas Färber736d5532016-03-06 12:21:24 +01001141 meson,<addr>
1142 Start an early, polled-mode console on a meson serial
1143 port at the specified address. The serial port must
1144 already be setup and configured. Options are not yet
1145 supported.
1146
Stephen Boyd0efe7292014-09-15 17:22:51 -07001147 msm_serial,<addr>
1148 Start an early, polled-mode console on an msm serial
1149 port at the specified address. The serial port
1150 must already be setup and configured. Options are not
1151 yet supported.
1152
1153 msm_serial_dm,<addr>
1154 Start an early, polled-mode console on an msm serial
1155 dm port at the specified address. The serial port
1156 must already be setup and configured. Options are not
1157 yet supported.
1158
Rob Herringd50d7262014-04-18 17:19:58 -05001159 smh Use ARM semihosting calls for early console.
1160
Tomasz Figab94ba032015-01-23 14:47:41 +01001161 s3c2410,<addr>
1162 s3c2412,<addr>
1163 s3c2440,<addr>
1164 s3c6400,<addr>
1165 s5pv210,<addr>
1166 exynos4210,<addr>
1167 Use early console provided by serial driver available
1168 on Samsung SoCs, requires selecting proper type and
1169 a correct base address of the selected UART port. The
1170 serial port must already be setup and configured.
1171 Options are not yet supported.
1172
Stefan Agner1d59b382015-10-17 00:45:55 -07001173 lpuart,<addr>
1174 lpuart32,<addr>
1175 Use early console provided by Freescale LP UART driver
1176 found on Freescale Vybrid and QorIQ LS1021A processors.
1177 A valid base address must be provided, and the serial
1178 port must already be setup and configured.
1179
Wilson Ding30530792016-02-16 19:14:53 +01001180 armada3700_uart,<addr>
1181 Start an early, polled-mode console on the
1182 Armada 3700 serial port at the specified
1183 address. The serial port must already be setup
1184 and configured. Options are not yet supported.
1185
Finn Thain7913ad12014-04-12 23:48:56 +10001186 earlyprintk= [X86,SH,BLACKFIN,ARM,M68k]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001187 earlyprintk=vga
Matt Fleming72548e82013-10-04 09:36:56 +01001188 earlyprintk=efi
Konrad Rzeszutek Wilk2482a922013-02-25 15:54:08 -05001189 earlyprintk=xen
Linus Torvalds1da177e2005-04-16 15:20:36 -07001190 earlyprintk=serial[,ttySn[,baudrate]]
Dave Hansen147ea092013-04-10 14:03:38 -07001191 earlyprintk=serial[,0x...[,baudrate]]
Jason Wesselea3acb12009-09-24 09:08:30 -05001192 earlyprintk=ttySn[,baudrate]
Jason Wessel9780bc42009-08-20 15:39:57 -05001193 earlyprintk=dbgp[debugController#]
Alexander Kuleshovc43088e2015-06-10 23:21:15 +06001194 earlyprintk=pciserial,bus:device.function[,baudrate]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001195
Dave Hansen147ea092013-04-10 14:03:38 -07001196 earlyprintk is useful when the kernel crashes before
1197 the normal console is initialized. It is not enabled by
1198 default because it has some cosmetic problems.
1199
Randy Dunlapa9913042005-10-23 12:57:11 -07001200 Append ",keep" to not disable it when the real console
Linus Torvalds1da177e2005-04-16 15:20:36 -07001201 takes over.
1202
Matt Fleming72548e82013-10-04 09:36:56 +01001203 Only one of vga, efi, serial, or usb debug port can
1204 be used at a time.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001205
Dave Hansen147ea092013-04-10 14:03:38 -07001206 Currently only ttyS0 and ttyS1 may be specified by
1207 name. Other I/O ports may be explicitly specified
1208 on some architectures (x86 and arm at least) by
1209 replacing ttySn with an I/O port address, like this:
1210 earlyprintk=serial,0x1008,115200
1211 You can find the port for a given device in
1212 /proc/tty/driver/serial:
1213 2: uart:ST16650V2 port:00001008 irq:18 ...
Linus Torvalds1da177e2005-04-16 15:20:36 -07001214
1215 Interaction with the standard serial driver is not
1216 very good.
1217
Matt Fleming72548e82013-10-04 09:36:56 +01001218 The VGA and EFI output is eventually overwritten by
1219 the real console.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001220
Konrad Rzeszutek Wilk2482a922013-02-25 15:54:08 -05001221 The xen output can only be used by Xen PV guests.
1222
Chen, Gongc700f012013-12-06 01:17:08 -05001223 edac_report= [HW,EDAC] Control how to report EDAC event
1224 Format: {"on" | "off" | "force"}
1225 on: enable EDAC to report H/W event. May be overridden
1226 by other higher priority error reporting module.
1227 off: disable H/W event reporting through EDAC.
1228 force: enforce the use of EDAC to report H/W event.
1229 default: on.
1230
Jason Wessel97311912010-05-20 21:04:30 -05001231 ekgdboc= [X86,KGDB] Allow early kernel console debugging
1232 ekgdboc=kbd
1233
Lucas De Marchi25985ed2011-03-30 22:57:33 -03001234 This is designed to be used in conjunction with
Jason Wessel97311912010-05-20 21:04:30 -05001235 the boot argument: earlyprintk=vga
1236
Linus Torvalds1da177e2005-04-16 15:20:36 -07001237 edd= [EDD]
Tim Gardner8c4dd602008-04-29 01:02:45 -07001238 Format: {"off" | "on" | "skip[mbr]"}
Linus Torvalds1da177e2005-04-16 15:20:36 -07001239
Borislav Petkovd2f7cbe2013-10-31 17:25:08 +01001240 efi= [EFI]
Borislav Petkovfed6cef2015-02-05 11:44:41 +01001241 Format: { "old_map", "nochunk", "noruntime", "debug" }
Borislav Petkovd2f7cbe2013-10-31 17:25:08 +01001242 old_map [X86-64]: switch to the old ioremap-based EFI
1243 runtime services mapping. 32-bit still uses this one by
1244 default.
Matt Fleming5a17dae2014-08-05 11:52:11 +01001245 nochunk: disable reading files in "chunks" in the EFI
1246 boot stub, as chunking can cause problems with some
1247 firmware implementations.
Dave Young5ae36832014-08-14 17:15:28 +08001248 noruntime : disable EFI runtime services support
Borislav Petkovfed6cef2015-02-05 11:44:41 +01001249 debug: enable misc debug output
Borislav Petkovd2f7cbe2013-10-31 17:25:08 +01001250
Richard Weinberger8c58bf32013-04-17 01:00:53 +02001251 efi_no_storage_paranoia [EFI; X86]
1252 Using this parameter you can use more than 50% of
1253 your efi variable storage. Use this parameter only if
1254 you are really sure that your UEFI does sane gc and
1255 fulfills the spec otherwise your board may brick.
1256
Taku Izumi0f96a992015-09-30 23:01:56 +09001257 efi_fake_mem= nn[KMG]@ss[KMG]:aa[,nn[KMG]@ss[KMG]:aa,..] [EFI; X86]
1258 Add arbitrary attribute to specific memory range by
1259 updating original EFI memory map.
1260 Region of memory which aa attribute is added to is
1261 from ss to ss+nn.
1262 If efi_fake_mem=2G@4G:0x10000,2G@0x10a0000000:0x10000
1263 is specified, EFI_MEMORY_MORE_RELIABLE(0x10000)
1264 attribute is added to range 0x100000000-0x180000000 and
1265 0x10a0000000-0x1120000000.
1266
1267 Using this parameter you can do debugging of EFI memmap
1268 related feature. For example, you can do debugging of
1269 Address Range Mirroring feature even if your box
1270 doesn't support it.
1271
Octavian Purdila475fb4e2016-07-08 19:13:12 +03001272 efivar_ssdt= [EFI; X86] Name of an EFI variable that contains an SSDT
1273 that is to be dynamically loaded by Linux. If there are
1274 multiple variables with the same name but with different
1275 vendor GUIDs, all of them will be loaded. See
1276 Documentation/acpi/ssdt-overlays.txt for details.
1277
1278
Linus Torvalds1da177e2005-04-16 15:20:36 -07001279 eisa_irq_edge= [PARISC,HW]
1280 See header of drivers/parisc/eisa.c.
1281
Alan Coxcd4f0ef2007-07-31 00:37:59 -07001282 elanfreq= [X86-32]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001283 See comment before function elanfreq_setup() in
Pavel Machek71f77052008-07-04 09:59:43 -07001284 arch/x86/kernel/cpu/cpufreq/elanfreq.c.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001285
1286 elevator= [IOSCHED]
Randy Dunlap17a9e7b2010-11-11 12:09:59 +01001287 Format: {"cfq" | "deadline" | "noop"}
Paul Bolle395cf962011-08-15 02:02:26 +02001288 See Documentation/block/cfq-iosched.txt and
Randy Dunlapa9913042005-10-23 12:57:11 -07001289 Documentation/block/deadline-iosched.txt for details.
1290
Michael Holzheud3bf37952011-10-30 15:16:37 +01001291 elfcorehdr=[size[KMG]@]offset[KMG] [IA64,PPC,SH,X86,S390]
Randy Dunlapa9913042005-10-23 12:57:11 -07001292 Specifies physical address of start of kernel core
Michael Holzheud3bf37952011-10-30 15:16:37 +01001293 image elf header and optionally the size. Generally
1294 kexec loader will pass this option to capture kernel.
Vivek Goyalaac04b32006-01-09 20:51:47 -08001295 See Documentation/kdump/kdump.txt for details.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001296
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07001297 enable_mtrr_cleanup [X86]
1298 The kernel tries to adjust MTRR layout from continuous
1299 to discrete, to make X server driver able to add WB
1300 entry later. This parameter enables that.
1301
Randy Dunlapca1eda22009-05-06 16:02:58 -07001302 enable_timer_pin_1 [X86]
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07001303 Enable PIN 1 of APIC timer
1304 Can be useful to work around chipset bugs
1305 (in particular on some ATI chipsets).
1306 The kernel tries to set a reasonable default.
1307
Linus Torvalds1da177e2005-04-16 15:20:36 -07001308 enforcing [SELINUX] Set initial enforcing status.
1309 Format: {"0" | "1"}
1310 See security/selinux/Kconfig help text.
1311 0 -- permissive (log only, no denials).
1312 1 -- enforcing (deny and log).
1313 Default value is 0.
1314 Value can be changed at runtime via /selinux/enforce.
1315
Huang Yinga08f82d2010-05-18 14:35:21 +08001316 erst_disable [ACPI]
1317 Disable Error Record Serialization Table (ERST)
1318 support.
1319
Linus Torvalds1da177e2005-04-16 15:20:36 -07001320 ether= [HW,NET] Ethernet cards parameters
1321 This option is obsoleted by the "netdev=" option, which
1322 has equivalent usage. See its documentation for details.
1323
Mimi Zohar7102ebc2011-05-12 18:33:20 -04001324 evm= [EVM]
1325 Format: { "fix" }
1326 Permit 'security.evm' to be updated regardless of
1327 current integrity status.
1328
Akinobu Mitade1ba092006-12-08 02:39:42 -08001329 failslab=
1330 fail_page_alloc=
1331 fail_make_request=[KNL]
1332 General fault injection mechanism.
1333 Format: <interval>,<probability>,<space>,<times>
Paul Bolle395cf962011-08-15 02:02:26 +02001334 See also Documentation/fault-injection/.
Akinobu Mitade1ba092006-12-08 02:39:42 -08001335
Linus Torvalds1da177e2005-04-16 15:20:36 -07001336 floppy= [HW]
Randy Dunlap31c00fc2008-11-13 21:33:24 +00001337 See Documentation/blockdev/floppy.txt.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001338
Alex Chiangf13ae302008-05-08 14:03:23 -06001339 force_pal_cache_flush
1340 [IA-64] Avoid check_sal_cache_flush which may hang on
1341 buggy SAL_CACHE_FLUSH implementations. Using this
1342 parameter will force ia64_sal_cache_flush to call
1343 ia64_pal_cache_flush instead of SAL_CACHE_FLUSH.
1344
Chris Bainbridge69f23662014-03-07 18:40:42 +07001345 forcepae [X86-32]
1346 Forcefully enable Physical Address Extension (PAE).
1347 Many Pentium M systems disable PAE but may have a
1348 functionally usable PAE implementation.
1349 Warning: use of this parameter will taint the kernel
1350 and may cause unknown problems.
1351
Peter Zijlstrad9e54072008-11-01 19:57:37 +01001352 ftrace=[tracer]
Steven Rostedt2af15d62009-05-28 13:37:24 -04001353 [FTRACE] will set and start the specified tracer
Peter Zijlstrad9e54072008-11-01 19:57:37 +01001354 as early as possible in order to facilitate early
1355 boot debugging.
1356
Frederic Weisbeckercecbca92010-04-18 19:08:41 +02001357 ftrace_dump_on_oops[=orig_cpu]
Steven Rostedt2af15d62009-05-28 13:37:24 -04001358 [FTRACE] will dump the trace buffers on oops.
Frederic Weisbeckercecbca92010-04-18 19:08:41 +02001359 If no parameter is passed, ftrace will dump
1360 buffers of all CPUs, but if you pass orig_cpu, it will
1361 dump only the buffer of the CPU that triggered the
1362 oops.
Steven Rostedt2af15d62009-05-28 13:37:24 -04001363
1364 ftrace_filter=[function-list]
1365 [FTRACE] Limit the functions traced by the function
1366 tracer at boot up. function-list is a comma separated
1367 list of functions. This list can be changed at run
1368 time by the set_ftrace_filter file in the debugfs
Randy Dunlap16290242011-08-13 12:34:52 -07001369 tracing directory.
Steven Rostedt2af15d62009-05-28 13:37:24 -04001370
1371 ftrace_notrace=[function-list]
1372 [FTRACE] Do not trace the functions specified in
1373 function-list. This list can be changed at run time
1374 by the set_ftrace_notrace file in the debugfs
1375 tracing directory.
Peter Zijlstrad9e54072008-11-01 19:57:37 +01001376
Stefan Assmann369bc182009-10-12 22:17:21 +02001377 ftrace_graph_filter=[function-list]
1378 [FTRACE] Limit the top level callers functions traced
1379 by the function graph tracer at boot up.
1380 function-list is a comma separated list of functions
1381 that can be changed at run time by the
1382 set_graph_function file in the debugfs tracing directory.
1383
Namhyung Kim0d7d9a12014-06-13 01:23:50 +09001384 ftrace_graph_notrace=[function-list]
1385 [FTRACE] Do not trace from the functions specified in
1386 function-list. This list is a comma separated list of
1387 functions that can be changed at run time by the
1388 set_graph_notrace file in the debugfs tracing directory.
1389
Linus Torvalds1da177e2005-04-16 15:20:36 -07001390 gamecon.map[2|3]=
1391 [HW,JOY] Multisystem joystick and NES/SNES/PSX pad
1392 support via parallel port (up to 5 devices per port)
1393 Format: <port#>,<pad1>,<pad2>,<pad3>,<pad4>,<pad5>
1394 See also Documentation/input/joystick-parport.txt
1395
1396 gamma= [HW,DRM]
1397
Yinghai Luaaf23042008-01-30 13:33:09 +01001398 gart_fix_e820= [X86_64] disable the fix e820 for K8 GART
1399 Format: off | on
1400 default: on
1401
Peter Oberparleiter2521f2c2009-06-17 16:28:08 -07001402 gcov_persist= [GCOV] When non-zero (default), profiling data for
1403 kernel modules is saved and remains accessible via
1404 debugfs, even when the module is unloaded/reloaded.
1405 When zero, profiling data is discarded and associated
1406 debugfs files are removed at module unload time.
1407
Thomas Gleixner2709c2a2017-02-15 11:11:50 +01001408 goldfish [X86] Enable the goldfish android emulator platform.
1409 Don't use this when you are not running on the
1410 android emulator
1411
Linus Torvalds1da177e2005-04-16 15:20:36 -07001412 gpt [EFI] Forces disk with valid GPT signature but
Davidlohr Bueso6c5de792014-01-23 15:56:03 -08001413 invalid Protective MBR to be treated as GPT. If the
1414 primary GPT is corrupted, it enables the backup/alternate
1415 GPT to be used instead.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001416
Andreas Larsson6cec9b02012-11-15 08:47:14 +01001417 grcan.enable0= [HW] Configuration of physical interface 0. Determines
1418 the "Enable 0" bit of the configuration register.
1419 Format: 0 | 1
1420 Default: 0
1421 grcan.enable1= [HW] Configuration of physical interface 1. Determines
1422 the "Enable 0" bit of the configuration register.
1423 Format: 0 | 1
1424 Default: 0
1425 grcan.select= [HW] Select which physical interface to use.
1426 Format: 0 | 1
1427 Default: 0
1428 grcan.txsize= [HW] Sets the size of the tx buffer.
1429 Format: <unsigned int> such that (txsize & ~0x1fffc0) == 0.
1430 Default: 1024
1431 grcan.rxsize= [HW] Sets the size of the rx buffer.
1432 Format: <unsigned int> such that (rxsize & ~0x1fffc0) == 0.
1433 Default: 1024
1434
Bamvor Jian Zhang0f98dd12016-08-31 11:45:46 +02001435 gpio-mockup.gpio_mockup_ranges
1436 [HW] Sets the ranges of gpiochip of for this device.
1437 Format: <start1>,<end1>,<start2>,<end2>...
1438
Jiri Kosina55537872015-11-05 18:44:41 -08001439 hardlockup_all_cpu_backtrace=
1440 [KNL] Should the hard-lockup detector generate
1441 backtraces on all cpus.
1442 Format: <integer>
1443
Linus Torvalds1da177e2005-04-16 15:20:36 -07001444 hashdist= [KNL,NUMA] Large hashes allocated during boot
1445 are distributed across NUMA nodes. Defaults on
Randy Dunlap16290242011-08-13 12:34:52 -07001446 for 64-bit NUMA, off otherwise.
Randy Dunlapa9913042005-10-23 12:57:11 -07001447 Format: 0 | 1 (for off | on)
Linus Torvalds1da177e2005-04-16 15:20:36 -07001448
1449 hcl= [IA-64] SGI's Hardware Graph compatibility layer
1450
1451 hd= [EIDE] (E)IDE hard drive subsystem geometry
1452 Format: <cyl>,<head>,<sect>
1453
Huang Yingea8c0712010-05-18 14:35:15 +08001454 hest_disable [ACPI]
1455 Disable Hardware Error Source Table (HEST) support;
1456 corresponding firmware-first mode error processing
1457 logic will be disabled.
1458
Linus Torvalds1da177e2005-04-16 15:20:36 -07001459 highmem=nn[KMG] [KNL,BOOT] forces the highmem zone to have an exact
1460 size of <nn>. This works even on boxes that have no
1461 highmem otherwise. This also works to reduce highmem
1462 size on bigger boxes.
1463
Thomas Gleixner54cdfdb2007-02-16 01:28:11 -08001464 highres= [KNL] Enable/disable high resolution timer mode.
1465 Valid parameters: "on", "off"
1466 Default: "on"
1467
Linus Torvalds1da177e2005-04-16 15:20:36 -07001468 hisax= [HW,ISDN]
1469 See Documentation/isdn/README.HiSax.
1470
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07001471 hlt [BUGS=ARM,SH]
1472
1473 hpet= [X86-32,HPET] option to control HPET usage
1474 Format: { enable (default) | disable | force |
1475 verbose }
1476 disable: disable HPET and use PIT instead
1477 force: allow force enabled of undocumented chips (ICH4,
1478 VIA, nVidia)
1479 verbose: show contents of HPET registers during setup
1480
Prarit Bhargava3d035f52013-11-12 15:08:33 -08001481 hpet_mmap= [X86, HPET_MMAP] Allow userspace to mmap HPET
1482 registers. Default set by CONFIG_HPET_MMAP_DEFAULT.
1483
Andi Kleenb4718e62008-07-23 21:27:51 -07001484 hugepages= [HW,X86-32,IA-64] HugeTLB pages to allocate at boot.
1485 hugepagesz= [HW,IA-64,PPC,X86-64] The size of the HugeTLB pages.
Jon Tollefson0d9ea752008-07-23 21:27:56 -07001486 On x86-64 and powerpc, this option can be specified
1487 multiple times interleaved with hugepages= to reserve
1488 huge pages of different sizes. Valid pages sizes on
1489 x86-64 are 2M (when the CPU supports "pse") and 1G
Luiz Capitulino27ec26e2014-12-12 16:55:18 -08001490 (when the CPU supports the "pdpe1gb" cpuinfo flag).
Paul Mundt6902aa82008-09-21 17:14:42 +09001491
Hendrik Brueckner555d61d2009-01-09 12:15:02 +01001492 hvc_iucv= [S390] Number of z/VM IUCV hypervisor console (HVC)
1493 terminal devices. Valid values: 0..8
Hendrik Brueckner431429f2009-03-26 15:23:55 +01001494 hvc_iucv_allow= [S390] Comma-separated list of z/VM user IDs.
1495 If specified, z/VM IUCV HVC accepts connections
1496 from listed z/VM user IDs only.
Hendrik Bruecknercef71252008-12-25 13:39:55 +01001497
James Hoganfdabf522012-10-09 11:00:27 +01001498 hwthread_map= [METAG] Comma-separated list of Linux cpu id to
1499 hardware thread id mappings.
1500 Format: <cpu>:<hwthread>
1501
Fabio M. Di Nitto7bf69392011-03-22 16:34:20 -07001502 keep_bootcon [KNL]
1503 Do not unregister boot console at start. This is only
1504 useful for debugging when something happens in the window
1505 between unregistering the boot console and initializing
1506 the real console.
1507
Jarkko Nikula3a853fb2009-03-23 18:07:47 -07001508 i2c_bus= [HW] Override the default board specific I2C bus speed
Jarkko Nikula79547632009-03-23 18:07:48 -07001509 or register an additional I2C bus that is not
1510 registered from board initialization code.
Jarkko Nikula3a853fb2009-03-23 18:07:47 -07001511 Format:
1512 <bus_id>,<clkrate>
1513
Jiri Kosina36d95732008-10-06 02:51:09 -04001514 i8042.debug [HW] Toggle i8042 debug mode
Stephen Chandler Paule1443d22015-07-15 10:20:17 -07001515 i8042.unmask_kbd_data
1516 [HW] Enable printing of interrupt data from the KBD port
1517 (disabled by default, and as a pre-condition
1518 requires that i8042.debug=1 be enabled)
Linus Torvalds1da177e2005-04-16 15:20:36 -07001519 i8042.direct [HW] Put keyboard port into non-translated mode
Matt LaPlante84eb8d02006-10-03 22:53:09 +02001520 i8042.dumbkbd [HW] Pretend that controller can only read data from
1521 keyboard and cannot control its state
Linus Torvalds1da177e2005-04-16 15:20:36 -07001522 (Don't attempt to blink the leds)
1523 i8042.noaux [HW] Don't check for auxiliary (== mouse) port
Dmitry Torokhov945ef0d2005-09-04 01:42:00 -05001524 i8042.nokbd [HW] Don't check/create keyboard port
Jiri Kosina75d08c72008-03-13 16:13:59 -04001525 i8042.noloop [HW] Disable the AUX Loopback command while probing
1526 for the AUX port
Linus Torvalds1da177e2005-04-16 15:20:36 -07001527 i8042.nomux [HW] Don't check presence of an active multiplexing
Dmitry Torokhove55a3362014-10-31 09:35:53 -07001528 controller
Linus Torvalds1da177e2005-04-16 15:20:36 -07001529 i8042.nopnp [HW] Don't use ACPIPnP / PnPBIOS to discover KBD/AUX
1530 controllers
Masanari Iida24775d62012-02-15 00:26:42 +09001531 i8042.notimeout [HW] Ignore timeout condition signalled by controller
Marcos Paulo de Souza930e1922016-10-01 12:07:35 -07001532 i8042.reset [HW] Reset the controller during init, cleanup and
1533 suspend-to-ram transitions, only during s2r
1534 transitions, or never reset
1535 Format: { 1 | Y | y | 0 | N | n }
1536 1, Y, y: always reset controller
1537 0, N, n: don't ever reset controller
1538 Default: only on s2r transitions on x86; most other
1539 architectures force reset to be always executed
Linus Torvalds1da177e2005-04-16 15:20:36 -07001540 i8042.unlock [HW] Unlock (ignore) the keylock
Srihari Vijayaraghavan148e9a72015-01-07 16:25:53 -08001541 i8042.kbdreset [HW] Reset device connected to KBD port
Linus Torvalds1da177e2005-04-16 15:20:36 -07001542
1543 i810= [HW,DRM]
1544
Dmitry Torokhove70c9d52005-06-25 14:54:25 -07001545 i8k.ignore_dmi [HW] Continue probing hardware even if DMI data
1546 indicates that the driver is running on unsupported
1547 hardware.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001548 i8k.force [HW] Activate i8k driver even if SMM BIOS signature
1549 does not match list of supported models.
1550 i8k.power_status
1551 [HW] Report power status in /proc/i8k
1552 (disabled by default)
1553 i8k.restricted [HW] Allow controlling fans only if SYS_ADMIN
1554 capability is set.
1555
Carsten Emde4dca20e2012-03-15 15:56:26 +01001556 i915.invert_brightness=
Carsten Emde7bd90902012-03-15 15:56:25 +01001557 [DRM] Invert the sense of the variable that is used to
1558 set the brightness of the panel backlight. Normally a
Carsten Emde4dca20e2012-03-15 15:56:26 +01001559 brightness value of 0 indicates backlight switched off,
1560 and the maximum of the brightness value sets the backlight
1561 to maximum brightness. If this parameter is set to 0
1562 (default) and the machine requires it, or this parameter
1563 is set to 1, a brightness value of 0 sets the backlight
1564 to maximum brightness, and the maximum of the brightness
1565 value switches the backlight off.
1566 -1 -- never invert brightness
1567 0 -- machine default
1568 1 -- force brightness inversion
Carsten Emde7bd90902012-03-15 15:56:25 +01001569
Linus Torvalds1da177e2005-04-16 15:20:36 -07001570 icn= [HW,ISDN]
1571 Format: <io>[,<membase>[,<icn_id>[,<icn_id2>]]]
1572
David Fries0af80c02009-02-25 20:28:21 +01001573 ide-core.nodma= [HW] (E)IDE subsystem
1574 Format: =0.0 to prevent dma on hda, =0.1 hdb =1.0 hdc
Bartlomiej Zolnierkiewicz075affc2009-06-07 13:52:52 +02001575 .vlb_clock .pci_clock .noflush .nohpa .noprobe .nowerr
1576 .cdrom .chs .ignore_cable are additional options
Randy Dunlap1c10e932008-03-07 21:53:50 +01001577 See Documentation/ide/ide.txt.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001578
Maciej W. Rozycki0f8b7f52014-10-25 17:03:52 +01001579 ide-generic.probe-mask= [HW] (E)IDE subsystem
1580 Format: <int>
1581 Probe mask for legacy ISA IDE ports. Depending on
1582 platform up to 6 ports are supported, enabled by
1583 setting corresponding bits in the mask to 1. The
1584 default value is 0x0, which has a special meaning.
1585 On systems that have PCI, it triggers scanning the
1586 PCI bus for the first and the second port, which
1587 are then probed. On systems without PCI the value
1588 of 0x0 enables probing the two first ports as if it
1589 was 0x3.
1590
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07001591 ide-pci-generic.all-generic-ide [HW] (E)IDE subsystem
1592 Claim all unknown PCI IDE storage controllers.
1593
Andi Kleenf039b752007-05-02 19:27:12 +02001594 idle= [X86]
Len Brown69fb3672013-02-10 01:38:39 -05001595 Format: idle=poll, idle=halt, idle=nomwait
Randy Dunlapada9cfd2008-12-19 10:57:32 -08001596 Poll forces a polling idle loop that can slightly
1597 improve the performance of waking up a idle CPU, but
1598 will use a lot of power and make the system run hot.
1599 Not recommended.
Randy Dunlapada9cfd2008-12-19 10:57:32 -08001600 idle=halt: Halt is forced to be used for CPU idle.
Zhao Yakuic1e3b372008-06-24 17:58:53 +08001601 In such case C2/C3 won't be used again.
Randy Dunlapada9cfd2008-12-19 10:57:32 -08001602 idle=nomwait: Disable mwait for CPU C-states
Randy Dunlapa9913042005-10-23 12:57:11 -07001603
Maciej W. Rozycki503943e2015-11-13 00:48:29 +00001604 ieee754= [MIPS] Select IEEE Std 754 conformance mode
1605 Format: { strict | legacy | 2008 | relaxed }
1606 Default: strict
1607
1608 Choose which programs will be accepted for execution
1609 based on the IEEE 754 NaN encoding(s) supported by
1610 the FPU and the NaN encoding requested with the value
1611 of an ELF file header flag individually set by each
1612 binary. Hardware implementations are permitted to
1613 support either or both of the legacy and the 2008 NaN
1614 encoding mode.
1615
1616 Available settings are as follows:
1617 strict accept binaries that request a NaN encoding
1618 supported by the FPU
1619 legacy only accept legacy-NaN binaries, if supported
1620 by the FPU
1621 2008 only accept 2008-NaN binaries, if supported
1622 by the FPU
1623 relaxed accept any binaries regardless of whether
1624 supported by the FPU
1625
1626 The FPU emulator is always able to support both NaN
1627 encodings, so if no FPU hardware is present or it has
1628 been disabled with 'nofpu', then the settings of
1629 'legacy' and '2008' strap the emulator accordingly,
1630 'relaxed' straps the emulator for both legacy-NaN and
1631 2008-NaN, whereas 'strict' enables legacy-NaN only on
1632 legacy processors and both NaN encodings on MIPS32 or
1633 MIPS64 CPUs.
1634
1635 The setting for ABS.fmt/NEG.fmt instruction execution
1636 mode generally follows that for the NaN encoding,
1637 except where unsupported by hardware.
1638
Ingo Molnar792908222006-12-06 20:40:51 -08001639 ignore_loglevel [KNL]
1640 Ignore loglevel setting - this will print /all/
1641 kernel messages to the console. Useful for debugging.
Yanmin Zhang0eca6b72011-10-31 17:11:25 -07001642 We also add it as printk module parameter, so users
1643 could change it dynamically, usually by
1644 /sys/module/printk/parameters/ignore_loglevel.
Ingo Molnar792908222006-12-06 20:40:51 -08001645
Konstantin Khlebnikovd977d562016-02-02 16:57:43 -08001646 ignore_rlimit_data
1647 Ignore RLIMIT_DATA setting for data mappings,
1648 print warning at first misuse. Can be changed via
1649 /sys/module/kernel/parameters/ignore_rlimit_data.
1650
Linus Torvalds1da177e2005-04-16 15:20:36 -07001651 ihash_entries= [KNL]
1652 Set number of hash buckets for inode cache.
1653
Mimi Zohar2fe5d6d2012-02-13 10:15:05 -05001654 ima_appraise= [IMA] appraise integrity measurements
Dmitry Kasatkin2faa6ef2014-05-08 13:11:29 +03001655 Format: { "off" | "enforce" | "fix" | "log" }
Mimi Zohar2fe5d6d2012-02-13 10:15:05 -05001656 default: "enforce"
1657
Mimi Zohar07f6a792011-03-09 22:25:48 -05001658 ima_appraise_tcb [IMA]
1659 The builtin appraise policy appraises all files
1660 owned by uid=0.
1661
Mimi Zohar3323eec2009-02-04 09:06:58 -05001662 ima_hash= [IMA]
Mimi Zohare7a2ad72013-06-07 12:16:37 +02001663 Format: { md5 | sha1 | rmd160 | sha256 | sha384
1664 | sha512 | ... }
Mimi Zohar3323eec2009-02-04 09:06:58 -05001665 default: "sha1"
1666
Mimi Zohare7a2ad72013-06-07 12:16:37 +02001667 The list of supported hash algorithms is defined
1668 in crypto/hash_info.h.
1669
Mimi Zohar24fd03c2015-06-11 20:48:33 -04001670 ima_policy= [IMA]
1671 The builtin measurement policy to load during IMA
1672 setup. Specyfing "tcb" as the value, measures all
1673 programs exec'd, files mmap'd for exec, and all files
1674 opened with the read mode bit set by either the
1675 effective uid (euid=0) or uid=0.
1676 Format: "tcb"
1677
1678 ima_tcb [IMA] Deprecated. Use ima_policy= instead.
Eric Paris5789ba32009-05-21 15:47:06 -04001679 Load a policy which meets the needs of the Trusted
1680 Computing Base. This means IMA will measure all
1681 programs exec'd, files mmap'd for exec, and all files
1682 opened for read by uid=0.
1683
Roberto Sassu9b9d4ce2013-06-07 12:16:35 +02001684 ima_template= [IMA]
1685 Select one of defined IMA measurements template formats.
Roberto Sassu8265a2f2015-04-11 17:07:03 +02001686 Formats: { "ima" | "ima-ng" | "ima-sig" }
Roberto Sassu9b9d4ce2013-06-07 12:16:35 +02001687 Default: "ima-ng"
1688
Roberto Sassuc2426d22014-10-13 14:08:42 +02001689 ima_template_fmt=
1690 [IMA] Define a custom template format.
1691 Format: { "field1|...|fieldN" }
1692
Dmitry Kasatkin3bcced32014-02-26 17:05:20 +02001693 ima.ahash_minsize= [IMA] Minimum file size for asynchronous hash usage
1694 Format: <min_file_size>
1695 Set the minimal file size for using asynchronous hash.
1696 If left unspecified, ahash usage is disabled.
1697
1698 ahash performance varies for different data sizes on
1699 different crypto accelerators. This option can be used
1700 to achieve the best performance for a particular HW.
1701
Dmitry Kasatkin6edf7a82014-05-06 14:47:13 +03001702 ima.ahash_bufsize= [IMA] Asynchronous hash buffer size
1703 Format: <bufsize>
1704 Set hashing buffer size. Default: 4k.
1705
1706 ahash performance varies for different chunk sizes on
1707 different crypto accelerators. This option can be used
1708 to achieve best performance for particular HW.
1709
Linus Torvalds1da177e2005-04-16 15:20:36 -07001710 init= [KNL]
1711 Format: <full_path>
1712 Run specified binary instead of /sbin/init as init
1713 process.
1714
1715 initcall_debug [KNL] Trace initcalls as they are executed. Useful
1716 for working out where the kernel is dying during
1717 startup.
1718
Prarit Bhargava7b0b73d2014-06-04 16:12:17 -07001719 initcall_blacklist= [KNL] Do not execute a comma-separated list of
1720 initcall functions. Useful for debugging built-in
1721 modules and initcalls.
1722
Linus Torvalds1da177e2005-04-16 15:20:36 -07001723 initrd= [BOOT] Specify the location of the initial ramdisk
1724
Dave Hansenacd547b2016-07-29 09:30:21 -07001725 init_pkru= [x86] Specify the default memory protection keys rights
1726 register contents for all processes. 0x55555554 by
1727 default (disallow access to all but pkey 0). Can
1728 override in debugfs after boot.
1729
Linus Torvalds1da177e2005-04-16 15:20:36 -07001730 inport.irq= [HW] Inport (ATI XL and Microsoft) busmouse driver
1731 Format: <irq>
1732
Fenghua Yu6bb2ff82013-05-21 15:35:17 -04001733 int_pln_enable [x86] Enable power limit notification interrupt
1734
Mimi Zohard726d8d2013-03-18 14:48:02 -04001735 integrity_audit=[IMA]
1736 Format: { "0" | "1" }
1737 0 -- basic integrity auditing messages. (Default)
1738 1 -- additional integrity auditing messages.
1739
Keshavamurthy, Anil Sba395922007-10-21 16:41:49 -07001740 intel_iommu= [DMAR] Intel IOMMU driver (DMAR) option
Kyle McMartin0cd5c3c2009-02-04 14:29:19 -08001741 on
1742 Enable intel iommu driver.
Keshavamurthy, Anil Sba395922007-10-21 16:41:49 -07001743 off
1744 Disable intel iommu driver.
1745 igfx_off [Default Off]
1746 By default, gfx is mapped as normal device. If a gfx
1747 device has a dedicated DMAR unit, the DMAR unit is
1748 bypassed by not enabling DMAR with this option. In
1749 this case, gfx device will use physical address for
1750 DMA.
Keshavamurthy, Anil S7d3b03c2007-10-21 16:41:53 -07001751 forcedac [x86_64]
1752 With this option iommu will not optimize to look
Randy Dunlap16290242011-08-13 12:34:52 -07001753 for io virtual address below 32-bit forcing dual
Keshavamurthy, Anil S7d3b03c2007-10-21 16:41:53 -07001754 address cycle on pci bus for cards supporting greater
Randy Dunlap16290242011-08-13 12:34:52 -07001755 than 32-bit addressing. The default is to look
1756 for translation below 32-bit and if not available
Keshavamurthy, Anil S7d3b03c2007-10-21 16:41:53 -07001757 then look in the higher range.
mark gross5e0d2a62008-03-04 15:22:08 -08001758 strict [Default Off]
1759 With this option on every unmap_single operation will
1760 result in a hardware IOTLB flush operation as opposed
1761 to batching them for performance.
Youquan Song6dd9a7c2011-05-25 19:13:49 +01001762 sp_off [Default Off]
1763 By default, super page will be supported if Intel IOMMU
1764 has the capability. With this option, super page will
1765 not be supported.
David Woodhousec83b2f22015-06-12 10:15:49 +01001766 ecs_off [Default Off]
1767 By default, extended context tables will be supported if
1768 the hardware advertises that it has support both for the
1769 extended tables themselves, and also PASID support. With
1770 this option set, extended tables will not be used even
1771 on hardware which claims to support them.
Masanari Iida2e92c7a2011-12-15 01:18:52 +09001772
1773 intel_idle.max_cstate= [KNL,HW,ACPI,X86]
1774 0 disables intel_idle and fall back on acpi_idle.
baolex.ni22c6bbe2016-07-11 09:57:37 +08001775 1 to 9 specify maximum depth of C-state.
Masanari Iida2e92c7a2011-12-15 01:18:52 +09001776
Dirk Brandewie6be26492013-02-15 22:55:10 +01001777 intel_pstate= [X86]
1778 disable
1779 Do not enable intel_pstate as the default
1780 scaling driver for the supported processors
Ethan Zhaoaa4ea342014-12-09 10:43:19 +09001781 force
1782 Enable intel_pstate on systems that prohibit it by default
1783 in favor of acpi-cpufreq. Forcing the intel_pstate driver
1784 instead of acpi-cpufreq may disable platform features, such
1785 as thermal controls and power capping, that rely on ACPI
1786 P-States information being indicated to OSPM and therefore
1787 should be used with caution. This option does not work with
1788 processors that aren't supported by the intel_pstate driver
1789 or on platforms that use pcc-cpufreq instead of acpi-cpufreq.
Dirk Brandewie2f86dc42014-11-06 09:40:47 -08001790 no_hwp
1791 Do not enable hardware P state control (HWP)
1792 if available.
Kristen Carlson Accardid64c3b02015-02-06 13:41:55 -08001793 hwp_only
1794 Only load intel_pstate on systems which support
1795 hardware P state control (HWP) if available.
Srinivas Pandruvada9522a2f2016-04-27 15:48:06 -07001796 support_acpi_ppc
Srinivas Pandruvada2b3ec762016-04-27 15:48:08 -07001797 Enforce ACPI _PPC performance limits. If the Fixed ACPI
1798 Description Table, specifies preferred power management
1799 profile as "Enterprise Server" or "Performance Server",
1800 then this feature is turned on by default.
Dirk Brandewie6be26492013-02-15 22:55:10 +01001801
Chris Wrightd1423d52010-07-20 11:06:49 -07001802 intremap= [X86-64, Intel-IOMMU]
Chris Wrightd1423d52010-07-20 11:06:49 -07001803 on enable Interrupt Remapping (default)
1804 off disable Interrupt Remapping
1805 nosid disable Source ID checking
Suresh Siddha41750d32011-08-23 17:05:18 -07001806 no_x2apic_optout
1807 BIOS x2APIC opt-out request will be ignored
Feng Wub7d20632015-09-18 22:29:56 +08001808 nopost disable Interrupt Posting
Chris Wrightd1423d52010-07-20 11:06:49 -07001809
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07001810 iomem= Disable strict checking of access to MMIO memory
1811 strict regions from userspace.
1812 relaxed
1813
1814 iommu= [x86]
1815 off
1816 force
1817 noforce
1818 biomerge
1819 panic
1820 nopanic
1821 merge
1822 nomerge
1823 forcesac
1824 soft
Alex Williamsonbcb71ab2011-10-21 15:56:24 -04001825 pt [x86, IA-64]
Thadeu Lima de Souza Cascardo4e287842014-10-23 19:19:35 -02001826 nobypass [PPC/POWERNV]
1827 Disable IOMMU bypass, using IOMMU for PCI devices.
Alex Williamsonbcb71ab2011-10-21 15:56:24 -04001828
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07001829
1830 io7= [HW] IO7 for Marvel based alpha systems
1831 See comment before marvel_specify_io7 in
1832 arch/alpha/kernel/core_marvel.c.
1833
Jaswinder Singh Rajput6cececf2009-04-14 14:03:43 +05301834 io_delay= [X86] I/O delay method
Ingo Molnar6e7c4022008-01-30 13:30:05 +01001835 0x80
1836 Standard port 0x80 based delay
1837 0xed
1838 Alternate port 0xed based delay (needed on some systems)
Rene Hermanb02aae92008-01-30 13:30:05 +01001839 udelay
Ingo Molnar6e7c4022008-01-30 13:30:05 +01001840 Simple two microseconds delay
1841 none
1842 No delay
Rene Hermanb02aae92008-01-30 13:30:05 +01001843
Linus Torvalds1da177e2005-04-16 15:20:36 -07001844 ip= [IP_PNP]
J. Bruce Fieldsdc7a0812009-10-27 14:41:35 -04001845 See Documentation/filesystems/nfs/nfsroot.txt.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001846
Thomas Gleixnerfbf19802016-02-03 19:52:23 +01001847 irqaffinity= [SMP] Set the default irq affinity mask
Noam Camus2d13e6c2016-10-11 13:51:35 -07001848 The argument is a cpu list, as described above.
Thomas Gleixnerfbf19802016-02-03 19:52:23 +01001849
Alan Cox200803d2005-06-28 20:45:18 -07001850 irqfixup [HW]
1851 When an interrupt is not handled search all handlers
1852 for it. Intended to get systems with badly broken
1853 firmware running.
1854
1855 irqpoll [HW]
1856 When an interrupt is not handled search all handlers
1857 for it. Also check all handlers each timer
1858 interrupt. Intended to get systems with badly broken
1859 firmware running.
1860
Linus Torvalds1da177e2005-04-16 15:20:36 -07001861 isapnp= [ISAPNP]
Randy Dunlapa9913042005-10-23 12:57:11 -07001862 Format: <RDP>,<reset>,<pci_scan>,<verbosity>
Linus Torvalds1da177e2005-04-16 15:20:36 -07001863
1864 isolcpus= [KNL,SMP] Isolate CPUs from the general scheduler.
Noam Camus2d13e6c2016-10-11 13:51:35 -07001865 The argument is a cpu list, as described above.
Li Zefanb225d442008-11-06 12:53:39 -08001866
Linus Torvalds1da177e2005-04-16 15:20:36 -07001867 This option can be used to specify one or more CPUs
1868 to isolate from the general SMP balancing and scheduling
Li Zefanb225d442008-11-06 12:53:39 -08001869 algorithms. You can move a process onto or off an
1870 "isolated" CPU via the CPU affinity syscalls or cpuset.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001871 <cpu number> begins at 0 and the maximum value is
1872 "number of CPUs in system - 1".
1873
1874 This option is the preferred way to isolate CPUs. The
Randy Dunlapa9913042005-10-23 12:57:11 -07001875 alternative -- manually setting the CPU mask of all
1876 tasks in the system -- can cause problems and
1877 suboptimal load balancer performance.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001878
Randy Dunlapa9913042005-10-23 12:57:11 -07001879 iucv= [HW,NET]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001880
Joerg Roedel7d8bfa22013-04-09 21:27:19 +02001881 ivrs_ioapic [HW,X86_64]
1882 Provide an override to the IOAPIC-ID<->DEVICE-ID
1883 mapping provided in the IVRS ACPI table. For
1884 example, to map IOAPIC-ID decimal 10 to
1885 PCI device 00:14.0 write the parameter as:
1886 ivrs_ioapic[10]=00:14.0
1887
1888 ivrs_hpet [HW,X86_64]
1889 Provide an override to the HPET-ID<->DEVICE-ID
1890 mapping provided in the IVRS ACPI table. For
1891 example, to map HPET-ID decimal 0 to
1892 PCI device 00:14.0 write the parameter as:
1893 ivrs_hpet[0]=00:14.0
1894
Suravee Suthikulpanitca3bf5d2016-04-01 09:06:01 -04001895 ivrs_acpihid [HW,X86_64]
1896 Provide an override to the ACPI-HID:UID<->DEVICE-ID
1897 mapping provided in the IVRS ACPI table. For
1898 example, to map UART-HID:UID AMD0020:0 to
1899 PCI device 00:14.5 write the parameter as:
1900 ivrs_acpihid[00:14.5]=AMD0020:0
1901
Linus Torvalds1da177e2005-04-16 15:20:36 -07001902 js= [HW,JOY] Analog joystick
1903 See Documentation/input/joystick.txt.
1904
Kees Cook65fe9352016-06-13 15:10:02 -07001905 nokaslr [KNL]
1906 When CONFIG_RANDOMIZE_BASE is set, this disables
1907 kernel and module base offset ASLR (Address Space
1908 Layout Randomization).
Kees Cook24f2e022014-06-13 13:30:36 -07001909
Mark Rutland586b2bd2017-03-31 15:12:04 -07001910 kasan_multi_shot
1911 [KNL] Enforce KASAN (Kernel Address Sanitizer) to print
1912 report on every invalid memory access. Without this
1913 parameter KASAN will print report only for the first
1914 invalid access.
1915
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07001916 keepinitrd [HW,ARM]
1917
Taku Izumi342332e2016-03-15 14:55:22 -07001918 kernelcore= [KNL,X86,IA-64,PPC]
1919 Format: nn[KMGTPE] | "mirror"
1920 This parameter
Mel Gormaned7ed362007-07-17 04:03:14 -07001921 specifies the amount of memory usable by the kernel
1922 for non-movable allocations. The requested amount is
1923 spread evenly throughout all nodes in the system. The
1924 remaining memory in each node is used for Movable
1925 pages. In the event, a node is too small to have both
1926 kernelcore and Movable pages, kernelcore pages will
1927 take priority and other nodes will have a larger number
Weiping Pan675217f2013-09-30 13:45:10 -07001928 of Movable pages. The Movable zone is used for the
Mel Gormaned7ed362007-07-17 04:03:14 -07001929 allocation of pages that may be reclaimed or moved
1930 by the page migration subsystem. This means that
1931 HugeTLB pages may not be allocated from this zone.
1932 Note that allocations like PTEs-from-HighMem still
1933 use the HighMem zone if it exists, and the Normal
1934 zone if it does not.
1935
Taku Izumi342332e2016-03-15 14:55:22 -07001936 Instead of specifying the amount of memory (nn[KMGTPE]),
1937 you can specify "mirror" option. In case "mirror"
1938 option is specified, mirrored (reliable) memory is used
1939 for non-movable allocations and remaining memory is used
1940 for Movable pages. nn[KMGTPE] and "mirror" are exclusive,
1941 so you can NOT specify nn[KMGTPE] and "mirror" at the same
1942 time.
1943
Jason Wessel4fe1da42010-05-20 21:04:31 -05001944 kgdbdbgp= [KGDB,HW] kgdb over EHCI usb debug port.
1945 Format: <Controller#>[,poll interval]
1946 The controller # is the number of the ehci usb debug
1947 port as it is probed via PCI. The poll interval is
1948 optional and is the number seconds in between
1949 each poll cycle to the debug port in case you need
1950 the functionality for interrupting the kernel with
1951 gdb or control-c on the dbgp connection. When
1952 not using this parameter you use sysrq-g to break into
1953 the kernel debugger.
1954
Jason Wessel84c08fd2010-05-20 21:04:24 -05001955 kgdboc= [KGDB,HW] kgdb over consoles.
Jason Wesselada64e42010-05-20 21:04:24 -05001956 Requires a tty driver that supports console polling,
1957 or a supported polling keyboard driver (non-usb).
Jason Wessel65b5ac12010-08-05 09:22:33 -05001958 Serial only format: <serial_device>[,baud]
1959 keyboard only format: kbd
1960 keyboard and serial format: kbd,<serial_device>[,baud]
1961 Optional Kernel mode setting:
1962 kms, kbd format: kms,kbd
1963 kms, kbd and serial format: kms,kbd,<ser_dev>[,baud]
Jason Wessel6cdf6e02008-04-17 20:05:38 +02001964
Jason Wessel84c08fd2010-05-20 21:04:24 -05001965 kgdbwait [KGDB] Stop kernel execution and enter the
1966 kernel debugger at the earliest opportunity.
1967
Florian Fainelli9bed90c62008-08-23 18:54:37 +02001968 kmac= [MIPS] korina ethernet MAC address.
1969 Configure the RouterBoard 532 series on-chip
1970 Ethernet adapter MAC address.
1971
Catalin Marinas04f70332009-06-11 13:22:39 +01001972 kmemleak= [KNL] Boot-time kmemleak enable/disable
1973 Valid arguments: on, off
1974 Default: on
Masanari Iida47aeedd2014-10-24 21:24:59 +09001975 Built with CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=y,
1976 the default is off.
Catalin Marinas04f70332009-06-11 13:22:39 +01001977
Xishi Qiuc3ac14b2014-01-23 15:53:33 -08001978 kmemcheck= [X86] Boot-time kmemcheck enable/disable/one-shot mode
1979 Valid arguments: 0, 1, 2
1980 kmemcheck=0 (disabled)
1981 kmemcheck=1 (enabled)
1982 kmemcheck=2 (one-shot mode)
1983 Default: 2 (one-shot mode)
1984
Jeremy Linton8973a612019-01-25 12:07:00 -06001985 kpti= [ARM64] Control page table isolation of user
1986 and kernel address spaces.
1987 Default: enabled on cores which need mitigation.
1988 0: force disabled
1989 1: force enabled
1990
Jaswinder Singh Rajput6cececf2009-04-14 14:03:43 +05301991 kstack=N [X86] Print N words from the kernel stack
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07001992 in oops dumps.
1993
Andre Przywarafef07aa2009-07-10 14:20:35 +02001994 kvm.ignore_msrs=[KVM] Ignore guest accesses to unhandled MSRs.
1995 Default is 0 (don't ignore, but inject #GP)
1996
Xiao Guangronga182d872010-09-20 22:17:48 +08001997 kvm.mmu_audit= [KVM] This is a R/W parameter which allows audit
1998 KVM MMU at runtime.
Andre Przywarafef07aa2009-07-10 14:20:35 +02001999 Default is 0 (off)
2000
Paolo Bonzinia7ad7942019-11-04 12:22:02 +01002001 kvm.nx_huge_pages=
2002 [KVM] Controls the software workaround for the
2003 X86_BUG_ITLB_MULTIHIT bug.
2004 force : Always deploy workaround.
2005 off : Never deploy workaround.
2006 auto : Deploy workaround based on the presence of
2007 X86_BUG_ITLB_MULTIHIT.
2008
2009 Default is 'auto'.
2010
2011 If the software workaround is enabled for the host,
2012 guests do need not to enable it for nested guests.
2013
Junaid Shahidc6e94ac2019-11-04 12:22:03 +01002014 kvm.nx_huge_pages_recovery_ratio=
2015 [KVM] Controls how many 4KiB pages are periodically zapped
2016 back to huge pages. 0 disables the recovery, otherwise if
2017 the value is N KVM will zap 1/Nth of the 4KiB pages every
2018 minute. The default is 60.
2019
Andre Przywarafef07aa2009-07-10 14:20:35 +02002020 kvm-amd.nested= [KVM,AMD] Allow nested virtualization in KVM/SVM.
Xiao Guangrong8475f942010-09-20 22:16:45 +08002021 Default is 1 (enabled)
Andre Przywarafef07aa2009-07-10 14:20:35 +02002022
2023 kvm-amd.npt= [KVM,AMD] Disable nested paging (virtualized MMU)
2024 for all guests.
Randy Dunlap16290242011-08-13 12:34:52 -07002025 Default is 1 (enabled) if in 64-bit or 32-bit PAE mode.
Andre Przywarafef07aa2009-07-10 14:20:35 +02002026
Andre Przywarafef07aa2009-07-10 14:20:35 +02002027 kvm-intel.ept= [KVM,Intel] Disable extended page tables
2028 (virtualized MMU) support on capable Intel chips.
2029 Default is 1 (enabled)
2030
2031 kvm-intel.emulate_invalid_guest_state=
2032 [KVM,Intel] Enable emulation of invalid guest states
2033 Default is 0 (disabled)
2034
2035 kvm-intel.flexpriority=
2036 [KVM,Intel] Disable FlexPriority feature (TPR shadow).
2037 Default is 1 (enabled)
2038
Sasha Levine1a72ae2011-08-09 14:28:35 +03002039 kvm-intel.nested=
2040 [KVM,Intel] Enable VMX nesting (nVMX).
2041 Default is 0 (disabled)
2042
Andre Przywarafef07aa2009-07-10 14:20:35 +02002043 kvm-intel.unrestricted_guest=
2044 [KVM,Intel] Disable unrestricted guest feature
2045 (virtualized real and unpaged mode) on capable
2046 Intel chips. Default is 1 (enabled)
2047
Konrad Rzeszutek Wilkaf6ce922018-07-02 12:29:30 +02002048 kvm-intel.vmentry_l1d_flush=[KVM,Intel] Mitigation for L1 Terminal Fault
2049 CVE-2018-3620.
2050
2051 Valid arguments: never, cond, always
2052
2053 always: L1D cache flush on every VMENTER.
2054 cond: Flush L1D on VMENTER only when the code between
2055 VMEXIT and VMENTER can leak host memory.
2056 never: Disables the mitigation
2057
2058 Default is cond (do L1 cache flush in specific instances)
2059
Andre Przywarafef07aa2009-07-10 14:20:35 +02002060 kvm-intel.vpid= [KVM,Intel] Disable Virtual Processor Identification
2061 feature (tagged TLBs) on capable Intel chips.
2062 Default is 1 (enabled)
2063
Jiri Kosina2decbf52018-07-13 16:23:25 +02002064 l1tf= [X86] Control mitigation of the L1TF vulnerability on
2065 affected CPUs
2066
2067 The kernel PTE inversion protection is unconditionally
2068 enabled and cannot be disabled.
2069
2070 full
2071 Provides all available mitigations for the
2072 L1TF vulnerability. Disables SMT and
2073 enables all mitigations in the
2074 hypervisors, i.e. unconditional L1D flush.
2075
2076 SMT control and L1D flush control via the
2077 sysfs interface is still possible after
2078 boot. Hypervisors will issue a warning
2079 when the first VM is started in a
2080 potentially insecure configuration,
2081 i.e. SMT enabled or L1D flush disabled.
2082
2083 full,force
2084 Same as 'full', but disables SMT and L1D
2085 flush runtime control. Implies the
2086 'nosmt=force' command line option.
2087 (i.e. sysfs control of SMT is disabled.)
2088
2089 flush
2090 Leaves SMT enabled and enables the default
2091 hypervisor mitigation, i.e. conditional
2092 L1D flush.
2093
2094 SMT control and L1D flush control via the
2095 sysfs interface is still possible after
2096 boot. Hypervisors will issue a warning
2097 when the first VM is started in a
2098 potentially insecure configuration,
2099 i.e. SMT enabled or L1D flush disabled.
2100
2101 flush,nosmt
2102
2103 Disables SMT and enables the default
2104 hypervisor mitigation.
2105
2106 SMT control and L1D flush control via the
2107 sysfs interface is still possible after
2108 boot. Hypervisors will issue a warning
2109 when the first VM is started in a
2110 potentially insecure configuration,
2111 i.e. SMT enabled or L1D flush disabled.
2112
2113 flush,nowarn
2114 Same as 'flush', but hypervisors will not
2115 warn when a VM is started in a potentially
2116 insecure configuration.
2117
2118 off
2119 Disables hypervisor mitigations and doesn't
2120 emit any warnings.
Michal Hockoc3692582018-11-13 19:49:10 +01002121 It also drops the swap size and available
2122 RAM limit restriction on both hypervisor and
2123 bare metal.
Jiri Kosina2decbf52018-07-13 16:23:25 +02002124
2125 Default is 'flush'.
2126
Thomas Gleixnercb106032019-02-19 11:10:49 +01002127 For details see: Documentation/hw-vuln/l1tf.rst
Jiri Kosina2decbf52018-07-13 16:23:25 +02002128
Linus Torvalds1da177e2005-04-16 15:20:36 -07002129 l2cr= [PPC]
2130
Robert Brosea78bfbf2008-03-29 07:20:23 +11002131 l3cr= [PPC]
2132
Alan Coxcd4f0ef2007-07-31 00:37:59 -07002133 lapic [X86-32,APIC] Enable the local APIC even if BIOS
Randy Dunlapa9913042005-10-23 12:57:11 -07002134 disabled it.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002135
Suresh Siddha279f1462012-10-22 14:37:58 -07002136 lapic= [x86,APIC] "notscdeadline" Do not use TSC deadline
2137 value for LAPIC timer one-shot implementation. Default
2138 back to the programmable timer unit in the LAPIC.
2139
Jaswinder Singh Rajput6cececf2009-04-14 14:03:43 +05302140 lapic_timer_c2_ok [X86,APIC] trust the local apic timer
Randy Dunlapada9cfd2008-12-19 10:57:32 -08002141 in C2 power state.
Thomas Gleixnere585bef2007-03-23 16:08:01 +01002142
FD Camifcb71f62008-01-06 19:08:56 +01002143 libata.dma= [LIBATA] DMA control
2144 libata.dma=0 Disable all PATA and SATA DMA
2145 libata.dma=1 PATA and SATA Disk DMA only
2146 libata.dma=2 ATAPI (CDROM) DMA only
Randy Dunlap16290242011-08-13 12:34:52 -07002147 libata.dma=4 Compact Flash DMA only
FD Camifcb71f62008-01-06 19:08:56 +01002148 Combinations also work, so libata.dma=3 enables DMA
2149 for disks and CDROMs, but not CFs.
Randy Dunlap16290242011-08-13 12:34:52 -07002150
Michael Prokop20308872009-08-06 00:14:10 +02002151 libata.ignore_hpa= [LIBATA] Ignore HPA limit
2152 libata.ignore_hpa=0 keep BIOS limits (default)
2153 libata.ignore_hpa=1 ignore limits, using full disk
FD Camifcb71f62008-01-06 19:08:56 +01002154
Dave Jones78e70c22007-09-27 11:50:13 -04002155 libata.noacpi [LIBATA] Disables use of ACPI in libata suspend/resume
2156 when set.
2157 Format: <int>
2158
Tejun Heo33267322008-02-13 09:15:09 +09002159 libata.force= [LIBATA] Force configurations. The format is comma
2160 separated list of "[ID:]VAL" where ID is
Roman Fietze4c44f302010-04-21 12:17:12 +02002161 PORT[.DEVICE]. PORT and DEVICE are decimal numbers
Tejun Heo33267322008-02-13 09:15:09 +09002162 matching port, link or device. Basically, it matches
2163 the ATA ID string printed on console by libata. If
2164 the whole ID part is omitted, the last PORT and DEVICE
2165 values are used. If ID hasn't been specified yet, the
2166 configuration applies to all ports, links and devices.
2167
2168 If only DEVICE is omitted, the parameter applies to
2169 the port and all links and devices behind it. DEVICE
2170 number of 0 either selects the first device or the
2171 first fan-out link behind PMP device. It does not
2172 select the host link. DEVICE number of 15 selects the
2173 host link and device attached to it.
2174
2175 The VAL specifies the configuration to force. As long
2176 as there's no ambiguity shortcut notation is allowed.
2177 For example, both 1.5 and 1.5G would work for 1.5Gbps.
2178 The following configurations can be forced.
2179
2180 * Cable type: 40c, 80c, short40c, unk, ign or sata.
2181 Any ID with matching PORT is used.
2182
2183 * SATA link speed limit: 1.5Gbps or 3.0Gbps.
2184
2185 * Transfer mode: pio[0-7], mwdma[0-4] and udma[0-7].
2186 udma[/][16,25,33,44,66,100,133] notation is also
2187 allowed.
2188
2189 * [no]ncq: Turn on or off NCQ.
2190
Martin K. Petersend7b16e42015-05-04 21:54:18 -04002191 * [no]ncqtrim: Turn off queued DSM TRIM.
2192
Tejun Heo05944bd2008-08-13 20:19:09 +09002193 * nohrst, nosrst, norst: suppress hard, soft
2194 and both resets.
2195
Dan Williamsca6d43b2012-06-21 23:41:41 -07002196 * rstonce: only attempt one reset during
2197 hot-unplug link recovery
2198
Tejun Heo43c9c592010-05-23 12:59:11 +02002199 * dump_id: dump IDENTIFY data.
2200
Vincent Pelletier966fbe12013-05-21 22:30:58 +02002201 * atapi_dmadir: Enable ATAPI DMADIR bridge support
2202
Robin H. Johnsonb8bd6dc2013-12-16 09:31:19 -08002203 * disable: Disable this device.
2204
Tejun Heo33267322008-02-13 09:15:09 +09002205 If there are multiple matching configurations changing
2206 the same attribute, the last one is used.
2207
Yinghai Lu95f72d12010-07-12 14:36:09 +10002208 memblock=debug [KNL] Enable memblock debug messages.
Randy Dunlap7c4be252009-01-06 14:42:44 -08002209
Linus Torvalds1da177e2005-04-16 15:20:36 -07002210 load_ramdisk= [RAM] List of ramdisks to load from floppy
Randy Dunlap31c00fc2008-11-13 21:33:24 +00002211 See Documentation/blockdev/ramdisk.txt.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002212
Randy Dunlapa6b25b62006-01-14 13:21:19 -08002213 lockd.nlm_grace_period=P [NFS] Assign grace period.
2214 Format: <integer>
Linus Torvalds1da177e2005-04-16 15:20:36 -07002215
Randy Dunlapa6b25b62006-01-14 13:21:19 -08002216 lockd.nlm_tcpport=N [NFS] Assign TCP port.
2217 Format: <integer>
2218
2219 lockd.nlm_timeout=T [NFS] Assign timeout value.
2220 Format: <integer>
2221
2222 lockd.nlm_udpport=M [NFS] Assign UDP port.
2223 Format: <integer>
Linus Torvalds1da177e2005-04-16 15:20:36 -07002224
Paul E. McKenneyec4518a2014-09-12 10:50:01 -07002225 locktorture.nreaders_stress= [KNL]
2226 Set the number of locking read-acquisition kthreads.
2227 Defaults to being automatically set based on the
2228 number of online CPUs.
2229
2230 locktorture.nwriters_stress= [KNL]
2231 Set the number of locking write-acquisition kthreads.
2232
2233 locktorture.onoff_holdoff= [KNL]
2234 Set time (s) after boot for CPU-hotplug testing.
2235
2236 locktorture.onoff_interval= [KNL]
2237 Set time (s) between CPU-hotplug operations, or
2238 zero to disable CPU-hotplug testing.
2239
2240 locktorture.shuffle_interval= [KNL]
2241 Set task-shuffle interval (jiffies). Shuffling
2242 tasks allows some CPUs to go into dyntick-idle
2243 mode during the locktorture test.
2244
2245 locktorture.shutdown_secs= [KNL]
2246 Set time (s) after boot system shutdown. This
2247 is useful for hands-off automated testing.
2248
2249 locktorture.stat_interval= [KNL]
2250 Time (s) between statistics printk()s.
2251
2252 locktorture.stutter= [KNL]
2253 Time (s) to stutter testing, for example,
2254 specifying five seconds causes the test to run for
2255 five seconds, wait for five seconds, and so on.
2256 This tests the locking primitive's ability to
2257 transition abruptly to and from idle.
2258
2259 locktorture.torture_runnable= [BOOT]
2260 Start locktorture running at boot time.
2261
2262 locktorture.torture_type= [KNL]
2263 Specify the locking implementation to test.
2264
2265 locktorture.verbose= [KNL]
2266 Enable additional printk() statements.
2267
Linus Torvalds1da177e2005-04-16 15:20:36 -07002268 logibm.irq= [HW,MOUSE] Logitech Bus Mouse Driver
2269 Format: <irq>
2270
2271 loglevel= All Kernel Messages with a loglevel smaller than the
2272 console loglevel will be printed to the console. It can
2273 also be changed with klogd or other programs. The
2274 loglevels are defined as follows:
2275
2276 0 (KERN_EMERG) system is unusable
2277 1 (KERN_ALERT) action must be taken immediately
2278 2 (KERN_CRIT) critical conditions
2279 3 (KERN_ERR) error conditions
2280 4 (KERN_WARNING) warning conditions
2281 5 (KERN_NOTICE) normal but significant condition
2282 6 (KERN_INFO) informational
2283 7 (KERN_DEBUG) debug-level messages
2284
Randy Dunlapc756d082011-02-20 20:08:35 -08002285 log_buf_len=n[KMG] Sets the size of the printk ring buffer,
Luis R. Rodriguez23b28992014-08-06 16:08:56 -07002286 in bytes. n must be a power of two and greater
2287 than the minimal size. The minimal size is defined
2288 by LOG_BUF_SHIFT kernel config parameter. There is
2289 also CONFIG_LOG_CPU_MAX_BUF_SHIFT config parameter
2290 that allows to increase the default size depending on
2291 the number of CPUs. See init/Kconfig for more details.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002292
Randy Dunlapaccaa242007-10-16 01:29:37 -07002293 logo.nologo [FB] Disables display of the built-in Linux logo.
2294 This may be used to provide more screen space for
2295 kernel log messages and is useful when debugging
2296 kernel boot problems.
2297
Linus Torvalds1da177e2005-04-16 15:20:36 -07002298 lp=0 [LP] Specify parallel ports to use, e.g,
2299 lp=port[,port...] lp=none,parport0 (lp0 not configured, lp1 uses
2300 lp=reset first parallel port). 'lp=0' disables the
2301 lp=auto printer driver. 'lp=reset' (which can be
2302 specified in addition to the ports) causes
2303 attached printers to be reset. Using
2304 lp=port1,port2,... specifies the parallel ports
2305 to associate lp devices with, starting with
2306 lp0. A port specification may be 'none' to skip
2307 that lp device, or a parport name such as
2308 'parport0'. Specifying 'lp=auto' instead of a
2309 port specification list means that device IDs
2310 from each port should be examined, to see if
2311 an IEEE 1284-compliant printer is attached; if
2312 so, the driver will manage that printer.
2313 See also header of drivers/char/lp.c.
2314
2315 lpj=n [KNL]
2316 Sets loops_per_jiffy to given constant, thus avoiding
2317 time-consuming boot-time autodetection (up to 250 ms per
2318 CPU). 0 enables autodetection (default). To determine
2319 the correct value for your kernel, boot with normal
2320 autodetection and see what value is printed. Note that
2321 on SMP systems the preset will be applied to all CPUs,
2322 which is likely to cause problems if your CPUs need
2323 significantly divergent settings. An incorrect value
2324 will cause delays in the kernel to be wrong, leading to
2325 unpredictable I/O errors and other breakage. Although
2326 unlikely, in the extreme case this might damage your
2327 hardware.
2328
2329 ltpc= [NET]
2330 Format: <io>,<irq>,<dma>
2331
Randy Dunlap16290242011-08-13 12:34:52 -07002332 machvec= [IA-64] Force the use of a particular machine-vector
Randy Dunlapa9913042005-10-23 12:57:11 -07002333 (machvec) in a generic kernel.
2334 Example: machvec=hpzx1_swiotlb
Linus Torvalds1da177e2005-04-16 15:20:36 -07002335
Wu Zhangjin3209e702009-07-02 23:27:12 +08002336 machtype= [Loongson] Share the same kernel image file between different
2337 yeeloong laptop.
2338 Example: machtype=lemote-yeeloong-2f-7inch
2339
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07002340 max_addr=nn[KMG] [KNL,BOOT,ia64] All physical memory greater
2341 than or equal to this physical address is ignored.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002342
2343 maxcpus= [SMP] Maximum number of processors that an SMP kernel
Baoquan He7c142bf2016-08-24 13:06:45 +08002344 will bring up during bootup. maxcpus=n : n >= 0 limits
2345 the kernel to bring up 'n' processors. Surely after
2346 bootup you can bring up the other plugged cpu by executing
2347 "echo 1 > /sys/devices/system/cpu/cpuX/online". So maxcpus
2348 only takes effect during system bootup.
2349 While n=0 is a special case, it is equivalent to "nosmp",
2350 which also disables the IO APIC.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002351
Kay Sieversd134b002011-07-31 22:08:04 +02002352 max_loop= [LOOP] The number of loop block devices that get
2353 (loop.max_loop) unconditionally pre-created at init time. The default
2354 number is configured by BLK_DEV_LOOP_MIN_COUNT. Instead
2355 of statically allocating a predefined number, loop
2356 devices can be requested on-demand with the
2357 /dev/loop-control interface.
Bob Picco2b2c3752005-06-29 18:00:00 -07002358
Alan Coxcd4f0ef2007-07-31 00:37:59 -07002359 mce [X86-32] Machine Check Exception
Linus Torvalds1da177e2005-04-16 15:20:36 -07002360
Uwe Hermann71cced62008-10-20 09:32:21 -07002361 mce=option [X86-64] See Documentation/x86/x86_64/boot-options.txt
Andi Kleen909dd322007-10-17 18:04:38 +02002362
Linus Torvalds1da177e2005-04-16 15:20:36 -07002363 md= [HW] RAID subsystems devices and level
2364 See Documentation/md.txt.
Randy Dunlapa9913042005-10-23 12:57:11 -07002365
Linus Torvalds1da177e2005-04-16 15:20:36 -07002366 mdacon= [MDA]
2367 Format: <first>,<last>
2368 Specifies range of consoles to be captured by the MDA.
Randy Dunlapa9913042005-10-23 12:57:11 -07002369
Thomas Gleixner4e722ae2019-02-18 22:04:08 +01002370 mds= [X86,INTEL]
2371 Control mitigation for the Micro-architectural Data
2372 Sampling (MDS) vulnerability.
2373
2374 Certain CPUs are vulnerable to an exploit against CPU
2375 internal buffers which can forward information to a
2376 disclosure gadget under certain conditions.
2377
2378 In vulnerable processors, the speculatively
2379 forwarded data can be used in a cache side channel
2380 attack, to access data to which the attacker does
2381 not have direct access.
2382
2383 This parameter controls the MDS mitigation. The
2384 options are:
2385
Josh Poimboeuff02eee62019-04-02 09:59:33 -05002386 full - Enable MDS mitigation on vulnerable CPUs
2387 full,nosmt - Enable MDS mitigation and disable
2388 SMT on vulnerable CPUs
2389 off - Unconditionally disable MDS mitigation
Thomas Gleixner4e722ae2019-02-18 22:04:08 +01002390
Waiman Long5aba0ad2019-11-15 11:14:44 -05002391 On TAA-affected machines, mds=off can be prevented by
2392 an active TAA mitigation as both vulnerabilities are
2393 mitigated with the same mechanism so in order to disable
2394 this mitigation, you need to specify tsx_async_abort=off
2395 too.
2396
Thomas Gleixner4e722ae2019-02-18 22:04:08 +01002397 Not specifying this option is equivalent to
2398 mds=full.
2399
Thomas Gleixner3880bc12019-02-19 00:02:31 +01002400 For details see: Documentation/hw-vuln/mds.rst
2401
Linus Torvalds1da177e2005-04-16 15:20:36 -07002402 mem=nn[KMG] [KNL,BOOT] Force usage of a specific amount of memory
2403 Amount of memory to be used when the kernel is not able
2404 to see the whole system memory or for test.
Wen Congyangfbb97d82012-12-17 15:59:29 -08002405 [X86] Work as limiting max address. Use together
2406 with memmap= to avoid physical address space collisions.
2407 Without memmap= PCI devices could be placed at addresses
2408 belonging to unused RAM.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002409
Alan Coxcd4f0ef2007-07-31 00:37:59 -07002410 mem=nopentium [BUGS=X86-32] Disable usage of 4MB pages for kernel
Linus Torvalds1da177e2005-04-16 15:20:36 -07002411 memory.
2412
Paul Mundt6902aa82008-09-21 17:14:42 +09002413 memchunk=nn[KMG]
2414 [KNL,SH] Allow user to override the default size for
2415 per-device physically contiguous DMA buffers.
2416
Vitaly Kuznetsov86dd9952016-05-19 17:13:06 -07002417 memhp_default_state=online/offline
2418 [KNL] Set the initial state for the memory hotplug
2419 onlining policy. If not specified, the default value is
2420 set according to the
2421 CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE kernel config
2422 option.
2423 See Documentation/memory-hotplug.txt.
2424
Jaswinder Singh Rajput6cececf2009-04-14 14:03:43 +05302425 memmap=exactmap [KNL,X86] Enable setting of an exact
Linus Torvalds1da177e2005-04-16 15:20:36 -07002426 E820 memory map, as specified by the user.
2427 Such memmap=exactmap lines can be constructed based on
2428 BIOS output or other requirements. See the memmap=nn@ss
2429 option description.
2430
2431 memmap=nn[KMG]@ss[KMG]
Randy Dunlap277cba12014-02-06 12:04:19 -08002432 [KNL] Force usage of a specific region of memory.
2433 Region of memory to be used is from ss to ss+nn.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002434
2435 memmap=nn[KMG]#ss[KMG]
2436 [KNL,ACPI] Mark specific memory as ACPI data.
Randy Dunlap277cba12014-02-06 12:04:19 -08002437 Region of memory to be marked is from ss to ss+nn.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002438
2439 memmap=nn[KMG]$ss[KMG]
2440 [KNL,ACPI] Mark specific memory as reserved.
Randy Dunlap277cba12014-02-06 12:04:19 -08002441 Region of memory to be reserved is from ss to ss+nn.
Pavel Machek13128482008-03-24 12:29:43 -07002442 Example: Exclude memory from 0x18690000-0x1869ffff
2443 memmap=64K$0x18690000
2444 or
2445 memmap=0x10000$0x18690000
Linus Torvalds1da177e2005-04-16 15:20:36 -07002446
Christoph Hellwigec776ef2015-04-01 09:12:18 +02002447 memmap=nn[KMG]!ss[KMG]
2448 [KNL,X86] Mark specific memory as protected.
2449 Region of memory to be used, from ss to ss+nn.
2450 The memory region may be marked as e820 type 12 (0xc)
2451 and is NVDIMM or ADR memory.
2452
Jeremy Fitzhardinge9f077872008-09-07 01:51:34 -07002453 memory_corruption_check=0/1 [X86]
2454 Some BIOSes seem to corrupt the first 64k of
2455 memory when doing things like suspend/resume.
2456 Setting this option will scan the memory
2457 looking for corruption. Enabling this will
2458 both detect corruption and prevent the kernel
2459 from using the memory being corrupted.
2460 However, its intended as a diagnostic tool; if
2461 repeatable BIOS-originated corruption always
2462 affects the same memory, you can use memmap=
2463 to prevent the kernel from using that memory.
2464
2465 memory_corruption_check_size=size [X86]
2466 By default it checks for corruption in the low
2467 64k, making this memory unavailable for normal
2468 use. Use this parameter to scan for
2469 corruption in more or less memory.
2470
2471 memory_corruption_check_period=seconds [X86]
2472 By default it checks for corruption every 60
2473 seconds. Use this parameter to check at some
2474 other rate. 0 disables periodic checking.
2475
Vladimir Murzine4b0db72015-04-14 15:48:43 -07002476 memtest= [KNL,X86,ARM] Enable memtest
Yinghai Luc64df702008-03-21 18:56:19 -07002477 Format: <integer>
Yinghai Luc64df702008-03-21 18:56:19 -07002478 default : 0 <disable>
Andreas Herrmann9e5f6cf2009-02-25 11:30:45 +01002479 Specifies the number of memtest passes to be
2480 performed. Each pass selects another test
2481 pattern from a given set of patterns. Memtest
2482 fills the memory with this pattern, validates
2483 memory contents and reserves bad memory
2484 regions that are detected.
Yinghai Luc64df702008-03-21 18:56:19 -07002485
Linus Torvalds1da177e2005-04-16 15:20:36 -07002486 meye.*= [HW] Set MotionEye Camera parameters
2487 See Documentation/video4linux/meye.txt.
2488
Andres Salomon8f368812007-10-12 23:04:06 +02002489 mfgpt_irq= [IA-32] Specify the IRQ to use for the
2490 Multi-Function General Purpose Timers on AMD Geode
2491 platforms.
2492
Willy Tarreaue6c4dc62008-01-30 13:33:33 +01002493 mfgptfix [X86-32] Fix MFGPT timers on AMD Geode platforms when
2494 the BIOS has incorrectly applied a workaround. TinyBIOS
2495 version 0.98 is known to be affected, 0.99 fixes the
2496 problem by letting the user disable the workaround.
2497
Linus Torvalds1da177e2005-04-16 15:20:36 -07002498 mga= [HW,DRM]
2499
Randy Dunlap1c207f92008-11-19 15:36:16 -08002500 min_addr=nn[KMG] [KNL,BOOT,ia64] All physical memory below this
2501 physical address is ignored.
2502
Michel Pollet39f45d72009-05-20 11:10:31 +01002503 mini2440= [ARM,HW,KNL]
2504 Format:[0..2][b][c][t]
2505 Default: "0tb"
2506 MINI2440 configuration specification:
2507 0 - The attached screen is the 3.5" TFT
2508 1 - The attached screen is the 7" TFT
2509 2 - The VGA Shield is attached (1024x768)
2510 Leaving out the screen size parameter will not load
2511 the TFT driver, and the framebuffer will be left
2512 unconfigured.
2513 b - Enable backlight. The TFT backlight pin will be
2514 linked to the kernel VESA blanking code and a GPIO
2515 LED. This parameter is not necessary when using the
2516 VGA shield.
2517 c - Enable the s3c camera interface.
2518 t - Reserved for enabling touchscreen support. The
2519 touchscreen support is not enabled in the mainstream
2520 kernel as of 2.6.30, a preliminary port can be found
2521 in the "bleeding edge" mini2440 support kernel at
2522 http://repo.or.cz/w/linux-2.6/mini2440.git
2523
Josh Poimboeufedda9c32019-04-12 15:39:28 -05002524 mitigations=
Josh Poimboeuf17092842019-04-12 15:39:29 -05002525 [X86] Control optional mitigations for CPU
2526 vulnerabilities. This is a set of curated,
2527 arch-independent options, each of which is an
2528 aggregation of existing arch-specific options.
Josh Poimboeufedda9c32019-04-12 15:39:28 -05002529
2530 off
2531 Disable all optional CPU mitigations. This
2532 improves system performance, but it may also
2533 expose users to several CPU vulnerabilities.
Josh Poimboeuf17092842019-04-12 15:39:29 -05002534 Equivalent to: nopti [X86]
Josh Poimboeuf90d45f02019-07-08 11:52:26 -05002535 nospectre_v1 [X86]
Josh Poimboeuf17092842019-04-12 15:39:29 -05002536 nospectre_v2 [X86]
2537 spectre_v2_user=off [X86]
2538 spec_store_bypass_disable=off [X86]
2539 l1tf=off [X86]
Josh Poimboeuf025b9cf2019-04-17 16:39:02 -05002540 mds=off [X86]
Pawan Guptaba54aad2019-10-23 12:32:55 +02002541 tsx_async_abort=off [X86]
Paolo Bonzinia7ad7942019-11-04 12:22:02 +01002542 kvm.nx_huge_pages=off [X86]
Nicholas Pigginfa4bf9f2020-11-20 10:57:38 +11002543 no_entry_flush [PPC]
Nicholas Piggind67c5c62020-11-20 10:57:43 +11002544 no_uaccess_flush [PPC]
Pawan Guptaa11f2f02022-05-19 20:29:11 -07002545 mmio_stale_data=off [X86]
Paolo Bonzinia7ad7942019-11-04 12:22:02 +01002546
2547 Exceptions:
2548 This does not have any effect on
2549 kvm.nx_huge_pages when
2550 kvm.nx_huge_pages=force.
Josh Poimboeufedda9c32019-04-12 15:39:28 -05002551
2552 auto (default)
2553 Mitigate all CPU vulnerabilities, but leave SMT
2554 enabled, even if it's vulnerable. This is for
2555 users who don't want to be surprised by SMT
2556 getting disabled across kernel upgrades, or who
2557 have other ways of avoiding SMT-based attacks.
Josh Poimboeuf17092842019-04-12 15:39:29 -05002558 Equivalent to: (default behavior)
Josh Poimboeufedda9c32019-04-12 15:39:28 -05002559
2560 auto,nosmt
2561 Mitigate all CPU vulnerabilities, disabling SMT
2562 if needed. This is for users who always want to
2563 be fully mitigated, even if it means losing SMT.
Josh Poimboeuf17092842019-04-12 15:39:29 -05002564 Equivalent to: l1tf=flush,nosmt [X86]
Josh Poimboeuf025b9cf2019-04-17 16:39:02 -05002565 mds=full,nosmt [X86]
Pawan Guptaba54aad2019-10-23 12:32:55 +02002566 tsx_async_abort=full,nosmt [X86]
Pawan Guptaa11f2f02022-05-19 20:29:11 -07002567 mmio_stale_data=full,nosmt [X86]
Josh Poimboeufedda9c32019-04-12 15:39:28 -05002568
Mel Gorman6b74ab92008-07-23 21:26:49 -07002569 mminit_loglevel=
2570 [KNL] When CONFIG_DEBUG_MEMORY_INIT is set, this
2571 parameter allows control of the logging verbosity for
2572 the additional memory initialisation checks. A value
2573 of 0 disables mminit logging and a level of 4 will
2574 log everything. Information is printed at KERN_DEBUG
2575 so loglevel=8 may also need to be specified.
2576
Pawan Guptaa11f2f02022-05-19 20:29:11 -07002577 mmio_stale_data=
2578 [X86,INTEL] Control mitigation for the Processor
2579 MMIO Stale Data vulnerabilities.
2580
2581 Processor MMIO Stale Data is a class of
2582 vulnerabilities that may expose data after an MMIO
2583 operation. Exposed data could originate or end in
2584 the same CPU buffers as affected by MDS and TAA.
2585 Therefore, similar to MDS and TAA, the mitigation
2586 is to clear the affected CPU buffers.
2587
2588 This parameter controls the mitigation. The
2589 options are:
2590
2591 full - Enable mitigation on vulnerable CPUs
2592
2593 full,nosmt - Enable mitigation and disable SMT on
2594 vulnerable CPUs.
2595
2596 off - Unconditionally disable mitigation
2597
2598 On MDS or TAA affected machines,
2599 mmio_stale_data=off can be prevented by an active
2600 MDS or TAA mitigation as these vulnerabilities are
2601 mitigated with the same mechanism so in order to
2602 disable this mitigation, you need to specify
2603 mds=off and tsx_async_abort=off too.
2604
2605 Not specifying this option is equivalent to
2606 mmio_stale_data=full.
2607
2608 For details see:
2609 Documentation/admin-guide/hw-vuln/processor_mmio_stale_data.rst
2610
Rusty Russell106a4ee2012-09-26 10:09:40 +01002611 module.sig_enforce
2612 [KNL] When CONFIG_MODULE_SIG is set, this means that
2613 modules without (valid) signatures will fail to load.
Paul Bolle2a039be2013-03-25 20:42:06 +01002614 Note that if CONFIG_MODULE_SIG_FORCE is set, that
Rusty Russell106a4ee2012-09-26 10:09:40 +01002615 is always true, so this option does nothing.
2616
Prarit Bhargavabe7de5f2016-07-21 15:37:56 +09302617 module_blacklist= [KNL] Do not load a comma-separated list of
2618 modules. Useful for debugging problem modules.
2619
Linus Torvalds1da177e2005-04-16 15:20:36 -07002620 mousedev.tap_time=
2621 [MOUSE] Maximum time between finger touching and
2622 leaving touchpad surface for touch to be considered
2623 a tap and be reported as a left button click (for
2624 touchpads working in absolute mode only).
2625 Format: <msecs>
2626 mousedev.xres= [MOUSE] Horizontal screen resolution, used for devices
2627 reporting absolute coordinates, such as tablets
2628 mousedev.yres= [MOUSE] Vertical screen resolution, used for devices
2629 reporting absolute coordinates, such as tablets
2630
Jaswinder Singh Rajput6cececf2009-04-14 14:03:43 +05302631 movablecore=nn[KMG] [KNL,X86,IA-64,PPC] This parameter
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07002632 is similar to kernelcore except it specifies the
2633 amount of memory used for migratable allocations.
2634 If both kernelcore and movablecore is specified,
2635 then kernelcore will be at *least* the specified
2636 value but may be more. If movablecore on its own
2637 is specified, the administrator must be careful
2638 that the amount of memory usable for all allocations
2639 is not too small.
2640
Tang Chenc5320922013-11-12 15:08:10 -08002641 movable_node [KNL,X86] Boot-time switch to enable the effects
2642 of CONFIG_MOVABLE_NODE=y. See mm/Kconfig for details.
2643
Linus Torvalds1da177e2005-04-16 15:20:36 -07002644 MTD_Partition= [MTD]
2645 Format: <name>,<region-number>,<size>,<offset>
2646
Randy Dunlapa9913042005-10-23 12:57:11 -07002647 MTD_Region= [MTD] Format:
2648 <name>,<region-number>[,<base>,<size>,<buswidth>,<altbuswidth>]
Linus Torvalds1da177e2005-04-16 15:20:36 -07002649
2650 mtdparts= [MTD]
Randy Dunlapc8facbb2007-07-31 00:37:40 -07002651 See drivers/mtd/cmdlinepart.c.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002652
Will Schmidt4e89a2d2010-09-28 15:33:12 +00002653 multitce=off [PPC] This parameter disables the use of the pSeries
2654 firmware feature for updating multiple TCE entries
2655 at a time.
2656
Rohit Hagargundgi5988af22009-05-12 13:46:57 -07002657 onenand.bdry= [HW,MTD] Flex-OneNAND Boundary Configuration
2658
2659 Format: [die0_boundary][,die0_lock][,die1_boundary][,die1_lock]
2660
2661 boundary - index of last SLC block on Flex-OneNAND.
2662 The remaining blocks are configured as MLC blocks.
2663 lock - Configure if Flex-OneNAND boundary should be locked.
2664 Once locked, the boundary cannot be changed.
2665 1 indicates lock status, 0 indicates unlock status.
2666
Ben Dooks9db829f2008-07-03 11:24:29 +01002667 mtdset= [ARM]
2668 ARM/S3C2412 JIVE boot control
2669
2670 See arch/arm/mach-s3c2412/mach-jive.c
2671
Linus Torvalds1da177e2005-04-16 15:20:36 -07002672 mtouchusb.raw_coordinates=
Randy Dunlapa9913042005-10-23 12:57:11 -07002673 [HW] Make the MicroTouch USB driver use raw coordinates
2674 ('y', default) or cooked coordinates ('n')
Linus Torvalds1da177e2005-04-16 15:20:36 -07002675
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07002676 mtrr_chunk_size=nn[KMG] [X86]
Matt LaPlante19f59462009-04-27 15:06:31 +02002677 used for mtrr cleanup. It is largest continuous chunk
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07002678 that could hold holes aka. UC entries.
2679
2680 mtrr_gran_size=nn[KMG] [X86]
2681 Used for mtrr cleanup. It is granularity of mtrr block.
2682 Default is 1.
2683 Large value could prevent small alignment from
2684 using up MTRRs.
2685
2686 mtrr_spare_reg_nr=n [X86]
2687 Format: <integer>
2688 Range: 0,7 : spare reg number
2689 Default : 1
2690 Used for mtrr cleanup. It is spare mtrr entries number.
2691 Set to 2 or more if your graphical card needs more.
2692
Linus Torvalds1da177e2005-04-16 15:20:36 -07002693 n2= [NET] SDL Inc. RISCom/N2 synchronous serial card
2694
Linus Torvalds1da177e2005-04-16 15:20:36 -07002695 netdev= [NET] Network devices parameters
2696 Format: <irq>,<io>,<mem_start>,<mem_end>,<name>
2697 Note that mem_start is often overloaded to mean
2698 something different and driver-specific.
Randy Dunlapa9913042005-10-23 12:57:11 -07002699 This usage is only documented in each driver source
2700 file if at all.
2701
Krzysztof Piotr Oledzki58401572008-07-21 10:01:34 -07002702 nf_conntrack.acct=
2703 [NETFILTER] Enable connection tracking flow accounting
2704 0 to disable accounting
2705 1 to enable accounting
Tim Gardnerd70a0112010-06-25 14:46:56 +02002706 Default value is 0.
Krzysztof Piotr Oledzki58401572008-07-21 10:01:34 -07002707
Chuck Lever306a0752010-09-17 10:54:37 -04002708 nfsaddrs= [NFS] Deprecated. Use ip= instead.
J. Bruce Fieldsdc7a0812009-10-27 14:41:35 -04002709 See Documentation/filesystems/nfs/nfsroot.txt.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002710
2711 nfsroot= [NFS] nfs root filesystem for disk-less boxes.
J. Bruce Fieldsdc7a0812009-10-27 14:41:35 -04002712 See Documentation/filesystems/nfs/nfsroot.txt.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002713
Chuck Lever306a0752010-09-17 10:54:37 -04002714 nfsrootdebug [NFS] enable nfsroot debugging messages.
2715 See Documentation/filesystems/nfs/nfsroot.txt.
2716
Trond Myklebust5405fc42016-08-29 20:03:52 -04002717 nfs.callback_nr_threads=
2718 [NFSv4] set the total number of threads that the
2719 NFS client will assign to service NFSv4 callback
2720 requests.
2721
Trond Myklebusta72b4422006-01-03 09:55:41 +01002722 nfs.callback_tcpport=
2723 [NFS] set the TCP port on which the NFSv4 callback
2724 channel should listen.
2725
Trond Myklebuste571cbf2009-08-19 18:12:27 -04002726 nfs.cache_getent=
2727 [NFS] sets the pathname to the program which is used
2728 to update the NFS client cache entries.
2729
2730 nfs.cache_getent_timeout=
2731 [NFS] sets the timeout after which an attempt to
2732 update a cache entry is deemed to have failed.
2733
Trond Myklebust58df0952006-01-03 09:55:57 +01002734 nfs.idmap_cache_timeout=
2735 [NFS] set the maximum lifetime for idmapper cache
2736 entries.
2737
Trond Myklebustf43bf0b2007-10-09 12:01:04 -04002738 nfs.enable_ino64=
2739 [NFS] enable 64-bit inode numbers.
2740 If zero, the NFS client will fake up a 32-bit inode
2741 number for the readdir() and stat() syscalls instead
2742 of returning the full 64-bit number.
2743 The default is to return 64-bit inode numbers.
2744
Trond Myklebust5405fc42016-08-29 20:03:52 -04002745 nfs.max_session_cb_slots=
2746 [NFSv4.1] Sets the maximum number of session
2747 slots the client will assign to the callback
2748 channel. This determines the maximum number of
2749 callbacks the client will process in parallel for
2750 a particular server.
2751
Trond Myklebustef159e92012-02-06 19:50:40 -05002752 nfs.max_session_slots=
2753 [NFSv4.1] Sets the maximum number of session slots
2754 the client will attempt to negotiate with the server.
2755 This limits the number of simultaneous RPC requests
2756 that the client can send to the NFSv4.1 server.
2757 Note that there is little point in setting this
2758 value higher than the max_tcp_slot_table_limit.
2759
Trond Myklebustb064eca22011-02-22 15:44:32 -08002760 nfs.nfs4_disable_idmapping=
Trond Myklebust074b1d12012-01-09 13:46:26 -05002761 [NFSv4] When set to the default of '1', this option
2762 ensures that both the RPC level authentication
2763 scheme and the NFS level operations agree to use
2764 numeric uids/gids if the mount is using the
2765 'sec=sys' security flavour. In effect it is
2766 disabling idmapping, which can make migration from
2767 legacy NFSv2/v3 systems to NFSv4 easier.
2768 Servers that do not support this mode of operation
2769 will be autodetected by the client, and it will fall
2770 back to using the idmapper.
2771 To turn off this behaviour, set the value to '0'.
Chuck Lever6f2ea7f2012-09-14 17:24:41 -04002772 nfs.nfs4_unique_id=
2773 [NFS4] Specify an additional fixed unique ident-
2774 ification string that NFSv4 clients can insert into
2775 their nfs_client_id4 string. This is typically a
2776 UUID that is generated at system install time.
Trond Myklebustb064eca22011-02-22 15:44:32 -08002777
Weston Andros Adamsondb8ac8b2012-02-17 15:20:24 -05002778 nfs.send_implementation_id =
2779 [NFSv4.1] Send client implementation identification
2780 information in exchange_id requests.
2781 If zero, no implementation identification information
2782 will be sent.
2783 The default is to send the implementation identification
2784 information.
Trond Myklebustf6de7a32013-09-04 10:08:54 -04002785
2786 nfs.recover_lost_locks =
2787 [NFSv4] Attempt to recover locks that were lost due
2788 to a lease timeout on the server. Please note that
2789 doing this risks data corruption, since there are
2790 no guarantees that the file will remain unchanged
2791 after the locks are lost.
2792 If you want to enable the kernel legacy behaviour of
2793 attempting to recover these locks, then set this
2794 parameter to '1'.
2795 The default parameter value of '0' causes the kernel
2796 not to attempt recovery of lost locks.
Weston Andros Adamsondb8ac8b2012-02-17 15:20:24 -05002797
Trond Myklebustbbf58bf2015-08-24 20:39:18 -04002798 nfs4.layoutstats_timer =
2799 [NFSv4.2] Change the rate at which the kernel sends
2800 layoutstats to the pNFS metadata server.
2801
2802 Setting this to value to 0 causes the kernel to use
2803 whatever value is the default set by the layout
2804 driver. A non-zero value sets the minimum interval
2805 in seconds between layoutstats transmissions.
2806
J. Bruce Fieldse9541ce2012-03-22 16:07:18 -04002807 nfsd.nfs4_disable_idmapping=
2808 [NFSv4] When set to the default of '1', the NFSv4
2809 server will return only numeric uids and gids to
2810 clients using auth_sys, and will accept numeric uids
2811 and gids from such clients. This is intended to ease
2812 migration from NFSv2/v3.
Weston Andros Adamsondb8ac8b2012-02-17 15:20:24 -05002813
Sachin Bhamare18d98f62012-03-19 20:47:58 -07002814 objlayoutdriver.osd_login_prog=
2815 [NFS] [OBJLAYOUT] sets the pathname to the program which
2816 is used to automatically discover and login into new
2817 osd-targets. Please see:
2818 Documentation/filesystems/pnfs.txt for more explanations
2819
Paul Mundt1e1030d2009-09-01 17:38:32 +09002820 nmi_debug= [KNL,AVR32,SH] Specify one or more actions to take
Haavard Skinnemoene7ba1762007-10-10 14:58:29 +02002821 when a NMI is triggered.
2822 Format: [state][,regs][,debounce][,die]
2823
Jaswinder Singh Rajput6cececf2009-04-14 14:03:43 +05302824 nmi_watchdog= [KNL,BUGS=X86] Debugging features for SMP kernels
Don Zickusfef2c9b2011-03-22 16:34:16 -07002825 Format: [panic,][nopanic,][num]
Ulrich Obergfell195daf62015-04-14 15:44:13 -07002826 Valid num: 0 or 1
Pranith Kumar334bb792015-10-10 15:40:42 -04002827 0 - turn hardlockup detector in nmi_watchdog off
2828 1 - turn hardlockup detector in nmi_watchdog on
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07002829 When panic is specified, panic when an NMI watchdog
Don Zickusfef2c9b2011-03-22 16:34:16 -07002830 timeout occurs (or 'nopanic' to override the opposite
Pranith Kumar334bb792015-10-10 15:40:42 -04002831 default). To disable both hard and soft lockup detectors,
2832 please see 'nowatchdog'.
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07002833 This is useful when you use a panic=... timeout and
2834 need the box quickly up again.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002835
Anton Vorontsovbff38772009-07-08 11:10:56 -07002836 netpoll.carrier_timeout=
2837 [NET] Specifies amount of time (in seconds) that
2838 netpoll should wait for a carrier. By default netpoll
2839 waits 4 seconds.
2840
Alan Coxcd4f0ef2007-07-31 00:37:59 -07002841 no387 [BUGS=X86-32] Tells the kernel to use the 387 maths
Linus Torvalds1da177e2005-04-16 15:20:36 -07002842 emulation library even if a 387 maths coprocessor
2843 is present.
2844
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07002845 no_console_suspend
2846 [HW] Never suspend the console
2847 Disable suspending of consoles during suspend and
2848 hibernate operations. Once disabled, debugging
2849 messages can reach various consoles while the rest
2850 of the system is being put to sleep (ie, while
2851 debugging driver suspend/resume hooks). This may
2852 not work reliably with all consoles, but is known
2853 to work with serial and VGA consoles.
Yanmin Zhang134620f2011-10-31 17:11:27 -07002854 To facilitate more flexible debugging, we also add
2855 console_suspend, a printk module parameter to control
2856 it. Users could use console_suspend (usually
2857 /sys/module/printk/parameters/console_suspend) to
2858 turn on/off it dynamically.
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07002859
Christoph Lameterc1aee212007-05-31 00:40:47 -07002860 noaliencache [MM, NUMA, SLAB] Disables the allocation of alien
2861 caches in the slab allocator. Saves per-node memory,
2862 but will impact performance.
Paul Menage3395ee02006-12-06 20:32:16 -08002863
Randy Dunlapa9913042005-10-23 12:57:11 -07002864 noalign [KNL,ARM]
2865
Vasily Gorbikd69aa5e2018-04-27 07:36:39 +02002866 noaltinstr [S390] Disables alternative instructions patching
2867 (CPU alternatives feature).
2868
Linus Torvalds1da177e2005-04-16 15:20:36 -07002869 noapic [SMP,APIC] Tells the kernel to not make use of any
2870 IOAPICs that may be present in the system.
2871
Mike Galbraith5091faa2010-11-30 14:18:03 +01002872 noautogroup Disable scheduler automatic task group creation.
2873
Linus Torvalds1da177e2005-04-16 15:20:36 -07002874 nobats [PPC] Do not use BATs for mapping kernel lowmem
2875 on "Classic" PPC cores.
2876
2877 nocache [ARM]
Randy Dunlapa9913042005-10-23 12:57:11 -07002878
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07002879 noclflush [BUGS=X86] Don't use the CLFLUSH instruction
2880
Shailabh Nagar163ecdf2006-07-30 03:03:11 -07002881 nodelayacct [KNL] Disable per-task delay accounting
2882
Paul Mundt6902aa82008-09-21 17:14:42 +09002883 nodsp [SH] Disable hardware DSP at boot time.
2884
Dave Youngb2e0a542014-08-14 17:15:26 +08002885 noefi Disable EFI runtime services support.
Huang, Ying8b2cb7a2008-01-30 13:32:11 +01002886
Nicholas Pigginfa4bf9f2020-11-20 10:57:38 +11002887 no_entry_flush [PPC] Don't flush the L1-D cache when entering the kernel.
2888
Linus Torvalds1da177e2005-04-16 15:20:36 -07002889 noexec [IA-64]
2890
Jaswinder Singh Rajput6cececf2009-04-14 14:03:43 +05302891 noexec [X86]
Jiri Slabyf5a1b192008-04-12 10:28:25 +02002892 On X86-32 available only on PAE configured kernels.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002893 noexec=on: enable non-executable mappings (default)
Jiri Slabyf5a1b192008-04-12 10:28:25 +02002894 noexec=off: disable non-executable mappings
2895
H. Peter Anvin52b61792012-09-21 12:43:13 -07002896 nosmap [X86]
2897 Disable SMAP (Supervisor Mode Access Prevention)
2898 even if it is supported by processor.
2899
Fenghua Yude5397a2011-05-11 16:51:05 -07002900 nosmep [X86]
H. Peter Anvin52b61792012-09-21 12:43:13 -07002901 Disable SMEP (Supervisor Mode Execution Prevention)
Fenghua Yude5397a2011-05-11 16:51:05 -07002902 even if it is supported by processor.
2903
Jiri Slabyf5a1b192008-04-12 10:28:25 +02002904 noexec32 [X86-64]
2905 This affects only 32-bit executables.
2906 noexec32=on: enable non-executable mappings (default)
2907 read doesn't imply executable mappings
2908 noexec32=off: disable non-executable mappings
2909 read implies executable mappings
Linus Torvalds1da177e2005-04-16 15:20:36 -07002910
Maciej W. Rozyckifab43ef2015-04-03 23:23:34 +01002911 nofpu [MIPS,SH] Disable hardware FPU at boot time.
Paul Mundt6902aa82008-09-21 17:14:42 +09002912
Alan Coxcd4f0ef2007-07-31 00:37:59 -07002913 nofxsr [BUGS=X86-32] Disables x86 floating point extended
Chuck Ebbert4f886512006-03-23 02:59:34 -08002914 register save and restore. The kernel will only save
2915 legacy floating-point registers on task switch.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002916
Toshi Kani0ddab1d2015-04-14 15:47:20 -07002917 nohugeiomap [KNL,x86] Disable kernel huge I/O mappings.
2918
Sascha Silbe52c48c52016-04-05 12:53:38 +02002919 nosmt [KNL,S390] Disable symmetric multithreading (SMT).
2920 Equivalent to smt=1.
2921
Thomas Gleixnerf37486c2018-05-29 17:48:27 +02002922 [KNL,x86] Disable symmetric multithreading (SMT).
Thomas Gleixnerfe2a9552018-06-29 16:05:47 +02002923 nosmt=force: Force disable SMT, cannot be undone
2924 via the sysfs control file.
Thomas Gleixnerf37486c2018-05-29 17:48:27 +02002925
Josh Poimboeuf90d45f02019-07-08 11:52:26 -05002926 nospectre_v1 [X86,PPC] Disable mitigations for Spectre Variant 1
2927 (bounds check bypass). With this option data leaks are
2928 possible in the system.
2929
Diana Craciun0feb3712018-12-12 16:03:10 +02002930 nospectre_v2 [X86,PPC_FSL_BOOK3E] Disable all mitigations for the Spectre variant 2
David Woodhouse8f96937ee2018-01-11 21:46:26 +00002931 (indirect branch prediction) vulnerability. System may
2932 allow data leaks with this option, which is equivalent
2933 to spectre_v2=off.
2934
Konrad Rzeszutek Wilk6f70a552018-04-25 22:04:21 -04002935 nospec_store_bypass_disable
2936 [HW] Disable all mitigations for the Speculative Store Bypass vulnerability
2937
Nicholas Piggind67c5c62020-11-20 10:57:43 +11002938 no_uaccess_flush
2939 [PPC] Don't flush the L1-D cache after accessing user data.
2940
Suresh Siddha0c752a92009-05-22 12:17:45 -07002941 noxsave [BUGS=X86] Disables x86 extended register state save
2942 and restore using xsave. The kernel will fallback to
2943 enabling legacy floating-point and sse state.
2944
Fenghua Yub6f42a42014-05-29 11:12:31 -07002945 noxsaveopt [X86] Disables xsaveopt used in saving x86 extended
2946 register states. The kernel will fall back to use
2947 xsave to save the states. By using this parameter,
2948 performance of saving the states is degraded because
2949 xsave doesn't support modified optimization while
2950 xsaveopt supports it on xsaveopt enabled systems.
2951
2952 noxsaves [X86] Disables xsaves and xrstors used in saving and
2953 restoring x86 extended register state in compacted
2954 form of xsave area. The kernel will fall back to use
2955 xsaveopt and xrstor to save and restore the states
2956 in standard form of xsave area. By using this
2957 parameter, xsave area per process might occupy more
2958 memory on xsaves enabled systems.
2959
Paulius Zaleckas01a24d22009-03-31 13:55:44 +01002960 nohlt [BUGS=ARM,SH] Tells the kernel that the sleep(SH) or
2961 wfi(ARM) instruction doesn't work correctly and not to
2962 use it. This is also useful when using JTAG debugger.
Randy Dunlapa9913042005-10-23 12:57:11 -07002963
Serge E. Hallyn1f29fae2008-11-05 16:08:52 -06002964 no_file_caps Tells the kernel not to honor file capabilities. The
2965 only way then for a file to be executed with privilege
2966 is to be setuid root or executed by root.
2967
Linus Torvalds1da177e2005-04-16 15:20:36 -07002968 nohalt [IA-64] Tells the kernel not to use the power saving
2969 function PAL_HALT_LIGHT when idle. This increases
2970 power-consumption. On the positive side, it reduces
2971 interrupt wake-up latency, which may improve performance
2972 in certain environments such as networked servers or
2973 real-time systems.
2974
Kees Cooka6e15a32014-06-13 13:30:35 -07002975 nohibernate [HIBERNATION] Disable hibernation and resume.
2976
Thomas Gleixner79bf2bb2007-02-16 01:28:03 -08002977 nohz= [KNL] Boottime enable/disable dynamic ticks
2978 Valid arguments: on, off
2979 Default: on
2980
Frederic Weisbeckerc5bfece2013-04-12 16:45:34 +02002981 nohz_full= [KNL,BOOT]
Noam Camus2d13e6c2016-10-11 13:51:35 -07002982 The argument is a cpu list, as described above.
Frederic Weisbeckerc5bfece2013-04-12 16:45:34 +02002983 In kernels built with CONFIG_NO_HZ_FULL=y, set
Frederic Weisbeckera8318812012-12-18 17:32:19 +01002984 the specified list of CPUs whose tick will be stopped
Frederic Weisbecker0453b432013-03-27 02:18:34 +01002985 whenever possible. The boot CPU will be forced outside
2986 the range to maintain the timekeeping.
Frederic Weisbeckerd1e43fa2013-03-26 23:47:24 +01002987 The CPUs in this range must also be included in the
2988 rcu_nocbs= set.
Frederic Weisbeckera8318812012-12-18 17:32:19 +01002989
Paul Mundteeee7852009-04-02 12:31:16 +09002990 noiotrap [SH] Disables trapped I/O port accesses.
2991
Alan Coxcd4f0ef2007-07-31 00:37:59 -07002992 noirqdebug [X86-32] Disables the code which attempts to detect and
Linus Torvalds1da177e2005-04-16 15:20:36 -07002993 disable unhandled interrupt sources.
2994
Jaswinder Singh Rajput6cececf2009-04-14 14:03:43 +05302995 no_timer_check [X86,APIC] Disables the code which tests for
Zachary Amsden8542b202006-12-07 02:14:09 +01002996 broken timer IRQ sources.
2997
Linus Torvalds1da177e2005-04-16 15:20:36 -07002998 noisapnp [ISAPNP] Disables ISA PnP code.
2999
3000 noinitrd [RAM] Tells the kernel not to load any configured
3001 initial RAM disk.
3002
Weidong Han03ea8152009-04-17 16:42:15 +08003003 nointremap [X86-64, Intel-IOMMU] Do not enable interrupt
3004 remapping.
Chris Wrightd1423d52010-07-20 11:06:49 -07003005 [Deprecated - use intremap=off]
Weidong Han03ea8152009-04-17 16:42:15 +08003006
Linus Torvalds1da177e2005-04-16 15:20:36 -07003007 nointroute [IA-64]
3008
Andy Lutomirskid12a72b2016-01-29 11:42:58 -08003009 noinvpcid [X86] Disable the INVPCID cpu feature.
3010
Randy Dunlap16290242011-08-13 12:34:52 -07003011 nojitter [IA-64] Disables jitter checking for ITC timers.
Tony Luck0aa366f2007-07-20 11:22:30 -07003012
Jiri Kosina9cf4c4f2010-08-16 17:51:20 +02003013 no-kvmclock [X86,KVM] Disable paravirtualized KVM clock driver
3014
Gleb Natapovfd10cde2010-10-14 11:22:51 +02003015 no-kvmapf [X86,KVM] Disable paravirtualized asynchronous page
3016 fault handling.
3017
Glauber Costad910f5c2011-07-11 15:28:19 -04003018 no-steal-acc [X86,KVM] Disable paravirtualized steal time accounting.
3019 steal time is computed, but won't influence scheduler
3020 behaviour
3021
Alan Coxcd4f0ef2007-07-31 00:37:59 -07003022 nolapic [X86-32,APIC] Do not enable or use the local APIC.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003023
Alan Coxcd4f0ef2007-07-31 00:37:59 -07003024 nolapic_timer [X86-32,APIC] Do not use the local APIC timer.
Thomas Gleixnerad62ca22007-03-22 00:11:21 -08003025
Linus Torvalds1da177e2005-04-16 15:20:36 -07003026 noltlbs [PPC] Do not use large page/tlb entries for kernel
Christophe Leroyf15eea62016-02-09 17:07:52 +01003027 lowmem mapping on PPC40x and PPC8xx
Linus Torvalds1da177e2005-04-16 15:20:36 -07003028
Horms312f1f02006-02-22 09:57:55 +09003029 nomca [IA-64] Disable machine check abort handling
3030
Masanari Iida13696e02015-05-16 02:16:43 +09003031 nomce [X86-32] Disable Machine Check Exception
Hormsabe37e52006-04-01 01:36:09 +02003032
Andres Salomon83d73842007-10-12 23:04:06 +02003033 nomfgpt [X86-32] Disable Multi-Function General Purpose
3034 Timer usage (for AMD Geode machines).
3035
Don Zickusbda62632011-10-13 15:14:27 -04003036 nonmi_ipi [X86] Disable using NMI IPIs during panic/reboot to
3037 shutdown the other cpus. Instead use the REBOOT_VECTOR
3038 irq.
3039
Dave Young02608be2012-02-01 10:33:14 +08003040 nomodule Disable module load
3041
Jiri Kosina016ddd92010-01-18 17:05:40 +01003042 nopat [X86] Disable PAT (page attribute table extension of
3043 pagetables) support.
3044
Andy Lutomirskie6a29322017-06-29 08:53:20 -07003045 nopcid [X86-64] Disable the PCID cpu feature.
3046
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07003047 norandmaps Don't use address space randomization. Equivalent to
3048 echo 0 > /proc/sys/kernel/randomize_va_space
3049
Alan Coxcd4f0ef2007-07-31 00:37:59 -07003050 noreplace-smp [X86-32,SMP] Don't replace SMP instructions
Jeremy Fitzhardingeb7fb4af2007-05-02 19:27:13 +02003051 with UP alternatives
3052
H. Peter Anvin7a5091d2014-05-11 20:25:20 -07003053 nordrand [X86] Disable kernel use of the RDRAND and
3054 RDSEED instructions even if they are supported
3055 by the processor. RDRAND and RDSEED are still
3056 available to user space applications.
H. Peter Anvin49d859d2011-07-31 14:02:19 -07003057
Randy Dunlapa9913042005-10-23 12:57:11 -07003058 noresume [SWSUSP] Disables resume and restores original swap
3059 space.
3060
Linus Torvalds1da177e2005-04-16 15:20:36 -07003061 no-scroll [VGA] Disables scrollback.
3062 This is required for the Braillex ib80-piezo Braille
3063 reader made by F.H. Papenmeier (Germany).
3064
3065 nosbagart [IA-64]
3066
Alan Coxcd4f0ef2007-07-31 00:37:59 -07003067 nosep [BUGS=X86-32] Disables x86 SYSENTER/SYSEXIT support.
Chuck Ebbert4f886512006-03-23 02:59:34 -08003068
Len Brown61ec7562007-08-16 03:34:22 -04003069 nosmp [SMP] Tells an SMP kernel to act as a UP kernel,
3070 and disable the IO APIC. legacy for "maxcpus=0".
Linus Torvalds1da177e2005-04-16 15:20:36 -07003071
Dave Jones97842212007-07-15 23:41:05 -07003072 nosoftlockup [KNL] Disable the soft-lockup detector.
3073
Linus Torvalds1da177e2005-04-16 15:20:36 -07003074 nosync [HW,M68K] Disables sync negotiation for all devices.
3075
Alan Coxcd4f0ef2007-07-31 00:37:59 -07003076 notsc [BUGS=X86-32] Disable Time Stamp Counter
Linus Torvalds1da177e2005-04-16 15:20:36 -07003077
Ulrich Obergfell195daf62015-04-14 15:44:13 -07003078 nowatchdog [KNL] Disable both lockup detectors, i.e.
3079 soft-lockup and NMI watchdog (hard-lockup).
Don Zickus58687ac2010-05-07 17:11:44 -04003080
Linus Torvalds1da177e2005-04-16 15:20:36 -07003081 nowb [ARM]
Randy Dunlapa9913042005-10-23 12:57:11 -07003082
Weidong Han2b2fd872009-04-17 16:42:12 +08003083 nox2apic [X86-64,APIC] Do not enable x2APIC mode.
3084
Fenghua Yuf78cff42012-11-13 11:32:38 -08003085 cpu0_hotplug [X86] Turn on CPU0 hotplug feature when
3086 CONFIG_BOOTPARAM_HOTPLUG_CPU0 is off.
3087 Some features depend on CPU0. Known dependencies are:
3088 1. Resume from suspend/hibernate depends on CPU0.
3089 Suspend/hibernate will fail if CPU0 is offline and you
3090 need to online CPU0 before suspend/hibernate.
3091 2. PIC interrupts also depend on CPU0. CPU0 can't be
3092 removed if a PIC interrupt is detected.
3093 It's said poweroff/reboot may depend on CPU0 on some
3094 machines although I haven't seen such issues so far
3095 after CPU0 is offline on a few tested machines.
3096 If the dependencies are under your control, you can
3097 turn on cpu0_hotplug.
3098
Randy Dunlap16290242011-08-13 12:34:52 -07003099 nptcg= [IA-64] Override max number of concurrent global TLB
Fenghua Yua6c75b862008-03-14 13:57:08 -07003100 purges which is reported from either PAL_VM_SUMMARY or
3101 SAL PALO.
3102
Yinghai Lu2b633e32010-02-10 01:20:37 -08003103 nr_cpus= [SMP] Maximum number of processors that an SMP kernel
3104 could support. nr_cpus=n : n >= 1 limits the kernel to
Baoquan He7c142bf2016-08-24 13:06:45 +08003105 support 'n' processors. It could be larger than the
3106 number of already plugged CPU during bootup, later in
3107 runtime you can physically add extra cpu until it reaches
3108 n. So during boot up some boot time memory for per-cpu
3109 variables need be pre-allocated for later physical cpu
3110 hot plugging.
Yinghai Lu2b633e32010-02-10 01:20:37 -08003111
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07003112 nr_uarts= [SERIAL] maximum number of UARTs to be registered.
3113
Mel Gorman1a687c22012-11-22 11:16:36 +00003114 numa_balancing= [KNL,X86] Enable or disable automatic NUMA balancing.
3115 Allowed values are enable and disable
3116
KAMEZAWA Hiroyukif0c0b2b2007-07-15 23:38:01 -07003117 numa_zonelist_order= [KNL, BOOT] Select zonelist order for NUMA.
3118 one of ['zone', 'node', 'default'] can be specified
3119 This can be set from sysctl after boot.
3120 See Documentation/sysctl/vm.txt for details.
3121
Randy Dunlap7c4be252009-01-06 14:42:44 -08003122 ohci1394_dma=early [HW] enable debugging via the ohci1394 driver.
3123 See Documentation/debugging-via-ohci1394.txt for more
3124 info.
3125
Andres Salomon3ef0e1f2008-04-29 00:59:53 -07003126 olpc_ec_timeout= [OLPC] ms delay when issuing EC commands
3127 Rather than timing out after 20 ms if an EC
3128 command is not properly ACKed, override the length
3129 of the timeout. We have interrupts disabled while
3130 waiting for the ACK, so if this is set too high
3131 interrupts *may* be lost!
3132
Tony Lindgren15ac7af2009-12-11 16:16:32 -08003133 omap_mux= [OMAP] Override bootloader pin multiplexing.
3134 Format: <mux_mode0.mode_name=value>...
3135 For example, to override I2C bus2:
3136 omap_mux=i2c2_scl.i2c2_scl=0x100,i2c2_sda.i2c2_sda=0x100
3137
Linus Torvalds1da177e2005-04-16 15:20:36 -07003138 oprofile.timer= [HW]
3139 Use timer interrupt instead of performance counters
3140
Robert Richter7e4e0bd2009-05-06 12:10:23 +02003141 oprofile.cpu_type= Force an oprofile cpu type
3142 This might be useful if you have an older oprofile
3143 userland or if you want common events.
Robert Richter8d7ff4f2009-06-23 11:48:14 +02003144 Format: { arch_perfmon }
3145 arch_perfmon: [X86] Force use of architectural
Robert Richter7e4e0bd2009-05-06 12:10:23 +02003146 perfmon on Intel CPUs instead of the
3147 CPU specific event set.
Robert Richter159a80b2011-10-11 19:39:16 +02003148 timer: [X86] Force use of architectural NMI
3149 timer mode (see also oprofile.timer
3150 for generic hr timer mode)
Andi Kleen1dcdb5a2009-04-27 17:44:11 +02003151
Randy Dunlap44a4dcf2011-04-04 15:02:24 -07003152 oops=panic Always panic on oopses. Default is to just kill the
3153 process, but there is a small probability of
3154 deadlocking the machine.
Olaf Heringd404ab02011-03-22 16:34:04 -07003155 This will also cause panics on machine check exceptions.
3156 Useful together with panic=30 to trigger a reboot.
3157
Randy Dunlapbcfde332010-06-07 17:10:38 -07003158 OSS [HW,OSS]
3159 See Documentation/sound/oss/oss-parameters.txt
3160
Joonsoo Kim48c96a32014-12-12 16:56:01 -08003161 page_owner= [KNL] Boot-time page_owner enabling option.
3162 Storage of the information about who allocated
3163 each page is disabled in default. With this switch,
3164 we can turn it on.
3165 on: enable the feature
3166
Laura Abbott8823b1d2016-03-15 14:56:27 -07003167 page_poison= [KNL] Boot-time parameter changing the state of
3168 poisoning on the buddy allocator.
3169 off: turn off poisoning
3170 on: turn on poisoning
3171
Randy Dunlap44a4dcf2011-04-04 15:02:24 -07003172 panic= [KNL] Kernel behaviour on panic: delay <timeout>
Hugh Dickins4302fbc2011-07-26 16:08:52 -07003173 timeout > 0: seconds before rebooting
3174 timeout = 0: wait forever
3175 timeout < 0: reboot immediately
Linus Torvalds1da177e2005-04-16 15:20:36 -07003176 Format: <timeout>
3177
Prarit Bhargava9e3961a2014-12-10 15:45:50 -08003178 panic_on_warn panic() instead of WARN(). Useful to cause kdump
3179 on a WARN().
3180
Masami Hiramatsuf06e5152014-06-06 14:37:07 -07003181 crash_kexec_post_notifiers
3182 Run kdump after running panic-notifiers and dumping
3183 kmsg. This only for the users who doubt kdump always
3184 succeeds in any situation.
3185 Note that this also increases risks of kdump failure,
3186 because some panic notifiers can make the crashed
3187 kernel more unstable.
3188
Linus Torvalds1da177e2005-04-16 15:20:36 -07003189 parkbd.port= [HW] Parallel port number the keyboard adapter is
3190 connected to, default is 0.
3191 Format: <parport#>
3192 parkbd.mode= [HW] Parallel port keyboard adapter mode of operation,
3193 0 for XT, 1 for AT (default is AT).
Randy Dunlapa9913042005-10-23 12:57:11 -07003194 Format: <mode>
Linus Torvalds1da177e2005-04-16 15:20:36 -07003195
Randy Dunlapa9913042005-10-23 12:57:11 -07003196 parport= [HW,PPT] Specify parallel ports. 0 disables.
3197 Format: { 0 | auto | 0xBBB[,IRQ[,DMA]] }
3198 Use 'auto' to force the driver to use any
3199 IRQ/DMA settings detected (the default is to
3200 ignore detected IRQ/DMA settings because of
3201 possible conflicts). You can specify the base
3202 address, IRQ, and DMA settings; IRQ and DMA
3203 should be numbers, or 'auto' (for using detected
3204 settings on that particular port), or 'nofifo'
3205 (to avoid using a FIFO even if it is detected).
3206 Parallel ports are assigned in the order they
3207 are specified on the command line, starting
3208 with parport0.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003209
Randy Dunlapa9913042005-10-23 12:57:11 -07003210 parport_init_mode= [HW,PPT]
3211 Configure VIA parallel port to operate in
3212 a specific mode. This is necessary on Pegasos
3213 computer where firmware has no options for setting
3214 up parallel port mode and sets it to spp.
3215 Currently this function knows 686a and 8231 chips.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003216 Format: [spp|ps2|epp|ecp|ecpepp]
3217
Andrew Mortondd287792006-03-23 03:00:57 -08003218 pause_on_oops=
3219 Halt all CPUs after the first oops has been printed for
3220 the specified number of seconds. This is to be used if
3221 your oopses keep scrolling off the screen.
3222
Linus Torvalds1da177e2005-04-16 15:20:36 -07003223 pcbit= [HW,ISDN]
3224
3225 pcd. [PARIDE]
3226 See header of drivers/block/paride/pcd.c.
Randy Dunlap31c00fc2008-11-13 21:33:24 +00003227 See also Documentation/blockdev/paride.txt.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003228
Randy Dunlapa9913042005-10-23 12:57:11 -07003229 pci=option[,option...] [PCI] various PCI subsystem options:
Bjorn Helgaas1cc0ca22009-01-14 10:04:36 -07003230 earlydump [X86] dump PCI config space before the kernel
3231 changes anything
Andi Kleenc0115602008-08-22 09:53:39 +02003232 off [X86] don't probe for the PCI bus
Alan Coxcd4f0ef2007-07-31 00:37:59 -07003233 bios [X86-32] force use of PCI BIOS, don't access
Randy Dunlapa9913042005-10-23 12:57:11 -07003234 the hardware directly. Use this if your machine
3235 has a non-standard PCI host bridge.
Alan Coxcd4f0ef2007-07-31 00:37:59 -07003236 nobios [X86-32] disallow use of PCI BIOS, only direct
Randy Dunlapa9913042005-10-23 12:57:11 -07003237 hardware access methods are allowed. Use this
3238 if you experience crashes upon bootup and you
3239 suspect they are caused by the BIOS.
Borislav Petkovafd8c082016-01-13 16:48:51 +01003240 conf1 [X86] Force use of PCI Configuration Access
3241 Mechanism 1 (config address in IO port 0xCF8,
3242 data in IO port 0xCFC, both 32-bit).
3243 conf2 [X86] Force use of PCI Configuration Access
3244 Mechanism 2 (IO port 0xCF8 is an 8-bit port for
3245 the function, IO port 0xCFA, also 8-bit, sets
3246 bus number. The config space is then accessed
3247 through ports 0xC000-0xCFFF).
3248 See http://wiki.osdev.org/PCI for more info
3249 on the configuration access mechanisms.
Randy Dunlap7f785762007-10-05 13:17:58 -07003250 noaer [PCIE] If the PCIEAER kernel config parameter is
3251 enabled, this kernel boot option can be used to
3252 disable the use of PCIE advanced error reporting.
Jeff Garzik32a2eea2007-10-11 16:57:27 -04003253 nodomains [PCI] Disable support for multiple PCI
3254 root domains (aka PCI segments, in ACPI-speak).
Jaswinder Singh Rajput6cececf2009-04-14 14:03:43 +05303255 nommconf [X86] Disable use of MMCONFIG for PCI
Bjorn Helgaas61be6d62006-02-15 15:17:43 -08003256 Configuration
Andreas Herrmann12983072009-06-07 16:15:16 +02003257 check_enable_amd_mmconf [X86] check for and enable
3258 properly configured MMIO access to PCI
3259 config space on AMD family 10h CPU
Matthew Wilcox309e57d2006-03-05 22:33:34 -07003260 nomsi [MSI] If the PCI_MSI kernel config parameter is
3261 enabled, this kernel boot option can be used to
3262 disable the use of MSI interrupts system-wide.
Stefan Assmanna9322f62008-06-11 16:35:14 +02003263 noioapicquirk [APIC] Disable all boot interrupt quirks.
3264 Safety option to keep boot IRQs enabled. This
3265 should never be necessary.
Stefan Assmann91979792008-06-11 16:35:15 +02003266 ioapicreroute [APIC] Enable rerouting of boot IRQs to the
3267 primary IO-APIC for bridges that cannot disable
3268 boot IRQs. This fixes a source of spurious IRQs
3269 when the system masks IRQs.
Stefan Assmann41b9eb22008-07-15 13:48:55 +02003270 noioapicreroute [APIC] Disable workaround that uses the
3271 boot IRQ equivalent of an IRQ that connects to
3272 a chipset where boot IRQs cannot be disabled.
3273 The opposite of ioapicreroute.
Alan Coxcd4f0ef2007-07-31 00:37:59 -07003274 biosirq [X86-32] Use PCI BIOS calls to get the interrupt
Randy Dunlapa9913042005-10-23 12:57:11 -07003275 routing table. These calls are known to be buggy
3276 on several machines and they hang the machine
3277 when used, but on other computers it's the only
3278 way to get the interrupt routing table. Try
3279 this option if the kernel is unable to allocate
3280 IRQs or discover secondary PCI buses on your
3281 motherboard.
Andi Kleenc0115602008-08-22 09:53:39 +02003282 rom [X86] Assign address space to expansion ROMs.
Randy Dunlapa9913042005-10-23 12:57:11 -07003283 Use with caution as certain devices share
3284 address decoders between ROMs and other
3285 resources.
Andi Kleenc0115602008-08-22 09:53:39 +02003286 norom [X86] Do not assign address space to
Gary Hadebb71ad82008-05-12 13:57:46 -07003287 expansion ROMs that do not already have
3288 BIOS assigned address ranges.
Mike Habeck7bd1c362010-05-12 11:14:32 -07003289 nobar [X86] Do not assign address space to the
3290 BARs that weren't assigned by the BIOS.
Andi Kleenc0115602008-08-22 09:53:39 +02003291 irqmask=0xMMMM [X86] Set a bit mask of IRQs allowed to be
Randy Dunlapa9913042005-10-23 12:57:11 -07003292 assigned automatically to PCI devices. You can
3293 make the kernel exclude IRQs of your ISA cards
3294 this way.
Andi Kleenc0115602008-08-22 09:53:39 +02003295 pirqaddr=0xAAAAA [X86] Specify the physical address
Randy Dunlapa9913042005-10-23 12:57:11 -07003296 of the PIRQ table (normally generated
3297 by the BIOS) if it is outside the
3298 F0000h-100000h range.
Andi Kleenc0115602008-08-22 09:53:39 +02003299 lastbus=N [X86] Scan all buses thru bus #N. Can be
Randy Dunlapa9913042005-10-23 12:57:11 -07003300 useful if the kernel is unable to find your
3301 secondary buses and you want to tell it
3302 explicitly which ones they are.
Andi Kleenc0115602008-08-22 09:53:39 +02003303 assign-busses [X86] Always assign all PCI bus
Randy Dunlapa9913042005-10-23 12:57:11 -07003304 numbers ourselves, overriding
3305 whatever the firmware may have done.
Andi Kleenc0115602008-08-22 09:53:39 +02003306 usepirqmask [X86] Honor the possible IRQ mask stored
Randy Dunlapa9913042005-10-23 12:57:11 -07003307 in the BIOS $PIR table. This is needed on
3308 some systems with broken BIOSes, notably
3309 some HP Pavilion N5400 and Omnibook XE3
3310 notebooks. This will have no effect if ACPI
3311 IRQ routing is enabled.
Andi Kleenc0115602008-08-22 09:53:39 +02003312 noacpi [X86] Do not use ACPI for IRQ routing
Randy Dunlapa9913042005-10-23 12:57:11 -07003313 or for PCI scanning.
Bjorn Helgaas7bc5e3f2010-02-23 10:24:41 -07003314 use_crs [X86] Use PCI host bridge window information
3315 from ACPI. On BIOSes from 2008 or later, this
3316 is enabled by default. If you need to use this,
3317 please report a bug.
3318 nocrs [X86] Ignore PCI host bridge windows from ACPI.
3319 If you need to use this, please report a bug.
Randy Dunlapa9913042005-10-23 12:57:11 -07003320 routeirq Do IRQ routing for all PCI devices.
3321 This is normally done in pci_enable_device(),
3322 so this option is a temporary workaround
3323 for broken drivers that don't call it.
Yinghai Lu13a6ddb2008-03-27 01:31:18 -07003324 skip_isa_align [X86] do not align io start addr, so can
3325 handle more pci cards
Andi Kleen0637a702006-09-26 10:52:41 +02003326 noearly [X86] Don't do any early type 1 scanning.
3327 This might help on some broken boards which
3328 machine check when some devices' config space
3329 is read. But various workarounds are disabled
3330 and some IOMMU drivers will not work.
Matt Domsch6b4b78f2006-09-29 15:23:23 -05003331 bfsort Sort PCI devices into breadth-first order.
3332 This sorting is done to get a device
3333 order compatible with older (<= 2.4) kernels.
3334 nobfsort Don't sort PCI devices into breadth-first order.
Yijing Wangfa238712013-01-30 09:40:52 +08003335 pcie_bus_tune_off Disable PCIe MPS (Max Payload Size)
3336 tuning and use the BIOS-configured MPS defaults.
3337 pcie_bus_safe Set every device's MPS to the largest value
3338 supported by all devices below the root complex.
3339 pcie_bus_perf Set device MPS to the largest allowable MPS
3340 based on its parent bus. Also set MRRS (Max
3341 Read Request Size) to the largest supported
3342 value (no larger than the MPS that the device
3343 or bus can support) for best performance.
3344 pcie_bus_peer2peer Set every device's MPS to 128B, which
3345 every device is guaranteed to support. This
3346 configuration allows peer-to-peer DMA between
3347 any pair of devices, possibly at the cost of
3348 reduced performance. This also guarantees
3349 that hot-added devices will work.
Atsushi Nemoto4516a612007-02-05 16:36:06 -08003350 cbiosize=nn[KMG] The fixed amount of bus space which is
3351 reserved for the CardBus bridge's IO window.
3352 The default value is 256 bytes.
3353 cbmemsize=nn[KMG] The fixed amount of bus space which is
3354 reserved for the CardBus bridge's memory
3355 window. The default value is 64 megabytes.
Yuji Shimada32a9a682009-03-16 17:13:39 +09003356 resource_alignment=
3357 Format:
3358 [<order of align>@][<domain>:]<bus>:<slot>.<func>[; ...]
Koehrer Mathias (ETAS/ESW5)644a5442016-06-07 14:24:17 +00003359 [<order of align>@]pci:<vendor>:<device>\
3360 [:<subvendor>:<subdevice>][; ...]
Yuji Shimada32a9a682009-03-16 17:13:39 +09003361 Specifies alignment and device to reassign
3362 aligned memory resources.
3363 If <order of align> is not specified,
3364 PAGE_SIZE is used as alignment.
3365 PCI-PCI bridge can be specified, if resource
3366 windows need to be expanded.
Mathias Koehrer8b078c62016-08-09 10:33:31 +02003367 To specify the alignment for several
3368 instances of a device, the PCI vendor,
3369 device, subvendor, and subdevice may be
3370 specified, e.g., 4096@pci:8086:9c22:103c:198f
Andrew Patterson43c16402009-04-22 16:52:09 -06003371 ecrc= Enable/disable PCIe ECRC (transaction layer
3372 end-to-end CRC checking).
3373 bios: Use BIOS/firmware settings. This is the
3374 the default.
3375 off: Turn ECRC off
3376 on: Turn ECRC on.
Yijing Wang8c8803c2013-01-23 20:29:06 +08003377 hpiosize=nn[KMG] The fixed amount of bus space which is
3378 reserved for hotplug bridge's IO window.
3379 Default size is 256 bytes.
3380 hpmemsize=nn[KMG] The fixed amount of bus space which is
3381 reserved for hotplug bridge's memory window.
3382 Default size is 2 megabytes.
Keith Busche16b4662016-07-21 21:40:28 -06003383 hpbussize=nn The minimum amount of additional bus numbers
3384 reserved for buses below a hotplug bridge.
3385 Default is 1.
Yinghai Lub55438f2012-02-23 19:23:30 -08003386 realloc= Enable/disable reallocating PCI bridge resources
3387 if allocations done by BIOS are too small to
3388 accommodate resources required by all child
3389 devices.
3390 off: Turn realloc off
3391 on: Turn realloc on
3392 realloc same as realloc=on
Rafael J. Wysocki6748dcc2012-03-01 00:06:33 +01003393 noari do not use PCIe ARI.
Bjorn Helgaas284f5f92012-04-30 15:21:02 -06003394 pcie_scan_all Scan all possible PCIe devices. Otherwise we
3395 only look for one device below a PCIe downstream
3396 port.
Matt Domsch6b4b78f2006-09-29 15:23:23 -05003397
Chuck Ebberte5665a42008-09-24 20:40:34 -04003398 pcie_aspm= [PCIE] Forcibly enable or disable PCIe Active State Power
3399 Management.
3400 off Disable ASPM.
3401 force Enable ASPM even on devices that claim not to support it.
3402 WARNING: Forcing ASPM on may cause system lockups.
3403
MUNEDA Takahiro7570a332012-02-02 11:09:22 -05003404 pcie_hp= [PCIE] PCI Express Hotplug driver options:
3405 nomsi Do not use MSI for PCI Express Native Hotplug (this
3406 makes all PCIe ports use INTx for hotplug services).
3407
Rafael J. Wysocki79dd9182010-08-21 01:51:44 +02003408 pcie_ports= [PCIE] PCIe ports handling:
Rafael J. Wysocki28eb5f22010-08-21 22:02:38 +02003409 auto Ask the BIOS whether or not to use native PCIe services
3410 associated with PCIe ports (PME, hot-plug, AER). Use
3411 them only if that is allowed by the BIOS.
3412 native Use native PCIe services associated with PCIe ports
3413 unconditionally.
Rafael J. Wysocki79dd9182010-08-21 01:51:44 +02003414 compat Treat PCIe ports as PCI-to-PCI bridges, disable the PCIe
3415 ports driver.
3416
Mika Westerberg9d26d3a2016-06-02 11:17:12 +03003417 pcie_port_pm= [PCIE] PCIe port power management handling:
3418 off Disable power management of all PCIe ports
3419 force Forcibly enable power management of all PCIe ports
3420
Rafael J. Wysockic7f48652010-02-17 23:39:08 +01003421 pcie_pme= [PCIE,PM] Native PCIe PME signaling options:
Rafael J. Wysockic39fae12010-02-17 23:40:07 +01003422 nomsi Do not use MSI for native PCIe PME signaling (this makes
Rafael J. Wysocki28eb5f22010-08-21 22:02:38 +02003423 all PCIe root ports use INTx for all services).
Rafael J. Wysockic7f48652010-02-17 23:39:08 +01003424
Linus Torvalds1da177e2005-04-16 15:20:36 -07003425 pcmv= [HW,PCMCIA] BadgePAD 4
3426
Tushar Behera39ac5ba2014-03-28 10:50:21 +05303427 pd_ignore_unused
3428 [PM]
3429 Keep all power-domains already enabled by bootloader on,
3430 even if no driver has claimed them. This is useful
3431 for debug and development, but should not be
3432 needed on a platform with proper driver support.
3433
Linus Torvalds1da177e2005-04-16 15:20:36 -07003434 pd. [PARIDE]
Randy Dunlap31c00fc2008-11-13 21:33:24 +00003435 See Documentation/blockdev/paride.txt.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003436
3437 pdcchassis= [PARISC,HW] Disable/Enable PDC Chassis Status codes at
3438 boot time.
3439 Format: { 0 | 1 }
3440 See arch/parisc/kernel/pdc_chassis.c
3441
Tejun Heof58dc012009-08-14 15:00:50 +09003442 percpu_alloc= Select which percpu first chunk allocator to use.
Tejun Heoe933a732009-08-14 15:00:53 +09003443 Currently supported values are "embed" and "page".
3444 Archs may support subset or none of the selections.
3445 See comments in mm/percpu.c for details on each
3446 allocator. This parameter is primarily for debugging
3447 and performance comparison.
Tejun Heofa8a7092009-06-22 11:56:24 +09003448
Linus Torvalds1da177e2005-04-16 15:20:36 -07003449 pf. [PARIDE]
Randy Dunlap31c00fc2008-11-13 21:33:24 +00003450 See Documentation/blockdev/paride.txt.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003451
3452 pg. [PARIDE]
Randy Dunlap31c00fc2008-11-13 21:33:24 +00003453 See Documentation/blockdev/paride.txt.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003454
3455 pirq= [SMP,APIC] Manual mp-table setup
Uwe Hermann71cced62008-10-20 09:32:21 -07003456 See Documentation/x86/i386/IO-APIC.txt.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003457
3458 plip= [PPT,NET] Parallel port network link
3459 Format: { parport<nr> | timid | 0 }
3460 See also Documentation/parport.txt.
3461
Randy Dunlap16290242011-08-13 12:34:52 -07003462 pmtmr= [X86] Manual setup of pmtmr I/O Port.
Thomas Gleixnerde32a242008-07-12 05:33:30 +02003463 Override pmtimer IOPort with a hex value.
3464 e.g. pmtmr=0x508
3465
Bjorn Helgaas96242112011-08-11 12:14:05 -06003466 pnp.debug=1 [PNP]
3467 Enable PNP debug messages (depends on the
3468 CONFIG_PNP_DEBUG_MESSAGES option). Change at run-time
3469 via /sys/module/pnp/parameters/debug. We always show
3470 current resource usage; turning this on also shows
3471 possible settings and some assignment information.
Bjorn Helgaas97ef0622008-08-19 16:53:41 -06003472
Linus Torvalds1da177e2005-04-16 15:20:36 -07003473 pnpacpi= [ACPI]
3474 { off }
3475
3476 pnpbios= [ISAPNP]
3477 { on | off | curr | res | no-curr | no-res }
3478
3479 pnp_reserve_irq=
3480 [ISAPNP] Exclude IRQs for the autoconfiguration
3481
3482 pnp_reserve_dma=
3483 [ISAPNP] Exclude DMAs for the autoconfiguration
3484
3485 pnp_reserve_io= [ISAPNP] Exclude I/O ports for the autoconfiguration
Randy Dunlapa9913042005-10-23 12:57:11 -07003486 Ranges are in pairs (I/O port base and size).
Linus Torvalds1da177e2005-04-16 15:20:36 -07003487
3488 pnp_reserve_mem=
Randy Dunlapa9913042005-10-23 12:57:11 -07003489 [ISAPNP] Exclude memory regions for the
3490 autoconfiguration.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003491 Ranges are in pairs (memory base and size).
3492
Randy Dunlap4af94f32009-04-17 18:30:28 -07003493 ports= [IP_VS_FTP] IPVS ftp helper module
3494 Default is 21.
3495 Up to 8 (IP_VS_APP_MAX_PORTS) ports
3496 may be specified.
3497 Format: <port>,<port>....
3498
Anton Blanchard3eb5d582015-10-29 11:44:06 +11003499 ppc_strict_facility_enable
3500 [PPC] This option catches any kernel floating point,
3501 Altivec, VSX and SPE outside of regions specifically
3502 allowed (eg kernel_enable_fpu()/kernel_disable_fpu()).
3503 There is some performance impact when enabling this.
3504
Ingo Molnar45807a12007-07-15 23:40:10 -07003505 print-fatal-signals=
3506 [KNL] debug: print fatal signals
Naohiro Ooiwaf84d49b2009-11-09 00:46:42 +09003507
3508 If enabled, warn about various signal handling
3509 related application anomalies: too many signals,
3510 too many POSIX.1 timers, fatal signals causing a
3511 coredump - etc.
3512
3513 If you hit the warning due to signal overflow,
3514 you might want to try "ulimit -i unlimited".
3515
Ingo Molnar45807a12007-07-15 23:40:10 -07003516 default: off.
3517
Matthew Garrettc22ab332012-03-05 14:59:10 -08003518 printk.always_kmsg_dump=
3519 Trigger kmsg_dump for cases other than kernel oops or
3520 panics
3521 Format: <bool> (1/Y/y=enable, 0/N/n=disable)
3522 default: disabled
3523
Borislav Petkov750afe72016-08-02 14:04:07 -07003524 printk.devkmsg={on,off,ratelimit}
3525 Control writing to /dev/kmsg.
3526 on - unlimited logging to /dev/kmsg from userspace
3527 off - logging to /dev/kmsg disabled
3528 ratelimit - ratelimit the logging
3529 Default: ratelimit
3530
Randy Dunlape84845c2007-07-15 23:40:25 -07003531 printk.time= Show timing data prefixed to each printk message line
3532 Format: <bool> (1/Y/y=enable, 0/N/n=disable)
3533
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07003534 processor.max_cstate= [HW,ACPI]
3535 Limit processor to maximum C-state
3536 max_cstate=9 overrides any DMI blacklist limit.
3537
3538 processor.nocst [HW,ACPI]
3539 Ignore the _CST method to determine C-states,
3540 instead using the legacy FADT method
3541
Linus Torvalds1da177e2005-04-16 15:20:36 -07003542 profile= [KNL] Enable kernel profiling via /proc/profile
Randy Dunlapa9913042005-10-23 12:57:11 -07003543 Format: [schedule,]<number>
3544 Param: "schedule" - profile schedule points.
3545 Param: <number> - step/bucket size as a power of 2 for
3546 statistical time based profiling.
Mel Gormanb3da2a72007-10-24 18:23:50 +02003547 Param: "sleep" - profile D-state sleeping (millisecs).
3548 Requires CONFIG_SCHEDSTATS
Dave Jonesc0fe2e62007-10-20 03:08:22 +02003549 Param: "kvm" - profile VM exits.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003550
Linus Torvalds1da177e2005-04-16 15:20:36 -07003551 prompt_ramdisk= [RAM] List of RAM disks to prompt for floppy disk
3552 before loading.
Randy Dunlap31c00fc2008-11-13 21:33:24 +00003553 See Documentation/blockdev/ramdisk.txt.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003554
Johannes Weinerc9f51ce2018-11-30 14:09:58 -08003555 psi= [KNL] Enable or disable pressure stall information
3556 tracking.
3557 Format: <bool>
3558
Randy Dunlapa9913042005-10-23 12:57:11 -07003559 psmouse.proto= [HW,MOUSE] Highest PS2 mouse protocol extension to
3560 probe for; one of (bare|imps|exps|lifebook|any).
Linus Torvalds1da177e2005-04-16 15:20:36 -07003561 psmouse.rate= [HW,MOUSE] Set desired mouse report rate, in reports
3562 per second.
Randy Dunlapa9913042005-10-23 12:57:11 -07003563 psmouse.resetafter= [HW,MOUSE]
3564 Try to reset the device after so many bad packets
Linus Torvalds1da177e2005-04-16 15:20:36 -07003565 (0 = never).
3566 psmouse.resolution=
3567 [HW,MOUSE] Set desired mouse resolution, in dpi.
3568 psmouse.smartscroll=
Randy Dunlapa9913042005-10-23 12:57:11 -07003569 [HW,MOUSE] Controls Logitech smartscroll autorepeat.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003570 0 = disabled, 1 = enabled (default).
3571
Matthew Garrettdee28e72011-07-21 16:57:55 -04003572 pstore.backend= Specify the name of the pstore backend to use
3573
Linus Torvalds1da177e2005-04-16 15:20:36 -07003574 pt. [PARIDE]
Randy Dunlap31c00fc2008-11-13 21:33:24 +00003575 See Documentation/blockdev/paride.txt.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003576
Dave Hansen4e6c2af2018-01-05 09:44:36 -08003577 pti= [X86_64] Control Page Table Isolation of user and
3578 kernel address spaces. Disabling this feature
3579 removes hardening, but improves performance of
3580 system calls and interrupts.
3581
3582 on - unconditionally enable
3583 off - unconditionally disable
3584 auto - kernel detects whether your CPU model is
3585 vulnerable to issues that PTI mitigates
3586
3587 Not specifying this option is equivalent to pti=auto.
3588
3589 nopti [X86_64]
3590 Equivalent to pti=off
Borislav Petkov80183072018-01-02 14:19:48 +01003591
Kay Sieversdc8c8582007-08-15 12:25:38 +02003592 pty.legacy_count=
3593 [KNL] Number of legacy pty's. Overwrites compiled-in
3594 default number.
3595
Randy Dunlap7d2c5022006-09-29 02:01:02 -07003596 quiet [KNL] Disable most log messages
Randy Dunlapa9913042005-10-23 12:57:11 -07003597
Linus Torvalds1da177e2005-04-16 15:20:36 -07003598 r128= [HW,DRM]
3599
3600 raid= [HW,RAID]
3601 See Documentation/md.txt.
3602
Linus Torvalds1da177e2005-04-16 15:20:36 -07003603 ramdisk_size= [RAM] Sizes of RAM disks in kilobytes
Randy Dunlap31c00fc2008-11-13 21:33:24 +00003604 See Documentation/blockdev/ramdisk.txt.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003605
Kees Cook4bba4e82018-08-27 14:51:54 -07003606 random.trust_cpu={on,off}
3607 [KNL] Enable or disable trusting the use of the
3608 CPU's random number generator (if available) to
3609 fully seed the kernel's CRNG. Default is controlled
3610 by CONFIG_RANDOM_TRUST_CPU.
3611
Jason A. Donenfeld817f35f2022-03-22 21:43:12 -06003612 random.trust_bootloader={on,off}
3613 [KNL] Enable or disable trusting the use of a
3614 seed passed by the bootloader (if available) to
3615 fully seed the kernel's CRNG. Default is controlled
3616 by CONFIG_RANDOM_TRUST_BOOTLOADER.
3617
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003618 rcu_nocbs= [KNL]
Noam Camus2d13e6c2016-10-11 13:51:35 -07003619 The argument is a cpu list, as described above.
3620
Paul E. McKenney3fbfbf72012-08-19 21:35:53 -07003621 In kernels built with CONFIG_RCU_NOCB_CPU=y, set
3622 the specified list of CPUs to be no-callback CPUs.
3623 Invocation of these CPUs' RCU callbacks will
Paul E. McKenneya4889852012-12-03 08:16:28 -08003624 be offloaded to "rcuox/N" kthreads created for
3625 that purpose, where "x" is "b" for RCU-bh, "p"
3626 for RCU-preempt, and "s" for RCU-sched, and "N"
3627 is the CPU number. This reduces OS jitter on the
Paul E. McKenney3fbfbf72012-08-19 21:35:53 -07003628 offloaded CPUs, which can be useful for HPC and
3629 real-time workloads. It can also improve energy
3630 efficiency for asymmetric multiprocessors.
3631
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003632 rcu_nocb_poll [KNL]
Paul E. McKenney3fbfbf72012-08-19 21:35:53 -07003633 Rather than requiring that offloaded CPUs
3634 (specified by rcu_nocbs= above) explicitly
3635 awaken the corresponding "rcuoN" kthreads,
3636 make these kthreads poll for callbacks.
3637 This improves the real-time response for the
3638 offloaded CPUs by relieving them of the need to
3639 wake up the corresponding kthread, but degrades
3640 energy efficiency by requiring that the kthreads
3641 periodically wake up to do the polling.
3642
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003643 rcutree.blimit= [KNL]
Paul E. McKenney97e63f02013-10-27 09:44:03 -07003644 Set maximum number of finished RCU callbacks to
3645 process in one batch.
Dipankar Sarma21a1ea92006-03-07 21:55:33 -08003646
Paul E. McKenneya3dc2942015-04-20 11:40:50 -07003647 rcutree.dump_tree= [KNL]
3648 Dump the structure of the rcu_node combining tree
3649 out at early boot. This is used for diagnostic
3650 purposes, to verify correct tree setup.
3651
Paul E. McKenney0f41c0d2015-03-10 18:33:20 -07003652 rcutree.gp_cleanup_delay= [KNL]
3653 Set the number of jiffies to delay each step of
3654 RCU grace-period cleanup. This only has effect
3655 when CONFIG_RCU_TORTURE_TEST_SLOW_CLEANUP is set.
3656
Paul E. McKenney37745d22015-01-22 18:24:08 -08003657 rcutree.gp_init_delay= [KNL]
3658 Set the number of jiffies to delay each step of
3659 RCU grace-period initialization. This only has
Paul E. McKenney0f41c0d2015-03-10 18:33:20 -07003660 effect when CONFIG_RCU_TORTURE_TEST_SLOW_INIT
3661 is set.
3662
3663 rcutree.gp_preinit_delay= [KNL]
3664 Set the number of jiffies to delay each step of
3665 RCU grace-period pre-initialization, that is,
3666 the propagation of recent CPU-hotplug changes up
3667 the rcu_node combining tree. This only has effect
3668 when CONFIG_RCU_TORTURE_TEST_SLOW_PREINIT is set.
Paul E. McKenney37745d22015-01-22 18:24:08 -08003669
Paul E. McKenney7fa27002015-04-20 10:27:15 -07003670 rcutree.rcu_fanout_exact= [KNL]
3671 Disable autobalancing of the rcu_node combining
3672 tree. This is used by rcutorture, and might
3673 possibly be useful for architectures having high
3674 cache-to-cache transfer latencies.
Dipankar Sarma21a1ea92006-03-07 21:55:33 -08003675
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003676 rcutree.rcu_fanout_leaf= [KNL]
Paul E. McKenneyee968ac2015-07-31 08:28:35 -07003677 Change the number of CPUs assigned to each
3678 leaf rcu_node structure. Useful for very
3679 large systems, which will choose the value 64,
3680 and for NUMA systems with large remote-access
3681 latencies, which will choose a value aligned
3682 with the appropriate hardware boundaries.
Paul E. McKenneyf885b7f2012-04-23 15:52:53 -07003683
Paul E. McKenney4a81e832014-06-20 16:49:01 -07003684 rcutree.jiffies_till_sched_qs= [KNL]
3685 Set required age in jiffies for a
3686 given grace period before RCU starts
3687 soliciting quiescent-state help from
3688 rcu_note_context_switch().
3689
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003690 rcutree.jiffies_till_first_fqs= [KNL]
Paul E. McKenneyc0f4dfd2012-12-28 11:30:36 -08003691 Set delay from grace-period initialization to
3692 first attempt to force quiescent states.
3693 Units are jiffies, minimum value is zero,
3694 and maximum value is HZ.
3695
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003696 rcutree.jiffies_till_next_fqs= [KNL]
Paul E. McKenneyc0f4dfd2012-12-28 11:30:36 -08003697 Set delay between subsequent attempts to force
3698 quiescent states. Units are jiffies, minimum
3699 value is one, and maximum value is HZ.
3700
Clark Williams21871d72014-09-12 21:21:09 -05003701 rcutree.kthread_prio= [KNL,BOOT]
Paul E. McKenneyd2af1ad2015-01-20 23:54:59 -08003702 Set the SCHED_FIFO priority of the RCU per-CPU
3703 kthreads (rcuc/N). This value is also used for
3704 the priority of the RCU boost threads (rcub/N)
3705 and for the RCU grace-period kthreads (rcu_bh,
3706 rcu_preempt, and rcu_sched). If RCU_BOOST is
3707 set, valid values are 1-99 and the default is 1
3708 (the least-favored priority). Otherwise, when
3709 RCU_BOOST is not set, valid values are 0-99 and
3710 the default is zero (non-realtime operation).
Clark Williams21871d72014-09-12 21:21:09 -05003711
Paul E. McKenneyfbce7492014-06-24 09:26:11 -07003712 rcutree.rcu_nocb_leader_stride= [KNL]
3713 Set the number of NOCB kthread groups, which
3714 defaults to the square root of the number of
3715 CPUs. Larger numbers reduces the wakeup overhead
3716 on the per-CPU grace-period kthreads, but increases
3717 that same overhead on each group's leader.
3718
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003719 rcutree.qhimark= [KNL]
Paul E. McKenney97e63f02013-10-27 09:44:03 -07003720 Set threshold of queued RCU callbacks beyond which
3721 batch limiting is disabled.
Dipankar Sarma21a1ea92006-03-07 21:55:33 -08003722
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003723 rcutree.qlowmark= [KNL]
Robert P. J. Day24aaef82008-02-03 15:20:26 +02003724 Set threshold of queued RCU callbacks below which
3725 batch limiting is re-enabled.
Dipankar Sarma21a1ea92006-03-07 21:55:33 -08003726
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003727 rcutree.rcu_idle_gp_delay= [KNL]
Paul E. McKenneyc0f4dfd2012-12-28 11:30:36 -08003728 Set wakeup interval for idle CPUs that have
3729 RCU callbacks (RCU_FAST_NO_HZ=y).
Paul E. McKenneyd40011f2012-06-26 20:45:57 -07003730
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003731 rcutree.rcu_idle_lazy_gp_delay= [KNL]
Paul E. McKenneyc0f4dfd2012-12-28 11:30:36 -08003732 Set wakeup interval for idle CPUs that have
3733 only "lazy" RCU callbacks (RCU_FAST_NO_HZ=y).
3734 Lazy RCU callbacks are those which RCU can
3735 prove do nothing more than free memory.
Paul E. McKenneyd40011f2012-06-26 20:45:57 -07003736
Paul E. McKenneybdea9e32016-01-01 13:47:19 -08003737 rcuperf.gp_exp= [KNL]
3738 Measure performance of expedited synchronous
3739 grace-period primitives.
3740
Paul E. McKenneydf37e662016-01-30 20:56:38 -08003741 rcuperf.holdoff= [KNL]
3742 Set test-start holdoff period. The purpose of
3743 this parameter is to delay the start of the
3744 test until boot completes in order to avoid
3745 interference.
3746
Paul E. McKenneybdea9e32016-01-01 13:47:19 -08003747 rcuperf.nreaders= [KNL]
3748 Set number of RCU readers. The value -1 selects
3749 N, where N is the number of CPUs. A value
3750 "n" less than -1 selects N-n+1, where N is again
3751 the number of CPUs. For example, -2 selects N
3752 (the number of CPUs), -3 selects N+1, and so on.
3753 A value of "n" less than or equal to -N selects
3754 a single reader.
3755
3756 rcuperf.nwriters= [KNL]
3757 Set number of RCU writers. The values operate
3758 the same as for rcuperf.nreaders.
3759 N, where N is the number of CPUs
3760
3761 rcuperf.perf_runnable= [BOOT]
3762 Start rcuperf running at boot time.
3763
3764 rcuperf.shutdown= [KNL]
3765 Shut the system down after performance tests
3766 complete. This is useful for hands-off automated
3767 testing.
3768
3769 rcuperf.perf_type= [KNL]
3770 Specify the RCU implementation to test.
3771
3772 rcuperf.verbose= [KNL]
3773 Enable additional printk() statements.
3774
Paul E. McKenney38706bc2014-08-18 21:12:17 -07003775 rcutorture.cbflood_inter_holdoff= [KNL]
3776 Set holdoff time (jiffies) between successive
3777 callback-flood tests.
3778
3779 rcutorture.cbflood_intra_holdoff= [KNL]
3780 Set holdoff time (jiffies) between successive
3781 bursts of callbacks within a given callback-flood
3782 test.
3783
3784 rcutorture.cbflood_n_burst= [KNL]
3785 Set the number of bursts making up a given
3786 callback-flood test. Set this to zero to
3787 disable callback-flood testing.
3788
3789 rcutorture.cbflood_n_per_burst= [KNL]
3790 Set the number of callbacks to be registered
3791 in a given burst of a callback-flood test.
3792
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003793 rcutorture.fqs_duration= [KNL]
Paul E. McKenney21b05de2015-05-14 17:29:51 -07003794 Set duration of force_quiescent_state bursts
3795 in microseconds.
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07003796
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003797 rcutorture.fqs_holdoff= [KNL]
Paul E. McKenney21b05de2015-05-14 17:29:51 -07003798 Set holdoff time within force_quiescent_state bursts
3799 in microseconds.
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07003800
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003801 rcutorture.fqs_stutter= [KNL]
Paul E. McKenney21b05de2015-05-14 17:29:51 -07003802 Set wait time between force_quiescent_state bursts
3803 in seconds.
3804
3805 rcutorture.gp_cond= [KNL]
3806 Use conditional/asynchronous update-side
3807 primitives, if available.
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07003808
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003809 rcutorture.gp_exp= [KNL]
Paul E. McKenney21b05de2015-05-14 17:29:51 -07003810 Use expedited update-side primitives, if available.
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07003811
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003812 rcutorture.gp_normal= [KNL]
Paul E. McKenney21b05de2015-05-14 17:29:51 -07003813 Use normal (non-expedited) asynchronous
3814 update-side primitives, if available.
3815
3816 rcutorture.gp_sync= [KNL]
3817 Use normal (non-expedited) synchronous
3818 update-side primitives, if available. If all
3819 of rcutorture.gp_cond=, rcutorture.gp_exp=,
3820 rcutorture.gp_normal=, and rcutorture.gp_sync=
3821 are zero, rcutorture acts as if is interpreted
3822 they are all non-zero.
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003823
3824 rcutorture.n_barrier_cbs= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07003825 Set callbacks/threads for rcu_barrier() testing.
3826
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003827 rcutorture.nfakewriters= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07003828 Set number of concurrent RCU writers. These just
3829 stress RCU, they don't participate in the actual
3830 test, hence the "fake".
3831
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003832 rcutorture.nreaders= [KNL]
Paul E. McKenney3838cc12015-03-12 13:55:48 -07003833 Set number of RCU readers. The value -1 selects
3834 N-1, where N is the number of CPUs. A value
3835 "n" less than -1 selects N-n-2, where N is again
3836 the number of CPUs. For example, -2 selects N
3837 (the number of CPUs), -3 selects N+1, and so on.
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07003838
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003839 rcutorture.object_debug= [KNL]
3840 Enable debug-object double-call_rcu() testing.
3841
3842 rcutorture.onoff_holdoff= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07003843 Set time (s) after boot for CPU-hotplug testing.
3844
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003845 rcutorture.onoff_interval= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07003846 Set time (s) between CPU-hotplug operations, or
3847 zero to disable CPU-hotplug testing.
3848
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003849 rcutorture.shuffle_interval= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07003850 Set task-shuffle interval (s). Shuffling tasks
3851 allows some CPUs to go into dyntick-idle mode
3852 during the rcutorture test.
3853
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003854 rcutorture.shutdown_secs= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07003855 Set time (s) after boot system shutdown. This
3856 is useful for hands-off automated testing.
3857
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003858 rcutorture.stall_cpu= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07003859 Duration of CPU stall (s) to test RCU CPU stall
3860 warnings, zero to disable.
3861
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003862 rcutorture.stall_cpu_holdoff= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07003863 Time to wait (s) after boot before inducing stall.
3864
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003865 rcutorture.stat_interval= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07003866 Time (s) between statistics printk()s.
3867
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003868 rcutorture.stutter= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07003869 Time (s) to stutter testing, for example, specifying
3870 five seconds causes the test to run for five seconds,
3871 wait for five seconds, and so on. This tests RCU's
3872 ability to transition abruptly to and from idle.
3873
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003874 rcutorture.test_boost= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07003875 Test RCU priority boosting? 0=no, 1=maybe, 2=yes.
3876 "Maybe" means test if the RCU implementation
3877 under test support RCU priority boosting.
3878
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003879 rcutorture.test_boost_duration= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07003880 Duration (s) of each individual boost test.
3881
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003882 rcutorture.test_boost_interval= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07003883 Interval (s) between each boost test.
3884
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003885 rcutorture.test_no_idle_hz= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07003886 Test RCU's dyntick-idle handling. See also the
3887 rcutorture.shuffle_interval parameter.
3888
Paul E. McKenney21b05de2015-05-14 17:29:51 -07003889 rcutorture.torture_runnable= [BOOT]
3890 Start rcutorture running at boot time.
3891
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003892 rcutorture.torture_type= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07003893 Specify the RCU implementation to test.
3894
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003895 rcutorture.verbose= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07003896 Enable additional printk() statements.
3897
Paul E. McKenney5a9be7c2015-11-24 15:44:06 -08003898 rcupdate.rcu_cpu_stall_suppress= [KNL]
3899 Suppress RCU CPU stall warning messages.
3900
3901 rcupdate.rcu_cpu_stall_timeout= [KNL]
3902 Set timeout for RCU CPU stall warning messages.
3903
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003904 rcupdate.rcu_expedited= [KNL]
3905 Use expedited grace-period primitives, for
3906 example, synchronize_rcu_expedited() instead
3907 of synchronize_rcu(). This reduces latency,
3908 but can increase CPU utilization, degrade
3909 real-time latency, and degrade energy efficiency.
Paul E. McKenney79cfea02015-12-07 13:09:52 -08003910 No effect on CONFIG_TINY_RCU kernels.
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003911
Paul E. McKenney5a9be7c2015-11-24 15:44:06 -08003912 rcupdate.rcu_normal= [KNL]
3913 Use only normal grace-period primitives,
3914 for example, synchronize_rcu() instead of
3915 synchronize_rcu_expedited(). This improves
Paul E. McKenney79cfea02015-12-07 13:09:52 -08003916 real-time latency, CPU utilization, and
3917 energy efficiency, but can expose users to
3918 increased grace-period latency. This parameter
3919 overrides rcupdate.rcu_expedited. No effect on
3920 CONFIG_TINY_RCU kernels.
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003921
Paul E. McKenney3e42ec12015-11-25 18:56:00 -08003922 rcupdate.rcu_normal_after_boot= [KNL]
3923 Once boot has completed (that is, after
3924 rcu_end_inkernel_boot() has been invoked), use
Paul E. McKenney79cfea02015-12-07 13:09:52 -08003925 only normal grace-period primitives. No effect
3926 on CONFIG_TINY_RCU kernels.
Paul E. McKenney3e42ec12015-11-25 18:56:00 -08003927
Paul E. McKenney52db30a2014-07-01 18:16:30 -07003928 rcupdate.rcu_task_stall_timeout= [KNL]
3929 Set timeout in jiffies for RCU task stall warning
3930 messages. Disable with a value less than or equal
3931 to zero.
3932
Pranith Kumar74860fe2014-09-19 11:34:09 -04003933 rcupdate.rcu_self_test= [KNL]
3934 Run the RCU early boot self tests
3935
3936 rcupdate.rcu_self_test_bh= [KNL]
3937 Run the RCU bh early boot self tests
3938
3939 rcupdate.rcu_self_test_sched= [KNL]
3940 Run the RCU sched early boot self tests
3941
Olof Johanssonffdfc402005-09-06 15:17:19 -07003942 rdinit= [KNL]
3943 Format: <full_path>
3944 Run specified binary instead of /init from the ramdisk,
3945 used for early userspace startup. See initrd.
3946
Tom Lendacky9272c252019-08-19 15:52:35 +00003947 rdrand= [X86]
3948 force - Override the decision by the kernel to hide the
3949 advertisement of RDRAND support (this affects
3950 certain AMD processors because of buggy BIOS
3951 support, specifically around the suspend/resume
3952 path).
3953
Robin Holt1b3a5d02013-07-08 16:01:42 -07003954 reboot= [KNL]
3955 Format (x86 or x86_64):
3956 [w[arm] | c[old] | h[ard] | s[oft] | g[pio]] \
3957 [[,]s[mp]#### \
3958 [[,]b[ios] | a[cpi] | k[bd] | t[riple] | e[fi] | p[ci]] \
3959 [[,]f[orce]
3960 Where reboot_mode is one of warm (soft) or cold (hard) or gpio,
3961 reboot_type is one of bios, acpi, kbd, triple, efi, or pci,
3962 reboot_force is either force or not specified,
3963 reboot_cpu is s[mp]#### with #### being the processor
3964 to be used for rebooting.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003965
Paul Jackson46b6d942008-07-04 10:00:09 -07003966 relax_domain_level=
3967 [KNL, SMP] Set scheduler's default relax_domain_level.
seokhoon.yoon09c3bcc2016-08-02 23:23:57 +09003968 See Documentation/cgroup-v1/cpusets.txt.
Paul Jackson46b6d942008-07-04 10:00:09 -07003969
Rafael J. Wysocki0399d4d2014-05-26 13:40:59 +02003970 relative_sleep_states=
3971 [SUSPEND] Use sleep state labeling where the deepest
3972 state available other than hibernation is always "mem".
3973 Format: { "0" | "1" }
3974 0 -- Traditional sleep state labels.
3975 1 -- Relative sleep state labels.
3976
Linus Torvalds1da177e2005-04-16 15:20:36 -07003977 reserve= [KNL,BUGS] Force the kernel to ignore some iomem area
3978
Alan Coxcd4f0ef2007-07-31 00:37:59 -07003979 reservetop= [X86-32]
Zachary Amsden461a9af2006-09-25 23:32:25 -07003980 Format: nn[KMG]
3981 Reserves a hole at the top of the kernel virtual
3982 address space.
3983
H. Peter Anvin9ea77bd2010-08-25 16:38:20 -07003984 reservelow= [X86]
3985 Format: nn[K]
3986 Set the amount of memory to reserve for BIOS at
3987 the bottom of the address space.
3988
Vivek Goyal7e962872006-09-27 01:50:44 -07003989 reset_devices [KNL] Force drivers to reset the underlying device
3990 during initialization.
3991
Randy Dunlapa9913042005-10-23 12:57:11 -07003992 resume= [SWSUSP]
3993 Specify the partition device for software suspend
Minho Ban2df83fa2012-05-14 21:45:31 +02003994 Format:
3995 {/dev/<dev> | PARTUUID=<uuid> | <int>:<int> | <hex>}
Linus Torvalds1da177e2005-04-16 15:20:36 -07003996
Rafael J. Wysockiecbd0da2006-12-06 20:34:13 -08003997 resume_offset= [SWSUSP]
3998 Specify the offset from the beginning of the partition
3999 given by "resume=" at which the swap header is located,
4000 in <PAGE_SIZE> units (needed only for swap files).
4001 See Documentation/power/swsusp-and-swap-files.txt
4002
Barry Songf126f732011-10-10 23:38:41 +02004003 resumedelay= [HIBERNATION] Delay (in seconds) to pause before attempting to
4004 read the resume files
4005
Barry Song6f8d7022011-10-06 20:34:46 +02004006 resumewait [HIBERNATION] Wait (indefinitely) for resume device to show up.
4007 Useful for devices that are detected asynchronously
4008 (e.g. USB and MMC devices).
4009
Bojan Smojverf996fc92010-09-09 23:06:23 +02004010 hibernate= [HIBERNATION]
4011 noresume Don't check if there's a hibernation image
4012 present during boot.
4013 nocompress Don't compress/decompress hibernation images.
Kees Cooka6e15a32014-06-13 13:30:35 -07004014 no Disable hibernation and resume.
Rafael J. Wysocki4c0b6c12016-07-10 02:12:10 +02004015 protect_image Turn on image protection during restoration
4016 (that will set all pages holding image data
4017 during restoration read-only).
Bojan Smojverf996fc92010-09-09 23:06:23 +02004018
Michael Neuling0a7b35c2007-02-10 01:44:33 -08004019 retain_initrd [RAM] Keep initrd memory after extraction
4020
Andrew Clausen0efbb782015-01-09 20:24:55 +00004021 rfkill.default_state=
4022 0 "airplane mode". All wifi, bluetooth, wimax, gps, fm,
4023 etc. communication is blocked by default.
4024 1 Unblocked.
4025
4026 rfkill.master_switch_mode=
4027 0 The "airplane mode" button does nothing.
4028 1 The "airplane mode" button toggles between everything
4029 blocked and the previous configuration.
4030 2 The "airplane mode" button toggles between everything
4031 blocked and everything unblocked.
4032
Linus Torvalds1da177e2005-04-16 15:20:36 -07004033 rhash_entries= [KNL,NET]
4034 Set number of hash buckets for route cache
4035
Linus Torvalds1da177e2005-04-16 15:20:36 -07004036 ro [KNL] Mount root device read-only on boot
4037
Kees Cookd2aa1ac2016-02-17 14:41:13 -08004038 rodata= [KNL]
4039 on Mark read-only kernel memory as read-only (default).
4040 off Leave read-only kernel memory writable for debugging.
4041
Heiko Stuebner605df8a2016-02-22 12:55:01 +01004042 rockchip.usb_uart
4043 Enable the uart passthrough on the designated usb port
4044 on Rockchip SoCs. When active, the signals of the
4045 debug-uart get routed to the D+ and D- pins of the usb
4046 port and the regular usb controller gets disabled.
4047
Linus Torvalds1da177e2005-04-16 15:20:36 -07004048 root= [KNL] Root filesystem
Will Drewryf2d34fd2011-08-03 16:21:08 -07004049 See name_to_dev_t comment in init/do_mounts.c.
Linus Torvalds1da177e2005-04-16 15:20:36 -07004050
4051 rootdelay= [KNL] Delay (in seconds) to pause before attempting to
4052 mount the root filesystem
4053
4054 rootflags= [KNL] Set root filesystem mount option string
4055
4056 rootfstype= [KNL] Set root filesystem type
4057
Pierre Ossmancc1ed752007-07-15 23:40:35 -07004058 rootwait [KNL] Wait (indefinitely) for root device to show up.
4059 Useful for devices that are detected asynchronously
4060 (e.g. USB and MMC devices).
4061
Robert Tivy5c71d612013-03-28 18:41:46 -07004062 rproc_mem=nn[KMG][@address]
4063 [KNL,ARM,CMA] Remoteproc physical memory block.
4064 Memory area to be used by remote processor image,
4065 managed by CMA.
4066
Linus Torvalds1da177e2005-04-16 15:20:36 -07004067 rw [KNL] Mount root device read-write on boot
4068
4069 S [KNL] Run init in single mode
4070
Gerald Schaeferc60d1ae2014-07-18 17:37:08 +02004071 s390_iommu= [HW,S390]
4072 Set s390 IOTLB flushing mode
4073 strict
4074 With strict flushing every unmap operation will result in
4075 an IOTLB flush. Default is lazy flushing before reuse,
4076 which is faster.
4077
Linus Torvalds1da177e2005-04-16 15:20:36 -07004078 sa1100ir [NET]
4079 See drivers/net/irda/sa1100_ir.c.
4080
Linus Torvalds1da177e2005-04-16 15:20:36 -07004081 sbni= [NET] Granch SBNI12 leased line adapter
Randy Dunlapa9913042005-10-23 12:57:11 -07004082
Mike Travisf6630112009-11-17 18:22:15 -06004083 sched_debug [KNL] Enables verbose scheduler debug messages.
4084
Mel Gormancb251762016-02-05 09:08:36 +00004085 schedstats= [KNL,X86] Enable or disable scheduled statistics.
4086 Allowed values are enable and disable. This feature
4087 incurs a small amount of overhead in the scheduler
4088 but is useful for debugging and performance tuning.
4089
Mike Galbraith5307c952012-05-08 12:20:58 +02004090 skew_tick= [KNL] Offset the periodic timer tick per cpu to mitigate
4091 xtime_lock contention on larger systems, and/or RCU lock
4092 contention on all systems with CONFIG_MAXSMP set.
4093 Format: { "0" | "1" }
4094 0 -- disable. (may be 1 via CONFIG_CMDLINE="skew_tick=1"
4095 1 -- enable.
4096 Note: increases power consumption, thus should only be
4097 enabled if running jitter sensitive (HPC/RT) workloads.
4098
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07004099 security= [SECURITY] Choose a security module to enable at boot.
4100 If this boot parameter is not specified, only the first
4101 security module asking for security registration will be
4102 loaded. An invalid security module name will be treated
4103 as if no module has been chosen.
4104
4105 selinux= [SELINUX] Disable or enable SELinux at boot time.
Linus Torvalds1da177e2005-04-16 15:20:36 -07004106 Format: { "0" | "1" }
4107 See security/selinux/Kconfig help text.
4108 0 -- disable.
4109 1 -- enable.
4110 Default value is set via kernel config option.
4111 If enabled at boot time, /selinux/disable can be used
4112 later to disable prior to initial policy load.
4113
John Johansenc1c124e2010-07-29 14:48:09 -07004114 apparmor= [APPARMOR] Disable or enable AppArmor at boot time
4115 Format: { "0" | "1" }
4116 See security/apparmor/Kconfig help text
4117 0 -- disable.
4118 1 -- enable.
4119 Default value is set via kernel config option.
4120
Alan Coxcd4f0ef2007-07-31 00:37:59 -07004121 serialnumber [BUGS=X86-32]
Linus Torvalds1da177e2005-04-16 15:20:36 -07004122
Linus Torvalds1da177e2005-04-16 15:20:36 -07004123 shapers= [NET]
4124 Maximal number of shapers.
Randy Dunlapa9913042005-10-23 12:57:11 -07004125
Yinghai Lub05f78f2008-08-22 01:32:50 -07004126 show_msr= [x86] show boot-time MSR settings
4127 Format: { <integer> }
4128 Show boot-time (BIOS-initialized) MSR settings.
4129 The parameter means the number of CPUs to show,
4130 for example 1 means boot CPU only.
4131
Linus Torvalds1da177e2005-04-16 15:20:36 -07004132 simeth= [IA-64]
4133 simscsi=
Randy Dunlapa9913042005-10-23 12:57:11 -07004134
Linus Torvalds1da177e2005-04-16 15:20:36 -07004135 slram= [HW,MTD]
4136
Joonsoo Kim423c9292014-10-09 15:26:22 -07004137 slab_nomerge [MM]
4138 Disable merging of slabs with similar size. May be
4139 necessary if there is some reason to distinguish
4140 allocs to different slabs. Debug options disable
4141 merging on their own.
4142 For more information see Documentation/vm/slub.txt.
4143
David Rientjes3df1ccc2011-10-18 22:09:28 -07004144 slab_max_order= [MM, SLAB]
4145 Determines the maximum allowed order for slabs.
4146 A high setting may cause OOMs due to memory
4147 fragmentation. Defaults to 1 for systems with
4148 more than 32MB of RAM, 0 otherwise.
4149
Christoph Lameterf0630ff2007-07-15 23:38:14 -07004150 slub_debug[=options[,slabs]] [MM, SLUB]
4151 Enabling slub_debug allows one to determine the
4152 culprit if slab objects become corrupted. Enabling
4153 slub_debug can create guard zones around objects and
4154 may poison objects when not in use. Also tracks the
4155 last alloc / free. For more information see
4156 Documentation/vm/slub.txt.
Christoph Lameterc1aee212007-05-31 00:40:47 -07004157
Tejun Heoa4ffb672018-08-24 13:22:21 +09004158 slub_memcg_sysfs= [MM, SLUB]
4159 Determines whether to enable sysfs directories for
4160 memory cgroup sub-caches. 1 to enable, 0 to disable.
4161 The default is determined by CONFIG_SLUB_MEMCG_SYSFS_ON.
4162 Enabling this can lead to a very high number of debug
4163 directories and files being created under
4164 /sys/kernel/slub.
4165
Christoph Lameterc1aee212007-05-31 00:40:47 -07004166 slub_max_order= [MM, SLUB]
Christoph Lameterf0630ff2007-07-15 23:38:14 -07004167 Determines the maximum allowed order for slabs.
4168 A high setting may cause OOMs due to memory
4169 fragmentation. For more information see
4170 Documentation/vm/slub.txt.
Christoph Lameterc1aee212007-05-31 00:40:47 -07004171
4172 slub_min_objects= [MM, SLUB]
Christoph Lameterf0630ff2007-07-15 23:38:14 -07004173 The minimum number of objects per slab. SLUB will
4174 increase the slab order up to slub_max_order to
4175 generate a sufficiently large slab able to contain
4176 the number of objects indicated. The higher the number
4177 of objects the smaller the overhead of tracking slabs
4178 and the less frequently locks need to be acquired.
Christoph Lameterc1aee212007-05-31 00:40:47 -07004179 For more information see Documentation/vm/slub.txt.
4180
4181 slub_min_order= [MM, SLUB]
Masanari Iida24775d62012-02-15 00:26:42 +09004182 Determines the minimum page order for slabs. Must be
Christoph Lameterf0630ff2007-07-15 23:38:14 -07004183 lower than slub_max_order.
Christoph Lameterc1aee212007-05-31 00:40:47 -07004184 For more information see Documentation/vm/slub.txt.
4185
4186 slub_nomerge [MM, SLUB]
Joonsoo Kim423c9292014-10-09 15:26:22 -07004187 Same with slab_nomerge. This is supported for legacy.
4188 See slab_nomerge for more information.
Christoph Lameterc1aee212007-05-31 00:40:47 -07004189
Linus Torvalds1da177e2005-04-16 15:20:36 -07004190 smart2= [HW]
4191 Format: <io1>[,<io2>[,...,<io8>]]
4192
Bjorn Helgaasd0d4f692007-05-08 00:36:05 -07004193 smsc-ircc2.nopnp [HW] Don't use PNP to discover SMC devices
4194 smsc-ircc2.ircc_cfg= [HW] Device configuration I/O port
4195 smsc-ircc2.ircc_sir= [HW] SIR base I/O port
4196 smsc-ircc2.ircc_fir= [HW] FIR base I/O port
4197 smsc-ircc2.ircc_irq= [HW] IRQ line
4198 smsc-ircc2.ircc_dma= [HW] DMA channel
4199 smsc-ircc2.ircc_transceiver= [HW] Transceiver type:
4200 0: Toshiba Satellite 1800 (GP data pin select)
4201 1: Fast pin select (default)
4202 2: ATC IRMode
4203
Sascha Silbe52c48c52016-04-05 12:53:38 +02004204 smt [KNL,S390] Set the maximum number of threads (logical
4205 CPUs) to use per physical CPU on systems capable of
4206 symmetric multithreading (SMT). Will be capped to the
4207 actual hardware limit.
4208 Format: <integer>
4209 Default: -1 (no limit)
4210
Ingo Molnar9c44bc02008-05-12 21:21:04 +02004211 softlockup_panic=
4212 [KNL] Should the soft-lockup detector generate panics.
Randy Dunlap44a4dcf2011-04-04 15:02:24 -07004213 Format: <integer>
Ingo Molnar9c44bc02008-05-12 21:21:04 +02004214
Aaron Tomlined235872014-06-23 13:22:05 -07004215 softlockup_all_cpu_backtrace=
4216 [KNL] Should the soft-lockup detector generate
4217 backtraces on all cpus.
4218 Format: <integer>
4219
Linus Torvalds1da177e2005-04-16 15:20:36 -07004220 sonypi.*= [HW] Sony Programmable I/O Control Device driver
Paul Bolle395cf962011-08-15 02:02:26 +02004221 See Documentation/laptops/sonypi.txt
Linus Torvalds1da177e2005-04-16 15:20:36 -07004222
David Woodhouse8f96937ee2018-01-11 21:46:26 +00004223 spectre_v2= [X86] Control mitigation of Spectre variant 2
4224 (indirect branch speculation) vulnerability.
Thomas Gleixnerdda365c2018-11-25 19:33:45 +01004225 The default operation protects the kernel from
4226 user space attacks.
David Woodhouse8f96937ee2018-01-11 21:46:26 +00004227
Thomas Gleixnerdda365c2018-11-25 19:33:45 +01004228 on - unconditionally enable, implies
4229 spectre_v2_user=on
4230 off - unconditionally disable, implies
4231 spectre_v2_user=off
David Woodhouse8f96937ee2018-01-11 21:46:26 +00004232 auto - kernel detects whether your CPU model is
4233 vulnerable
4234
4235 Selecting 'on' will, and 'auto' may, choose a
4236 mitigation method at run time according to the
4237 CPU, the available microcode, the setting of the
4238 CONFIG_RETPOLINE configuration option, and the
4239 compiler with which the kernel was built.
4240
Thomas Gleixnerdda365c2018-11-25 19:33:45 +01004241 Selecting 'on' will also enable the mitigation
4242 against user space to user space task attacks.
4243
4244 Selecting 'off' will disable both the kernel and
4245 the user space protections.
4246
David Woodhouse8f96937ee2018-01-11 21:46:26 +00004247 Specific mitigations can also be selected manually:
4248
4249 retpoline - replace indirect branches
Peter Zijlstraf9238d32022-02-16 20:57:02 +01004250 retpoline,generic - Retpolines
4251 retpoline,lfence - LFENCE; indirect branch
4252 retpoline,amd - alias for retpoline,lfence
4253 eibrs - enhanced IBRS
4254 eibrs,retpoline - enhanced IBRS + Retpolines
4255 eibrs,lfence - enhanced IBRS + LFENCE
David Woodhouse8f96937ee2018-01-11 21:46:26 +00004256
4257 Not specifying this option is equivalent to
4258 spectre_v2=auto.
4259
Thomas Gleixnerdda365c2018-11-25 19:33:45 +01004260 spectre_v2_user=
4261 [X86] Control mitigation of Spectre variant 2
4262 (indirect branch speculation) vulnerability between
4263 user space tasks
4264
4265 on - Unconditionally enable mitigations. Is
4266 enforced by spectre_v2=on
4267
4268 off - Unconditionally disable mitigations. Is
4269 enforced by spectre_v2=off
4270
Thomas Gleixner91d9bbd2018-11-25 19:33:54 +01004271 prctl - Indirect branch speculation is enabled,
4272 but mitigation can be enabled via prctl
4273 per thread. The mitigation control state
4274 is inherited on fork.
4275
Thomas Gleixnere58cf372018-11-25 19:33:56 +01004276 prctl,ibpb
4277 - Like "prctl" above, but only STIBP is
4278 controlled per thread. IBPB is issued
4279 always when switching between different user
4280 space processes.
4281
Thomas Gleixner6f4b9252018-11-25 19:33:55 +01004282 seccomp
4283 - Same as "prctl" above, but all seccomp
4284 threads will enable the mitigation unless
4285 they explicitly opt out.
4286
Thomas Gleixnere58cf372018-11-25 19:33:56 +01004287 seccomp,ibpb
4288 - Like "seccomp" above, but only STIBP is
4289 controlled per thread. IBPB is issued
4290 always when switching between different
4291 user space processes.
4292
Thomas Gleixnerdda365c2018-11-25 19:33:45 +01004293 auto - Kernel selects the mitigation depending on
4294 the available CPU features and vulnerability.
Thomas Gleixner6f4b9252018-11-25 19:33:55 +01004295
4296 Default mitigation:
4297 If CONFIG_SECCOMP=y then "seccomp", otherwise "prctl"
Thomas Gleixnerdda365c2018-11-25 19:33:45 +01004298
4299 Not specifying this option is equivalent to
4300 spectre_v2_user=auto.
4301
Konrad Rzeszutek Wilk6f70a552018-04-25 22:04:21 -04004302 spec_store_bypass_disable=
4303 [HW] Control Speculative Store Bypass (SSB) Disable mitigation
4304 (Speculative Store Bypass vulnerability)
4305
4306 Certain CPUs are vulnerable to an exploit against a
4307 a common industry wide performance optimization known
4308 as "Speculative Store Bypass" in which recent stores
4309 to the same memory location may not be observed by
4310 later loads during speculative execution. The idea
4311 is that such stores are unlikely and that they can
4312 be detected prior to instruction retirement at the
4313 end of a particular speculation execution window.
4314
4315 In vulnerable processors, the speculatively forwarded
4316 store can be used in a cache side channel attack, for
4317 example to read memory to which the attacker does not
4318 directly have access (e.g. inside sandboxed code).
4319
4320 This parameter controls whether the Speculative Store
4321 Bypass optimization is used.
4322
Kees Cook05a85a32018-05-03 14:37:54 -07004323 on - Unconditionally disable Speculative Store Bypass
4324 off - Unconditionally enable Speculative Store Bypass
4325 auto - Kernel detects whether the CPU model contains an
4326 implementation of Speculative Store Bypass and
4327 picks the most appropriate mitigation. If the
4328 CPU is not vulnerable, "off" is selected. If the
4329 CPU is vulnerable the default mitigation is
4330 architecture and Kconfig dependent. See below.
4331 prctl - Control Speculative Store Bypass per thread
4332 via prctl. Speculative Store Bypass is enabled
4333 for a process by default. The state of the control
4334 is inherited on fork.
4335 seccomp - Same as "prctl" above, but all seccomp threads
4336 will disable SSB unless they explicitly opt out.
Konrad Rzeszutek Wilk6f70a552018-04-25 22:04:21 -04004337
4338 Not specifying this option is equivalent to
4339 spec_store_bypass_disable=auto.
4340
Kees Cook05a85a32018-05-03 14:37:54 -07004341 Default mitigations:
4342 X86: If CONFIG_SECCOMP=y "seccomp", otherwise "prctl"
4343
Linus Torvalds1da177e2005-04-16 15:20:36 -07004344 spia_io_base= [HW,MTD]
4345 spia_fio_base=
4346 spia_pedr=
4347 spia_peddr=
4348
Mark Gross2f93f8d2020-04-27 21:17:15 +02004349 srbds= [X86,INTEL]
4350 Control the Special Register Buffer Data Sampling
4351 (SRBDS) mitigation.
4352
4353 Certain CPUs are vulnerable to an MDS-like
4354 exploit which can leak bits from the random
4355 number generator.
4356
4357 By default, this issue is mitigated by
4358 microcode. However, the microcode fix can cause
4359 the RDRAND and RDSEED instructions to become
4360 much slower. Among other effects, this will
4361 result in reduced throughput from /dev/urandom.
4362
4363 The microcode mitigation can be disabled with
4364 the following option:
4365
4366 off: Disable mitigation and remove
4367 performance impact to RDRAND and RDSEED
4368
Marc Zyngier3a64e6a2018-07-20 10:56:25 +01004369 ssbd= [ARM64,HW]
4370 Speculative Store Bypass Disable control
4371
4372 On CPUs that are vulnerable to the Speculative
4373 Store Bypass vulnerability and offer a
4374 firmware based mitigation, this parameter
4375 indicates how the mitigation should be used:
4376
4377 force-on: Unconditionally enable mitigation for
4378 for both kernel and userspace
4379 force-off: Unconditionally disable mitigation for
4380 for both kernel and userspace
4381 kernel: Always enable mitigation in the
4382 kernel, and offer a prctl interface
4383 to allow userspace to register its
4384 interest in being mitigated too.
4385
Hugh Dickinscfc0eb402017-06-19 04:03:24 -07004386 stack_guard_gap= [MM]
4387 override the default stack gap protection. The value
4388 is in page units and it defines how many pages prior
4389 to (for stacks growing down) resp. after (for stacks
4390 growing up) the main stack are reserved for no other
4391 mapping. Default value is 256 pages.
4392
Steven Rostedtf38f1d22008-12-16 23:06:40 -05004393 stacktrace [FTRACE]
4394 Enabled the stack tracer on boot up.
4395
Steven Rostedt762e1202011-12-19 22:01:00 -05004396 stacktrace_filter=[function-list]
4397 [FTRACE] Limit the functions that the stack tracer
4398 will trace at boot up. function-list is a comma separated
4399 list of functions. This list can be changed at run
4400 time by the stack_trace_filter file in the debugfs
4401 tracing directory. Note, this enables stack tracing
4402 and the stacktrace above is not needed.
4403
Linus Torvalds1da177e2005-04-16 15:20:36 -07004404 sti= [PARISC,HW]
4405 Format: <num>
4406 Set the STI (builtin display/keyboard on the HP-PARISC
4407 machines) console (graphic card) which should be used
4408 as the initial boot-console.
4409 See also comment in drivers/video/console/sticore.c.
4410
4411 sti_font= [HW]
4412 See comment in drivers/video/console/sticore.c.
4413
4414 stifb= [HW]
4415 Format: bpp:<bpp1>[:<bpp2>[:<bpp3>...]]
4416
Trond Myklebustcbf11072009-08-09 15:06:19 -04004417 sunrpc.min_resvport=
4418 sunrpc.max_resvport=
4419 [NFS,SUNRPC]
4420 SunRPC servers often require that client requests
4421 originate from a privileged port (i.e. a port in the
4422 range 0 < portnr < 1024).
4423 An administrator who wishes to reserve some of these
4424 ports for other uses may adjust the range that the
4425 kernel's sunrpc client considers to be privileged
4426 using these two parameters to set the minimum and
4427 maximum port values.
4428
Trond Myklebustff3ac5c2016-06-24 10:55:50 -04004429 sunrpc.svc_rpc_per_connection_limit=
4430 [NFS,SUNRPC]
4431 Limit the number of requests that the server will
4432 process in parallel from a single connection.
4433 The default value is 0 (no limit).
4434
Greg Banks42a7fc42007-03-06 01:42:23 -08004435 sunrpc.pool_mode=
4436 [NFS]
4437 Control how the NFS server code allocates CPUs to
4438 service thread pools. Depending on how many NICs
4439 you have and where their interrupts are bound, this
4440 option will affect which CPUs will do NFS serving.
4441 Note: this parameter cannot be changed while the
4442 NFS server is running.
4443
4444 auto the server chooses an appropriate mode
4445 automatically using heuristics
4446 global a single global pool contains all CPUs
4447 percpu one pool for each CPU
4448 pernode one pool for each NUMA node (equivalent
4449 to global on non-NUMA machines)
4450
Trond Myklebustcbf11072009-08-09 15:06:19 -04004451 sunrpc.tcp_slot_table_entries=
4452 sunrpc.udp_slot_table_entries=
4453 [NFS,SUNRPC]
4454 Sets the upper limit on the number of simultaneous
4455 RPC calls that can be sent from the client to a
4456 server. Increasing these values may allow you to
4457 improve throughput, but will also increase the
4458 amount of memory reserved for use by the client.
4459
Brian Norris1d4a9c12015-02-22 21:16:49 -08004460 suspend.pm_test_delay=
4461 [SUSPEND]
4462 Sets the number of seconds to remain in a suspend test
4463 mode before resuming the system (see
4464 /sys/power/pm_test). Only available when CONFIG_PM_DEBUG
4465 is set. Default value is 5.
4466
Michal Hocko07555ac2013-08-22 16:35:46 -07004467 swapaccount=[0|1]
Michal Hockoa42c3902010-11-24 12:57:08 -08004468 [KNL] Enable accounting of swap in memory resource
4469 controller if no parameter or 1 is given or disable
seokhoon.yoon09c3bcc2016-08-02 23:23:57 +09004470 it if 0 is given (See Documentation/cgroup-v1/memory.txt)
Michal Hockoa42c3902010-11-24 12:57:08 -08004471
Jiri Kosina91fec0f2013-11-27 13:48:09 +01004472 swiotlb= [ARM,IA-64,PPC,MIPS,X86]
Geert Uytterhoeven41c6b3e2016-12-16 14:28:42 +01004473 Format: { <int> | force | noforce }
Jiri Kosina91fec0f2013-11-27 13:48:09 +01004474 <int> -- Number of I/O TLB slabs
4475 force -- force using of bounce buffers even if they
4476 wouldn't be automatically used by the kernel
Geert Uytterhoeven41c6b3e2016-12-16 14:28:42 +01004477 noforce -- Never use bounce buffers (for debugging)
Randy Dunlapa9913042005-10-23 12:57:11 -07004478
Linus Torvalds1da177e2005-04-16 15:20:36 -07004479 switches= [HW,M68k]
4480
Andi Kleene52eec12010-09-08 16:54:17 +02004481 sysfs.deprecated=0|1 [KNL]
4482 Enable/disable old style sysfs layout for old udev
4483 on older distributions. When this option is enabled
4484 very new udev will not work anymore. When this option
4485 is disabled (or CONFIG_SYSFS_DEPRECATED not compiled)
4486 in older udev will not work anymore.
4487 Default depends on CONFIG_SYSFS_DEPRECATED_V2 set in
4488 the kernel configuration.
4489
Ingo Molnar5d6f6472006-12-13 00:34:36 -08004490 sysrq_always_enabled
4491 [KNL]
4492 Ignore sysrq setting - this boot parameter will
4493 neutralize any effect of /proc/sys/kernel/sysrq.
4494 Useful for debugging.
4495
Fabian Frederick747029a2014-11-06 19:46:50 +01004496 tcpmhash_entries= [KNL,NET]
4497 Set the number of tcp_metrics_hash slots.
4498 Default value is 8192 or 16384 depending on total
4499 ram pages. This is used to specify the TCP metrics
4500 cache size. See Documentation/networking/ip-sysctl.txt
4501 "tcp_no_metrics_save" section for more details.
4502
Linus Torvalds1da177e2005-04-16 15:20:36 -07004503 tdfx= [HW,DRM]
4504
Srinivas Pandruvadaacc82342014-09-02 11:54:41 -07004505 test_suspend= [SUSPEND][,N]
David Brownell77437fd2008-07-23 21:28:33 -07004506 Specify "mem" (for Suspend-to-RAM) or "standby" (for
Srinivas Pandruvadaacc82342014-09-02 11:54:41 -07004507 standby suspend) or "freeze" (for suspend type freeze)
4508 as the system sleep state during system startup with
4509 the optional capability to repeat N number of times.
4510 The system is woken from this state using a
4511 wakeup-capable RTC alarm.
David Brownell77437fd2008-07-23 21:28:33 -07004512
Linus Torvalds1da177e2005-04-16 15:20:36 -07004513 thash_entries= [KNL,NET]
4514 Set number of hash buckets for TCP connection
4515
Len Brownf8707ec2007-08-12 00:12:54 -04004516 thermal.act= [HW,ACPI]
4517 -1: disable all active trip points in all thermal zones
4518 <degrees C>: override all lowest active trip points
4519
Len Brownc52a7412007-08-14 15:49:32 -04004520 thermal.crt= [HW,ACPI]
4521 -1: disable all critical trip points in all thermal zones
Zhang Rui22a94d72008-10-17 02:41:20 -04004522 <degrees C>: override all critical trip points
Len Brownc52a7412007-08-14 15:49:32 -04004523
Len Brownf5487142007-08-12 00:12:44 -04004524 thermal.nocrt= [HW,ACPI]
4525 Set to disable actions on ACPI thermal zone
4526 critical and hot trip points.
4527
Len Brown72b33ef2007-08-12 00:12:17 -04004528 thermal.off= [HW,ACPI]
4529 1: disable ACPI thermal control
4530
Len Browna70cdc52007-08-12 00:12:35 -04004531 thermal.psv= [HW,ACPI]
4532 -1: disable all passive trip points
Randy Dunlapada9cfd2008-12-19 10:57:32 -08004533 <degrees C>: override all passive trip points to this
4534 value
Len Browna70cdc52007-08-12 00:12:35 -04004535
Len Brown730ff342007-08-12 00:12:26 -04004536 thermal.tzp= [HW,ACPI]
4537 Specify global default ACPI thermal zone polling rate
4538 <deci-seconds>: poll all this frequency
4539 0: no polling (default)
4540
Thomas Gleixner8d32a302011-02-23 23:52:23 +00004541 threadirqs [KNL]
4542 Force threading of all interrupt handlers except those
Masanari Iida24775d62012-02-15 00:26:42 +09004543 marked explicitly IRQF_NO_THREAD.
Thomas Gleixner8d32a302011-02-23 23:52:23 +00004544
Konrad Rzeszutek Wilk2ca62b02013-05-08 17:12:44 -04004545 tmem [KNL,XEN]
4546 Enable the Transcendent memory driver if built-in.
4547
4548 tmem.cleancache=0|1 [KNL, XEN]
4549 Default is on (1). Disable the usage of the cleancache
4550 API to send anonymous pages to the hypervisor.
4551
4552 tmem.frontswap=0|1 [KNL, XEN]
4553 Default is on (1). Disable the usage of the frontswap
Konrad Rzeszutek Wilk37d46e12013-05-14 13:56:42 -04004554 API to send swap pages to the hypervisor. If disabled
4555 the selfballooning and selfshrinking are force disabled.
Konrad Rzeszutek Wilk2ca62b02013-05-08 17:12:44 -04004556
4557 tmem.selfballooning=0|1 [KNL, XEN]
4558 Default is on (1). Disable the driving of swap pages
4559 to the hypervisor.
4560
4561 tmem.selfshrinking=0|1 [KNL, XEN]
4562 Default is on (1). Partial swapoff that immediately
4563 transfers pages from Xen hypervisor back to the
4564 kernel based on different criteria.
4565
Heiko Carstens2b1a61f2008-12-25 13:39:23 +01004566 topology= [S390]
4567 Format: {off | on}
4568 Specify if the kernel should make use of the cpu
Sylvestre Ledruf65e51d2011-04-04 15:04:46 -07004569 topology information if the hardware supports this.
4570 The scheduler will make use of this information and
Heiko Carstens2b1a61f2008-12-25 13:39:23 +01004571 e.g. base its process migration decisions on it.
Heiko Carstensc9af3fa2010-10-25 16:10:43 +02004572 Default is on.
Heiko Carstens2b1a61f2008-12-25 13:39:23 +01004573
Nishanth Aravamudan2d73bae2014-10-10 09:04:49 -07004574 topology_updates= [KNL, PPC, NUMA]
4575 Format: {off}
4576 Specify if the kernel should ignore (off)
4577 topology updates sent by the hypervisor to this
4578 LPAR.
4579
Linus Torvalds1da177e2005-04-16 15:20:36 -07004580 tp720= [HW,PS2]
4581
Rajiv Andrade225a9be2010-03-25 00:55:32 -03004582 tpm_suspend_pcr=[HW,TPM]
4583 Format: integer pcr id
4584 Specify that at suspend time, the tpm driver
4585 should extend the specified pcr with zeros,
4586 as a workaround for some chips which fail to
4587 flush the last written pcr on TPM_SaveState.
4588 This will guarantee that all the other pcrs
4589 are saved.
4590
Li Zefan9d612be2009-06-24 17:33:15 +08004591 trace_buf_size=nn[KMG]
Joonsoo Kim3e6fb8e2014-12-03 10:39:20 +09004592 [FTRACE] will set tracing buffer size on each cpu.
KOSAKI Motohiro631595f2009-03-10 13:57:10 +09004593
Li Zefan020e5f82009-07-01 10:47:05 +08004594 trace_event=[event-list]
4595 [FTRACE] Set and start specified trace events in order
Brian Norrisd81749e2016-05-23 13:37:58 -07004596 to facilitate early boot debugging. The event-list is a
4597 comma separated list of trace events to enable. See
4598 also Documentation/trace/events.txt
Li Zefan020e5f82009-07-01 10:47:05 +08004599
Steven Rostedt7bcfaf52012-11-01 22:56:07 -04004600 trace_options=[option-list]
4601 [FTRACE] Enable or disable tracer options at boot.
4602 The option-list is a comma delimited list of options
4603 that can be enabled or disabled just as if you were
4604 to echo the option name into
4605
4606 /sys/kernel/debug/tracing/trace_options
4607
4608 For example, to enable stacktrace option (to dump the
4609 stack trace of each event), add to the command line:
4610
4611 trace_options=stacktrace
4612
4613 See also Documentation/trace/ftrace.txt "trace options"
4614 section.
4615
Steven Rostedt (Red Hat)0daa23022014-12-12 22:27:10 -05004616 tp_printk[FTRACE]
4617 Have the tracepoints sent to printk as well as the
4618 tracing ring buffer. This is useful for early boot up
4619 where the system hangs or reboots and does not give the
4620 option for reading the tracing buffer or performing a
4621 ftrace_dump_on_oops.
4622
4623 To turn off having tracepoints sent to printk,
4624 echo 0 > /proc/sys/kernel/tracepoint_printk
4625 Note, echoing 1 into this file without the
4626 tracepoint_printk kernel cmdline option has no effect.
4627
4628 ** CAUTION **
4629
4630 Having tracepoints sent to printk() and activating high
4631 frequency tracepoints such as irq or sched, can cause
4632 the system to live lock.
4633
Steven Rostedt (Red Hat)de7edd32013-06-14 16:21:43 -04004634 traceoff_on_warning
4635 [FTRACE] enable this option to disable tracing when a
4636 warning is hit. This turns off "tracing_on". Tracing can
4637 be enabled again by echoing '1' into the "tracing_on"
4638 file located in /sys/kernel/debug/tracing/
4639
4640 This option is useful, as it disables the trace before
4641 the WARNING dump is called, which prevents the trace to
4642 be filled with content caused by the warning output.
4643
4644 This option can also be set at run time via the sysctl
4645 option: kernel/traceoff_on_warning
4646
Jiri Kosinafcf4d822012-03-21 16:34:02 -07004647 transparent_hugepage=
4648 [KNL]
4649 Format: [always|madvise|never]
4650 Can be used to control the default behavior of the system
4651 with respect to transparent hugepages.
4652 See Documentation/vm/transhuge.txt for more details.
4653
john stultzd3b8f882009-08-17 16:40:47 -07004654 tsc= Disable clocksource stability checks for TSC.
Alok Kataria395628e2008-10-24 17:22:01 -07004655 Format: <string>
4656 [x86] reliable: mark tsc clocksource as reliable, this
john stultzd3b8f882009-08-17 16:40:47 -07004657 disables clocksource verification at runtime, as well
4658 as the stability checks done at bootup. Used to enable
4659 high-resolution timer mode on older hardware, and in
4660 virtualized environment.
Venkatesh Pallipadie82b8e42010-10-04 17:03:20 -07004661 [x86] noirqtime: Do not use TSC to do irq accounting.
4662 Used to run time disable IRQ_TIME_ACCOUNTING on any
4663 platforms where RDTSC is slow and this accounting
4664 can add overhead.
Alok Kataria395628e2008-10-24 17:22:01 -07004665
Pawan Gupta21127882019-10-23 11:01:53 +02004666 tsx= [X86] Control Transactional Synchronization
4667 Extensions (TSX) feature in Intel processors that
4668 support TSX control.
4669
4670 This parameter controls the TSX feature. The options are:
4671
4672 on - Enable TSX on the system. Although there are
4673 mitigations for all known security vulnerabilities,
4674 TSX has been known to be an accelerator for
4675 several previous speculation-related CVEs, and
4676 so there may be unknown security risks associated
4677 with leaving it enabled.
4678
4679 off - Disable TSX on the system. (Note that this
4680 option takes effect only on newer CPUs which are
4681 not vulnerable to MDS, i.e., have
4682 MSR_IA32_ARCH_CAPABILITIES.MDS_NO=1 and which get
4683 the new IA32_TSX_CTRL MSR through a microcode
4684 update. This new MSR allows for the reliable
4685 deactivation of the TSX functionality.)
4686
Pawan Gupta562afad2019-10-23 12:28:57 +02004687 auto - Disable TSX if X86_BUG_TAA is present,
4688 otherwise enable TSX on the system.
4689
Pawan Gupta21127882019-10-23 11:01:53 +02004690 Not specifying this option is equivalent to tsx=off.
4691
4692 See Documentation/hw-vuln/tsx_async_abort.rst
4693 for more details.
4694
Pawan Guptaba54aad2019-10-23 12:32:55 +02004695 tsx_async_abort= [X86,INTEL] Control mitigation for the TSX Async
4696 Abort (TAA) vulnerability.
4697
4698 Similar to Micro-architectural Data Sampling (MDS)
4699 certain CPUs that support Transactional
4700 Synchronization Extensions (TSX) are vulnerable to an
4701 exploit against CPU internal buffers which can forward
4702 information to a disclosure gadget under certain
4703 conditions.
4704
4705 In vulnerable processors, the speculatively forwarded
4706 data can be used in a cache side channel attack, to
4707 access data to which the attacker does not have direct
4708 access.
4709
4710 This parameter controls the TAA mitigation. The
4711 options are:
4712
4713 full - Enable TAA mitigation on vulnerable CPUs
4714 if TSX is enabled.
4715
4716 full,nosmt - Enable TAA mitigation and disable SMT on
4717 vulnerable CPUs. If TSX is disabled, SMT
4718 is not disabled because CPU is not
4719 vulnerable to cross-thread TAA attacks.
4720 off - Unconditionally disable TAA mitigation
4721
Waiman Long5aba0ad2019-11-15 11:14:44 -05004722 On MDS-affected machines, tsx_async_abort=off can be
4723 prevented by an active MDS mitigation as both vulnerabilities
4724 are mitigated with the same mechanism so in order to disable
4725 this mitigation, you need to specify mds=off too.
4726
Pawan Guptaba54aad2019-10-23 12:32:55 +02004727 Not specifying this option is equivalent to
4728 tsx_async_abort=full. On CPUs which are MDS affected
4729 and deploy MDS mitigation, TAA mitigation is not
4730 required and doesn't provide any additional
4731 mitigation.
4732
4733 For details see:
4734 Documentation/hw-vuln/tsx_async_abort.rst
4735
Randy Dunlapa9913042005-10-23 12:57:11 -07004736 turbografx.map[2|3]= [HW,JOY]
4737 TurboGraFX parallel port interface
4738 Format:
4739 <port#>,<js1>,<js2>,<js3>,<js4>,<js5>,<js6>,<js7>
Linus Torvalds1da177e2005-04-16 15:20:36 -07004740 See also Documentation/input/joystick-parport.txt
4741
Christian Kujaub6935f82011-05-31 15:22:05 +00004742 udbg-immortal [PPC] When debugging early kernel crashes that
4743 happen after console_init() and before a proper
4744 console driver takes over, this boot options might
4745 help "seeing" what's going on.
4746
Eric Dumazetf86dcc52009-10-07 00:37:59 +00004747 uhash_entries= [KNL,NET]
4748 Set number of hash buckets for UDP/UDP-Lite connections
4749
Alan Stern5f8364b2006-12-05 16:29:55 -05004750 uhci-hcd.ignore_oc=
4751 [USB] Ignore overcurrent events (default N).
4752 Some badly-designed motherboards generate lots of
4753 bogus events, for ports that aren't wired to
4754 anything. Set this parameter to avoid log spamming.
4755 Note that genuine overcurrent events won't be
4756 reported either.
4757
Simon Arlotte3a61b02008-07-19 23:32:54 +01004758 unknown_nmi_panic
Randy Dunlap44a4dcf2011-04-04 15:02:24 -07004759 [X86] Cause panic on unknown NMI.
Simon Arlotte3a61b02008-07-19 23:32:54 +01004760
Carl-Daniel Hailfingerc4fc2342011-05-31 21:31:08 +02004761 usbcore.authorized_default=
4762 [USB] Default USB device authorization:
4763 (default -1 = authorized except for wireless USB,
4764 0 = not authorized, 1 = authorized)
4765
Alan Sternb5e795f2007-02-20 15:00:53 -05004766 usbcore.autosuspend=
4767 [USB] The autosuspend time delay (in seconds) used
4768 for newly-detected USB devices (default 2). This
4769 is the time required before an idle device will be
4770 autosuspended. Devices for which the delay is set
Alan Sterneaafbc32007-03-13 16:39:15 -04004771 to a negative value won't be autosuspended at all.
Alan Sternb5e795f2007-02-20 15:00:53 -05004772
Jaroslav Kyselafd7c5192008-10-10 16:24:45 +02004773 usbcore.usbfs_snoop=
4774 [USB] Set to log all usbfs traffic (default 0 = off).
4775
Alan Stern0290cc92015-11-20 13:53:22 -05004776 usbcore.usbfs_snoop_max=
4777 [USB] Maximum number of bytes to snoop in each URB
4778 (default = 65536).
4779
Jaroslav Kyselafd7c5192008-10-10 16:24:45 +02004780 usbcore.blinkenlights=
4781 [USB] Set to cycle leds on hubs (default 0 = off).
4782
4783 usbcore.old_scheme_first=
4784 [USB] Start with the old device initialization
4785 scheme (default 0 = off).
4786
Alan Stern3f5eb8d2011-11-17 16:41:35 -05004787 usbcore.usbfs_memory_mb=
4788 [USB] Memory limit (in MB) for buffers allocated by
4789 usbfs (default = 16, 0 = max = 2047).
4790
Jaroslav Kyselafd7c5192008-10-10 16:24:45 +02004791 usbcore.use_both_schemes=
4792 [USB] Try the other device initialization scheme
4793 if the first one fails (default 1 = enabled).
4794
4795 usbcore.initial_descriptor_timeout=
4796 [USB] Specifies timeout for the initial 64-byte
4797 USB_REQ_GET_DESCRIPTOR request in milliseconds
4798 (default 5000 = 5.0 seconds).
4799
Oliver Neukum40d58142015-12-03 15:03:32 +01004800 usbcore.nousb [USB] Disable the USB subsystem
4801
Linus Torvalds1da177e2005-04-16 15:20:36 -07004802 usbhid.mousepoll=
4803 [USBHID] The interval which mice are to be polled at.
Randy Dunlapa9913042005-10-23 12:57:11 -07004804
Alan Sternd4f373e2008-11-10 14:07:45 -05004805 usb-storage.delay_use=
4806 [UMS] The delay in seconds before a new device is
Mark Knibbs19101952014-11-04 13:00:15 +00004807 scanned for Logical Units (default 1).
Alan Sternd4f373e2008-11-10 14:07:45 -05004808
4809 usb-storage.quirks=
4810 [UMS] A list of quirks entries to supplement or
4811 override the built-in unusual_devs list. List
4812 entries are separated by commas. Each entry has
4813 the form VID:PID:Flags where VID and PID are Vendor
4814 and Product ID values (4-digit hex numbers) and
4815 Flags is a set of characters, each corresponding
4816 to a common usb-storage quirk flag as follows:
Alan Sternc838ea42008-12-15 10:40:06 -05004817 a = SANE_SENSE (collect more than 18 bytes
4818 of sense data);
Alan Sterna0bb1082009-12-07 16:39:16 -05004819 b = BAD_SENSE (don't collect more than 18
4820 bytes of sense data);
Alan Sternd4f373e2008-11-10 14:07:45 -05004821 c = FIX_CAPACITY (decrease the reported
4822 device capacity by one sector);
Karl Relton51169012011-05-18 21:42:34 +01004823 d = NO_READ_DISC_INFO (don't use
4824 READ_DISC_INFO command);
4825 e = NO_READ_CAPACITY_16 (don't use
4826 READ_CAPACITY_16 command);
Hans de Goede734016b2014-09-16 18:36:52 +02004827 f = NO_REPORT_OPCODES (don't use report opcodes
4828 command, uas only);
Hans de Goedeee136af2015-04-21 11:20:31 +02004829 g = MAX_SECTORS_240 (don't transfer more than
4830 240 sectors at a time, uas only);
Alan Sternc838ea42008-12-15 10:40:06 -05004831 h = CAPACITY_HEURISTICS (decrease the
4832 reported device capacity by one
4833 sector if the number is odd);
Alan Sternd4f373e2008-11-10 14:07:45 -05004834 i = IGNORE_DEVICE (don't bind to this
4835 device);
Hans de Goede13630742016-04-12 12:27:09 +02004836 j = NO_REPORT_LUNS (don't use report luns
4837 command, uas only);
Alan Sternd4f373e2008-11-10 14:07:45 -05004838 l = NOT_LOCKABLE (don't try to lock and
4839 unlock ejectable media);
4840 m = MAX_SECTORS_64 (don't transfer more
4841 than 64 sectors = 32 KB at a time);
Alan Stern21c13a42011-06-07 11:35:52 -04004842 n = INITIAL_READ10 (force a retry of the
4843 initial READ(10) command);
Alan Sternc838ea42008-12-15 10:40:06 -05004844 o = CAPACITY_OK (accept the capacity
4845 reported by the device);
Namjae Jeoneaa05df2012-07-07 23:05:28 -04004846 p = WRITE_CACHE (the device cache is ON
4847 by default);
Alan Sternd4f373e2008-11-10 14:07:45 -05004848 r = IGNORE_RESIDUE (the device reports
4849 bogus residue values);
4850 s = SINGLE_LUN (the device has only one
4851 Logical Unit);
Hans de Goede59307852014-09-15 16:04:12 +02004852 t = NO_ATA_1X (don't allow ATA(12) and ATA(16)
4853 commands, uas only);
Alan Sternb6089f12014-09-02 15:42:18 -04004854 u = IGNORE_UAS (don't bind to the uas driver);
Alan Sternd4f373e2008-11-10 14:07:45 -05004855 w = NO_WP_DETECT (don't test whether the
4856 medium is write-protected).
Oliver Neukum050bc4e2016-09-12 15:19:41 +02004857 y = ALWAYS_SYNC (issue a SYNCHRONIZE_CACHE
4858 even if the device claims no cache)
Alan Sternd4f373e2008-11-10 14:07:45 -05004859 Example: quirks=0419:aaf5:rl,0421:0433:rc
4860
Stephen Boydac1667d2011-08-13 12:34:50 -07004861 user_debug= [KNL,ARM]
4862 Format: <int>
4863 See arch/arm/Kconfig.debug help text.
4864 1 - undefined instruction events
4865 2 - system calls
4866 4 - invalid data aborts
4867 8 - SIGSEGV faults
4868 16 - SIGBUS faults
4869 Example: user_debug=31
4870
Ian Campbell14315592010-02-17 10:38:10 +00004871 userpte=
4872 [X86] Flags controlling user PTE allocations.
4873
4874 nohigh = do not allocate PTE pages in
4875 HIGHMEM regardless of setting
4876 of CONFIG_HIGHPTE.
4877
Jaswinder Singh Rajput6cececf2009-04-14 14:03:43 +05304878 vdso= [X86,SH]
Andy Lutomirskib0b49f22014-03-13 16:01:26 -07004879 On X86_32, this is an alias for vdso32=. Otherwise:
4880
4881 vdso=1: enable VDSO (the default)
Ingo Molnare6e54942006-06-27 02:53:50 -07004882 vdso=0: disable VDSO mapping
4883
Andy Lutomirskib0b49f22014-03-13 16:01:26 -07004884 vdso32= [X86] Control the 32-bit vDSO
4885 vdso32=1: enable 32-bit VDSO
4886 vdso32=0 or vdso32=2: disable 32-bit VDSO
4887
4888 See the help text for CONFIG_COMPAT_VDSO for more
4889 details. If CONFIG_COMPAT_VDSO is set, the default is
4890 vdso32=0; otherwise, the default is vdso32=1.
4891
4892 For compatibility with older kernels, vdso32=2 is an
4893 alias for vdso32=0.
4894
4895 Try vdso32=0 if you encounter an error that says:
4896 dl_main: Assertion `(void *) ph->p_vaddr == _rtld_local._dl_sysinfo_dso' failed!
Roland McGrathaf65d642008-01-30 13:30:43 +01004897
Yasuaki Ishimatsud080d392007-07-17 21:22:55 +09004898 vector= [IA-64,SMP]
4899 vector=percpu: enable percpu vector domain
4900
Linus Torvalds1da177e2005-04-16 15:20:36 -07004901 video= [FB] Frame buffer configuration
4902 See Documentation/fb/modedb.txt.
4903
Aaron Lu3afe6da2013-06-20 15:08:55 +08004904 video.brightness_switch_enabled= [0,1]
4905 If set to 1, on receiving an ACPI notify event
4906 generated by hotkey, video driver will adjust brightness
4907 level and then send out the event to user space through
4908 the allocated input device; If set to 0, video driver
4909 will only send out the event without touching backlight
4910 brightness level.
Rafael J. Wysocki28437682014-07-14 19:35:45 +02004911 default: 1
Aaron Lu3afe6da2013-06-20 15:08:55 +08004912
Pawel Moll81a054c2012-05-09 18:30:16 +01004913 virtio_mmio.device=
4914 [VMMIO] Memory mapped virtio (platform) device.
4915
4916 <size>@<baseaddr>:<irq>[:<id>]
4917 where:
4918 <size> := size (can use standard suffixes
4919 like K, M and G)
4920 <baseaddr> := physical base address
4921 <irq> := interrupt number (as passed to
4922 request_irq())
4923 <id> := (optional) platform device id
4924 example:
4925 virtio_mmio.device=1K@0x100b0000:48:7
4926
4927 Can be used multiple times for multiple devices.
4928
Alan Coxcd4f0ef2007-07-31 00:37:59 -07004929 vga= [BOOT,X86-32] Select a particular video mode
Kyle McMartin954a8b82009-02-19 16:48:14 -05004930 See Documentation/x86/boot.txt and
Randy Dunlapa9913042005-10-23 12:57:11 -07004931 Documentation/svga.txt.
Linus Torvalds1da177e2005-04-16 15:20:36 -07004932 Use vga=ask for menu.
4933 This is actually a boot loader parameter; the value is
4934 passed to the kernel using a special protocol.
4935
Randy Dunlapa9913042005-10-23 12:57:11 -07004936 vmalloc=nn[KMG] [KNL,BOOT] Forces the vmalloc area to have an exact
Linus Torvalds1da177e2005-04-16 15:20:36 -07004937 size of <nn>. This can be used to increase the
4938 minimum size (128MB on x86). It can also be used to
4939 decrease the size and leave more room for directly
4940 mapped kernel RAM.
4941
Peter Oberparleiter585c3042006-06-29 15:08:25 +02004942 vmhalt= [KNL,S390] Perform z/VM CP command after system halt.
4943 Format: <command>
Linus Torvalds1da177e2005-04-16 15:20:36 -07004944
Peter Oberparleiter585c3042006-06-29 15:08:25 +02004945 vmpanic= [KNL,S390] Perform z/VM CP command after kernel panic.
4946 Format: <command>
4947
4948 vmpoff= [KNL,S390] Perform z/VM CP command after power off.
4949 Format: <command>
Randy Dunlapa9913042005-10-23 12:57:11 -07004950
Andy Lutomirski3ae36652011-08-10 11:15:32 -04004951 vsyscall= [X86-64]
4952 Controls the behavior of vsyscalls (i.e. calls to
4953 fixed addresses of 0xffffffffff600x00 from legacy
4954 code). Most statically-linked binaries and older
4955 versions of glibc use these calls. Because these
4956 functions are at fixed addresses, they make nice
4957 targets for exploits that can control RIP.
4958
Andy Lutomirski2e57ae02011-11-07 16:33:41 -08004959 emulate [default] Vsyscalls turn into traps and are
4960 emulated reasonably safely.
Andy Lutomirski3ae36652011-08-10 11:15:32 -04004961
Andy Lutomirski2e57ae02011-11-07 16:33:41 -08004962 native Vsyscalls are native syscall instructions.
Andy Lutomirski3ae36652011-08-10 11:15:32 -04004963 This is a little bit faster than trapping
4964 and makes a few dynamic recompilers work
4965 better than they would in emulation mode.
4966 It also makes exploits much easier to write.
4967
4968 none Vsyscalls don't work at all. This makes
4969 them quite hard to use for exploits but
4970 might break your system.
4971
Clemens Ladisch3855ae12013-08-04 13:09:50 +02004972 vt.color= [VT] Default text color.
4973 Format: 0xYX, X = foreground, Y = background.
4974 Default: 0x07 = light gray on black.
4975
Clemens Ladisch9ea9a882009-12-15 16:45:39 -08004976 vt.cur_default= [VT] Default cursor shape.
4977 Format: 0xCCBBAA, where AA, BB, and CC are the same as
4978 the parameters of the <Esc>[?A;B;Cc escape sequence;
4979 see VGA-softcursor.txt. Default: 2 = underline.
4980
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07004981 vt.default_blu= [VT]
4982 Format: <blue0>,<blue1>,<blue2>,...,<blue15>
4983 Change the default blue palette of the console.
4984 This is a 16-member array composed of values
4985 ranging from 0-255.
4986
4987 vt.default_grn= [VT]
4988 Format: <green0>,<green1>,<green2>,...,<green15>
4989 Change the default green palette of the console.
4990 This is a 16-member array composed of values
4991 ranging from 0-255.
4992
4993 vt.default_red= [VT]
4994 Format: <red0>,<red1>,<red2>,...,<red15>
4995 Change the default red palette of the console.
4996 This is a 16-member array composed of values
4997 ranging from 0-255.
4998
4999 vt.default_utf8=
5000 [VT]
5001 Format=<0|1>
5002 Set system-wide default UTF-8 mode for all tty's.
5003 Default is 1, i.e. UTF-8 mode is enabled for all
5004 newly opened terminals.
5005
Matthew Garrettf6c06b62009-11-13 15:14:11 -05005006 vt.global_cursor_default=
5007 [VT]
5008 Format=<-1|0|1>
5009 Set system-wide default for whether a cursor
5010 is shown on new VTs. Default is -1,
5011 i.e. cursors will be created by default unless
5012 overridden by individual drivers. 0 will hide
5013 cursors, 1 will display them.
5014
Clemens Ladisch3855ae12013-08-04 13:09:50 +02005015 vt.italic= [VT] Default color for italic text; 0-15.
5016 Default: 2 = green.
5017
5018 vt.underline= [VT] Default color for underlined text; 0-15.
5019 Default: 3 = cyan.
5020
Randy Dunlap4724ba52010-05-03 11:42:52 -07005021 watchdog timers [HW,WDT] For information on watchdog timers,
5022 see Documentation/watchdog/watchdog-parameters.txt
5023 or other driver-specific files in the
5024 Documentation/watchdog/ directory.
Linus Torvalds1da177e2005-04-16 15:20:36 -07005025
Tejun Heo82607adc2015-12-08 11:28:04 -05005026 workqueue.watchdog_thresh=
5027 If CONFIG_WQ_WATCHDOG is configured, workqueue can
5028 warn stall conditions and dump internal state to
5029 help debugging. 0 disables workqueue stall
5030 detection; otherwise, it's the stall threshold
5031 duration in seconds. The default value is 30 and
5032 it can be updated at runtime by writing to the
5033 corresponding sysfs file.
5034
Tejun Heod55262c2013-04-01 11:23:38 -07005035 workqueue.disable_numa
5036 By default, all work items queued to unbound
5037 workqueues are affine to the NUMA nodes they're
5038 issued on, which results in better behavior in
5039 general. If NUMA affinity needs to be disabled for
5040 whatever reason, this option can be used. Note
5041 that this also can be controlled per-workqueue for
5042 workqueues visible under /sys/bus/workqueue/.
5043
Viresh Kumarcee22a12013-04-08 16:45:40 +05305044 workqueue.power_efficient
5045 Per-cpu workqueues are generally preferred because
5046 they show better performance thanks to cache
5047 locality; unfortunately, per-cpu workqueues tend to
5048 be more power hungry than unbound workqueues.
5049
5050 Enabling this makes the per-cpu workqueues which
5051 were observed to contribute significantly to power
5052 consumption unbound, leading to measurably lower
5053 power usage at the cost of small performance
5054 overhead.
5055
5056 The default value of this parameter is determined by
5057 the config option CONFIG_WQ_POWER_EFFICIENT_DEFAULT.
5058
Tejun Heof303fcc2016-02-09 17:59:38 -05005059 workqueue.debug_force_rr_cpu
5060 Workqueue used to implicitly guarantee that work
5061 items queued without explicit CPU specified are put
5062 on the local CPU. This guarantee is no longer true
5063 and while local CPU is still preferred work items
5064 may be put on foreign CPUs. This debug option
5065 forces round-robin CPU selection to flush out
5066 usages which depend on the now broken guarantee.
5067 When enabled, memory and cache locality will be
5068 impacted.
5069
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07005070 x2apic_phys [X86-64,APIC] Use x2apic physical mode instead of
5071 default x2apic cluster mode on platforms
5072 supporting x2apic.
5073
Kuppuswamy Sathyanarayanan712b6aa2013-10-17 15:35:29 -07005074 x86_intel_mid_timer= [X86-32,APBT]
5075 Choose timer option for x86 Intel MID platform.
Jacob Panbb24c472009-09-02 07:37:17 -07005076 Two valid options are apbt timer only and lapic timer
5077 plus one apbt timer for broadcast timer.
Kuppuswamy Sathyanarayanan712b6aa2013-10-17 15:35:29 -07005078 x86_intel_mid_timer=apbt_only | lapic_and_apbt
Jacob Panbb24c472009-09-02 07:37:17 -07005079
Juergen Grossc70727a2015-07-17 06:51:36 +02005080 xen_512gb_limit [KNL,X86-64,XEN]
5081 Restricts the kernel running paravirtualized under Xen
5082 to use only up to 512 GB of RAM. The reason to do so is
5083 crash analysis tools and Xen tools for doing domain
5084 save/restore/migration must be enabled to handle larger
5085 domains.
5086
Stefano Stabellinic1c54132010-05-14 12:44:30 +01005087 xen_emul_unplug= [HW,X86,XEN]
5088 Unplug Xen emulated devices
5089 Format: [unplug0,][unplug1]
5090 ide-disks -- unplug primary master IDE devices
5091 aux-ide-disks -- unplug non-primary-master IDE devices
5092 nics -- unplug network devices
5093 all -- unplug all emulated devices (NICs and IDE disks)
Ian Campbell1dc7ce92010-08-23 11:59:29 +01005094 unnecessary -- unplugging emulated devices is
5095 unnecessary even if the host did not respond to
5096 the unplug protocol
Ian Campbellc93a4df2010-08-23 11:59:28 +01005097 never -- do not unplug even if version check succeeds
Stefano Stabellinic1c54132010-05-14 12:44:30 +01005098
Konrad Rzeszutek Wilk15a3eac2013-09-25 10:07:20 -04005099 xen_nopvspin [X86,XEN]
5100 Disables the ticketlock slowpath using Xen PV
5101 optimizations.
5102
Konrad Rzeszutek Wilk8d693b92014-07-11 11:51:35 -04005103 xen_nopv [X86]
5104 Disables the PV optimizations forcing the HVM guest to
5105 run as generic HVM guest with no PV drivers.
5106
Juergen Gross0c56aa82020-11-03 15:35:27 +01005107 xen.event_eoi_delay= [XEN]
5108 How long to delay EOI handling in case of event
5109 storms (jiffies). Default is 10.
5110
5111 xen.event_loop_timeout= [XEN]
5112 After which time (jiffies) the event handling loop
5113 should start to delay EOI handling. Default is 2.
5114
Linus Torvalds1da177e2005-04-16 15:20:36 -07005115 xirc2ps_cs= [NET,PCMCIA]
Randy Dunlapa9913042005-10-23 12:57:11 -07005116 Format:
5117 <irq>,<irq_mask>,<io>,<full_duplex>,<do_sound>,<lockup_hack>[,<irq2>[,<irq3>[,<irq4>]]]
Linus Torvalds1da177e2005-04-16 15:20:36 -07005118
Randy Dunlapa9913042005-10-23 12:57:11 -07005119______________________________________________________________________
Linus Torvalds1da177e2005-04-16 15:20:36 -07005120
5121TODO:
5122
Linus Torvalds1da177e2005-04-16 15:20:36 -07005123 Add more DRM drivers.