blob: bdc1f33fd3d10a409ec0830ee4cb1770b78af566 [file] [log] [blame]
Al Stoneb10d79f2015-03-24 14:02:41 +00001 acpi= [HW,ACPI,X86,ARM64]
Bernhard Walle03d926f2007-03-06 02:29:44 -08002 Advanced Configuration and Power Interface
Ard Biesheuvel6a1f5472016-04-12 16:09:11 +02003 Format: { force | on | off | strict | noirq | rsdt |
Rami Rosene58d1542015-09-26 19:27:57 +03004 copy_dsdt }
Linus Torvalds1da177e2005-04-16 15:20:36 -07005 force -- enable ACPI if default was off
Ard Biesheuvel6a1f5472016-04-12 16:09:11 +02006 on -- enable ACPI but allow fallback to DT [arm64]
Linus Torvalds1da177e2005-04-16 15:20:36 -07007 off -- disable ACPI if default was on
8 noirq -- do not use ACPI for IRQ routing
Randy Dunlapa9913042005-10-23 12:57:11 -07009 strict -- Be less tolerant of platforms that are not
Linus Torvalds1da177e2005-04-16 15:20:36 -070010 strictly ACPI specification compliant.
Zhao Yakui237889b2008-12-17 16:55:18 +080011 rsdt -- prefer RSDT over (default) XSDT
Lin Mingaa2110c2010-04-08 14:34:27 +080012 copy_dsdt -- copy DSDT to memory
Ard Biesheuvel6a1f5472016-04-12 16:09:11 +020013 For ARM64, ONLY "acpi=off", "acpi=on" or "acpi=force"
14 are available
Linus Torvalds1da177e2005-04-16 15:20:36 -070015
Mauro Carvalho Chehab151f4e22019-06-13 07:10:36 -030016 See also Documentation/power/runtime_pm.rst, pci=noacpi
Linus Torvalds1da177e2005-04-16 15:20:36 -070017
Len Browna1fdcc02007-03-11 03:26:14 -040018 acpi_apic_instance= [ACPI, IOAPIC]
19 Format: <int>
20 2: use 2nd APIC table, if available
21 1,0: use 1st APIC table
Len Brown4e381a42007-03-30 14:16:10 -040022 default: 0
Len Browna1fdcc02007-03-11 03:26:14 -040023
Thomas Renningerc3d6de62008-08-01 17:37:55 +020024 acpi_backlight= [HW,ACPI]
Randy Dunlap5fd769c2020-03-30 17:17:37 -070025 { vendor | video | native | none }
26 If set to vendor, prefer vendor-specific driver
Thomas Renningerc3d6de62008-08-01 17:37:55 +020027 (e.g. thinkpad_acpi, sony_acpi, etc.) instead
28 of the ACPI video.ko driver.
Randy Dunlap5fd769c2020-03-30 17:17:37 -070029 If set to video, use the ACPI video.ko driver.
30 If set to native, use the device's native backlight mode.
31 If set to none, disable the ACPI backlight interface.
Thomas Renningerc3d6de62008-08-01 17:37:55 +020032
Colin Ian Kingb2ca5da2016-01-21 17:05:47 +000033 acpi_force_32bit_fadt_addr
34 force FADT to use 32 bit addresses rather than the
35 64 bit X_* addresses. Some firmware have broken 64
36 bit addresses for force ACPI ignore these and use
37 the older legacy 32 bit addresses.
38
Dominik Brodowskief694492015-05-14 15:31:28 +020039 acpica_no_return_repair [HW, ACPI]
40 Disable AML predefined validation mechanism
41 This mechanism can repair the evaluation result to make
42 the return objects more ACPI specification compliant.
43 This option is useful for developers to identify the
44 root cause of an AML interpreter issue when the issue
45 has something to do with the repair mechanism.
46
Bjorn Helgaasa0d84a92008-11-07 16:58:05 -070047 acpi.debug_layer= [HW,ACPI,ACPI_DEBUG]
48 acpi.debug_level= [HW,ACPI,ACPI_DEBUG]
Linus Torvalds1da177e2005-04-16 15:20:36 -070049 Format: <int>
Bjorn Helgaasa0d84a92008-11-07 16:58:05 -070050 CONFIG_ACPI_DEBUG must be enabled to produce any ACPI
51 debug output. Bits in debug_layer correspond to a
52 _COMPONENT in an ACPI source file, e.g.,
53 #define _COMPONENT ACPI_PCI_COMPONENT
54 Bits in debug_level correspond to a level in
55 ACPI_DEBUG_PRINT statements, e.g.,
56 ACPI_DEBUG_PRINT((ACPI_DB_INFO, ...
Bjorn Helgaase76f4272008-11-13 17:30:13 -060057 The debug_level mask defaults to "info". See
Mauro Carvalho Chehabcb1aaeb2019-06-07 15:54:32 -030058 Documentation/firmware-guide/acpi/debug.rst for more information about
Bjorn Helgaase76f4272008-11-13 17:30:13 -060059 debug layers and levels.
Linus Torvalds1da177e2005-04-16 15:20:36 -070060
Bjorn Helgaase76f4272008-11-13 17:30:13 -060061 Enable processor driver info messages:
62 acpi.debug_layer=0x20000000
63 Enable PCI/PCI interrupt routing info messages:
64 acpi.debug_layer=0x400000
Bjorn Helgaasa0d84a92008-11-07 16:58:05 -070065 Enable AML "Debug" output, i.e., stores to the Debug
66 object while interpreting AML:
67 acpi.debug_layer=0xffffffff acpi.debug_level=0x2
Bjorn Helgaasa0d84a92008-11-07 16:58:05 -070068 Enable all messages related to ACPI hardware:
69 acpi.debug_layer=0x2 acpi.debug_level=0xffffffff
Thomas Renninger36eec5e2008-08-11 15:03:20 +020070
Bjorn Helgaasa0d84a92008-11-07 16:58:05 -070071 Some values produce so much output that the system is
72 unusable. The "log_buf_len" parameter may be useful
73 if you need to capture more output.
Zhang Ruif9891062007-04-24 13:53:22 +080074
Dominik Brodowskief694492015-05-14 15:31:28 +020075 acpi_enforce_resources= [ACPI]
76 { strict | lax | no }
77 Check for resource conflicts between native drivers
78 and ACPI OperationRegions (SystemIO and SystemMemory
79 only). IO ports and memory declared in ACPI might be
80 used by the ACPI subsystem in arbitrary AML code and
81 can interfere with legacy drivers.
82 strict (default): access to resources claimed by ACPI
83 is denied; legacy drivers trying to access reserved
84 resources will fail to bind to device using them.
85 lax: access to resources claimed by ACPI is allowed;
86 legacy drivers trying to access reserved resources
87 will bind successfully but a warning message is logged.
88 no: ACPI OperationRegions are not marked as reserved,
89 no further checks are performed.
90
Lv Zheng4fc0a7e2014-05-31 08:15:02 +080091 acpi_force_table_verification [HW,ACPI]
92 Enable table checksum verification during early stage.
93 By default, this is disabled due to x86 early mapping
94 size limitation.
95
Randy Dunlap0cb55ad2009-04-05 15:55:22 -070096 acpi_irq_balance [HW,ACPI]
97 ACPI will balance active IRQs
98 default in APIC mode
99
100 acpi_irq_nobalance [HW,ACPI]
101 ACPI will not move active IRQs (default)
102 default in PIC mode
103
104 acpi_irq_isa= [HW,ACPI] If irq_balance, mark listed IRQs used by ISA
105 Format: <irq>,<irq>...
106
107 acpi_irq_pci= [HW,ACPI] If irq_balance, clear listed IRQs for
108 use by PCI
109 Format: <irq>,<irq>...
110
Thymo van Beers6dddd7a2018-04-18 20:51:39 +0200111 acpi_mask_gpe= [HW,ACPI]
Lv Zheng9c4aa1e2016-12-16 12:07:57 +0800112 Due to the existence of _Lxx/_Exx, some GPEs triggered
113 by unsupported hardware/firmware features can result in
Thymo van Beers6dddd7a2018-04-18 20:51:39 +0200114 GPE floodings that cannot be automatically disabled by
115 the GPE dispatcher.
Lv Zheng9c4aa1e2016-12-16 12:07:57 +0800116 This facility can be used to prevent such uncontrolled
117 GPE floodings.
Yunfeng Yea7583e72019-11-14 15:16:24 +0800118 Format: <byte>
Lv Zheng9c4aa1e2016-12-16 12:07:57 +0800119
Lv Zheng08e1d7c2014-03-24 14:49:22 +0800120 acpi_no_auto_serialize [HW,ACPI]
121 Disable auto-serialization of AML methods
Bob Moore22b5afc2014-03-24 14:49:00 +0800122 AML control methods that contain the opcodes to create
123 named objects will be marked as "Serialized" by the
124 auto-serialization feature.
Lv Zheng08e1d7c2014-03-24 14:49:22 +0800125 This feature is enabled by default.
126 This option allows to turn off the feature.
Bob Moore22b5afc2014-03-24 14:49:00 +0800127
Dominik Brodowskief694492015-05-14 15:31:28 +0200128 acpi_no_memhotplug [ACPI] Disable memory hotplug. Useful for kdump
129 kernels.
130
Lv Zhenga94e88c2014-04-04 12:39:11 +0800131 acpi_no_static_ssdt [HW,ACPI]
132 Disable installation of static SSDTs at early boot time
133 By default, SSDTs contained in the RSDT/XSDT will be
134 installed automatically and they will appear under
135 /sys/firmware/acpi/tables.
136 This option turns off this feature.
137 Note that specifying this option does not affect
138 dynamic table installation which will install SSDT
139 tables to /sys/firmware/acpi/tables/dynamic.
Randy Dunlap0cb55ad2009-04-05 15:55:22 -0700140
Jean Delvare3f9e12e2020-02-06 16:58:45 +0100141 acpi_no_watchdog [HW,ACPI,WDT]
142 Ignore the ACPI-based watchdog interface (WDAT) and let
143 a native driver control the watchdog device instead.
144
Dominik Brodowskief694492015-05-14 15:31:28 +0200145 acpi_rsdp= [ACPI,EFI,KEXEC]
146 Pass the RSDP address to the kernel, mostly used
147 on machines running EFI runtime service to boot the
148 second kernel for kdump.
Lv Zheng4dde5072014-02-11 11:01:52 +0800149
Randy Dunlap0cb55ad2009-04-05 15:55:22 -0700150 acpi_os_name= [HW,ACPI] Tell ACPI BIOS the name of the OS
151 Format: To spoof as Windows 98: ="Microsoft Windows"
152
Rafael J. Wysocki18d78b62015-07-03 01:06:00 +0200153 acpi_rev_override [ACPI] Override the _REV object to return 5 (instead
154 of 2 which is mandated by ACPI 6) as the supported ACPI
155 specification revision (when using this switch, it may
156 be necessary to carry out a cold reboot _twice_ in a
157 row to make it take effect on the platform firmware).
158
Randy Dunlap0cb55ad2009-04-05 15:55:22 -0700159 acpi_osi= [HW,ACPI] Modify list of supported OS interface strings
Lv Zheng5dc17982013-07-22 16:08:25 +0800160 acpi_osi="string1" # add string1
161 acpi_osi="!string2" # remove string2
Lv Zheng741d8122013-07-22 16:08:36 +0800162 acpi_osi=!* # remove all strings
Lv Zheng5dc17982013-07-22 16:08:25 +0800163 acpi_osi=! # disable all built-in OS vendor
164 strings
Lv Zhenga707ede2016-05-03 16:48:32 +0800165 acpi_osi=!! # enable all built-in OS vendor
166 strings
Randy Dunlap0cb55ad2009-04-05 15:55:22 -0700167 acpi_osi= # disable all strings
168
Lv Zheng5dc17982013-07-22 16:08:25 +0800169 'acpi_osi=!' can be used in combination with single or
170 multiple 'acpi_osi="string1"' to support specific OS
171 vendor string(s). Note that such command can only
172 affect the default state of the OS vendor strings, thus
173 it cannot affect the default state of the feature group
174 strings and the current state of the OS vendor strings,
175 specifying it multiple times through kernel command line
Lv Zheng741d8122013-07-22 16:08:36 +0800176 is meaningless. This command is useful when one do not
177 care about the state of the feature group strings which
178 should be controlled by the OSPM.
Lv Zheng5dc17982013-07-22 16:08:25 +0800179 Examples:
180 1. 'acpi_osi=! acpi_osi="Windows 2000"' is equivalent
181 to 'acpi_osi="Windows 2000" acpi_osi=!', they all
182 can make '_OSI("Windows 2000")' TRUE.
183
184 'acpi_osi=' cannot be used in combination with other
185 'acpi_osi=' command lines, the _OSI method will not
186 exist in the ACPI namespace. NOTE that such command can
187 only affect the _OSI support state, thus specifying it
188 multiple times through kernel command line is also
189 meaningless.
190 Examples:
191 1. 'acpi_osi=' can make 'CondRefOf(_OSI, Local1)'
192 FALSE.
193
Lv Zheng741d8122013-07-22 16:08:36 +0800194 'acpi_osi=!*' can be used in combination with single or
195 multiple 'acpi_osi="string1"' to support specific
196 string(s). Note that such command can affect the
197 current state of both the OS vendor strings and the
198 feature group strings, thus specifying it multiple times
199 through kernel command line is meaningful. But it may
200 still not able to affect the final state of a string if
201 there are quirks related to this string. This command
202 is useful when one want to control the state of the
203 feature group strings to debug BIOS issues related to
204 the OSPM features.
205 Examples:
206 1. 'acpi_osi="Module Device" acpi_osi=!*' can make
207 '_OSI("Module Device")' FALSE.
208 2. 'acpi_osi=!* acpi_osi="Module Device"' can make
209 '_OSI("Module Device")' TRUE.
210 3. 'acpi_osi=! acpi_osi=!* acpi_osi="Windows 2000"' is
211 equivalent to
212 'acpi_osi=!* acpi_osi=! acpi_osi="Windows 2000"'
213 and
214 'acpi_osi=!* acpi_osi="Windows 2000" acpi_osi=!',
215 they all will make '_OSI("Windows 2000")' TRUE.
216
Jaswinder Singh Rajput6cececf2009-04-14 14:03:43 +0530217 acpi_pm_good [X86]
Randy Dunlap0cb55ad2009-04-05 15:55:22 -0700218 Override the pmtimer bug detection: force the kernel
219 to assume that this machine's pmtimer latches its value
220 and always returns good values.
221
Randy Dunlap4af94f32009-04-17 18:30:28 -0700222 acpi_sci= [HW,ACPI] ACPI System Control Interrupt trigger mode
223 Format: { level | edge | high | low }
224
Randy Dunlap4af94f32009-04-17 18:30:28 -0700225 acpi_skip_timer_override [HW,ACPI]
226 Recognize and ignore IRQ0/pin2 Interrupt Override.
227 For broken nForce2 BIOS resulting in XT-PIC timer.
228
229 acpi_sleep= [HW,ACPI] Sleep options
230 Format: { s3_bios, s3_mode, s3_beep, s4_nohwsig,
Rafael J. Wysocki57044032017-11-15 02:16:55 +0100231 old_ordering, nonvs, sci_force_enable, nobl }
Mauro Carvalho Chehab151f4e22019-06-13 07:10:36 -0300232 See Documentation/power/video.rst for information on
Randy Dunlap4af94f32009-04-17 18:30:28 -0700233 s3_bios and s3_mode.
234 s3_beep is for debugging; it makes the PC's speaker beep
235 as soon as the kernel's real-mode entry point is called.
236 s4_nohwsig prevents ACPI hardware signature from being
237 used during resume from hibernation.
238 old_ordering causes the ACPI 1.0 ordering of the _PTS
239 control method, with respect to putting devices into
240 low power states, to be enforced (the ACPI 2.0 ordering
241 of _PTS is used by default).
Rafael J. Wysocki72ad5d72010-07-23 22:59:09 +0200242 nonvs prevents the kernel from saving/restoring the
243 ACPI NVS memory during suspend/hibernation and resume.
Zhang Ruid7f0eea2009-12-30 15:36:42 +0800244 sci_force_enable causes the kernel to set SCI_EN directly
245 on resume from S1/S3 (which is against the ACPI spec,
246 but some broken systems don't work without it).
Rafael J. Wysocki57044032017-11-15 02:16:55 +0100247 nobl causes the internal blacklist of systems known to
248 behave incorrectly in some ways with respect to system
249 suspend and resume to be ignored (use wisely).
Randy Dunlap4af94f32009-04-17 18:30:28 -0700250
251 acpi_use_timer_override [HW,ACPI]
252 Use timer override. For some broken Nvidia NF5 boards
253 that require a timer override, but don't have HPET
254
Randy Dunlap4af94f32009-04-17 18:30:28 -0700255 add_efi_memmap [EFI; X86] Include EFI memory map in
256 kernel's map of available physical RAM.
257
Randy Dunlap0cb55ad2009-04-05 15:55:22 -0700258 agp= [AGP]
259 { off | try_unsupported }
260 off: disable AGP support
261 try_unsupported: try to drive unsupported chipsets
262 (may crash computer or cause data corruption)
263
Randy Dunlapbcfde332010-06-07 17:10:38 -0700264 ALSA [HW,ALSA]
Mauro Carvalho Chehab1ca2c802018-06-14 07:43:07 -0300265 See Documentation/sound/alsa-configuration.rst
Randy Dunlapbcfde332010-06-07 17:10:38 -0700266
Russell Kingd944d542010-02-20 16:13:29 +0000267 alignment= [KNL,ARM]
268 Allow the default userspace alignment fault handler
269 behaviour to be specified. Bit 0 enables warnings,
270 bit 1 enables fixups, and bit 2 sends a segfault.
271
Borislav Petkovdfb09f92011-08-05 15:15:08 +0200272 align_va_addr= [X86-64]
273 Align virtual addresses by clearing slice [14:12] when
274 allocating a VMA at process creation time. This option
275 gives you up to 3% performance improvement on AMD F15h
276 machines (where it is enabled by default) for a
277 CPU-intensive style benchmark, and it can vary highly in
278 a microbenchmark depending on workload and compiler.
279
Borislav Petkov8360ee22011-11-21 12:10:19 +0100280 32: only for 32-bit processes
281 64: only for 64-bit processes
Borislav Petkovdfb09f92011-08-05 15:15:08 +0200282 on: enable for both 32- and 64-bit processes
283 off: disable for both 32- and 64-bit processes
284
Steven Rostedt (Red Hat)55034cd2013-03-07 22:48:09 -0500285 alloc_snapshot [FTRACE]
286 Allocate the ftrace snapshot buffer on boot up when the
287 main buffer is allocated. This is handy if debugging
288 and you need to use tracing_snapshot() on boot up, and
289 do not want to use tracing_snapshot_alloc() as it needs
290 to be done where GFP_KERNEL allocations are allowed.
291
Sedat Dilek89e0b9a32011-12-05 23:08:32 +0100292 amd_iommu= [HW,X86-64]
Joerg Roedel54b4cbd2008-06-26 21:28:10 +0200293 Pass parameters to the AMD IOMMU driver in the system.
294 Possible values are:
FUJITA Tomonoriafa9fdc2008-09-20 01:23:30 +0900295 fullflush - enable flushing of IO/TLB entries when
296 they are unmapped. Otherwise they are
297 flushed before they will be reused, which
298 is a lot of faster
Joerg Roedela5235722010-05-11 17:12:33 +0200299 off - do not initialize any AMD IOMMU found in
300 the system
Joerg Roedel5abcdba2011-12-01 15:49:45 +0100301 force_isolation - Force device isolation for all
302 devices. The IOMMU driver is not
303 allowed anymore to lift isolation
304 requirements as needed. This option
305 does not override iommu=pt
FUJITA Tomonoriafa9fdc2008-09-20 01:23:30 +0900306
Shuah Khanc099cf12012-05-24 15:58:25 -0600307 amd_iommu_dump= [HW,X86-64]
308 Enable AMD IOMMU driver option to dump the ACPI table
309 for AMD IOMMU. With this option enabled, AMD IOMMU
310 driver will print ACPI tables for AMD IOMMU during
311 IOMMU initialization.
312
Suravee Suthikulpanit3928aa32016-08-23 13:52:32 -0500313 amd_iommu_intr= [HW,X86-64]
314 Specifies one of the following AMD IOMMU interrupt
315 remapping modes:
316 legacy - Use legacy interrupt remapping mode.
317 vapic - Use virtual APIC mode, which allows IOMMU
318 to inject interrupts directly into guest.
319 This mode requires kvm-amd.avic=1.
320 (Default when IOMMU HW support is present.)
321
Linus Torvalds1da177e2005-04-16 15:20:36 -0700322 amijoy.map= [HW,JOY] Amiga joystick support
323 Map of devices attached to JOY0DAT and JOY1DAT
324 Format: <a>,<b>
Tom Saeger17521182017-10-10 12:36:23 -0500325 See also Documentation/input/joydev/joystick.rst
Linus Torvalds1da177e2005-04-16 15:20:36 -0700326
327 analog.map= [HW,JOY] Analog joystick and gamepad support
328 Specifies type or capabilities of an analog joystick
329 connected to one of 16 gameports
330 Format: <type1>,<type2>,..<type16>
331
Randy Dunlapa9913042005-10-23 12:57:11 -0700332 apc= [HW,SPARC]
333 Power management functions (SPARCstation-4/5 + deriv.)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700334 Format: noidle
335 Disable APC CPU standby support. SPARCstation-Fox does
336 not play well with APC CPU idle - disable it if you have
337 APC and your system crashes randomly.
338
Dou Liyang64e05d12017-12-04 12:03:13 +0800339 apic= [APIC,X86] Advanced Programmable Interrupt Controller
Will Deacon806654a2018-11-19 11:02:45 +0000340 Change the output verbosity while booting
Linus Torvalds1da177e2005-04-16 15:20:36 -0700341 Format: { quiet (default) | verbose | debug }
342 Change the amount of debugging information output
343 when initialising the APIC and IO-APIC components.
Dou Liyang64e05d12017-12-04 12:03:13 +0800344 For X86-32, this can also be used to specify an APIC
345 driver name.
346 Format: apic=driver_name
347 Examples: apic=bigsmp
Randy Dunlapa9913042005-10-23 12:57:11 -0700348
Hidehiro Kawaib7c49482015-12-14 11:19:12 +0100349 apic_extnmi= [APIC,X86] External NMI delivery setting
350 Format: { bsp (default) | all | none }
351 bsp: External NMI is delivered only to CPU 0
352 all: External NMIs are broadcast to all CPUs as a
353 backup of CPU 0
354 none: External NMI is masked for all CPUs. This is
355 useful so that a dump capture kernel won't be
356 shot down by NMI
357
Brian Haleyb0f83b22010-02-04 13:36:50 -0800358 autoconf= [IPV6]
Mauro Carvalho Chehab19093312020-04-28 00:01:50 +0200359 See Documentation/networking/ipv6.rst.
Brian Haleyb0f83b22010-02-04 13:36:50 -0800360
Cyrill Gorcunov9636bc02009-10-14 19:09:04 +0400361 show_lapic= [APIC,X86] Advanced Programmable Interrupt Controller
362 Limit apic dumping. The parameter defines the maximal
363 number of local apics being dumped. Also it is possible
364 to set it to "all" by meaning -- no limit here.
365 Format: { 1 (default) | 2 | ... | all }.
366 The parameter valid if only apic=debug or
367 apic=verbose is specified.
368 Example: apic=debug show_lapic=all
369
Linus Torvalds1da177e2005-04-16 15:20:36 -0700370 apm= [APM] Advanced Power Management
Pavel Machek71f77052008-07-04 09:59:43 -0700371 See header of arch/x86/kernel/apm_32.c.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700372
Linus Torvalds1da177e2005-04-16 15:20:36 -0700373 arcrimi= [HW,NET] ARCnet - "RIM I" (entirely mem-mapped) cards
374 Format: <io>,<irq>,<nodeID>
375
376 ataflop= [HW,M68k]
377
378 atarimouse= [HW,MOUSE] Atari Mouse
379
Linus Torvalds1da177e2005-04-16 15:20:36 -0700380 atkbd.extra= [HW] Enable extra LEDs and keys on IBM RapidAccess,
381 EzKey and similar keyboards
382
383 atkbd.reset= [HW] Reset keyboard during initialization
384
Randy Dunlapa9913042005-10-23 12:57:11 -0700385 atkbd.set= [HW] Select keyboard code set
386 Format: <int> (2 = AT (default), 3 = PS/2)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700387
388 atkbd.scroll= [HW] Enable scroll wheel on MS Office and similar
389 keyboards
390
391 atkbd.softraw= [HW] Choose between synthetic and real raw mode
392 Format: <bool> (0 = real, 1 = synthetic (default))
Randy Dunlapa9913042005-10-23 12:57:11 -0700393
394 atkbd.softrepeat= [HW]
395 Use software keyboard repeat
Linus Torvalds1da177e2005-04-16 15:20:36 -0700396
Richard Guy Briggsa106fb02013-09-23 21:53:35 -0400397 audit= [KNL] Enable the audit sub-system
Greg Edwards11dd2662018-03-05 15:05:20 -0700398 Format: { "0" | "1" | "off" | "on" }
399 0 | off - kernel audit is disabled and can not be
400 enabled until the next reboot
Eric Parisd7961142014-01-13 16:01:06 -0500401 unset - kernel audit is initialized but disabled and
402 will be fully enabled by the userspace auditd.
Greg Edwards11dd2662018-03-05 15:05:20 -0700403 1 | on - kernel audit is initialized and partially
404 enabled, storing at most audit_backlog_limit
405 messages in RAM until it is fully enabled by the
406 userspace auditd.
Richard Guy Briggsa106fb02013-09-23 21:53:35 -0400407 Default: unset
Richard Guy Briggsf3411cb2013-09-17 12:34:52 -0400408
Richard Guy Briggsf910fde2013-09-17 12:34:52 -0400409 audit_backlog_limit= [KNL] Set the audit queue size limit.
410 Format: <int> (must be >=0)
411 Default: 64
412
Alex Thorlton1c532e02016-03-31 14:18:29 -0500413 bau= [X86_UV] Enable the BAU on SGI UV. The default
414 behavior is to disable the BAU (i.e. bau=0).
415 Format: { "0" | "1" }
416 0 - Disable the BAU.
417 1 - Enable the BAU.
418 unset - Disable the BAU.
419
Linus Torvalds1da177e2005-04-16 15:20:36 -0700420 baycom_epp= [HW,AX25]
421 Format: <io>,<mode>
Randy Dunlapa9913042005-10-23 12:57:11 -0700422
Linus Torvalds1da177e2005-04-16 15:20:36 -0700423 baycom_par= [HW,AX25] BayCom Parallel Port AX.25 Modem
424 Format: <io>,<mode>
425 See header of drivers/net/hamradio/baycom_par.c.
426
Randy Dunlapa9913042005-10-23 12:57:11 -0700427 baycom_ser_fdx= [HW,AX25]
428 BayCom Serial Port AX.25 Modem (Full Duplex Mode)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700429 Format: <io>,<irq>,<mode>[,<baud>]
430 See header of drivers/net/hamradio/baycom_ser_fdx.c.
431
Randy Dunlapa9913042005-10-23 12:57:11 -0700432 baycom_ser_hdx= [HW,AX25]
433 BayCom Serial Port AX.25 Modem (Half Duplex Mode)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700434 Format: <io>,<irq>,<mode>
435 See header of drivers/net/hamradio/baycom_ser_hdx.c.
436
Paul Gortmaker080506a2013-09-30 13:45:19 -0700437 blkdevparts= Manual partition parsing of block device(s) for
438 embedded devices based on command line input.
Mauro Carvalho Chehab898bd372019-04-18 19:45:00 -0300439 See Documentation/block/cmdline-partition.rst
Paul Gortmaker080506a2013-09-30 13:45:19 -0700440
Randy Dunlapbfe8df32007-10-16 01:23:46 -0700441 boot_delay= Milliseconds to delay each printk during boot.
442 Values larger than 10 seconds (10000) are changed to
443 no delay (0).
444 Format: integer
445
Steven Rostedt (VMware)7495e092020-02-04 07:33:53 -0500446 bootconfig [KNL]
447 Extended command line options can be added to an initrd
448 and this will cause the kernel to look for it.
449
450 See Documentation/admin-guide/bootconfig.rst
451
Huang Yinga3e2acc2016-06-29 13:04:29 -0700452 bert_disable [ACPI]
453 Disable BERT OS support on buggy BIOSes.
454
Alex Hung1ffb8d02020-03-04 15:55:29 -0700455 bgrt_disable [ACPI][X86]
456 Disable BGRT to avoid flickering OEM logo.
457
Linus Torvalds1da177e2005-04-16 15:20:36 -0700458 bttv.card= [HW,V4L] bttv (bt848 + bt878 based grabber cards)
Randy Dunlapa9913042005-10-23 12:57:11 -0700459 bttv.radio= Most important insmod options are available as
460 kernel args too.
Mauro Carvalho Chehab32e2eae2020-03-04 13:08:03 +0100461 bttv.pll= See Documentation/admin-guide/media/bttv.rst
Paul Bolle395cf962011-08-15 02:02:26 +0200462 bttv.tuner=
Linus Torvalds1da177e2005-04-16 15:20:36 -0700463
Will Schmidt4e89a2d2010-09-28 15:33:12 +0000464 bulk_remove=off [PPC] This parameter disables the use of the pSeries
465 firmware feature for flushing multiple hpte entries
466 at a time.
467
Linus Torvalds1da177e2005-04-16 15:20:36 -0700468 c101= [NET] Moxa C101 synchronous serial card
469
Alan Coxcd4f0ef2007-07-31 00:37:59 -0700470 cachesize= [BUGS=X86-32] Override level 2 CPU cache size detection.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700471 Sometimes CPU hardware bugs make them report the cache
472 size incorrectly. The kernel will attempt work arounds
473 to fix known problems, but for some CPUs it is not
474 possible to determine what the correct size should be.
475 This option provides an override for these situations.
476
Martin Kepplinger3fc46fc2019-01-31 11:14:18 +0100477 carrier_timeout=
478 [NET] Specifies amount of time (in seconds) that
479 the kernel should wait for a network carrier. By default
480 it waits 120 seconds.
481
Dmitry Kasatkinffb70f62014-06-17 11:56:58 +0300482 ca_keys= [KEYS] This parameter identifies a specific key(s) on
483 the system trusted keyring to be used for certificate
484 trust validation.
Dmitry Kasatkin32c47412014-06-17 11:56:59 +0300485 format: { id:<keyid> | builtin }
Dmitry Kasatkinffb70f62014-06-17 11:56:58 +0300486
Florian Fainellifd1bb4c2014-06-25 16:41:13 -0700487 cca= [MIPS] Override the kernel pages' cache coherency
488 algorithm. Accepted values range from 0 to 7
489 inclusive. See arch/mips/include/asm/pgtable-bits.h
490 for platform specific values (SB1, Loongson3 and
491 others).
492
Thymo van Beers6dddd7a2018-04-18 20:51:39 +0200493 ccw_timeout_log [S390]
Mauro Carvalho Chehab8b4a5032019-06-08 23:27:16 -0300494 See Documentation/s390/common_io.rst for details.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700495
Thymo van Beers6dddd7a2018-04-18 20:51:39 +0200496 cgroup_disable= [KNL] Disable a particular controller
Paul Menage8bab8dd2008-04-04 14:29:57 -0700497 Format: {name of the controller(s) to disable}
Qiang Huangca0bdbb2013-11-06 13:18:09 -0800498 The effects of cgroup_disable=foo are:
499 - foo isn't auto-mounted if you mount all cgroups in
500 a single hierarchy
501 - foo isn't visible as an individually mountable
502 subsystem
503 {Currently only "memory" controller deal with this and
504 cut the overhead, others just disable the usage. So
505 only cgroup_disable=memory is actually worthy}
Paul Menage8bab8dd2008-04-04 14:29:57 -0700506
Tejun Heo3fc9c122018-12-28 10:31:07 -0800507 cgroup_no_v1= [KNL] Disable cgroup controllers and named hierarchies in v1
508 Format: { { controller | "all" | "named" }
509 [,{ controller | "all" | "named" }...] }
Johannes Weiner1619b6d2016-02-16 13:21:14 -0500510 Like cgroup_disable, but only applies to cgroup v1;
511 the blacklisted controllers remain available in cgroup2.
Tejun Heo3fc9c122018-12-28 10:31:07 -0800512 "all" blacklists all controllers and "named" disables
513 named mounts. Specifying both "all" and "named" disables
514 all v1 hierarchies.
Johannes Weiner1619b6d2016-02-16 13:21:14 -0500515
Johannes Weinerf7e1cb62016-01-14 15:21:29 -0800516 cgroup.memory= [KNL] Pass options to the cgroup memory controller.
517 Format: <string>
518 nosocket -- Disable socket memory accounting.
Vladimir Davydov04823c82016-01-20 15:02:38 -0800519 nokmem -- Disable kernel memory accounting.
Johannes Weinerf7e1cb62016-01-14 15:21:29 -0800520
Linus Torvalds1da177e2005-04-16 15:20:36 -0700521 checkreqprot [SELINUX] Set initial checkreqprot flag value.
522 Format: { "0" | "1" }
523 See security/selinux/Kconfig help text.
Randy Dunlapa9913042005-10-23 12:57:11 -0700524 0 -- check protection applied by kernel (includes
525 any implied execute protection).
Linus Torvalds1da177e2005-04-16 15:20:36 -0700526 1 -- check protection requested by application.
527 Default value is set via a kernel config option.
Randy Dunlapa9913042005-10-23 12:57:11 -0700528 Value can be changed at runtime via
Stephen Smalleyd41415e2020-01-07 11:35:04 -0500529 /sys/fs/selinux/checkreqprot.
Stephen Smalleye9c38f92020-01-08 11:24:47 -0500530 Setting checkreqprot to 1 is deprecated.
Randy Dunlapa9913042005-10-23 12:57:11 -0700531
Sebastian Ott661ca0d2008-01-26 14:10:36 +0100532 cio_ignore= [S390]
Mauro Carvalho Chehab8b4a5032019-06-08 23:27:16 -0300533 See Documentation/s390/common_io.rst for details.
Olof Johansson1e435252013-04-27 14:10:18 -0700534 clk_ignore_unused
535 [CLK]
Mike Turquettee156ee52014-09-30 14:24:38 -0700536 Prevents the clock framework from automatically gating
537 clocks that have not been explicitly enabled by a Linux
538 device driver but are enabled in hardware at reset or
539 by the bootloader/firmware. Note that this does not
540 force such clocks to be always-on nor does it reserve
541 those clocks in any way. This parameter is useful for
542 debug and development, but should not be needed on a
543 platform with proper driver support. For more
Mauro Carvalho Chehab18bcaa42018-05-07 06:35:44 -0300544 information, see Documentation/driver-api/clk.rst.
Sebastian Ott661ca0d2008-01-26 14:10:36 +0100545
Alan Coxcd4f0ef2007-07-31 00:37:59 -0700546 clock= [BUGS=X86-32, HW] gettimeofday clocksource override.
john stultz734efb42006-06-26 00:25:05 -0700547 [Deprecated]
Matt LaPlante3f6dee92006-10-03 22:45:33 +0200548 Forces specified clocksource (if available) to be used
john stultz734efb42006-06-26 00:25:05 -0700549 when calculating gettimeofday(). If specified
Matt LaPlante3f6dee92006-10-03 22:45:33 +0200550 clocksource is not available, it defaults to PIT.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700551 Format: { pit | tsc | cyclone | pmtmr }
552
John Stultz592913e2010-07-13 17:56:20 -0700553 clocksource= Override the default clocksource
Randy Dunlap3d6ac982007-05-23 13:58:16 -0700554 Format: <string>
555 Override the default clocksource and use the clocksource
556 with the name specified.
557 Some clocksource names to choose from, depending on
558 the platform:
559 [all] jiffies (this is the base, fallback clocksource)
560 [ACPI] acpi_pm
561 [ARM] imx_timer1,OSTS,netx_timer,mpu_timer2,
562 pxa_timer,timer3,32k_counter,timer0_1
Alok Kataria9863c902010-08-23 14:49:11 -0700563 [X86-32] pit,hpet,tsc;
Randy Dunlap3d6ac982007-05-23 13:58:16 -0700564 scx200_hrt on Geode; cyclone on IBM x440
565 [MIPS] MIPS
566 [PARISC] cr16
567 [S390] tod
568 [SH] SuperH
569 [SPARC64] tick
570 [X86-64] hpet,tsc
571
Will Deacon46fd5c62016-06-27 17:30:13 +0100572 clocksource.arm_arch_timer.evtstrm=
573 [ARM,ARM64]
574 Format: <bool>
575 Enable/disable the eventstream feature of the ARM
576 architected timer so that code using WFE-based polling
577 loops can be debugged more effectively on production
578 systems.
579
Andi Kleenac72e782008-01-30 13:33:21 +0100580 clearcpuid=BITNUM [X86]
581 Disable CPUID feature X for the kernel. See
Borislav Petkovcd4d09e2016-01-26 22:12:04 +0100582 arch/x86/include/asm/cpufeatures.h for the valid bit
Randy Dunlap07983f02009-01-06 14:42:41 -0800583 numbers. Note the Linux specific bits are not necessarily
Andi Kleenac72e782008-01-30 13:33:21 +0100584 stable over kernel options, but the vendor specific
585 ones should be.
586 Also note that user programs calling CPUID directly
587 or using the feature without checking anything
588 will still see it. This just prevents it from
589 being used by the kernel or shown in /proc/cpuinfo.
590 Also note the kernel might malfunction if you disable
591 some critical bits.
592
Akinobu Mita5ea3b1b2014-06-04 16:06:54 -0700593 cma=nn[MG]@[start[MG][-end[MG]]]
594 [ARM,X86,KNL]
595 Sets the size of kernel global memory area for
596 contiguous memory allocations and optionally the
597 placement constraint by the physical address range of
Jean Delvaref0d6d1f62014-10-09 15:29:41 -0700598 memory allocations. A value of 0 disables CMA
599 altogether. For more information, see
Marek Szyprowskic64be2b2011-12-29 13:09:51 +0100600 include/linux/dma-contiguous.h
601
Robert Jennings14f966e2009-04-15 05:55:32 +0000602 cmo_free_hint= [PPC] Format: { yes | no }
603 Specify whether pages are marked as being inactive
604 when they are freed. This is used in CMO environments
605 to determine OS memory pressure for page stealing by
606 a hypervisor.
607 Default: yes
608
Marek Szyprowskic7909502011-12-29 13:09:51 +0100609 coherent_pool=nn[KMG] [ARM,KNL]
610 Sets the size of memory pool for coherent, atomic dma
Marek Szyprowskie9da6e92012-07-30 09:11:33 +0200611 allocations, by default set to 256K.
Marek Szyprowskic7909502011-12-29 13:09:51 +0100612
Linus Torvalds1da177e2005-04-16 15:20:36 -0700613 com20020= [HW,NET] ARCnet - COM20020 chipset
Randy Dunlapa9913042005-10-23 12:57:11 -0700614 Format:
615 <io>[,<irq>[,<nodeID>[,<backplane>[,<ckp>[,<timeout>]]]]]
Linus Torvalds1da177e2005-04-16 15:20:36 -0700616
617 com90io= [HW,NET] ARCnet - COM90xx chipset (IO-mapped buffers)
618 Format: <io>[,<irq>]
619
Randy Dunlapa9913042005-10-23 12:57:11 -0700620 com90xx= [HW,NET]
621 ARCnet - COM90xx chipset (memory-mapped buffers)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700622 Format: <io>[,<irq>[,<memstart>]]
623
624 condev= [HW,S390] console device
625 conmode=
Randy Dunlapa9913042005-10-23 12:57:11 -0700626
Linus Torvalds1da177e2005-04-16 15:20:36 -0700627 console= [KNL] Output console device and options.
628
629 tty<n> Use the virtual console device <n>.
630
631 ttyS<n>[,options]
Randy Dunlapf1a1c2d2006-03-25 03:08:17 -0800632 ttyUSB0[,options]
Linus Torvalds1da177e2005-04-16 15:20:36 -0700633 Use the specified serial port. The options are of
Randy Dunlapf1a1c2d2006-03-25 03:08:17 -0800634 the form "bbbbpnf", where "bbbb" is the baud rate,
635 "p" is parity ("n", "o", or "e"), "n" is number of
636 bits, and "f" is flow control ("r" for RTS or
637 omit it). Default is "9600n8".
Linus Torvalds1da177e2005-04-16 15:20:36 -0700638
Jani Nikulae52347b2016-11-03 12:10:10 +0200639 See Documentation/admin-guide/serial-console.rst for more
Randy Dunlapf1a1c2d2006-03-25 03:08:17 -0800640 information. See
Mauro Carvalho Chehabd9d6ef22020-04-30 18:04:02 +0200641 Documentation/networking/netconsole.rst for an
Randy Dunlapf1a1c2d2006-03-25 03:08:17 -0800642 alternative.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700643
Yinghai Lu18a8bd92007-07-15 23:37:59 -0700644 uart[8250],io,<addr>[,options]
645 uart[8250],mmio,<addr>[,options]
Masahiro Yamadabd94c402015-10-28 12:46:05 +0900646 uart[8250],mmio16,<addr>[,options]
Peter Hurleyca782f12015-04-06 10:52:39 -0400647 uart[8250],mmio32,<addr>[,options]
648 uart[8250],0x<addr>[,options]
Linus Torvalds1da177e2005-04-16 15:20:36 -0700649 Start an early, polled-mode console on the 8250/16550
650 UART at the specified I/O port or MMIO address,
Peter Hurleyca782f12015-04-06 10:52:39 -0400651 switching to the matching ttyS device later.
652 MMIO inter-register address stride is either 8-bit
Masahiro Yamadabd94c402015-10-28 12:46:05 +0900653 (mmio), 16-bit (mmio16), or 32-bit (mmio32).
654 If none of [io|mmio|mmio16|mmio32], <addr> is assumed
655 to be equivalent to 'mmio'. 'options' are specified in
656 the same format described for ttyS above; if unspecified,
Peter Hurleyca782f12015-04-06 10:52:39 -0400657 the h/w is not re-initialized.
658
Konrad Rzeszutek Wilka2fd6412013-02-25 15:54:09 -0500659 hvc<n> Use the hypervisor console device <n>. This is for
660 both Xen and PowerPC hypervisors.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700661
Thymo van Beers6dddd7a2018-04-18 20:51:39 +0200662 If the device connected to the port is not a TTY but a braille
663 device, prepend "brl," before the device type, for instance
Samuel Thibaultf7511d52008-04-30 00:54:51 -0700664 console=brl,ttyS0
665 For now, only VisioBraille is supported.
666
Sergey Senozhatskycca10d52017-12-21 14:41:49 +0900667 console_msg_format=
668 [KNL] Change console messages format
669 default
670 By default we print messages on consoles in
671 "[time stamp] text\n" format (time stamp may not be
672 printed, depending on CONFIG_PRINTK_TIME or
673 `printk_time' param).
674 syslog
675 Switch to syslog format: "<%u>[time stamp] text\n"
676 IOW, each message will have a facility and loglevel
677 prefix. The format is similar to one used by syslog()
678 syscall, or to executing "dmesg -S --raw" or to reading
679 from /proc/kmsg.
680
Daniel Mackf324edc2009-06-16 15:33:52 -0700681 consoleblank= [KNL] The console blank (screen saver) timeout in
Daniel Xuac0a3142017-09-18 22:21:25 -0700682 seconds. A value of 0 disables the blank timer.
Thymo van Beers6dddd7a2018-04-18 20:51:39 +0200683 Defaults to 0.
Daniel Mackf324edc2009-06-16 15:33:52 -0700684
Hidehiro Kawai4cb0e112009-01-06 14:42:47 -0800685 coredump_filter=
686 [KNL] Change the default value for
687 /proc/<pid>/coredump_filter.
Jimmy Assarssoncd4ca342020-04-02 19:26:14 +0200688 See also Documentation/filesystems/proc.rst.
Hidehiro Kawai4cb0e112009-01-06 14:42:47 -0800689
Leo Yan62a31ce2017-06-05 14:15:12 -0600690 coresight_cpu_debug.enable
691 [ARM,ARM64]
692 Format: <bool>
693 Enable/disable the CPU sampling based debugging.
694 0: default value, disable debugging
695 1: enable debugging at boot time
696
Len Brown62027ae2011-04-01 18:13:10 -0400697 cpuidle.off=1 [CPU_IDLE]
698 disable the cpuidle sub-system
699
Rafael J. Wysocki61cb5752018-12-05 23:45:34 +0100700 cpuidle.governor=
701 [CPU_IDLE] Name of the cpuidle governor to use.
702
Len Brownd82f2692017-02-28 16:44:16 -0500703 cpufreq.off=1 [CPU_FREQ]
704 disable the cpufreq sub-system
705
Quentin Perret8412b452020-06-29 13:55:00 +0530706 cpufreq.default_governor=
707 [CPU_FREQ] Name of the default cpufreq governor or
708 policy to use. This governor must be registered in the
709 kernel before the cpufreq driver probes.
710
Len Brownd68921f2015-05-11 17:27:09 -0400711 cpu_init_udelay=N
712 [X86] Delay for N microsec between assert and de-assert
713 of APIC INIT to start processors. This delay occurs
714 on every CPU online, such as boot, and resume from suspend.
715 Default: 10000
716
Linus Torvalds1da177e2005-04-16 15:20:36 -0700717 cpcihp_generic= [HW,PCI] Generic port I/O CompactPCI driver
Randy Dunlapa9913042005-10-23 12:57:11 -0700718 Format:
719 <first_slot>,<last_slot>,<port>,<enum_bit>[,<debug>]
Linus Torvalds1da177e2005-04-16 15:20:36 -0700720
Ahmed S. Darwish6f21e642011-02-20 20:08:35 -0800721 crashkernel=size[KMG][@offset[KMG]]
722 [KNL] Using kexec, Linux can switch to a 'crash kernel'
723 upon panic. This parameter reserves the physical
724 memory region [offset, offset + size] for that kernel
725 image. If '@offset' is omitted, then a suitable offset
Dave Youngb9ac3842019-04-22 11:19:05 +0800726 is selected automatically.
Randy Dunlapbe3a5b0e2020-08-09 19:49:41 -0700727 [KNL, X86-64] Select a region under 4G first, and
Dave Youngb9ac3842019-04-22 11:19:05 +0800728 fall back to reserve region above 4G when '@offset'
729 hasn't been specified.
Mauro Carvalho Chehab330d4812019-06-13 15:21:39 -0300730 See Documentation/admin-guide/kdump/kdump.rst for further details.
Eric W. Biedermandc009d92005-06-25 14:57:52 -0700731
Bernhard Wallefb391592007-10-18 23:41:02 -0700732 crashkernel=range1:size1[,range2:size2,...][@offset]
733 [KNL] Same as above, but depends on the memory
734 in the running system. The syntax of range is
735 start-[end] where start and end are both
736 a memory unit (amount[KMG]). See also
Mauro Carvalho Chehab330d4812019-06-13 15:21:39 -0300737 Documentation/admin-guide/kdump/kdump.rst for an example.
Bernhard Wallefb391592007-10-18 23:41:02 -0700738
Yinghai Luadbc7422013-04-15 22:23:48 -0700739 crashkernel=size[KMG],high
Randy Dunlapbe3a5b0e2020-08-09 19:49:41 -0700740 [KNL, X86-64] range could be above 4G. Allow kernel
Yinghai Lu55a20ee2013-04-15 22:23:47 -0700741 to allocate physical memory region from top, so could
742 be above 4G if system have more than 4G ram installed.
743 Otherwise memory region will be allocated below 4G, if
744 available.
745 It will be ignored if crashkernel=X is specified.
Yinghai Luadbc7422013-04-15 22:23:48 -0700746 crashkernel=size[KMG],low
Randy Dunlapbe3a5b0e2020-08-09 19:49:41 -0700747 [KNL, X86-64] range under 4G. When crashkernel=X,high
Yinghai Luadbc7422013-04-15 22:23:48 -0700748 is passed, kernel could allocate physical memory region
Yinghai Luc729de82013-04-15 22:23:45 -0700749 above 4G, that cause second kernel crash on system
750 that require some amount of low memory, e.g. swiotlb
Baoquan Hec6045032015-09-24 16:51:25 +0800751 requires at least 64M+32K low memory, also enough extra
752 low memory is needed to make sure DMA buffers for 32-bit
753 devices won't run out. Kernel would try to allocate at
754 at least 256M below 4G automatically.
Yinghai Luc729de82013-04-15 22:23:45 -0700755 This one let user to specify own low range under 4G
756 for second kernel instead.
757 0: to disable low allocation.
Yinghai Luadbc7422013-04-15 22:23:48 -0700758 It will be ignored when crashkernel=X,high is not used
Yinghai Lu55a20ee2013-04-15 22:23:47 -0700759 or memory reserved is below 4G.
Yinghai Luc729de82013-04-15 22:23:45 -0700760
Richard W.M. Jones9e5c9fe2016-05-03 10:00:17 +0100761 cryptomgr.notests
Thymo van Beers6dddd7a2018-04-18 20:51:39 +0200762 [KNL] Disable crypto self-tests
Richard W.M. Jones9e5c9fe2016-05-03 10:00:17 +0100763
Linus Torvalds1da177e2005-04-16 15:20:36 -0700764 cs89x0_dma= [HW,NET]
765 Format: <dma>
766
767 cs89x0_media= [HW,NET]
768 Format: { rj45 | aui | bnc }
Randy Dunlapa9913042005-10-23 12:57:11 -0700769
Randy Dunlapa9913042005-10-23 12:57:11 -0700770 dasd= [HW,NET]
Linus Torvalds1da177e2005-04-16 15:20:36 -0700771 See header of drivers/s390/block/dasd_devmap.c.
772
773 db9.dev[2|3]= [HW,JOY] Multisystem joystick support via parallel port
774 (one device per port)
775 Format: <port#>,<type>
Tom Saeger17521182017-10-10 12:36:23 -0500776 See also Documentation/input/devices/joystick-parport.rst
Linus Torvalds1da177e2005-04-16 15:20:36 -0700777
Thymo van Beers6dddd7a2018-04-18 20:51:39 +0200778 ddebug_query= [KNL,DYNAMIC_DEBUG] Enable debug messages at early boot
Steffen Maier787e3072017-06-14 12:24:12 +0200779 time. See
780 Documentation/admin-guide/dynamic-debug-howto.rst for
Jim Cromie29e36c92012-04-27 14:30:41 -0600781 details. Deprecated, see dyndbg.
Thomas Renningera648ec02010-08-06 16:11:02 +0200782
Linus Torvalds1da177e2005-04-16 15:20:36 -0700783 debug [KNL] Enable kernel debugging (events log level).
784
Tobin C. Harding36724762018-06-22 09:15:34 +1000785 debug_boot_weak_hash
786 [KNL] Enable printing [hashed] pointers early in the
787 boot sequence. If enabled, we use a weak hash instead
788 of siphash to hash pointers. Use this option if you are
789 seeing instances of '(___ptrval___)') and need to see a
790 value (hashed pointer) instead. Cryptographically
791 insecure, please do not use on production kernels.
792
Ingo Molnarcae2ed92006-07-03 00:24:48 -0700793 debug_locks_verbose=
794 [KNL] verbose self-tests
795 Format=<0|1>
796 Print debugging info while doing the locking API
797 self-tests.
798 We default to 0 (no extra messages), setting it to
799 1 will print _a lot_ more information - normally
800 only useful to kernel developers.
801
Thomas Gleixner3ac7fe52008-04-30 00:55:01 -0700802 debug_objects [KNL] Enable object debugging
803
Kyle McMartin3e8ebb52009-03-01 20:41:41 -0500804 no_debug_objects
805 [KNL] Disable object debugging
806
Stanislaw Gruszkac0a32fc2012-01-10 15:07:28 -0800807 debug_guardpage_minorder=
808 [KNL] When CONFIG_DEBUG_PAGEALLOC is set, this
809 parameter allows control of the order of pages that will
810 be intentionally kept free (and hence protected) by the
811 buddy allocator. Bigger value increase the probability
812 of catching random memory corruption, but reduce the
813 amount of memory for normal system use. The maximum
814 possible value is MAX_ORDER/2. Setting this parameter
815 to 1 or 2 should be enough to identify most random
816 memory corruption problems caused by bugs in kernel or
817 driver code when a CPU writes to (or reads from) a
818 random memory location. Note that there exists a class
819 of memory corruptions problems caused by buggy H/W or
820 F/W or by drivers badly programing DMA (basically when
821 memory is written at bus level and the CPU MMU is
822 bypassed) which are not detectable by
823 CONFIG_DEBUG_PAGEALLOC, hence this option will not help
824 tracking down these problems.
825
Joonsoo Kim031bc572014-12-12 16:55:52 -0800826 debug_pagealloc=
Vlastimil Babka3972f6b2019-07-11 20:55:13 -0700827 [KNL] When CONFIG_DEBUG_PAGEALLOC is set, this parameter
828 enables the feature at boot time. By default, it is
829 disabled and the system will work mostly the same as a
830 kernel built without CONFIG_DEBUG_PAGEALLOC.
Vlastimil Babka89745582019-09-23 15:34:42 -0700831 Note: to get most of debug_pagealloc error reports, it's
832 useful to also enable the page_owner functionality.
Joonsoo Kim031bc572014-12-12 16:55:52 -0800833 on: enable the feature
834
Peter Enderborga24c6f72020-07-16 09:15:11 +0200835 debugfs= [KNL] This parameter enables what is exposed to userspace
836 and debugfs internal clients.
837 Format: { on, no-mount, off }
838 on: All functions are enabled.
839 no-mount:
840 Filesystem is not registered but kernel clients can
841 access APIs and a crashkernel can be used to read
842 its content. There is nothing to mount.
843 off: Filesystem is not registered and clients
844 get a -EPERM as result when trying to register files
845 or directories within debugfs.
846 This is equivalent of the runtime functionality if
847 debugfs was not enabled in the kernel at all.
848 Default value is set in build-time with a kernel configuration.
849
Thomas Gleixnerd3af01f2008-07-15 15:04:56 +0200850 debugpat [X86] Enable PAT debugging
851
Robert P. J. Day2d27a962008-02-03 15:18:45 +0200852 decnet.addr= [HW,NET]
Linus Torvalds1da177e2005-04-16 15:20:36 -0700853 Format: <area>[,<node>]
Mauro Carvalho Chehab9a69fb92020-04-28 00:01:30 +0200854 See also Documentation/networking/decnet.rst.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700855
Randy Dunlap0cb55ad2009-04-05 15:55:22 -0700856 default_hugepagesz=
Mike Kravetz282f4212020-06-03 16:00:46 -0700857 [HW] The size of the default HugeTLB page. This is
858 the size represented by the legacy /proc/ hugepages
859 APIs. In addition, this is the default hugetlb size
860 used for shmget(), mmap() and mounting hugetlbfs
861 filesystems. If not specified, defaults to the
862 architecture's default huge page size. Huge page
863 sizes are architecture dependent. See also
864 Documentation/admin-guide/mm/hugetlbpage.rst.
865 Format: size[KMG]
Antonino A. Daplas55ff9782007-05-08 00:38:53 -0700866
Rob Herring25b4e702018-07-09 09:41:48 -0600867 deferred_probe_timeout=
868 [KNL] Debugging option to set a timeout in seconds for
869 deferred probe to give up waiting on dependencies to
870 probe. Only specific dependencies (subsystems or
871 drivers) that have opted in will be ignored. A timeout of 0
872 will timeout at the end of initcalls. This option will also
873 dump out devices still on the deferred probe list after
874 retrying.
875
Mikhail Zaslonkoc65e6812020-01-30 22:16:27 -0800876 dfltcc= [HW,S390]
877 Format: { on | off | def_only | inf_only | always }
878 on: s390 zlib hardware support for compression on
879 level 1 and decompression (default)
880 off: No s390 zlib hardware support
881 def_only: s390 zlib hardware support for deflate
882 only (compression on level 1)
883 inf_only: s390 zlib hardware support for inflate
884 only (decompression)
885 always: Same as 'on' but ignores the selected compression
886 level always using hardware support (used for debugging)
887
Linus Torvalds1da177e2005-04-16 15:20:36 -0700888 dhash_entries= [KNL]
889 Set number of hash buckets for dentry cache.
Randy Dunlapa9913042005-10-23 12:57:11 -0700890
Oliver O'Halloranfaf78822016-07-05 11:43:21 +1000891 disable_1tb_segments [PPC]
892 Disables the use of 1TB hash page table segments. This
893 causes the kernel to fall back to 256MB segments which
894 can be useful when debugging issues that require an SLB
895 miss to occur.
896
Nicholas Piggin82a1b8e2020-05-11 22:58:24 +1000897 stress_slb [PPC]
898 Limits the number of kernel SLB entries, and flushes
899 them frequently to increase the rate of SLB faults
900 on kernel addresses.
901
Brian Haleyb0f83b22010-02-04 13:36:50 -0800902 disable= [IPV6]
Mauro Carvalho Chehab19093312020-04-28 00:01:50 +0200903 See Documentation/networking/ipv6.rst.
Brian Haleyb0f83b22010-02-04 13:36:50 -0800904
Chris von Recklinghausenb5cb15d2018-07-03 15:43:08 -0400905 hardened_usercopy=
906 [KNL] Under CONFIG_HARDENED_USERCOPY, whether
907 hardening is enabled for this boot. Hardened
908 usercopy checking is used to protect the kernel
909 from reading or writing beyond known memory
910 allocation boundaries as a proactive defense
911 against bounds-checking flaws in the kernel's
912 copy_to_user()/copy_from_user() interface.
913 on Perform hardened usercopy checks (default).
914 off Disable hardened usercopy checks.
915
Aneesh Kumar K.Vb275bfb2016-07-13 15:05:31 +0530916 disable_radix [PPC]
917 Disable RADIX MMU mode on POWER9
918
Aneesh Kumar K.Vbf6b7662020-07-27 14:29:08 +0530919 radix_hcall_invalidate=on [PPC/PSERIES]
920 Disable RADIX GTSE feature and use hcall for TLB
921 invalidate.
922
Nicholas Piggin2275d7b2019-09-03 01:29:31 +1000923 disable_tlbie [PPC]
924 Disable TLBIE instruction. Currently does not work
925 with KVM, with HASH MMU, or with coherent accelerators.
926
HATAYAMA Daisuke151e0c72014-01-15 15:44:58 +0900927 disable_cpu_apicid= [X86,APIC,SMP]
928 Format: <int>
929 The number of initial APIC ID for the
930 corresponding CPU to be disabled at boot,
931 mostly used for the kdump 2nd kernel to
932 disable BSP to wake up multiple CPUs without
933 causing system reset or hang due to sending
934 INIT from AP to BSP.
935
Peter Zijlstra2a5bf232018-11-20 18:08:42 +0100936 perf_v4_pmi= [X86,INTEL]
937 Format: <bool>
Andi Kleenaf3bdb92018-08-08 00:12:07 -0700938 Disable Intel PMU counter freezing feature.
939 The feature only exists starting from
940 Arch Perfmon v4 (Skylake and newer).
941
Thymo van Beers6dddd7a2018-04-18 20:51:39 +0200942 disable_ddw [PPC/PSERIES]
Nishanth Aravamudan4e8b0cf2011-02-10 09:10:47 +0000943 Disable Dynamic DMA Window support. Use this if
944 to workaround buggy firmware.
945
Brian Haleyb0f83b22010-02-04 13:36:50 -0800946 disable_ipv6= [IPV6]
Mauro Carvalho Chehab19093312020-04-28 00:01:50 +0200947 See Documentation/networking/ipv6.rst.
Brian Haleyb0f83b22010-02-04 13:36:50 -0800948
Yinghai Lu95ffa242008-04-29 03:52:33 -0700949 disable_mtrr_cleanup [X86]
Yinghai Lu95ffa242008-04-29 03:52:33 -0700950 The kernel tries to adjust MTRR layout from continuous
951 to discrete, to make X server driver able to add WB
Randy Dunlap0cb55ad2009-04-05 15:55:22 -0700952 entry later. This parameter disables that.
Yinghai Lu95ffa242008-04-29 03:52:33 -0700953
Yinghai Lu093af8d2008-01-30 13:33:32 +0100954 disable_mtrr_trim [X86, Intel and AMD only]
Jesse Barnes99fc8d42008-01-30 13:33:18 +0100955 By default the kernel will trim any uncacheable
956 memory out of your available memory pool based on
957 MTRR settings. This parameter disables that behavior,
958 possibly causing your machine to run very slowly.
959
Jaswinder Singh Rajput6cececf2009-04-14 14:03:43 +0530960 disable_timer_pin_1 [X86]
Randy Dunlap0cb55ad2009-04-05 15:55:22 -0700961 Disable PIN 1 of APIC timer
962 Can be useful to work around chipset bugs.
963
Prarit Bhargavace14c582015-08-25 13:34:53 -0400964 dis_ucode_ldr [X86] Disable the microcode loader.
965
Randy Dunlap0cb55ad2009-04-05 15:55:22 -0700966 dma_debug=off If the kernel is compiled with DMA_API_DEBUG support,
967 this option disables the debugging code at boot.
968
969 dma_debug_entries=<number>
970 This option allows to tune the number of preallocated
971 entries for DMA-API debugging code. One entry is
972 required per DMA-API allocation. Use this if the
973 DMA-API debugging code disables itself because the
974 architectural default is too low.
975
Joerg Roedel1745de52009-05-22 21:49:51 +0200976 dma_debug_driver=<driver_name>
977 With this option the DMA-API debugging driver
978 filter feature can be enabled at boot time. Just
979 pass the driver to filter for as the parameter.
980 The filter can be disabled or changed to another
981 driver later using sysfs.
982
Feng Tang1ea61b62019-02-13 15:47:36 +0800983 driver_async_probe= [KNL]
984 List of driver names to be probed asynchronously.
985 Format: <driver_name1>,<driver_name2>...
986
Jani Nikula53fd40a2017-09-12 11:19:26 +0300987 drm.edid_firmware=[<connector>:]<file>[,[<connector>:]<file>]
Bob Paauwe96206e22015-08-27 10:04:13 -0700988 Broken monitors, graphic adapters, KVMs and EDIDless
989 panels may send no or incorrect EDID data sets.
990 This parameter allows to specify an EDID data sets
991 in the /lib/firmware directory that are used instead.
Carsten Emdeda0df922012-03-18 22:37:33 +0100992 Generic built-in EDID data sets are used, if one of
993 edid/1024x768.bin, edid/1280x1024.bin,
994 edid/1680x1050.bin, or edid/1920x1080.bin is given
995 and no file with the same name exists. Details and
996 instructions how to build your own EDID data are
Jimmy Assarssoncd4ca342020-04-02 19:26:14 +0200997 available in Documentation/admin-guide/edid.rst. An EDID
Carsten Emdeda0df922012-03-18 22:37:33 +0100998 data set will only be used for a particular connector,
999 if its name and a colon are prepended to the EDID
Bob Paauwe96206e22015-08-27 10:04:13 -07001000 name. Each connector may use a unique EDID data
1001 set by separating the files with a comma. An EDID
1002 data set with no connector name will be used for
1003 any connectors not explicitly specified.
Carsten Emdeda0df922012-03-18 22:37:33 +01001004
Linus Torvalds1da177e2005-04-16 15:20:36 -07001005 dscc4.setup= [NET]
1006
Nicholas Piggina2b05b72017-05-11 21:24:41 +10001007 dt_cpu_ftrs= [PPC]
1008 Format: {"off" | "known"}
1009 Control how the dt_cpu_ftrs device-tree binding is
1010 used for CPU feature discovery and setup (if it
1011 exists).
1012 off: Do not use it, fall back to legacy cpu table.
1013 known: Do not pass through unknown features to guests
1014 or userspace, only those that the kernel is aware of.
1015
Lukas Wunner58c54752016-11-12 21:32:36 +00001016 dump_apple_properties [X86]
1017 Dump name and content of EFI device properties on
1018 x86 Macs. Useful for driver authors to determine
1019 what data is available or for reverse-engineering.
1020
Jim Cromie29e36c92012-04-27 14:30:41 -06001021 dyndbg[="val"] [KNL,DYNAMIC_DEBUG]
1022 module.dyndbg[="val"]
1023 Enable debug messages at boot time. See
Steffen Maier787e3072017-06-14 12:24:12 +02001024 Documentation/admin-guide/dynamic-debug-howto.rst
1025 for details.
Jim Cromie29e36c92012-04-27 14:30:41 -06001026
Dave Hansen06976942016-02-12 13:02:29 -08001027 nopku [X86] Disable Memory Protection Keys CPU feature found
1028 in some Intel CPUs.
1029
Luis R. Rodriguezf2411da2015-03-30 16:20:05 -07001030 module.async_probe [KNL]
1031 Enable asynchronous probe on this module.
1032
Mark Salter56aeeba2014-04-07 15:39:53 -07001033 early_ioremap_debug [KNL]
1034 Enable debug messages in early_ioremap support. This
1035 is useful for tracking down temporary early mappings
1036 which are not unmapped.
1037
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07001038 earlycon= [KNL] Output early console device and options.
Rob Herring0d3c6732014-04-18 17:19:57 -05001039
Christoph Hellwige18409c2019-09-17 09:15:23 +02001040 When used with no options, the early console is
1041 determined by stdout-path property in device tree's
1042 chosen node or the ACPI SPCR table if supported by
1043 the platform.
Scott Wood5664f7642015-09-14 19:54:07 -05001044
Scott Telfordc41251b2016-09-22 16:58:16 +01001045 cdns,<addr>[,options]
1046 Start an early, polled-mode console on a Cadence
1047 (xuartps) serial port at the specified address. Only
1048 supported option is baud rate. If baud rate is not
1049 specified, the serial port must already be setup and
1050 configured.
Michal Simek6fa62fc2014-09-10 12:43:02 +02001051
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07001052 uart[8250],io,<addr>[,options]
1053 uart[8250],mmio,<addr>[,options]
Samium Gromoff1917ac72010-07-20 15:26:51 -07001054 uart[8250],mmio32,<addr>[,options]
Noam Camus6e63be32015-05-25 06:54:28 +03001055 uart[8250],mmio32be,<addr>[,options]
Peter Hurleyca782f12015-04-06 10:52:39 -04001056 uart[8250],0x<addr>[,options]
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07001057 Start an early, polled-mode console on the 8250/16550
1058 UART at the specified I/O port or MMIO address.
Randy Dunlap16290242011-08-13 12:34:52 -07001059 MMIO inter-register address stride is either 8-bit
Noam Camus6e63be32015-05-25 06:54:28 +03001060 (mmio) or 32-bit (mmio32 or mmio32be).
1061 If none of [io|mmio|mmio32|mmio32be], <addr> is assumed
1062 to be equivalent to 'mmio'. 'options' are specified
1063 in the same format described for "console=ttyS<n>"; if
Peter Hurleyca782f12015-04-06 10:52:39 -04001064 unspecified, the h/w is not initialized.
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07001065
Rob Herring0d3c6732014-04-18 17:19:57 -05001066 pl011,<addr>
Timur Tabi3b78fae2016-01-04 15:37:42 -06001067 pl011,mmio32,<addr>
Rob Herring0d3c6732014-04-18 17:19:57 -05001068 Start an early, polled-mode console on a pl011 serial
1069 port at the specified address. The pl011 serial port
1070 must already be setup and configured. Options are not
Timur Tabi3b78fae2016-01-04 15:37:42 -06001071 yet supported. If 'mmio32' is specified, then only
1072 the driver will use only 32-bit accessors to read/write
1073 the device registers.
Rob Herring0d3c6732014-04-18 17:19:57 -05001074
Andreas Färber736d5532016-03-06 12:21:24 +01001075 meson,<addr>
1076 Start an early, polled-mode console on a meson serial
1077 port at the specified address. The serial port must
1078 already be setup and configured. Options are not yet
1079 supported.
1080
Stephen Boyd0efe7292014-09-15 17:22:51 -07001081 msm_serial,<addr>
1082 Start an early, polled-mode console on an msm serial
1083 port at the specified address. The serial port
1084 must already be setup and configured. Options are not
1085 yet supported.
1086
1087 msm_serial_dm,<addr>
1088 Start an early, polled-mode console on an msm serial
1089 dm port at the specified address. The serial port
1090 must already be setup and configured. Options are not
1091 yet supported.
1092
Andreas Färbere36361d2017-06-19 03:46:40 +02001093 owl,<addr>
1094 Start an early, polled-mode console on a serial port
1095 of an Actions Semi SoC, such as S500 or S900, at the
1096 specified address. The serial port must already be
1097 setup and configured. Options are not yet supported.
1098
Manivannan Sadhasivamc10b1332018-12-18 20:32:37 +05301099 rda,<addr>
1100 Start an early, polled-mode console on a serial port
1101 of an RDA Micro SoC, such as RDA8810PL, at the
1102 specified address. The serial port must already be
1103 setup and configured. Options are not yet supported.
1104
Palmer Dabbelt82f12ab2019-09-13 13:38:43 -07001105 sbi
1106 Use RISC-V SBI (Supervisor Binary Interface) for early
1107 console.
1108
Rob Herringd50d7262014-04-18 17:19:58 -05001109 smh Use ARM semihosting calls for early console.
1110
Tomasz Figab94ba032015-01-23 14:47:41 +01001111 s3c2410,<addr>
1112 s3c2412,<addr>
1113 s3c2440,<addr>
1114 s3c6400,<addr>
1115 s5pv210,<addr>
1116 exynos4210,<addr>
1117 Use early console provided by serial driver available
1118 on Samsung SoCs, requires selecting proper type and
1119 a correct base address of the selected UART port. The
1120 serial port must already be setup and configured.
1121 Options are not yet supported.
1122
Martin Blumenstinglec84aa02016-12-11 21:42:23 +01001123 lantiq,<addr>
1124 Start an early, polled-mode console on a lantiq serial
1125 (lqasc) port at the specified address. The serial port
1126 must already be setup and configured. Options are not
1127 yet supported.
1128
Stefan Agner1d59b382015-10-17 00:45:55 -07001129 lpuart,<addr>
1130 lpuart32,<addr>
1131 Use early console provided by Freescale LP UART driver
1132 found on Freescale Vybrid and QorIQ LS1021A processors.
1133 A valid base address must be provided, and the serial
1134 port must already be setup and configured.
1135
Jonathan Neuschäfer7fe068d2020-02-29 14:27:48 +01001136 ec_imx21,<addr>
1137 ec_imx6q,<addr>
1138 Start an early, polled-mode, output-only console on the
1139 Freescale i.MX UART at the specified address. The UART
1140 must already be setup and configured.
1141
Andre Przywaraf7c864e2017-05-04 00:49:36 +01001142 ar3700_uart,<addr>
Wilson Ding30530792016-02-16 19:14:53 +01001143 Start an early, polled-mode console on the
1144 Armada 3700 serial port at the specified
1145 address. The serial port must already be setup
1146 and configured. Options are not yet supported.
1147
Karthikeyan Ramasubramanian43f18312018-05-03 14:14:40 -06001148 qcom_geni,<addr>
1149 Start an early, polled-mode console on a Qualcomm
1150 Generic Interface (GENI) based serial port at the
1151 specified address. The serial port must already be
1152 setup and configured. Options are not yet supported.
1153
Ard Biesheuvel69c1f392019-02-02 10:41:18 +01001154 efifb,[options]
1155 Start an early, unaccelerated console on the EFI
1156 memory mapped framebuffer (if available). On cache
1157 coherent non-x86 systems that use system memory for
1158 the framebuffer, pass the 'ram' option so that it is
1159 mapped with the correct attributes.
1160
Stefan-gabriel Mirea09864c12019-08-09 11:29:16 +00001161 linflex,<addr>
Stefan-Gabriel Mirea9905f322019-10-16 15:48:25 +03001162 Use early console provided by Freescale LINFlexD UART
Stefan-gabriel Mirea09864c12019-08-09 11:29:16 +00001163 serial driver for NXP S32V234 SoCs. A valid base
1164 address must be provided, and the serial port must
1165 already be setup and configured.
1166
Arnd Bergmann4ba66a92018-03-07 22:23:24 +01001167 earlyprintk= [X86,SH,ARM,M68k,S390]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001168 earlyprintk=vga
Heiko Carstens89175cf2017-01-11 09:14:52 +01001169 earlyprintk=sclp
Konrad Rzeszutek Wilk2482a922013-02-25 15:54:08 -05001170 earlyprintk=xen
Linus Torvalds1da177e2005-04-16 15:20:36 -07001171 earlyprintk=serial[,ttySn[,baudrate]]
Dave Hansen147ea092013-04-10 14:03:38 -07001172 earlyprintk=serial[,0x...[,baudrate]]
Jason Wesselea3acb12009-09-24 09:08:30 -05001173 earlyprintk=ttySn[,baudrate]
Jason Wessel9780bc42009-08-20 15:39:57 -05001174 earlyprintk=dbgp[debugController#]
Feng Tangd2266bb2018-10-03 00:49:21 +08001175 earlyprintk=pciserial[,force],bus:device.function[,baudrate]
Lu Baolu1b5aeeb2017-03-21 16:01:31 +08001176 earlyprintk=xdbc[xhciController#]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001177
Dave Hansen147ea092013-04-10 14:03:38 -07001178 earlyprintk is useful when the kernel crashes before
1179 the normal console is initialized. It is not enabled by
1180 default because it has some cosmetic problems.
1181
Randy Dunlapa9913042005-10-23 12:57:11 -07001182 Append ",keep" to not disable it when the real console
Linus Torvalds1da177e2005-04-16 15:20:36 -07001183 takes over.
1184
Matt Fleming72548e82013-10-04 09:36:56 +01001185 Only one of vga, efi, serial, or usb debug port can
1186 be used at a time.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001187
Dave Hansen147ea092013-04-10 14:03:38 -07001188 Currently only ttyS0 and ttyS1 may be specified by
1189 name. Other I/O ports may be explicitly specified
1190 on some architectures (x86 and arm at least) by
1191 replacing ttySn with an I/O port address, like this:
1192 earlyprintk=serial,0x1008,115200
1193 You can find the port for a given device in
1194 /proc/tty/driver/serial:
1195 2: uart:ST16650V2 port:00001008 irq:18 ...
Linus Torvalds1da177e2005-04-16 15:20:36 -07001196
1197 Interaction with the standard serial driver is not
1198 very good.
1199
Matt Fleming72548e82013-10-04 09:36:56 +01001200 The VGA and EFI output is eventually overwritten by
1201 the real console.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001202
Konrad Rzeszutek Wilk2482a922013-02-25 15:54:08 -05001203 The xen output can only be used by Xen PV guests.
1204
Heiko Carstens89175cf2017-01-11 09:14:52 +01001205 The sclp output can only be used on s390.
1206
Feng Tangd2266bb2018-10-03 00:49:21 +08001207 The optional "force" to "pciserial" enables use of a
1208 PCI device even when its classcode is not of the
1209 UART class.
1210
Chen, Gongc700f012013-12-06 01:17:08 -05001211 edac_report= [HW,EDAC] Control how to report EDAC event
1212 Format: {"on" | "off" | "force"}
1213 on: enable EDAC to report H/W event. May be overridden
1214 by other higher priority error reporting module.
1215 off: disable H/W event reporting through EDAC.
1216 force: enforce the use of EDAC to report H/W event.
1217 default: on.
1218
Jason Wessel97311912010-05-20 21:04:30 -05001219 ekgdboc= [X86,KGDB] Allow early kernel console debugging
1220 ekgdboc=kbd
1221
Lucas De Marchi25985ed2011-03-30 22:57:33 -03001222 This is designed to be used in conjunction with
Jason Wessel97311912010-05-20 21:04:30 -05001223 the boot argument: earlyprintk=vga
1224
Douglas Andersonf71fc3b2020-05-07 13:08:47 -07001225 This parameter works in place of the kgdboc parameter
1226 but can only be used if the backing tty is available
1227 very early in the boot process. For early debugging
1228 via a serial port see kgdboc_earlycon instead.
1229
Linus Torvalds1da177e2005-04-16 15:20:36 -07001230 edd= [EDD]
Tim Gardner8c4dd602008-04-29 01:02:45 -07001231 Format: {"off" | "on" | "skip[mbr]"}
Linus Torvalds1da177e2005-04-16 15:20:36 -07001232
Borislav Petkovd2f7cbe2013-10-31 17:25:08 +01001233 efi= [EFI]
Heinrich Schuchardtc03f7392020-06-16 12:40:12 +02001234 Format: { "debug", "disable_early_pci_dma",
1235 "nochunk", "noruntime", "nosoftreserve",
1236 "novamap", "no_disable_early_pci_dma",
1237 "old_map" }
1238 debug: enable misc debug output.
1239 disable_early_pci_dma: disable the busmaster bit on all
1240 PCI bridges while in the EFI boot stub.
Matt Fleming5a17dae2014-08-05 11:52:11 +01001241 nochunk: disable reading files in "chunks" in the EFI
1242 boot stub, as chunking can cause problems with some
1243 firmware implementations.
Dave Young5ae36832014-08-14 17:15:28 +08001244 noruntime : disable EFI runtime services support
Dan Williamsb617c522019-11-06 17:43:11 -08001245 nosoftreserve: The EFI_MEMORY_SP (Specific Purpose)
1246 attribute may cause the kernel to reserve the
1247 memory range for a memory mapping driver to
1248 claim. Specify efi=nosoftreserve to disable this
1249 reservation and treat the memory by its base type
1250 (i.e. EFI_CONVENTIONAL_MEMORY / "System RAM").
Heinrich Schuchardtc03f7392020-06-16 12:40:12 +02001251 novamap: do not call SetVirtualAddressMap().
Matthew Garrett4444f852020-01-03 12:39:50 +01001252 no_disable_early_pci_dma: Leave the busmaster bit set
1253 on all PCI bridges while in the EFI boot stub
Heinrich Schuchardtc03f7392020-06-16 12:40:12 +02001254 old_map [X86-64]: switch to the old ioremap-based EFI
1255 runtime services mapping. [Needs CONFIG_X86_UV=y]
Borislav Petkovd2f7cbe2013-10-31 17:25:08 +01001256
Richard Weinberger8c58bf32013-04-17 01:00:53 +02001257 efi_no_storage_paranoia [EFI; X86]
1258 Using this parameter you can use more than 50% of
1259 your efi variable storage. Use this parameter only if
1260 you are really sure that your UEFI does sane gc and
1261 fulfills the spec otherwise your board may brick.
1262
Taku Izumi0f96a992015-09-30 23:01:56 +09001263 efi_fake_mem= nn[KMG]@ss[KMG]:aa[,nn[KMG]@ss[KMG]:aa,..] [EFI; X86]
1264 Add arbitrary attribute to specific memory range by
1265 updating original EFI memory map.
1266 Region of memory which aa attribute is added to is
1267 from ss to ss+nn.
Dan Williams199c8472019-11-06 17:43:26 -08001268
Taku Izumi0f96a992015-09-30 23:01:56 +09001269 If efi_fake_mem=2G@4G:0x10000,2G@0x10a0000000:0x10000
1270 is specified, EFI_MEMORY_MORE_RELIABLE(0x10000)
1271 attribute is added to range 0x100000000-0x180000000 and
1272 0x10a0000000-0x1120000000.
1273
Dan Williams199c8472019-11-06 17:43:26 -08001274 If efi_fake_mem=8G@9G:0x40000 is specified, the
1275 EFI_MEMORY_SP(0x40000) attribute is added to
1276 range 0x240000000-0x43fffffff.
1277
Taku Izumi0f96a992015-09-30 23:01:56 +09001278 Using this parameter you can do debugging of EFI memmap
Dan Williams199c8472019-11-06 17:43:26 -08001279 related features. For example, you can do debugging of
Taku Izumi0f96a992015-09-30 23:01:56 +09001280 Address Range Mirroring feature even if your box
Dan Williams199c8472019-11-06 17:43:26 -08001281 doesn't support it, or mark specific memory as
1282 "soft reserved".
Taku Izumi0f96a992015-09-30 23:01:56 +09001283
Octavian Purdila475fb4e2016-07-08 19:13:12 +03001284 efivar_ssdt= [EFI; X86] Name of an EFI variable that contains an SSDT
1285 that is to be dynamically loaded by Linux. If there are
1286 multiple variables with the same name but with different
1287 vendor GUIDs, all of them will be loaded. See
Mauro Carvalho Chehabcb1aaeb2019-06-07 15:54:32 -03001288 Documentation/admin-guide/acpi/ssdt-overlays.rst for details.
Octavian Purdila475fb4e2016-07-08 19:13:12 +03001289
1290
Linus Torvalds1da177e2005-04-16 15:20:36 -07001291 eisa_irq_edge= [PARISC,HW]
1292 See header of drivers/parisc/eisa.c.
1293
Alan Coxcd4f0ef2007-07-31 00:37:59 -07001294 elanfreq= [X86-32]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001295 See comment before function elanfreq_setup() in
Pavel Machek71f77052008-07-04 09:59:43 -07001296 arch/x86/kernel/cpu/cpufreq/elanfreq.c.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001297
Michael Holzheud3bf37952011-10-30 15:16:37 +01001298 elfcorehdr=[size[KMG]@]offset[KMG] [IA64,PPC,SH,X86,S390]
Randy Dunlapa9913042005-10-23 12:57:11 -07001299 Specifies physical address of start of kernel core
Michael Holzheud3bf37952011-10-30 15:16:37 +01001300 image elf header and optionally the size. Generally
1301 kexec loader will pass this option to capture kernel.
Mauro Carvalho Chehab330d4812019-06-13 15:21:39 -03001302 See Documentation/admin-guide/kdump/kdump.rst for details.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001303
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07001304 enable_mtrr_cleanup [X86]
1305 The kernel tries to adjust MTRR layout from continuous
1306 to discrete, to make X server driver able to add WB
1307 entry later. This parameter enables that.
1308
Randy Dunlapca1eda22009-05-06 16:02:58 -07001309 enable_timer_pin_1 [X86]
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07001310 Enable PIN 1 of APIC timer
1311 Can be useful to work around chipset bugs
1312 (in particular on some ATI chipsets).
1313 The kernel tries to set a reasonable default.
1314
Linus Torvalds1da177e2005-04-16 15:20:36 -07001315 enforcing [SELINUX] Set initial enforcing status.
1316 Format: {"0" | "1"}
1317 See security/selinux/Kconfig help text.
1318 0 -- permissive (log only, no denials).
1319 1 -- enforcing (deny and log).
1320 Default value is 0.
Stephen Smalleyd41415e2020-01-07 11:35:04 -05001321 Value can be changed at runtime via
1322 /sys/fs/selinux/enforce.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001323
Huang Yinga08f82d2010-05-18 14:35:21 +08001324 erst_disable [ACPI]
1325 Disable Error Record Serialization Table (ERST)
1326 support.
1327
Linus Torvalds1da177e2005-04-16 15:20:36 -07001328 ether= [HW,NET] Ethernet cards parameters
1329 This option is obsoleted by the "netdev=" option, which
1330 has equivalent usage. See its documentation for details.
1331
Mimi Zohar7102ebc2011-05-12 18:33:20 -04001332 evm= [EVM]
1333 Format: { "fix" }
1334 Permit 'security.evm' to be updated regardless of
1335 current integrity status.
1336
Akinobu Mitade1ba092006-12-08 02:39:42 -08001337 failslab=
1338 fail_page_alloc=
1339 fail_make_request=[KNL]
1340 General fault injection mechanism.
1341 Format: <interval>,<probability>,<space>,<times>
Paul Bolle395cf962011-08-15 02:02:26 +02001342 See also Documentation/fault-injection/.
Akinobu Mitade1ba092006-12-08 02:39:42 -08001343
Linus Torvalds1da177e2005-04-16 15:20:36 -07001344 floppy= [HW]
Mauro Carvalho Chehabe7751612019-06-18 11:47:10 -03001345 See Documentation/admin-guide/blockdev/floppy.rst.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001346
Alex Chiangf13ae302008-05-08 14:03:23 -06001347 force_pal_cache_flush
1348 [IA-64] Avoid check_sal_cache_flush which may hang on
1349 buggy SAL_CACHE_FLUSH implementations. Using this
1350 parameter will force ia64_sal_cache_flush to call
1351 ia64_pal_cache_flush instead of SAL_CACHE_FLUSH.
1352
Thymo van Beers6dddd7a2018-04-18 20:51:39 +02001353 forcepae [X86-32]
Chris Bainbridge69f23662014-03-07 18:40:42 +07001354 Forcefully enable Physical Address Extension (PAE).
1355 Many Pentium M systems disable PAE but may have a
1356 functionally usable PAE implementation.
1357 Warning: use of this parameter will taint the kernel
1358 and may cause unknown problems.
1359
Peter Zijlstrad9e54072008-11-01 19:57:37 +01001360 ftrace=[tracer]
Steven Rostedt2af15d62009-05-28 13:37:24 -04001361 [FTRACE] will set and start the specified tracer
Peter Zijlstrad9e54072008-11-01 19:57:37 +01001362 as early as possible in order to facilitate early
1363 boot debugging.
1364
Frederic Weisbeckercecbca92010-04-18 19:08:41 +02001365 ftrace_dump_on_oops[=orig_cpu]
Steven Rostedt2af15d62009-05-28 13:37:24 -04001366 [FTRACE] will dump the trace buffers on oops.
Frederic Weisbeckercecbca92010-04-18 19:08:41 +02001367 If no parameter is passed, ftrace will dump
1368 buffers of all CPUs, but if you pass orig_cpu, it will
1369 dump only the buffer of the CPU that triggered the
1370 oops.
Steven Rostedt2af15d62009-05-28 13:37:24 -04001371
1372 ftrace_filter=[function-list]
1373 [FTRACE] Limit the functions traced by the function
1374 tracer at boot up. function-list is a comma separated
1375 list of functions. This list can be changed at run
1376 time by the set_ftrace_filter file in the debugfs
Randy Dunlap16290242011-08-13 12:34:52 -07001377 tracing directory.
Steven Rostedt2af15d62009-05-28 13:37:24 -04001378
1379 ftrace_notrace=[function-list]
1380 [FTRACE] Do not trace the functions specified in
1381 function-list. This list can be changed at run time
1382 by the set_ftrace_notrace file in the debugfs
1383 tracing directory.
Peter Zijlstrad9e54072008-11-01 19:57:37 +01001384
Stefan Assmann369bc182009-10-12 22:17:21 +02001385 ftrace_graph_filter=[function-list]
1386 [FTRACE] Limit the top level callers functions traced
1387 by the function graph tracer at boot up.
1388 function-list is a comma separated list of functions
1389 that can be changed at run time by the
1390 set_graph_function file in the debugfs tracing directory.
1391
Namhyung Kim0d7d9a12014-06-13 01:23:50 +09001392 ftrace_graph_notrace=[function-list]
1393 [FTRACE] Do not trace from the functions specified in
1394 function-list. This list is a comma separated list of
1395 functions that can be changed at run time by the
1396 set_graph_notrace file in the debugfs tracing directory.
1397
Todd Brandt65a50c62017-03-02 16:12:15 -08001398 ftrace_graph_max_depth=<uint>
1399 [FTRACE] Used with the function graph tracer. This is
1400 the max depth it will trace into a function. This value
1401 can be changed at run time by the max_graph_depth file
1402 in the tracefs tracing directory. default: 0 (no limit)
1403
Saravana Kannan8375e742020-02-21 17:40:35 -08001404 fw_devlink= [KNL] Create device links between consumer and supplier
1405 devices by scanning the firmware to infer the
1406 consumer/supplier relationships. This feature is
1407 especially useful when drivers are loaded as modules as
1408 it ensures proper ordering of tasks like device probing
1409 (suppliers first, then consumers), supplier boot state
1410 clean up (only after all consumers have probed),
1411 suspend/resume & runtime PM (consumers first, then
1412 suppliers).
1413 Format: { off | permissive | on | rpm }
1414 off -- Don't create device links from firmware info.
1415 permissive -- Create device links from firmware info
1416 but use it only for ordering boot state clean
1417 up (sync_state() calls).
1418 on -- Create device links from firmware info and use it
1419 to enforce probe and suspend/resume ordering.
1420 rpm -- Like "on", but also use to order runtime PM.
1421
Linus Torvalds1da177e2005-04-16 15:20:36 -07001422 gamecon.map[2|3]=
1423 [HW,JOY] Multisystem joystick and NES/SNES/PSX pad
1424 support via parallel port (up to 5 devices per port)
1425 Format: <port#>,<pad1>,<pad2>,<pad3>,<pad4>,<pad5>
Tom Saeger17521182017-10-10 12:36:23 -05001426 See also Documentation/input/devices/joystick-parport.rst
Linus Torvalds1da177e2005-04-16 15:20:36 -07001427
1428 gamma= [HW,DRM]
1429
Randy Dunlapbe3a5b0e2020-08-09 19:49:41 -07001430 gart_fix_e820= [X86-64] disable the fix e820 for K8 GART
Yinghai Luaaf23042008-01-30 13:33:09 +01001431 Format: off | on
1432 default: on
1433
Peter Oberparleiter2521f2c2009-06-17 16:28:08 -07001434 gcov_persist= [GCOV] When non-zero (default), profiling data for
1435 kernel modules is saved and remains accessible via
1436 debugfs, even when the module is unloaded/reloaded.
1437 When zero, profiling data is discarded and associated
1438 debugfs files are removed at module unload time.
1439
Thomas Gleixner47512cf2017-02-15 11:11:50 +01001440 goldfish [X86] Enable the goldfish android emulator platform.
1441 Don't use this when you are not running on the
1442 android emulator
1443
Linus Torvalds1da177e2005-04-16 15:20:36 -07001444 gpt [EFI] Forces disk with valid GPT signature but
Davidlohr Bueso6c5de792014-01-23 15:56:03 -08001445 invalid Protective MBR to be treated as GPT. If the
1446 primary GPT is corrupted, it enables the backup/alternate
1447 GPT to be used instead.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001448
Andreas Larsson6cec9b02012-11-15 08:47:14 +01001449 grcan.enable0= [HW] Configuration of physical interface 0. Determines
1450 the "Enable 0" bit of the configuration register.
1451 Format: 0 | 1
1452 Default: 0
1453 grcan.enable1= [HW] Configuration of physical interface 1. Determines
1454 the "Enable 0" bit of the configuration register.
1455 Format: 0 | 1
1456 Default: 0
1457 grcan.select= [HW] Select which physical interface to use.
1458 Format: 0 | 1
1459 Default: 0
1460 grcan.txsize= [HW] Sets the size of the tx buffer.
1461 Format: <unsigned int> such that (txsize & ~0x1fffc0) == 0.
1462 Default: 1024
1463 grcan.rxsize= [HW] Sets the size of the rx buffer.
1464 Format: <unsigned int> such that (rxsize & ~0x1fffc0) == 0.
1465 Default: 1024
1466
Bamvor Jian Zhang0f98dd12016-08-31 11:45:46 +02001467 gpio-mockup.gpio_mockup_ranges
1468 [HW] Sets the ranges of gpiochip of for this device.
1469 Format: <start1>,<end1>,<start2>,<end2>...
1470
Jiri Kosina55537872015-11-05 18:44:41 -08001471 hardlockup_all_cpu_backtrace=
1472 [KNL] Should the hard-lockup detector generate
1473 backtraces on all cpus.
Guilherme G. Piccolif1179552020-06-07 21:40:42 -07001474 Format: 0 | 1
Jiri Kosina55537872015-11-05 18:44:41 -08001475
Linus Torvalds1da177e2005-04-16 15:20:36 -07001476 hashdist= [KNL,NUMA] Large hashes allocated during boot
1477 are distributed across NUMA nodes. Defaults on
Randy Dunlap16290242011-08-13 12:34:52 -07001478 for 64-bit NUMA, off otherwise.
Randy Dunlapa9913042005-10-23 12:57:11 -07001479 Format: 0 | 1 (for off | on)
Linus Torvalds1da177e2005-04-16 15:20:36 -07001480
1481 hcl= [IA-64] SGI's Hardware Graph compatibility layer
1482
1483 hd= [EIDE] (E)IDE hard drive subsystem geometry
1484 Format: <cyl>,<head>,<sect>
1485
Huang Yingea8c0712010-05-18 14:35:15 +08001486 hest_disable [ACPI]
1487 Disable Hardware Error Source Table (HEST) support;
1488 corresponding firmware-first mode error processing
1489 logic will be disabled.
1490
Linus Torvalds1da177e2005-04-16 15:20:36 -07001491 highmem=nn[KMG] [KNL,BOOT] forces the highmem zone to have an exact
1492 size of <nn>. This works even on boxes that have no
1493 highmem otherwise. This also works to reduce highmem
1494 size on bigger boxes.
1495
Thomas Gleixner54cdfdb2007-02-16 01:28:11 -08001496 highres= [KNL] Enable/disable high resolution timer mode.
1497 Valid parameters: "on", "off"
1498 Default: "on"
1499
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07001500 hlt [BUGS=ARM,SH]
1501
1502 hpet= [X86-32,HPET] option to control HPET usage
1503 Format: { enable (default) | disable | force |
1504 verbose }
1505 disable: disable HPET and use PIT instead
1506 force: allow force enabled of undocumented chips (ICH4,
1507 VIA, nVidia)
1508 verbose: show contents of HPET registers during setup
1509
Prarit Bhargava3d035f52013-11-12 15:08:33 -08001510 hpet_mmap= [X86, HPET_MMAP] Allow userspace to mmap HPET
1511 registers. Default set by CONFIG_HPET_MMAP_DEFAULT.
1512
Roman Gushchincf11e852020-04-10 14:32:45 -07001513 hugetlb_cma= [HW] The size of a cma area used for allocation
1514 of gigantic hugepages.
1515 Format: nn[KMGTPE]
1516
1517 Reserve a cma area of given size and allocate gigantic
1518 hugepages using the cma allocator. If enabled, the
1519 boot-time allocation of gigantic hugepages is skipped.
1520
Mike Kravetz282f4212020-06-03 16:00:46 -07001521 hugepages= [HW] Number of HugeTLB pages to allocate at boot.
1522 If this follows hugepagesz (below), it specifies
1523 the number of pages of hugepagesz to be allocated.
1524 If this is the first HugeTLB parameter on the command
1525 line, it specifies the number of pages to allocate for
1526 the default huge page size. See also
1527 Documentation/admin-guide/mm/hugetlbpage.rst.
1528 Format: <integer>
1529
1530 hugepagesz=
1531 [HW] The size of the HugeTLB pages. This is used in
1532 conjunction with hugepages (above) to allocate huge
1533 pages of a specific size at boot. The pair
1534 hugepagesz=X hugepages=Y can be specified once for
1535 each supported huge page size. Huge page sizes are
1536 architecture dependent. See also
1537 Documentation/admin-guide/mm/hugetlbpage.rst.
1538 Format: size[KMG]
Paul Mundt6902aa82008-09-21 17:14:42 +09001539
Omar Sandovala49d9c02018-05-21 11:18:17 -07001540 hung_task_panic=
1541 [KNL] Should the hung task detector generate panics.
Guilherme G. Piccolif1179552020-06-07 21:40:42 -07001542 Format: 0 | 1
Hendrik Bruecknercef71252008-12-25 13:39:55 +01001543
Vlastimil Babkab467f3e2020-06-07 21:40:31 -07001544 A value of 1 instructs the kernel to panic when a
Omar Sandovala49d9c02018-05-21 11:18:17 -07001545 hung task is detected. The default value is controlled
1546 by the CONFIG_BOOTPARAM_HUNG_TASK_PANIC build-time
1547 option. The value selected by this boot parameter can
1548 be changed later by the kernel.hung_task_panic sysctl.
1549
Thymo van Beers6dddd7a2018-04-18 20:51:39 +02001550 hvc_iucv= [S390] Number of z/VM IUCV hypervisor console (HVC)
1551 terminal devices. Valid values: 0..8
1552 hvc_iucv_allow= [S390] Comma-separated list of z/VM user IDs.
1553 If specified, z/VM IUCV HVC accepts connections
1554 from listed z/VM user IDs only.
Yi Sun3a025de2018-10-08 16:29:34 +08001555
1556 hv_nopvspin [X86,HYPER_V] Disables the paravirt spinlock optimizations
1557 which allow the hypervisor to 'idle' the
1558 guest on lock contention.
1559
Fabio M. Di Nitto7bf69392011-03-22 16:34:20 -07001560 keep_bootcon [KNL]
1561 Do not unregister boot console at start. This is only
1562 useful for debugging when something happens in the window
1563 between unregistering the boot console and initializing
1564 the real console.
1565
Thymo van Beers6dddd7a2018-04-18 20:51:39 +02001566 i2c_bus= [HW] Override the default board specific I2C bus speed
1567 or register an additional I2C bus that is not
1568 registered from board initialization code.
1569 Format:
1570 <bus_id>,<clkrate>
Jarkko Nikula3a853fb2009-03-23 18:07:47 -07001571
Jiri Kosina36d95732008-10-06 02:51:09 -04001572 i8042.debug [HW] Toggle i8042 debug mode
Stephen Chandler Paule1443d22015-07-15 10:20:17 -07001573 i8042.unmask_kbd_data
1574 [HW] Enable printing of interrupt data from the KBD port
1575 (disabled by default, and as a pre-condition
1576 requires that i8042.debug=1 be enabled)
Linus Torvalds1da177e2005-04-16 15:20:36 -07001577 i8042.direct [HW] Put keyboard port into non-translated mode
Matt LaPlante84eb8d02006-10-03 22:53:09 +02001578 i8042.dumbkbd [HW] Pretend that controller can only read data from
1579 keyboard and cannot control its state
Linus Torvalds1da177e2005-04-16 15:20:36 -07001580 (Don't attempt to blink the leds)
1581 i8042.noaux [HW] Don't check for auxiliary (== mouse) port
Dmitry Torokhov945ef0d2005-09-04 01:42:00 -05001582 i8042.nokbd [HW] Don't check/create keyboard port
Jiri Kosina75d08c72008-03-13 16:13:59 -04001583 i8042.noloop [HW] Disable the AUX Loopback command while probing
1584 for the AUX port
Linus Torvalds1da177e2005-04-16 15:20:36 -07001585 i8042.nomux [HW] Don't check presence of an active multiplexing
Dmitry Torokhove55a3362014-10-31 09:35:53 -07001586 controller
Linus Torvalds1da177e2005-04-16 15:20:36 -07001587 i8042.nopnp [HW] Don't use ACPIPnP / PnPBIOS to discover KBD/AUX
1588 controllers
Masanari Iida24775d62012-02-15 00:26:42 +09001589 i8042.notimeout [HW] Ignore timeout condition signalled by controller
Marcos Paulo de Souza930e19242016-10-01 12:07:35 -07001590 i8042.reset [HW] Reset the controller during init, cleanup and
1591 suspend-to-ram transitions, only during s2r
1592 transitions, or never reset
1593 Format: { 1 | Y | y | 0 | N | n }
1594 1, Y, y: always reset controller
1595 0, N, n: don't ever reset controller
1596 Default: only on s2r transitions on x86; most other
1597 architectures force reset to be always executed
Linus Torvalds1da177e2005-04-16 15:20:36 -07001598 i8042.unlock [HW] Unlock (ignore) the keylock
Thymo van Beers6dddd7a2018-04-18 20:51:39 +02001599 i8042.kbdreset [HW] Reset device connected to KBD port
Linus Torvalds1da177e2005-04-16 15:20:36 -07001600
1601 i810= [HW,DRM]
1602
Dmitry Torokhove70c9d52005-06-25 14:54:25 -07001603 i8k.ignore_dmi [HW] Continue probing hardware even if DMI data
1604 indicates that the driver is running on unsupported
1605 hardware.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001606 i8k.force [HW] Activate i8k driver even if SMM BIOS signature
1607 does not match list of supported models.
1608 i8k.power_status
1609 [HW] Report power status in /proc/i8k
1610 (disabled by default)
1611 i8k.restricted [HW] Allow controlling fans only if SYS_ADMIN
1612 capability is set.
1613
Carsten Emde4dca20e2012-03-15 15:56:26 +01001614 i915.invert_brightness=
Carsten Emde7bd90902012-03-15 15:56:25 +01001615 [DRM] Invert the sense of the variable that is used to
1616 set the brightness of the panel backlight. Normally a
Carsten Emde4dca20e2012-03-15 15:56:26 +01001617 brightness value of 0 indicates backlight switched off,
1618 and the maximum of the brightness value sets the backlight
1619 to maximum brightness. If this parameter is set to 0
1620 (default) and the machine requires it, or this parameter
1621 is set to 1, a brightness value of 0 sets the backlight
1622 to maximum brightness, and the maximum of the brightness
1623 value switches the backlight off.
1624 -1 -- never invert brightness
1625 0 -- machine default
1626 1 -- force brightness inversion
Carsten Emde7bd90902012-03-15 15:56:25 +01001627
Linus Torvalds1da177e2005-04-16 15:20:36 -07001628 icn= [HW,ISDN]
1629 Format: <io>[,<membase>[,<icn_id>[,<icn_id2>]]]
1630
David Fries0af80c02009-02-25 20:28:21 +01001631 ide-core.nodma= [HW] (E)IDE subsystem
1632 Format: =0.0 to prevent dma on hda, =0.1 hdb =1.0 hdc
Bartlomiej Zolnierkiewicz075affc2009-06-07 13:52:52 +02001633 .vlb_clock .pci_clock .noflush .nohpa .noprobe .nowerr
1634 .cdrom .chs .ignore_cable are additional options
Mauro Carvalho Chehabd7b461c52019-06-12 14:52:47 -03001635 See Documentation/ide/ide.rst.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001636
Maciej W. Rozycki0f8b7f52014-10-25 17:03:52 +01001637 ide-generic.probe-mask= [HW] (E)IDE subsystem
1638 Format: <int>
1639 Probe mask for legacy ISA IDE ports. Depending on
1640 platform up to 6 ports are supported, enabled by
1641 setting corresponding bits in the mask to 1. The
1642 default value is 0x0, which has a special meaning.
1643 On systems that have PCI, it triggers scanning the
1644 PCI bus for the first and the second port, which
1645 are then probed. On systems without PCI the value
1646 of 0x0 enables probing the two first ports as if it
1647 was 0x3.
1648
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07001649 ide-pci-generic.all-generic-ide [HW] (E)IDE subsystem
1650 Claim all unknown PCI IDE storage controllers.
1651
Andi Kleenf039b752007-05-02 19:27:12 +02001652 idle= [X86]
Len Brown69fb3672013-02-10 01:38:39 -05001653 Format: idle=poll, idle=halt, idle=nomwait
Randy Dunlapada9cfd2008-12-19 10:57:32 -08001654 Poll forces a polling idle loop that can slightly
1655 improve the performance of waking up a idle CPU, but
1656 will use a lot of power and make the system run hot.
1657 Not recommended.
Randy Dunlapada9cfd2008-12-19 10:57:32 -08001658 idle=halt: Halt is forced to be used for CPU idle.
Zhao Yakuic1e3b372008-06-24 17:58:53 +08001659 In such case C2/C3 won't be used again.
Randy Dunlapada9cfd2008-12-19 10:57:32 -08001660 idle=nomwait: Disable mwait for CPU C-states
Randy Dunlapa9913042005-10-23 12:57:11 -07001661
Maciej W. Rozycki503943e2015-11-13 00:48:29 +00001662 ieee754= [MIPS] Select IEEE Std 754 conformance mode
1663 Format: { strict | legacy | 2008 | relaxed }
1664 Default: strict
1665
1666 Choose which programs will be accepted for execution
1667 based on the IEEE 754 NaN encoding(s) supported by
1668 the FPU and the NaN encoding requested with the value
1669 of an ELF file header flag individually set by each
1670 binary. Hardware implementations are permitted to
1671 support either or both of the legacy and the 2008 NaN
1672 encoding mode.
1673
1674 Available settings are as follows:
1675 strict accept binaries that request a NaN encoding
1676 supported by the FPU
1677 legacy only accept legacy-NaN binaries, if supported
1678 by the FPU
1679 2008 only accept 2008-NaN binaries, if supported
1680 by the FPU
1681 relaxed accept any binaries regardless of whether
1682 supported by the FPU
1683
1684 The FPU emulator is always able to support both NaN
1685 encodings, so if no FPU hardware is present or it has
1686 been disabled with 'nofpu', then the settings of
1687 'legacy' and '2008' strap the emulator accordingly,
1688 'relaxed' straps the emulator for both legacy-NaN and
1689 2008-NaN, whereas 'strict' enables legacy-NaN only on
1690 legacy processors and both NaN encodings on MIPS32 or
1691 MIPS64 CPUs.
1692
1693 The setting for ABS.fmt/NEG.fmt instruction execution
1694 mode generally follows that for the NaN encoding,
1695 except where unsupported by hardware.
1696
Ingo Molnar792908222006-12-06 20:40:51 -08001697 ignore_loglevel [KNL]
1698 Ignore loglevel setting - this will print /all/
1699 kernel messages to the console. Useful for debugging.
Yanmin Zhang0eca6b72011-10-31 17:11:25 -07001700 We also add it as printk module parameter, so users
1701 could change it dynamically, usually by
1702 /sys/module/printk/parameters/ignore_loglevel.
Ingo Molnar792908222006-12-06 20:40:51 -08001703
Konstantin Khlebnikovd977d562016-02-02 16:57:43 -08001704 ignore_rlimit_data
1705 Ignore RLIMIT_DATA setting for data mappings,
1706 print warning at first misuse. Can be changed via
1707 /sys/module/kernel/parameters/ignore_rlimit_data.
1708
Linus Torvalds1da177e2005-04-16 15:20:36 -07001709 ihash_entries= [KNL]
1710 Set number of hash buckets for inode cache.
1711
Mimi Zohar2fe5d6d2012-02-13 10:15:05 -05001712 ima_appraise= [IMA] appraise integrity measurements
Dmitry Kasatkin2faa6ef2014-05-08 13:11:29 +03001713 Format: { "off" | "enforce" | "fix" | "log" }
Mimi Zohar2fe5d6d2012-02-13 10:15:05 -05001714 default: "enforce"
1715
Petr Vorel41475a32019-04-04 20:23:22 +02001716 ima_appraise_tcb [IMA] Deprecated. Use ima_policy= instead.
Mimi Zohar07f6a792011-03-09 22:25:48 -05001717 The builtin appraise policy appraises all files
1718 owned by uid=0.
1719
Mimi Zohard68a6fe2016-12-19 16:22:57 -08001720 ima_canonical_fmt [IMA]
1721 Use the canonical format for the binary runtime
1722 measurements, instead of host native format.
1723
Mimi Zohar3323eec2009-02-04 09:06:58 -05001724 ima_hash= [IMA]
Mimi Zohare7a2ad72013-06-07 12:16:37 +02001725 Format: { md5 | sha1 | rmd160 | sha256 | sha384
1726 | sha512 | ... }
Mimi Zohar3323eec2009-02-04 09:06:58 -05001727 default: "sha1"
1728
Mimi Zohare7a2ad72013-06-07 12:16:37 +02001729 The list of supported hash algorithms is defined
1730 in crypto/hash_info.h.
1731
Mimi Zohar24fd03c2015-06-11 20:48:33 -04001732 ima_policy= [IMA]
Mimi Zohar33ce9542017-04-24 12:04:09 -04001733 The builtin policies to load during IMA setup.
Mimi Zohar9e670282018-02-21 11:36:32 -05001734 Format: "tcb | appraise_tcb | secure_boot |
1735 fail_securely"
Mimi Zohar33ce9542017-04-24 12:04:09 -04001736
1737 The "tcb" policy measures all programs exec'd, files
1738 mmap'd for exec, and all files opened with the read
1739 mode bit set by either the effective uid (euid=0) or
1740 uid=0.
1741
1742 The "appraise_tcb" policy appraises the integrity of
Petr Vorel41475a32019-04-04 20:23:22 +02001743 all files owned by root.
Mimi Zohar24fd03c2015-06-11 20:48:33 -04001744
Mimi Zohar503ceae2017-04-21 18:58:27 -04001745 The "secure_boot" policy appraises the integrity
1746 of files (eg. kexec kernel image, kernel modules,
1747 firmware, policy, etc) based on file signatures.
Mimi Zohar24fd03c2015-06-11 20:48:33 -04001748
Mimi Zohar9e670282018-02-21 11:36:32 -05001749 The "fail_securely" policy forces file signature
1750 verification failure also on privileged mounted
1751 filesystems with the SB_I_UNVERIFIABLE_SIGNATURE
1752 flag.
1753
Mimi Zohar24fd03c2015-06-11 20:48:33 -04001754 ima_tcb [IMA] Deprecated. Use ima_policy= instead.
Eric Paris5789ba32009-05-21 15:47:06 -04001755 Load a policy which meets the needs of the Trusted
1756 Computing Base. This means IMA will measure all
1757 programs exec'd, files mmap'd for exec, and all files
1758 opened for read by uid=0.
1759
Thymo van Beers6dddd7a2018-04-18 20:51:39 +02001760 ima_template= [IMA]
Roberto Sassu9b9d4ce2013-06-07 12:16:35 +02001761 Select one of defined IMA measurements template formats.
Roberto Sassu8265a2f2015-04-11 17:07:03 +02001762 Formats: { "ima" | "ima-ng" | "ima-sig" }
Roberto Sassu9b9d4ce2013-06-07 12:16:35 +02001763 Default: "ima-ng"
1764
Roberto Sassuc2426d22014-10-13 14:08:42 +02001765 ima_template_fmt=
Thymo van Beers6dddd7a2018-04-18 20:51:39 +02001766 [IMA] Define a custom template format.
Roberto Sassuc2426d22014-10-13 14:08:42 +02001767 Format: { "field1|...|fieldN" }
1768
Dmitry Kasatkin3bcced32014-02-26 17:05:20 +02001769 ima.ahash_minsize= [IMA] Minimum file size for asynchronous hash usage
1770 Format: <min_file_size>
1771 Set the minimal file size for using asynchronous hash.
1772 If left unspecified, ahash usage is disabled.
1773
1774 ahash performance varies for different data sizes on
1775 different crypto accelerators. This option can be used
1776 to achieve the best performance for a particular HW.
1777
Dmitry Kasatkin6edf7a82014-05-06 14:47:13 +03001778 ima.ahash_bufsize= [IMA] Asynchronous hash buffer size
1779 Format: <bufsize>
1780 Set hashing buffer size. Default: 4k.
1781
1782 ahash performance varies for different chunk sizes on
1783 different crypto accelerators. This option can be used
1784 to achieve best performance for particular HW.
1785
Linus Torvalds1da177e2005-04-16 15:20:36 -07001786 init= [KNL]
1787 Format: <full_path>
1788 Run specified binary instead of /sbin/init as init
1789 process.
1790
1791 initcall_debug [KNL] Trace initcalls as they are executed. Useful
1792 for working out where the kernel is dying during
1793 startup.
1794
Prarit Bhargava7b0b73d2014-06-04 16:12:17 -07001795 initcall_blacklist= [KNL] Do not execute a comma-separated list of
1796 initcall functions. Useful for debugging built-in
1797 modules and initcalls.
1798
Linus Torvalds1da177e2005-04-16 15:20:36 -07001799 initrd= [BOOT] Specify the location of the initial ramdisk
1800
Ronald G. Minnich694cfd82020-04-25 18:10:21 -07001801 initrdmem= [KNL] Specify a physical address and size from which to
1802 load the initrd. If an initrd is compiled in or
1803 specified in the bootparams, it takes priority over this
1804 setting.
1805 Format: ss[KMG],nn[KMG]
1806 Default is 0, 0
1807
Alexander Potapenko64713842019-07-11 20:59:19 -07001808 init_on_alloc= [MM] Fill newly allocated pages and heap objects with
1809 zeroes.
1810 Format: 0 | 1
1811 Default set by CONFIG_INIT_ON_ALLOC_DEFAULT_ON.
1812
1813 init_on_free= [MM] Fill freed pages and heap objects with zeroes.
1814 Format: 0 | 1
1815 Default set by CONFIG_INIT_ON_FREE_DEFAULT_ON.
1816
Randy Dunlapbe3a5b0e2020-08-09 19:49:41 -07001817 init_pkru= [X86] Specify the default memory protection keys rights
Dave Hansenacd547b2016-07-29 09:30:21 -07001818 register contents for all processes. 0x55555554 by
1819 default (disallow access to all but pkey 0). Can
1820 override in debugfs after boot.
1821
Linus Torvalds1da177e2005-04-16 15:20:36 -07001822 inport.irq= [HW] Inport (ATI XL and Microsoft) busmouse driver
1823 Format: <irq>
1824
Randy Dunlapbe3a5b0e2020-08-09 19:49:41 -07001825 int_pln_enable [X86] Enable power limit notification interrupt
Fenghua Yu6bb2ff82013-05-21 15:35:17 -04001826
Mimi Zohard726d8d2013-03-18 14:48:02 -04001827 integrity_audit=[IMA]
1828 Format: { "0" | "1" }
1829 0 -- basic integrity auditing messages. (Default)
1830 1 -- additional integrity auditing messages.
1831
Keshavamurthy, Anil Sba3959272007-10-21 16:41:49 -07001832 intel_iommu= [DMAR] Intel IOMMU driver (DMAR) option
Kyle McMartin0cd5c3c2009-02-04 14:29:19 -08001833 on
1834 Enable intel iommu driver.
Keshavamurthy, Anil Sba3959272007-10-21 16:41:49 -07001835 off
1836 Disable intel iommu driver.
1837 igfx_off [Default Off]
1838 By default, gfx is mapped as normal device. If a gfx
1839 device has a dedicated DMAR unit, the DMAR unit is
1840 bypassed by not enabling DMAR with this option. In
1841 this case, gfx device will use physical address for
1842 DMA.
Randy Dunlapbe3a5b0e2020-08-09 19:49:41 -07001843 forcedac [X86-64]
Keshavamurthy, Anil S7d3b03c2007-10-21 16:41:53 -07001844 With this option iommu will not optimize to look
Randy Dunlap16290242011-08-13 12:34:52 -07001845 for io virtual address below 32-bit forcing dual
Keshavamurthy, Anil S7d3b03c2007-10-21 16:41:53 -07001846 address cycle on pci bus for cards supporting greater
Randy Dunlap16290242011-08-13 12:34:52 -07001847 than 32-bit addressing. The default is to look
1848 for translation below 32-bit and if not available
Keshavamurthy, Anil S7d3b03c2007-10-21 16:41:53 -07001849 then look in the higher range.
mark gross5e0d2a62008-03-04 15:22:08 -08001850 strict [Default Off]
1851 With this option on every unmap_single operation will
1852 result in a hardware IOTLB flush operation as opposed
1853 to batching them for performance.
Youquan Song6dd9a7c2011-05-25 19:13:49 +01001854 sp_off [Default Off]
1855 By default, super page will be supported if Intel IOMMU
1856 has the capability. With this option, super page will
1857 not be supported.
Lu Baolu8950dcd2019-01-24 10:31:32 +08001858 sm_on [Default Off]
1859 By default, scalable mode will be disabled even if the
Lu Baolu765b6a92018-12-10 09:58:55 +08001860 hardware advertises that it has support for the scalable
1861 mode translation. With this option set, scalable mode
Lu Baolu8950dcd2019-01-24 10:31:32 +08001862 will be used on hardware which claims to support it.
Shaohua Libfd20f12017-04-26 09:18:35 -07001863 tboot_noforce [Default Off]
1864 Do not force the Intel IOMMU enabled under tboot.
1865 By default, tboot will force Intel IOMMU on, which
1866 could harm performance of some high-throughput
1867 devices like 40GBit network cards, even if identity
1868 mapping is enabled.
1869 Note that using this option lowers the security
1870 provided by tboot because it makes the system
1871 vulnerable to DMA attacks.
Lu Baolue5e04d02019-09-06 14:14:49 +08001872 nobounce [Default off]
Alex Hungbf347b92020-02-19 12:21:33 -07001873 Disable bounce buffer for untrusted devices such as
Lu Baolue5e04d02019-09-06 14:14:49 +08001874 the Thunderbolt devices. This will treat the untrusted
1875 devices as the trusted ones, hence might expose security
1876 risks of DMA attacks.
Masanari Iida2e92c7a2011-12-15 01:18:52 +09001877
1878 intel_idle.max_cstate= [KNL,HW,ACPI,X86]
1879 0 disables intel_idle and fall back on acpi_idle.
baolex.ni22c6bbe2016-07-11 09:57:37 +08001880 1 to 9 specify maximum depth of C-state.
Masanari Iida2e92c7a2011-12-15 01:18:52 +09001881
Thymo van Beers6dddd7a2018-04-18 20:51:39 +02001882 intel_pstate= [X86]
1883 disable
1884 Do not enable intel_pstate as the default
1885 scaling driver for the supported processors
1886 passive
1887 Use intel_pstate as a scaling driver, but configure it
1888 to work with generic cpufreq governors (instead of
1889 enabling its internal governor). This mode cannot be
1890 used along with the hardware-managed P-states (HWP)
1891 feature.
1892 force
1893 Enable intel_pstate on systems that prohibit it by default
1894 in favor of acpi-cpufreq. Forcing the intel_pstate driver
1895 instead of acpi-cpufreq may disable platform features, such
1896 as thermal controls and power capping, that rely on ACPI
1897 P-States information being indicated to OSPM and therefore
1898 should be used with caution. This option does not work with
1899 processors that aren't supported by the intel_pstate driver
1900 or on platforms that use pcc-cpufreq instead of acpi-cpufreq.
1901 no_hwp
1902 Do not enable hardware P state control (HWP)
1903 if available.
1904 hwp_only
1905 Only load intel_pstate on systems which support
1906 hardware P state control (HWP) if available.
1907 support_acpi_ppc
1908 Enforce ACPI _PPC performance limits. If the Fixed ACPI
1909 Description Table, specifies preferred power management
1910 profile as "Enterprise Server" or "Performance Server",
1911 then this feature is turned on by default.
1912 per_cpu_perf_limits
1913 Allow per-logical-CPU P-State performance control limits using
1914 cpufreq sysfs interface
Dirk Brandewie6be26492013-02-15 22:55:10 +01001915
Chris Wrightd1423d52010-07-20 11:06:49 -07001916 intremap= [X86-64, Intel-IOMMU]
Chris Wrightd1423d52010-07-20 11:06:49 -07001917 on enable Interrupt Remapping (default)
1918 off disable Interrupt Remapping
1919 nosid disable Source ID checking
Suresh Siddha41750d32011-08-23 17:05:18 -07001920 no_x2apic_optout
1921 BIOS x2APIC opt-out request will be ignored
Feng Wub7d20632015-09-18 22:29:56 +08001922 nopost disable Interrupt Posting
Chris Wrightd1423d52010-07-20 11:06:49 -07001923
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07001924 iomem= Disable strict checking of access to MMIO memory
1925 strict regions from userspace.
1926 relaxed
1927
Randy Dunlapbe3a5b0e2020-08-09 19:49:41 -07001928 iommu= [X86]
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07001929 off
1930 force
1931 noforce
1932 biomerge
1933 panic
1934 nopanic
1935 merge
1936 nomerge
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07001937 soft
Randy Dunlapbe3a5b0e2020-08-09 19:49:41 -07001938 pt [X86]
1939 nopt [X86]
Thadeu Lima de Souza Cascardo4e287842014-10-23 19:19:35 -02001940 nobypass [PPC/POWERNV]
1941 Disable IOMMU bypass, using IOMMU for PCI devices.
Alex Williamsonbcb71ab2011-10-21 15:56:24 -04001942
Zhen Lei68a6efe2018-09-20 17:10:23 +01001943 iommu.strict= [ARM64] Configure TLB invalidation behaviour
1944 Format: { "0" | "1" }
1945 0 - Lazy mode.
1946 Request that DMA unmap operations use deferred
1947 invalidation of hardware TLBs, for increased
1948 throughput at the cost of reduced device isolation.
1949 Will fall back to strict mode if not supported by
1950 the relevant IOMMU driver.
1951 1 - Strict mode (default).
1952 DMA unmap operations invalidate IOMMU hardware TLBs
1953 synchronously.
1954
Will Deaconfccb4e32017-01-05 18:38:26 +00001955 iommu.passthrough=
Joerg Roedelc8fb4362019-08-19 15:22:56 +02001956 [ARM64, X86] Configure DMA to bypass the IOMMU by default.
Will Deaconfccb4e32017-01-05 18:38:26 +00001957 Format: { "0" | "1" }
1958 0 - Use IOMMU translation for DMA.
1959 1 - Bypass the IOMMU for DMA.
Robin Murphy9d723b42018-09-20 14:14:26 +01001960 unset - Use value of CONFIG_IOMMU_DEFAULT_PASSTHROUGH.
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07001961
1962 io7= [HW] IO7 for Marvel based alpha systems
1963 See comment before marvel_specify_io7 in
1964 arch/alpha/kernel/core_marvel.c.
1965
Jaswinder Singh Rajput6cececf2009-04-14 14:03:43 +05301966 io_delay= [X86] I/O delay method
Ingo Molnar6e7c4022008-01-30 13:30:05 +01001967 0x80
1968 Standard port 0x80 based delay
1969 0xed
1970 Alternate port 0xed based delay (needed on some systems)
Rene Hermanb02aae92008-01-30 13:30:05 +01001971 udelay
Ingo Molnar6e7c4022008-01-30 13:30:05 +01001972 Simple two microseconds delay
1973 none
1974 No delay
Rene Hermanb02aae92008-01-30 13:30:05 +01001975
Linus Torvalds1da177e2005-04-16 15:20:36 -07001976 ip= [IP_PNP]
Niklas Söderlund3eb30c52020-02-12 19:13:32 +01001977 See Documentation/admin-guide/nfs/nfsroot.rst.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001978
Waiman Long5ac893b2019-05-14 15:46:29 -07001979 ipcmni_extend [KNL] Extend the maximum number of unique System V
1980 IPC identifiers from 32,768 to 16,777,216.
1981
Thomas Gleixnerfbf19802016-02-03 19:52:23 +01001982 irqaffinity= [SMP] Set the default irq affinity mask
Noam Camus2d13e6c2016-10-11 13:51:35 -07001983 The argument is a cpu list, as described above.
Thomas Gleixnerfbf19802016-02-03 19:52:23 +01001984
Marc Zyngier09622892017-10-27 10:34:22 +02001985 irqchip.gicv2_force_probe=
1986 [ARM, ARM64]
1987 Format: <bool>
1988 Force the kernel to look for the second 4kB page
1989 of a GICv2 controller even if the memory range
1990 exposed by the device tree is too small.
1991
Marc Zyngierf736d652018-02-25 11:27:04 +00001992 irqchip.gicv3_nolpi=
1993 [ARM, ARM64]
1994 Force the kernel to ignore the availability of
1995 LPIs (and by consequence ITSs). Intended for system
1996 that use the kernel as a bootloader, and thus want
1997 to let secondary kernels in charge of setting up
1998 LPIs.
1999
Julien Thierrybc3c03c2019-01-31 14:59:03 +00002000 irqchip.gicv3_pseudo_nmi= [ARM64]
2001 Enables support for pseudo-NMIs in the kernel. This
2002 requires the kernel to be built with
2003 CONFIG_ARM64_PSEUDO_NMI.
2004
Alan Cox200803d2005-06-28 20:45:18 -07002005 irqfixup [HW]
2006 When an interrupt is not handled search all handlers
2007 for it. Intended to get systems with badly broken
2008 firmware running.
2009
2010 irqpoll [HW]
2011 When an interrupt is not handled search all handlers
2012 for it. Also check all handlers each timer
2013 interrupt. Intended to get systems with badly broken
2014 firmware running.
2015
Linus Torvalds1da177e2005-04-16 15:20:36 -07002016 isapnp= [ISAPNP]
Randy Dunlapa9913042005-10-23 12:57:11 -07002017 Format: <RDP>,<reset>,<pci_scan>,<verbosity>
Linus Torvalds1da177e2005-04-16 15:20:36 -07002018
Frederic Weisbeckerd94d1052017-12-14 19:18:27 +01002019 isolcpus= [KNL,SMP,ISOL] Isolate a given set of CPUs from disturbance.
Frederic Weisbeckerb0d40d22017-10-31 04:18:34 +01002020 [Deprecated - use cpusets instead]
2021 Format: [flag-list,]<cpu-list>
Li Zefanb225d442008-11-06 12:53:39 -08002022
Frederic Weisbeckerb0d40d22017-10-31 04:18:34 +01002023 Specify one or more CPUs to isolate from disturbances
2024 specified in the flag list (default: domain):
Linus Torvalds1da177e2005-04-16 15:20:36 -07002025
Frederic Weisbeckerb0d40d22017-10-31 04:18:34 +01002026 nohz
2027 Disable the tick when a single task runs.
Frederic Weisbecker083c6ee2018-02-21 05:17:29 +01002028
2029 A residual 1Hz tick is offloaded to workqueues, which you
2030 need to affine to housekeeping through the global
2031 workqueue's affinity configured via the
2032 /sys/devices/virtual/workqueue/cpumask sysfs file, or
2033 by using the 'domain' flag described below.
2034
2035 NOTE: by default the global workqueue runs on all CPUs,
2036 so to protect individual CPUs the 'cpumask' file has to
2037 be configured manually after bootup.
2038
Frederic Weisbeckerb0d40d22017-10-31 04:18:34 +01002039 domain
2040 Isolate from the general SMP balancing and scheduling
2041 algorithms. Note that performing domain isolation this way
2042 is irreversible: it's not possible to bring back a CPU to
2043 the domains once isolated through isolcpus. It's strongly
2044 advised to use cpusets instead to disable scheduler load
2045 balancing through the "cpuset.sched_load_balance" file.
2046 It offers a much more flexible interface where CPUs can
2047 move in and out of an isolated set anytime.
2048
2049 You can move a process onto or off an "isolated" CPU via
2050 the CPU affinity syscalls or cpuset.
2051 <cpu number> begins at 0 and the maximum value is
2052 "number of CPUs in system - 1".
2053
Ming Lei11ea68f2020-01-20 17:16:25 +08002054 managed_irq
2055
2056 Isolate from being targeted by managed interrupts
2057 which have an interrupt mask containing isolated
2058 CPUs. The affinity of managed interrupts is
2059 handled by the kernel and cannot be changed via
2060 the /proc/irq/* interfaces.
2061
2062 This isolation is best effort and only effective
2063 if the automatically assigned interrupt mask of a
2064 device queue contains isolated and housekeeping
2065 CPUs. If housekeeping CPUs are online then such
2066 interrupts are directed to the housekeeping CPU
2067 so that IO submitted on the housekeeping CPU
2068 cannot disturb the isolated CPU.
2069
2070 If a queue's affinity mask contains only isolated
2071 CPUs then this parameter has no effect on the
2072 interrupt routing decision, though interrupts are
2073 only delivered when tasks running on those
2074 isolated CPUs submit IO. IO submitted on
2075 housekeeping CPUs has no influence on those
2076 queues.
2077
Frederic Weisbeckerb0d40d22017-10-31 04:18:34 +01002078 The format of <cpu-list> is described above.
2079
Randy Dunlapa9913042005-10-23 12:57:11 -07002080 iucv= [HW,NET]
Linus Torvalds1da177e2005-04-16 15:20:36 -07002081
Randy Dunlapbe3a5b0e2020-08-09 19:49:41 -07002082 ivrs_ioapic [HW,X86-64]
Joerg Roedel7d8bfa22013-04-09 21:27:19 +02002083 Provide an override to the IOAPIC-ID<->DEVICE-ID
2084 mapping provided in the IVRS ACPI table. For
2085 example, to map IOAPIC-ID decimal 10 to
2086 PCI device 00:14.0 write the parameter as:
2087 ivrs_ioapic[10]=00:14.0
2088
Randy Dunlapbe3a5b0e2020-08-09 19:49:41 -07002089 ivrs_hpet [HW,X86-64]
Joerg Roedel7d8bfa22013-04-09 21:27:19 +02002090 Provide an override to the HPET-ID<->DEVICE-ID
2091 mapping provided in the IVRS ACPI table. For
2092 example, to map HPET-ID decimal 0 to
2093 PCI device 00:14.0 write the parameter as:
2094 ivrs_hpet[0]=00:14.0
2095
Randy Dunlapbe3a5b0e2020-08-09 19:49:41 -07002096 ivrs_acpihid [HW,X86-64]
Suravee Suthikulpanitca3bf5d2016-04-01 09:06:01 -04002097 Provide an override to the ACPI-HID:UID<->DEVICE-ID
2098 mapping provided in the IVRS ACPI table. For
2099 example, to map UART-HID:UID AMD0020:0 to
2100 PCI device 00:14.5 write the parameter as:
2101 ivrs_acpihid[00:14.5]=AMD0020:0
2102
Linus Torvalds1da177e2005-04-16 15:20:36 -07002103 js= [HW,JOY] Analog joystick
Tom Saeger17521182017-10-10 12:36:23 -05002104 See Documentation/input/joydev/joystick.rst.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002105
Kees Cook65fe9352016-06-13 15:10:02 -07002106 nokaslr [KNL]
2107 When CONFIG_RANDOMIZE_BASE is set, this disables
2108 kernel and module base offset ASLR (Address Space
2109 Layout Randomization).
Kees Cook24f2e022014-06-13 13:30:36 -07002110
Mark Rutlandb0845ce2017-03-31 15:12:04 -07002111 kasan_multi_shot
2112 [KNL] Enforce KASAN (Kernel Address Sanitizer) to print
2113 report on every invalid memory access. Without this
2114 parameter KASAN will print report only for the first
2115 invalid access.
2116
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07002117 keepinitrd [HW,ARM]
2118
Taku Izumi342332e2016-03-15 14:55:22 -07002119 kernelcore= [KNL,X86,IA-64,PPC]
David Rientjesa5c6d6502018-04-05 16:23:09 -07002120 Format: nn[KMGTPE] | nn% | "mirror"
2121 This parameter specifies the amount of memory usable by
2122 the kernel for non-movable allocations. The requested
2123 amount is spread evenly throughout all nodes in the
2124 system as ZONE_NORMAL. The remaining memory is used for
2125 movable memory in its own zone, ZONE_MOVABLE. In the
2126 event, a node is too small to have both ZONE_NORMAL and
2127 ZONE_MOVABLE, kernelcore memory will take priority and
2128 other nodes will have a larger ZONE_MOVABLE.
2129
2130 ZONE_MOVABLE is used for the allocation of pages that
2131 may be reclaimed or moved by the page migration
2132 subsystem. Note that allocations like PTEs-from-HighMem
2133 still use the HighMem zone if it exists, and the Normal
Mel Gormaned7ed362007-07-17 04:03:14 -07002134 zone if it does not.
2135
David Rientjesa5c6d6502018-04-05 16:23:09 -07002136 It is possible to specify the exact amount of memory in
2137 the form of "nn[KMGTPE]", a percentage of total system
2138 memory in the form of "nn%", or "mirror". If "mirror"
Taku Izumi342332e2016-03-15 14:55:22 -07002139 option is specified, mirrored (reliable) memory is used
2140 for non-movable allocations and remaining memory is used
David Rientjesa5c6d6502018-04-05 16:23:09 -07002141 for Movable pages. "nn[KMGTPE]", "nn%", and "mirror"
2142 are exclusive, so you cannot specify multiple forms.
Taku Izumi342332e2016-03-15 14:55:22 -07002143
Jason Wessel4fe1da42010-05-20 21:04:31 -05002144 kgdbdbgp= [KGDB,HW] kgdb over EHCI usb debug port.
2145 Format: <Controller#>[,poll interval]
2146 The controller # is the number of the ehci usb debug
2147 port as it is probed via PCI. The poll interval is
2148 optional and is the number seconds in between
2149 each poll cycle to the debug port in case you need
2150 the functionality for interrupting the kernel with
2151 gdb or control-c on the dbgp connection. When
2152 not using this parameter you use sysrq-g to break into
2153 the kernel debugger.
2154
Jason Wessel84c08fd62010-05-20 21:04:24 -05002155 kgdboc= [KGDB,HW] kgdb over consoles.
Jason Wesselada64e42010-05-20 21:04:24 -05002156 Requires a tty driver that supports console polling,
2157 or a supported polling keyboard driver (non-usb).
Jason Wessel65b5ac12010-08-05 09:22:33 -05002158 Serial only format: <serial_device>[,baud]
2159 keyboard only format: kbd
2160 keyboard and serial format: kbd,<serial_device>[,baud]
2161 Optional Kernel mode setting:
2162 kms, kbd format: kms,kbd
2163 kms, kbd and serial format: kms,kbd,<ser_dev>[,baud]
Jason Wessel6cdf6e02008-04-17 20:05:38 +02002164
Douglas Andersonf71fc3b2020-05-07 13:08:47 -07002165 kgdboc_earlycon= [KGDB,HW]
2166 If the boot console provides the ability to read
2167 characters and can work in polling mode, you can use
2168 this parameter to tell kgdb to use it as a backend
2169 until the normal console is registered. Intended to
2170 be used together with the kgdboc parameter which
2171 specifies the normal console to transition to.
2172
2173 The name of the early console should be specified
2174 as the value of this parameter. Note that the name of
2175 the early console might be different than the tty
2176 name passed to kgdboc. It's OK to leave the value
2177 blank and the first boot console that implements
2178 read() will be picked.
2179
Jason Wessel84c08fd62010-05-20 21:04:24 -05002180 kgdbwait [KGDB] Stop kernel execution and enter the
2181 kernel debugger at the earliest opportunity.
2182
Florian Fainelli9bed90c62008-08-23 18:54:37 +02002183 kmac= [MIPS] korina ethernet MAC address.
2184 Configure the RouterBoard 532 series on-chip
2185 Ethernet adapter MAC address.
2186
Catalin Marinas04f70332009-06-11 13:22:39 +01002187 kmemleak= [KNL] Boot-time kmemleak enable/disable
2188 Valid arguments: on, off
2189 Default: on
Masanari Iida47aeedd2014-10-24 21:24:59 +09002190 Built with CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=y,
2191 the default is off.
Catalin Marinas04f70332009-06-11 13:22:39 +01002192
Masami Hiramatsu970988e2019-05-22 17:32:35 +09002193 kprobe_event=[probe-list]
2194 [FTRACE] Add kprobe events and enable at boot time.
2195 The probe-list is a semicolon delimited list of probe
2196 definitions. Each definition is same as kprobe_events
2197 interface, but the parameters are comma delimited.
2198 For example, to add a kprobe event on vfs_read with
2199 arg1 and arg2, add to the command line;
2200
2201 kprobe_event=p,vfs_read,$arg1,$arg2
2202
2203 See also Documentation/trace/kprobetrace.rst "Kernel
2204 Boot Parameter" section.
2205
Jeremy Lintonde190552019-01-25 12:07:00 -06002206 kpti= [ARM64] Control page table isolation of user
2207 and kernel address spaces.
2208 Default: enabled on cores which need mitigation.
2209 0: force disabled
2210 1: force enabled
2211
Andre Przywarafef07aa2009-07-10 14:20:35 +02002212 kvm.ignore_msrs=[KVM] Ignore guest accesses to unhandled MSRs.
2213 Default is 0 (don't ignore, but inject #GP)
2214
Liran Alonc4ae60e2018-03-12 13:12:47 +02002215 kvm.enable_vmware_backdoor=[KVM] Support VMware backdoor PV interface.
2216 Default is false (don't support).
2217
Xiao Guangronga182d872010-09-20 22:17:48 +08002218 kvm.mmu_audit= [KVM] This is a R/W parameter which allows audit
2219 KVM MMU at runtime.
Andre Przywarafef07aa2009-07-10 14:20:35 +02002220 Default is 0 (off)
2221
Paolo Bonzinib8e8c832019-11-04 12:22:02 +01002222 kvm.nx_huge_pages=
2223 [KVM] Controls the software workaround for the
2224 X86_BUG_ITLB_MULTIHIT bug.
2225 force : Always deploy workaround.
2226 off : Never deploy workaround.
2227 auto : Deploy workaround based on the presence of
2228 X86_BUG_ITLB_MULTIHIT.
2229
2230 Default is 'auto'.
2231
2232 If the software workaround is enabled for the host,
2233 guests do need not to enable it for nested guests.
2234
Junaid Shahid1aa9b952019-11-04 20:26:00 +01002235 kvm.nx_huge_pages_recovery_ratio=
2236 [KVM] Controls how many 4KiB pages are periodically zapped
2237 back to huge pages. 0 disables the recovery, otherwise if
2238 the value is N KVM will zap 1/Nth of the 4KiB pages every
2239 minute. The default is 60.
2240
Andre Przywarafef07aa2009-07-10 14:20:35 +02002241 kvm-amd.nested= [KVM,AMD] Allow nested virtualization in KVM/SVM.
Xiao Guangrong8475f942010-09-20 22:16:45 +08002242 Default is 1 (enabled)
Andre Przywarafef07aa2009-07-10 14:20:35 +02002243
2244 kvm-amd.npt= [KVM,AMD] Disable nested paging (virtualized MMU)
2245 for all guests.
Randy Dunlap16290242011-08-13 12:34:52 -07002246 Default is 1 (enabled) if in 64-bit or 32-bit PAE mode.
Andre Przywarafef07aa2009-07-10 14:20:35 +02002247
Marc Zyngiere23f62f2017-06-09 12:49:46 +01002248 kvm-arm.vgic_v3_group0_trap=
2249 [KVM,ARM] Trap guest accesses to GICv3 group-0
2250 system registers
2251
Marc Zyngier182936e2017-06-09 12:49:41 +01002252 kvm-arm.vgic_v3_group1_trap=
2253 [KVM,ARM] Trap guest accesses to GICv3 group-1
2254 system registers
2255
Marc Zyngierff895112017-06-09 12:49:53 +01002256 kvm-arm.vgic_v3_common_trap=
2257 [KVM,ARM] Trap guest accesses to GICv3 common
2258 system registers
2259
Marc Zyngiera7546052017-10-27 15:28:54 +01002260 kvm-arm.vgic_v4_enable=
2261 [KVM,ARM] Allow use of GICv4 for direct injection of
2262 LPIs.
2263
Andre Przywarafef07aa2009-07-10 14:20:35 +02002264 kvm-intel.ept= [KVM,Intel] Disable extended page tables
2265 (virtualized MMU) support on capable Intel chips.
2266 Default is 1 (enabled)
2267
2268 kvm-intel.emulate_invalid_guest_state=
2269 [KVM,Intel] Enable emulation of invalid guest states
2270 Default is 0 (disabled)
2271
2272 kvm-intel.flexpriority=
2273 [KVM,Intel] Disable FlexPriority feature (TPR shadow).
2274 Default is 1 (enabled)
2275
Sasha Levine1a72ae2011-08-09 14:28:35 +03002276 kvm-intel.nested=
2277 [KVM,Intel] Enable VMX nesting (nVMX).
2278 Default is 0 (disabled)
2279
Andre Przywarafef07aa2009-07-10 14:20:35 +02002280 kvm-intel.unrestricted_guest=
2281 [KVM,Intel] Disable unrestricted guest feature
2282 (virtualized real and unpaged mode) on capable
2283 Intel chips. Default is 1 (enabled)
2284
Konrad Rzeszutek Wilka3994772018-07-02 12:29:30 +02002285 kvm-intel.vmentry_l1d_flush=[KVM,Intel] Mitigation for L1 Terminal Fault
2286 CVE-2018-3620.
2287
2288 Valid arguments: never, cond, always
2289
2290 always: L1D cache flush on every VMENTER.
2291 cond: Flush L1D on VMENTER only when the code between
2292 VMEXIT and VMENTER can leak host memory.
2293 never: Disables the mitigation
2294
2295 Default is cond (do L1 cache flush in specific instances)
2296
Andre Przywarafef07aa2009-07-10 14:20:35 +02002297 kvm-intel.vpid= [KVM,Intel] Disable Virtual Processor Identification
2298 feature (tagged TLBs) on capable Intel chips.
2299 Default is 1 (enabled)
2300
Jiri Kosinad90a7a02018-07-13 16:23:25 +02002301 l1tf= [X86] Control mitigation of the L1TF vulnerability on
2302 affected CPUs
2303
2304 The kernel PTE inversion protection is unconditionally
2305 enabled and cannot be disabled.
2306
2307 full
2308 Provides all available mitigations for the
2309 L1TF vulnerability. Disables SMT and
2310 enables all mitigations in the
2311 hypervisors, i.e. unconditional L1D flush.
2312
2313 SMT control and L1D flush control via the
2314 sysfs interface is still possible after
2315 boot. Hypervisors will issue a warning
2316 when the first VM is started in a
2317 potentially insecure configuration,
2318 i.e. SMT enabled or L1D flush disabled.
2319
2320 full,force
2321 Same as 'full', but disables SMT and L1D
2322 flush runtime control. Implies the
2323 'nosmt=force' command line option.
2324 (i.e. sysfs control of SMT is disabled.)
2325
2326 flush
2327 Leaves SMT enabled and enables the default
2328 hypervisor mitigation, i.e. conditional
2329 L1D flush.
2330
2331 SMT control and L1D flush control via the
2332 sysfs interface is still possible after
2333 boot. Hypervisors will issue a warning
2334 when the first VM is started in a
2335 potentially insecure configuration,
2336 i.e. SMT enabled or L1D flush disabled.
2337
2338 flush,nosmt
2339
2340 Disables SMT and enables the default
2341 hypervisor mitigation.
2342
2343 SMT control and L1D flush control via the
2344 sysfs interface is still possible after
2345 boot. Hypervisors will issue a warning
2346 when the first VM is started in a
2347 potentially insecure configuration,
2348 i.e. SMT enabled or L1D flush disabled.
2349
2350 flush,nowarn
2351 Same as 'flush', but hypervisors will not
2352 warn when a VM is started in a potentially
2353 insecure configuration.
2354
2355 off
2356 Disables hypervisor mitigations and doesn't
2357 emit any warnings.
Michal Hocko5b5e4d62018-11-13 19:49:10 +01002358 It also drops the swap size and available
2359 RAM limit restriction on both hypervisor and
2360 bare metal.
Jiri Kosinad90a7a02018-07-13 16:23:25 +02002361
2362 Default is 'flush'.
2363
Thomas Gleixner65fd4cb2019-02-19 11:10:49 +01002364 For details see: Documentation/admin-guide/hw-vuln/l1tf.rst
Jiri Kosinad90a7a02018-07-13 16:23:25 +02002365
Linus Torvalds1da177e2005-04-16 15:20:36 -07002366 l2cr= [PPC]
2367
Robert Brosea78bfbf2008-03-29 07:20:23 +11002368 l3cr= [PPC]
2369
Alan Coxcd4f0ef2007-07-31 00:37:59 -07002370 lapic [X86-32,APIC] Enable the local APIC even if BIOS
Randy Dunlapa9913042005-10-23 12:57:11 -07002371 disabled it.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002372
Randy Dunlapbe3a5b0e2020-08-09 19:49:41 -07002373 lapic= [X86,APIC] "notscdeadline" Do not use TSC deadline
Suresh Siddha279f1462012-10-22 14:37:58 -07002374 value for LAPIC timer one-shot implementation. Default
2375 back to the programmable timer unit in the LAPIC.
2376
Jaswinder Singh Rajput6cececf2009-04-14 14:03:43 +05302377 lapic_timer_c2_ok [X86,APIC] trust the local apic timer
Randy Dunlapada9cfd2008-12-19 10:57:32 -08002378 in C2 power state.
Thomas Gleixnere585bef2007-03-23 16:08:01 +01002379
FD Camifcb71f62008-01-06 19:08:56 +01002380 libata.dma= [LIBATA] DMA control
2381 libata.dma=0 Disable all PATA and SATA DMA
2382 libata.dma=1 PATA and SATA Disk DMA only
2383 libata.dma=2 ATAPI (CDROM) DMA only
Randy Dunlap16290242011-08-13 12:34:52 -07002384 libata.dma=4 Compact Flash DMA only
FD Camifcb71f62008-01-06 19:08:56 +01002385 Combinations also work, so libata.dma=3 enables DMA
2386 for disks and CDROMs, but not CFs.
Randy Dunlap16290242011-08-13 12:34:52 -07002387
Michael Prokop20308872009-08-06 00:14:10 +02002388 libata.ignore_hpa= [LIBATA] Ignore HPA limit
2389 libata.ignore_hpa=0 keep BIOS limits (default)
2390 libata.ignore_hpa=1 ignore limits, using full disk
FD Camifcb71f62008-01-06 19:08:56 +01002391
Dave Jones78e70c22007-09-27 11:50:13 -04002392 libata.noacpi [LIBATA] Disables use of ACPI in libata suspend/resume
2393 when set.
2394 Format: <int>
2395
Tejun Heo33267322008-02-13 09:15:09 +09002396 libata.force= [LIBATA] Force configurations. The format is comma
2397 separated list of "[ID:]VAL" where ID is
Roman Fietze4c44f302010-04-21 12:17:12 +02002398 PORT[.DEVICE]. PORT and DEVICE are decimal numbers
Tejun Heo33267322008-02-13 09:15:09 +09002399 matching port, link or device. Basically, it matches
2400 the ATA ID string printed on console by libata. If
2401 the whole ID part is omitted, the last PORT and DEVICE
2402 values are used. If ID hasn't been specified yet, the
2403 configuration applies to all ports, links and devices.
2404
2405 If only DEVICE is omitted, the parameter applies to
2406 the port and all links and devices behind it. DEVICE
2407 number of 0 either selects the first device or the
2408 first fan-out link behind PMP device. It does not
2409 select the host link. DEVICE number of 15 selects the
2410 host link and device attached to it.
2411
2412 The VAL specifies the configuration to force. As long
2413 as there's no ambiguity shortcut notation is allowed.
2414 For example, both 1.5 and 1.5G would work for 1.5Gbps.
2415 The following configurations can be forced.
2416
2417 * Cable type: 40c, 80c, short40c, unk, ign or sata.
2418 Any ID with matching PORT is used.
2419
2420 * SATA link speed limit: 1.5Gbps or 3.0Gbps.
2421
2422 * Transfer mode: pio[0-7], mwdma[0-4] and udma[0-7].
2423 udma[/][16,25,33,44,66,100,133] notation is also
2424 allowed.
2425
2426 * [no]ncq: Turn on or off NCQ.
2427
Martin K. Petersend7b16e42015-05-04 21:54:18 -04002428 * [no]ncqtrim: Turn off queued DSM TRIM.
2429
Tejun Heo05944bd2008-08-13 20:19:09 +09002430 * nohrst, nosrst, norst: suppress hard, soft
Thymo van Beers6dddd7a2018-04-18 20:51:39 +02002431 and both resets.
Tejun Heo05944bd2008-08-13 20:19:09 +09002432
Dan Williamsca6d43b2012-06-21 23:41:41 -07002433 * rstonce: only attempt one reset during
2434 hot-unplug link recovery
2435
Tejun Heo43c9c592010-05-23 12:59:11 +02002436 * dump_id: dump IDENTIFY data.
2437
Vincent Pelletier966fbe12013-05-21 22:30:58 +02002438 * atapi_dmadir: Enable ATAPI DMADIR bridge support
2439
Robin H. Johnsonb8bd6dc2013-12-16 09:31:19 -08002440 * disable: Disable this device.
2441
Tejun Heo33267322008-02-13 09:15:09 +09002442 If there are multiple matching configurations changing
2443 the same attribute, the last one is used.
2444
Yinghai Lu95f72d12010-07-12 14:36:09 +10002445 memblock=debug [KNL] Enable memblock debug messages.
Randy Dunlap7c4be252009-01-06 14:42:44 -08002446
Linus Torvalds1da177e2005-04-16 15:20:36 -07002447 load_ramdisk= [RAM] List of ramdisks to load from floppy
Mauro Carvalho Chehabe7751612019-06-18 11:47:10 -03002448 See Documentation/admin-guide/blockdev/ramdisk.rst.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002449
Randy Dunlapa6b25b62006-01-14 13:21:19 -08002450 lockd.nlm_grace_period=P [NFS] Assign grace period.
2451 Format: <integer>
Linus Torvalds1da177e2005-04-16 15:20:36 -07002452
Randy Dunlapa6b25b62006-01-14 13:21:19 -08002453 lockd.nlm_tcpport=N [NFS] Assign TCP port.
2454 Format: <integer>
2455
2456 lockd.nlm_timeout=T [NFS] Assign timeout value.
2457 Format: <integer>
2458
2459 lockd.nlm_udpport=M [NFS] Assign UDP port.
2460 Format: <integer>
Linus Torvalds1da177e2005-04-16 15:20:36 -07002461
Matthew Garrett000d3882019-08-19 17:17:39 -07002462 lockdown= [SECURITY]
2463 { integrity | confidentiality }
2464 Enable the kernel lockdown feature. If set to
2465 integrity, kernel features that allow userland to
2466 modify the running kernel are disabled. If set to
2467 confidentiality, kernel features that allow userland
2468 to extract confidential information from the kernel
2469 are also disabled.
2470
Paul E. McKenneyec4518a2014-09-12 10:50:01 -07002471 locktorture.nreaders_stress= [KNL]
2472 Set the number of locking read-acquisition kthreads.
2473 Defaults to being automatically set based on the
2474 number of online CPUs.
2475
2476 locktorture.nwriters_stress= [KNL]
2477 Set the number of locking write-acquisition kthreads.
2478
2479 locktorture.onoff_holdoff= [KNL]
2480 Set time (s) after boot for CPU-hotplug testing.
2481
2482 locktorture.onoff_interval= [KNL]
2483 Set time (s) between CPU-hotplug operations, or
2484 zero to disable CPU-hotplug testing.
2485
2486 locktorture.shuffle_interval= [KNL]
2487 Set task-shuffle interval (jiffies). Shuffling
2488 tasks allows some CPUs to go into dyntick-idle
2489 mode during the locktorture test.
2490
2491 locktorture.shutdown_secs= [KNL]
2492 Set time (s) after boot system shutdown. This
2493 is useful for hands-off automated testing.
2494
2495 locktorture.stat_interval= [KNL]
2496 Time (s) between statistics printk()s.
2497
2498 locktorture.stutter= [KNL]
2499 Time (s) to stutter testing, for example,
2500 specifying five seconds causes the test to run for
2501 five seconds, wait for five seconds, and so on.
2502 This tests the locking primitive's ability to
2503 transition abruptly to and from idle.
2504
Paul E. McKenneyec4518a2014-09-12 10:50:01 -07002505 locktorture.torture_type= [KNL]
2506 Specify the locking implementation to test.
2507
2508 locktorture.verbose= [KNL]
2509 Enable additional printk() statements.
2510
Linus Torvalds1da177e2005-04-16 15:20:36 -07002511 logibm.irq= [HW,MOUSE] Logitech Bus Mouse Driver
2512 Format: <irq>
2513
2514 loglevel= All Kernel Messages with a loglevel smaller than the
2515 console loglevel will be printed to the console. It can
2516 also be changed with klogd or other programs. The
2517 loglevels are defined as follows:
2518
2519 0 (KERN_EMERG) system is unusable
2520 1 (KERN_ALERT) action must be taken immediately
2521 2 (KERN_CRIT) critical conditions
2522 3 (KERN_ERR) error conditions
2523 4 (KERN_WARNING) warning conditions
2524 5 (KERN_NOTICE) normal but significant condition
2525 6 (KERN_INFO) informational
2526 7 (KERN_DEBUG) debug-level messages
2527
Randy Dunlapc756d082011-02-20 20:08:35 -08002528 log_buf_len=n[KMG] Sets the size of the printk ring buffer,
Luis R. Rodriguez23b28992014-08-06 16:08:56 -07002529 in bytes. n must be a power of two and greater
2530 than the minimal size. The minimal size is defined
2531 by LOG_BUF_SHIFT kernel config parameter. There is
2532 also CONFIG_LOG_CPU_MAX_BUF_SHIFT config parameter
2533 that allows to increase the default size depending on
2534 the number of CPUs. See init/Kconfig for more details.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002535
Randy Dunlapaccaa242007-10-16 01:29:37 -07002536 logo.nologo [FB] Disables display of the built-in Linux logo.
2537 This may be used to provide more screen space for
2538 kernel log messages and is useful when debugging
2539 kernel boot problems.
2540
Linus Torvalds1da177e2005-04-16 15:20:36 -07002541 lp=0 [LP] Specify parallel ports to use, e.g,
2542 lp=port[,port...] lp=none,parport0 (lp0 not configured, lp1 uses
2543 lp=reset first parallel port). 'lp=0' disables the
2544 lp=auto printer driver. 'lp=reset' (which can be
2545 specified in addition to the ports) causes
2546 attached printers to be reset. Using
2547 lp=port1,port2,... specifies the parallel ports
2548 to associate lp devices with, starting with
2549 lp0. A port specification may be 'none' to skip
2550 that lp device, or a parport name such as
2551 'parport0'. Specifying 'lp=auto' instead of a
2552 port specification list means that device IDs
2553 from each port should be examined, to see if
2554 an IEEE 1284-compliant printer is attached; if
2555 so, the driver will manage that printer.
2556 See also header of drivers/char/lp.c.
2557
2558 lpj=n [KNL]
2559 Sets loops_per_jiffy to given constant, thus avoiding
2560 time-consuming boot-time autodetection (up to 250 ms per
2561 CPU). 0 enables autodetection (default). To determine
2562 the correct value for your kernel, boot with normal
2563 autodetection and see what value is printed. Note that
2564 on SMP systems the preset will be applied to all CPUs,
2565 which is likely to cause problems if your CPUs need
2566 significantly divergent settings. An incorrect value
2567 will cause delays in the kernel to be wrong, leading to
2568 unpredictable I/O errors and other breakage. Although
2569 unlikely, in the extreme case this might damage your
2570 hardware.
2571
2572 ltpc= [NET]
2573 Format: <io>,<irq>,<dma>
2574
Kees Cook9b8c7c12018-10-10 17:18:25 -07002575 lsm.debug [SECURITY] Enable LSM initialization debugging output.
2576
Kees Cook79f78652018-09-19 17:30:09 -07002577 lsm=lsm1,...,lsmN
2578 [SECURITY] Choose order of LSM initialization. This
Kees Cook89a96842019-02-12 10:23:18 -08002579 overrides CONFIG_LSM, and the "security=" parameter.
Kees Cook79f78652018-09-19 17:30:09 -07002580
Randy Dunlap16290242011-08-13 12:34:52 -07002581 machvec= [IA-64] Force the use of a particular machine-vector
Randy Dunlapa9913042005-10-23 12:57:11 -07002582 (machvec) in a generic kernel.
Christoph Hellwigdf43aca2019-08-13 09:25:06 +02002583 Example: machvec=hpzx1
Linus Torvalds1da177e2005-04-16 15:20:36 -07002584
Wu Zhangjin3209e702009-07-02 23:27:12 +08002585 machtype= [Loongson] Share the same kernel image file between different
2586 yeeloong laptop.
2587 Example: machtype=lemote-yeeloong-2f-7inch
2588
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07002589 max_addr=nn[KMG] [KNL,BOOT,ia64] All physical memory greater
2590 than or equal to this physical address is ignored.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002591
2592 maxcpus= [SMP] Maximum number of processors that an SMP kernel
Baoquan He7c142bf2016-08-24 13:06:45 +08002593 will bring up during bootup. maxcpus=n : n >= 0 limits
2594 the kernel to bring up 'n' processors. Surely after
2595 bootup you can bring up the other plugged cpu by executing
2596 "echo 1 > /sys/devices/system/cpu/cpuX/online". So maxcpus
2597 only takes effect during system bootup.
2598 While n=0 is a special case, it is equivalent to "nosmp",
2599 which also disables the IO APIC.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002600
Kay Sieversd134b002011-07-31 22:08:04 +02002601 max_loop= [LOOP] The number of loop block devices that get
2602 (loop.max_loop) unconditionally pre-created at init time. The default
2603 number is configured by BLK_DEV_LOOP_MIN_COUNT. Instead
2604 of statically allocating a predefined number, loop
2605 devices can be requested on-demand with the
2606 /dev/loop-control interface.
Bob Picco2b2c3752005-06-29 18:00:00 -07002607
Alan Coxcd4f0ef2007-07-31 00:37:59 -07002608 mce [X86-32] Machine Check Exception
Linus Torvalds1da177e2005-04-16 15:20:36 -07002609
Mauro Carvalho Chehabcb1aaeb2019-06-07 15:54:32 -03002610 mce=option [X86-64] See Documentation/x86/x86_64/boot-options.rst
Andi Kleen909dd322007-10-17 18:04:38 +02002611
Linus Torvalds1da177e2005-04-16 15:20:36 -07002612 md= [HW] RAID subsystems devices and level
Jani Nikulae52347b2016-11-03 12:10:10 +02002613 See Documentation/admin-guide/md.rst.
Randy Dunlapa9913042005-10-23 12:57:11 -07002614
Linus Torvalds1da177e2005-04-16 15:20:36 -07002615 mdacon= [MDA]
2616 Format: <first>,<last>
2617 Specifies range of consoles to be captured by the MDA.
Randy Dunlapa9913042005-10-23 12:57:11 -07002618
Thomas Gleixnerbc124172019-02-18 22:04:08 +01002619 mds= [X86,INTEL]
2620 Control mitigation for the Micro-architectural Data
2621 Sampling (MDS) vulnerability.
2622
2623 Certain CPUs are vulnerable to an exploit against CPU
2624 internal buffers which can forward information to a
2625 disclosure gadget under certain conditions.
2626
2627 In vulnerable processors, the speculatively
2628 forwarded data can be used in a cache side channel
2629 attack, to access data to which the attacker does
2630 not have direct access.
2631
2632 This parameter controls the MDS mitigation. The
2633 options are:
2634
Josh Poimboeufd71eb0c2019-04-02 09:59:33 -05002635 full - Enable MDS mitigation on vulnerable CPUs
2636 full,nosmt - Enable MDS mitigation and disable
2637 SMT on vulnerable CPUs
2638 off - Unconditionally disable MDS mitigation
Thomas Gleixnerbc124172019-02-18 22:04:08 +01002639
Waiman Long64870ed2019-11-15 11:14:44 -05002640 On TAA-affected machines, mds=off can be prevented by
2641 an active TAA mitigation as both vulnerabilities are
2642 mitigated with the same mechanism so in order to disable
2643 this mitigation, you need to specify tsx_async_abort=off
2644 too.
2645
Thomas Gleixnerbc124172019-02-18 22:04:08 +01002646 Not specifying this option is equivalent to
2647 mds=full.
2648
Thomas Gleixner5999bbe2019-02-19 00:02:31 +01002649 For details see: Documentation/admin-guide/hw-vuln/mds.rst
2650
Linus Torvalds1da177e2005-04-16 15:20:36 -07002651 mem=nn[KMG] [KNL,BOOT] Force usage of a specific amount of memory
Baoquan Hef3cd4c82020-04-06 20:06:50 -07002652 Amount of memory to be used in cases as follows:
2653
2654 1 for test;
2655 2 when the kernel is not able to see the whole system memory;
2656 3 memory that lies after 'mem=' boundary is excluded from
2657 the hypervisor, then assigned to KVM guests.
2658
Wen Congyangfbb97d82012-12-17 15:59:29 -08002659 [X86] Work as limiting max address. Use together
2660 with memmap= to avoid physical address space collisions.
2661 Without memmap= PCI devices could be placed at addresses
2662 belonging to unused RAM.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002663
Baoquan Hef3cd4c82020-04-06 20:06:50 -07002664 Note that this only takes effects during boot time since
2665 in above case 3, memory may need be hot added after boot
2666 if system memory of hypervisor is not sufficient.
2667
Alan Coxcd4f0ef2007-07-31 00:37:59 -07002668 mem=nopentium [BUGS=X86-32] Disable usage of 4MB pages for kernel
Linus Torvalds1da177e2005-04-16 15:20:36 -07002669 memory.
2670
Paul Mundt6902aa82008-09-21 17:14:42 +09002671 memchunk=nn[KMG]
2672 [KNL,SH] Allow user to override the default size for
2673 per-device physically contiguous DMA buffers.
2674
Thymo van Beers6dddd7a2018-04-18 20:51:39 +02002675 memhp_default_state=online/offline
Vitaly Kuznetsov86dd9952016-05-19 17:13:06 -07002676 [KNL] Set the initial state for the memory hotplug
2677 onlining policy. If not specified, the default value is
2678 set according to the
2679 CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE kernel config
2680 option.
Mauro Carvalho Chehabcb1aaeb2019-06-07 15:54:32 -03002681 See Documentation/admin-guide/mm/memory-hotplug.rst.
Vitaly Kuznetsov86dd9952016-05-19 17:13:06 -07002682
Jaswinder Singh Rajput6cececf2009-04-14 14:03:43 +05302683 memmap=exactmap [KNL,X86] Enable setting of an exact
Linus Torvalds1da177e2005-04-16 15:20:36 -07002684 E820 memory map, as specified by the user.
2685 Such memmap=exactmap lines can be constructed based on
2686 BIOS output or other requirements. See the memmap=nn@ss
2687 option description.
2688
2689 memmap=nn[KMG]@ss[KMG]
Randy Dunlap277cba12014-02-06 12:04:19 -08002690 [KNL] Force usage of a specific region of memory.
2691 Region of memory to be used is from ss to ss+nn.
Baoquan He8fcc9bc2017-05-13 13:46:30 +08002692 If @ss[KMG] is omitted, it is equivalent to mem=nn[KMG],
2693 which limits max address to nn[KMG].
2694 Multiple different regions can be specified,
2695 comma delimited.
2696 Example:
2697 memmap=100M@2G,100M#3G,1G!1024G
Linus Torvalds1da177e2005-04-16 15:20:36 -07002698
2699 memmap=nn[KMG]#ss[KMG]
2700 [KNL,ACPI] Mark specific memory as ACPI data.
Randy Dunlap277cba12014-02-06 12:04:19 -08002701 Region of memory to be marked is from ss to ss+nn.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002702
2703 memmap=nn[KMG]$ss[KMG]
2704 [KNL,ACPI] Mark specific memory as reserved.
Randy Dunlap277cba12014-02-06 12:04:19 -08002705 Region of memory to be reserved is from ss to ss+nn.
Pavel Machek13128482008-03-24 12:29:43 -07002706 Example: Exclude memory from 0x18690000-0x1869ffff
2707 memmap=64K$0x18690000
2708 or
2709 memmap=0x10000$0x18690000
Baoquan He8fcc9bc2017-05-13 13:46:30 +08002710 Some bootloaders may need an escape character before '$',
2711 like Grub2, otherwise '$' and the following number
2712 will be eaten.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002713
Christoph Hellwigec776ef2015-04-01 09:12:18 +02002714 memmap=nn[KMG]!ss[KMG]
2715 [KNL,X86] Mark specific memory as protected.
2716 Region of memory to be used, from ss to ss+nn.
2717 The memory region may be marked as e820 type 12 (0xc)
2718 and is NVDIMM or ADR memory.
2719
Jan H. Schönherref61f8a2018-02-03 00:10:20 +01002720 memmap=<size>%<offset>-<oldtype>+<newtype>
2721 [KNL,ACPI] Convert memory within the specified region
2722 from <oldtype> to <newtype>. If "-<oldtype>" is left
2723 out, the whole region will be marked as <newtype>,
2724 even if previously unavailable. If "+<newtype>" is left
2725 out, matching memory will be removed. Types are
2726 specified as e820 types, e.g., 1 = RAM, 2 = reserved,
2727 3 = ACPI, 12 = PRAM.
2728
Jeremy Fitzhardinge9f077872008-09-07 01:51:34 -07002729 memory_corruption_check=0/1 [X86]
2730 Some BIOSes seem to corrupt the first 64k of
2731 memory when doing things like suspend/resume.
2732 Setting this option will scan the memory
2733 looking for corruption. Enabling this will
2734 both detect corruption and prevent the kernel
2735 from using the memory being corrupted.
2736 However, its intended as a diagnostic tool; if
2737 repeatable BIOS-originated corruption always
2738 affects the same memory, you can use memmap=
2739 to prevent the kernel from using that memory.
2740
2741 memory_corruption_check_size=size [X86]
2742 By default it checks for corruption in the low
2743 64k, making this memory unavailable for normal
2744 use. Use this parameter to scan for
2745 corruption in more or less memory.
2746
2747 memory_corruption_check_period=seconds [X86]
2748 By default it checks for corruption every 60
2749 seconds. Use this parameter to check at some
2750 other rate. 0 disables periodic checking.
2751
Christophe Leroyd90fe2a2018-09-28 15:39:20 +00002752 memtest= [KNL,X86,ARM,PPC] Enable memtest
Yinghai Luc64df702008-03-21 18:56:19 -07002753 Format: <integer>
Yinghai Luc64df702008-03-21 18:56:19 -07002754 default : 0 <disable>
Andreas Herrmann9e5f6cf2009-02-25 11:30:45 +01002755 Specifies the number of memtest passes to be
2756 performed. Each pass selects another test
2757 pattern from a given set of patterns. Memtest
2758 fills the memory with this pattern, validates
2759 memory contents and reserves bad memory
2760 regions that are detected.
Yinghai Luc64df702008-03-21 18:56:19 -07002761
Tom Lendackyc262f3b2017-07-17 16:09:58 -05002762 mem_encrypt= [X86-64] AMD Secure Memory Encryption (SME) control
2763 Valid arguments: on, off
2764 Default (depends on kernel configuration option):
2765 on (CONFIG_AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT=y)
2766 off (CONFIG_AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT=n)
2767 mem_encrypt=on: Activate SME
2768 mem_encrypt=off: Do not activate SME
2769
Christoph Hellwig2f5947d2019-07-24 09:24:49 +02002770 Refer to Documentation/virt/kvm/amd-memory-encryption.rst
Tom Lendackyc262f3b2017-07-17 16:09:58 -05002771 for details on when memory encryption can be activated.
2772
Rafael J. Wysocki406e7932016-11-21 22:45:40 +01002773 mem_sleep_default= [SUSPEND] Default system suspend mode:
2774 s2idle - Suspend-To-Idle
2775 shallow - Power-On Suspend or equivalent (if supported)
2776 deep - Suspend-To-RAM or equivalent (if supported)
Rafael J. Wysocki58e7cb92017-10-06 00:38:49 +02002777 See Documentation/admin-guide/pm/sleep-states.rst.
Rafael J. Wysocki406e7932016-11-21 22:45:40 +01002778
Linus Torvalds1da177e2005-04-16 15:20:36 -07002779 meye.*= [HW] Set MotionEye Camera parameters
Mauro Carvalho Chehab32e2eae2020-03-04 13:08:03 +01002780 See Documentation/admin-guide/media/meye.rst.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002781
Andres Salomon8f368812007-10-12 23:04:06 +02002782 mfgpt_irq= [IA-32] Specify the IRQ to use for the
2783 Multi-Function General Purpose Timers on AMD Geode
2784 platforms.
2785
Willy Tarreaue6c4dc62008-01-30 13:33:33 +01002786 mfgptfix [X86-32] Fix MFGPT timers on AMD Geode platforms when
2787 the BIOS has incorrectly applied a workaround. TinyBIOS
2788 version 0.98 is known to be affected, 0.99 fixes the
2789 problem by letting the user disable the workaround.
2790
Linus Torvalds1da177e2005-04-16 15:20:36 -07002791 mga= [HW,DRM]
2792
Randy Dunlap1c207f952008-11-19 15:36:16 -08002793 min_addr=nn[KMG] [KNL,BOOT,ia64] All physical memory below this
2794 physical address is ignored.
2795
Michel Pollet39f45d72009-05-20 11:10:31 +01002796 mini2440= [ARM,HW,KNL]
2797 Format:[0..2][b][c][t]
2798 Default: "0tb"
2799 MINI2440 configuration specification:
2800 0 - The attached screen is the 3.5" TFT
2801 1 - The attached screen is the 7" TFT
2802 2 - The VGA Shield is attached (1024x768)
2803 Leaving out the screen size parameter will not load
2804 the TFT driver, and the framebuffer will be left
2805 unconfigured.
2806 b - Enable backlight. The TFT backlight pin will be
2807 linked to the kernel VESA blanking code and a GPIO
2808 LED. This parameter is not necessary when using the
2809 VGA shield.
2810 c - Enable the s3c camera interface.
2811 t - Reserved for enabling touchscreen support. The
2812 touchscreen support is not enabled in the mainstream
2813 kernel as of 2.6.30, a preliminary port can be found
2814 in the "bleeding edge" mini2440 support kernel at
Alexander A. Klimov6b2484e2020-06-27 09:29:35 +02002815 https://repo.or.cz/w/linux-2.6/mini2440.git
Michel Pollet39f45d72009-05-20 11:10:31 +01002816
Josh Poimboeuf98af8452019-04-12 15:39:28 -05002817 mitigations=
Josh Poimboeufa111b7c2019-04-12 15:39:32 -05002818 [X86,PPC,S390,ARM64] Control optional mitigations for
2819 CPU vulnerabilities. This is a set of curated,
Josh Poimboeufd68be4c2019-04-12 15:39:29 -05002820 arch-independent options, each of which is an
2821 aggregation of existing arch-specific options.
Josh Poimboeuf98af8452019-04-12 15:39:28 -05002822
2823 off
2824 Disable all optional CPU mitigations. This
2825 improves system performance, but it may also
2826 expose users to several CPU vulnerabilities.
Josh Poimboeuf782e69e2019-04-12 15:39:30 -05002827 Equivalent to: nopti [X86,PPC]
Josh Poimboeufa111b7c2019-04-12 15:39:32 -05002828 kpti=0 [ARM64]
Josh Poimboeufa2059822019-07-08 11:52:26 -05002829 nospectre_v1 [X86,PPC]
Josh Poimboeuf0336e042019-04-12 15:39:31 -05002830 nobp=0 [S390]
Josh Poimboeufa111b7c2019-04-12 15:39:32 -05002831 nospectre_v2 [X86,PPC,S390,ARM64]
Josh Poimboeufd68be4c2019-04-12 15:39:29 -05002832 spectre_v2_user=off [X86]
Josh Poimboeuf782e69e2019-04-12 15:39:30 -05002833 spec_store_bypass_disable=off [X86,PPC]
Josh Poimboeufa111b7c2019-04-12 15:39:32 -05002834 ssbd=force-off [ARM64]
Josh Poimboeufd68be4c2019-04-12 15:39:29 -05002835 l1tf=off [X86]
Josh Poimboeuf5c140682019-04-17 16:39:02 -05002836 mds=off [X86]
Pawan Guptaa7a248c2019-10-23 12:32:55 +02002837 tsx_async_abort=off [X86]
Paolo Bonzinib8e8c832019-11-04 12:22:02 +01002838 kvm.nx_huge_pages=off [X86]
2839
2840 Exceptions:
2841 This does not have any effect on
2842 kvm.nx_huge_pages when
2843 kvm.nx_huge_pages=force.
Josh Poimboeuf98af8452019-04-12 15:39:28 -05002844
2845 auto (default)
2846 Mitigate all CPU vulnerabilities, but leave SMT
2847 enabled, even if it's vulnerable. This is for
2848 users who don't want to be surprised by SMT
2849 getting disabled across kernel upgrades, or who
2850 have other ways of avoiding SMT-based attacks.
Josh Poimboeufd68be4c2019-04-12 15:39:29 -05002851 Equivalent to: (default behavior)
Josh Poimboeuf98af8452019-04-12 15:39:28 -05002852
2853 auto,nosmt
2854 Mitigate all CPU vulnerabilities, disabling SMT
2855 if needed. This is for users who always want to
2856 be fully mitigated, even if it means losing SMT.
Josh Poimboeufd68be4c2019-04-12 15:39:29 -05002857 Equivalent to: l1tf=flush,nosmt [X86]
Josh Poimboeuf5c140682019-04-17 16:39:02 -05002858 mds=full,nosmt [X86]
Pawan Guptaa7a248c2019-10-23 12:32:55 +02002859 tsx_async_abort=full,nosmt [X86]
Josh Poimboeuf98af8452019-04-12 15:39:28 -05002860
Mel Gorman6b74ab92008-07-23 21:26:49 -07002861 mminit_loglevel=
2862 [KNL] When CONFIG_DEBUG_MEMORY_INIT is set, this
2863 parameter allows control of the logging verbosity for
2864 the additional memory initialisation checks. A value
2865 of 0 disables mminit logging and a level of 4 will
2866 log everything. Information is printed at KERN_DEBUG
2867 so loglevel=8 may also need to be specified.
2868
Rusty Russell106a4ee2012-09-26 10:09:40 +01002869 module.sig_enforce
2870 [KNL] When CONFIG_MODULE_SIG is set, this means that
2871 modules without (valid) signatures will fail to load.
Paul Bolle2a039be2013-03-25 20:42:06 +01002872 Note that if CONFIG_MODULE_SIG_FORCE is set, that
Rusty Russell106a4ee2012-09-26 10:09:40 +01002873 is always true, so this option does nothing.
2874
Prarit Bhargavabe7de5f2016-07-21 15:37:56 +09302875 module_blacklist= [KNL] Do not load a comma-separated list of
2876 modules. Useful for debugging problem modules.
2877
Linus Torvalds1da177e2005-04-16 15:20:36 -07002878 mousedev.tap_time=
2879 [MOUSE] Maximum time between finger touching and
2880 leaving touchpad surface for touch to be considered
2881 a tap and be reported as a left button click (for
2882 touchpads working in absolute mode only).
2883 Format: <msecs>
2884 mousedev.xres= [MOUSE] Horizontal screen resolution, used for devices
2885 reporting absolute coordinates, such as tablets
2886 mousedev.yres= [MOUSE] Vertical screen resolution, used for devices
2887 reporting absolute coordinates, such as tablets
2888
David Rientjesa5c6d6502018-04-05 16:23:09 -07002889 movablecore= [KNL,X86,IA-64,PPC]
2890 Format: nn[KMGTPE] | nn%
2891 This parameter is the complement to kernelcore=, it
2892 specifies the amount of memory used for migratable
2893 allocations. If both kernelcore and movablecore is
2894 specified, then kernelcore will be at *least* the
2895 specified value but may be more. If movablecore on its
2896 own is specified, the administrator must be careful
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07002897 that the amount of memory usable for all allocations
2898 is not too small.
2899
Michal Hockof70029b2017-07-06 15:41:02 -07002900 movable_node [KNL] Boot-time switch to make hotplugable memory
2901 NUMA nodes to be movable. This means that the memory
2902 of such nodes will be usable only for movable
2903 allocations which rules out almost all kernel
2904 allocations. Use with caution!
Tang Chenc5320922013-11-12 15:08:10 -08002905
Linus Torvalds1da177e2005-04-16 15:20:36 -07002906 MTD_Partition= [MTD]
2907 Format: <name>,<region-number>,<size>,<offset>
2908
Randy Dunlapa9913042005-10-23 12:57:11 -07002909 MTD_Region= [MTD] Format:
2910 <name>,<region-number>[,<base>,<size>,<buswidth>,<altbuswidth>]
Linus Torvalds1da177e2005-04-16 15:20:36 -07002911
2912 mtdparts= [MTD]
Jonathan Neuschäferfb251122020-02-18 16:02:19 +01002913 See drivers/mtd/parsers/cmdlinepart.c
Linus Torvalds1da177e2005-04-16 15:20:36 -07002914
Will Schmidt4e89a2d2010-09-28 15:33:12 +00002915 multitce=off [PPC] This parameter disables the use of the pSeries
2916 firmware feature for updating multiple TCE entries
2917 at a time.
2918
Rohit Hagargundgi5988af22009-05-12 13:46:57 -07002919 onenand.bdry= [HW,MTD] Flex-OneNAND Boundary Configuration
2920
2921 Format: [die0_boundary][,die0_lock][,die1_boundary][,die1_lock]
2922
2923 boundary - index of last SLC block on Flex-OneNAND.
2924 The remaining blocks are configured as MLC blocks.
2925 lock - Configure if Flex-OneNAND boundary should be locked.
2926 Once locked, the boundary cannot be changed.
2927 1 indicates lock status, 0 indicates unlock status.
2928
Ben Dooks9db829f2008-07-03 11:24:29 +01002929 mtdset= [ARM]
2930 ARM/S3C2412 JIVE boot control
2931
2932 See arch/arm/mach-s3c2412/mach-jive.c
2933
Linus Torvalds1da177e2005-04-16 15:20:36 -07002934 mtouchusb.raw_coordinates=
Randy Dunlapa9913042005-10-23 12:57:11 -07002935 [HW] Make the MicroTouch USB driver use raw coordinates
2936 ('y', default) or cooked coordinates ('n')
Linus Torvalds1da177e2005-04-16 15:20:36 -07002937
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07002938 mtrr_chunk_size=nn[KMG] [X86]
Matt LaPlante19f59462009-04-27 15:06:31 +02002939 used for mtrr cleanup. It is largest continuous chunk
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07002940 that could hold holes aka. UC entries.
2941
2942 mtrr_gran_size=nn[KMG] [X86]
2943 Used for mtrr cleanup. It is granularity of mtrr block.
2944 Default is 1.
2945 Large value could prevent small alignment from
2946 using up MTRRs.
2947
2948 mtrr_spare_reg_nr=n [X86]
2949 Format: <integer>
2950 Range: 0,7 : spare reg number
2951 Default : 1
2952 Used for mtrr cleanup. It is spare mtrr entries number.
2953 Set to 2 or more if your graphical card needs more.
2954
Linus Torvalds1da177e2005-04-16 15:20:36 -07002955 n2= [NET] SDL Inc. RISCom/N2 synchronous serial card
2956
Linus Torvalds1da177e2005-04-16 15:20:36 -07002957 netdev= [NET] Network devices parameters
2958 Format: <irq>,<io>,<mem_start>,<mem_end>,<name>
2959 Note that mem_start is often overloaded to mean
2960 something different and driver-specific.
Randy Dunlapa9913042005-10-23 12:57:11 -07002961 This usage is only documented in each driver source
2962 file if at all.
2963
Krzysztof Piotr Oledzki58401572008-07-21 10:01:34 -07002964 nf_conntrack.acct=
2965 [NETFILTER] Enable connection tracking flow accounting
2966 0 to disable accounting
2967 1 to enable accounting
Tim Gardnerd70a0112010-06-25 14:46:56 +02002968 Default value is 0.
Krzysztof Piotr Oledzki58401572008-07-21 10:01:34 -07002969
Chuck Lever306a0752010-09-17 10:54:37 -04002970 nfsaddrs= [NFS] Deprecated. Use ip= instead.
Niklas Söderlund3eb30c52020-02-12 19:13:32 +01002971 See Documentation/admin-guide/nfs/nfsroot.rst.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002972
2973 nfsroot= [NFS] nfs root filesystem for disk-less boxes.
Niklas Söderlund3eb30c52020-02-12 19:13:32 +01002974 See Documentation/admin-guide/nfs/nfsroot.rst.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002975
Chuck Lever306a0752010-09-17 10:54:37 -04002976 nfsrootdebug [NFS] enable nfsroot debugging messages.
Niklas Söderlund3eb30c52020-02-12 19:13:32 +01002977 See Documentation/admin-guide/nfs/nfsroot.rst.
Chuck Lever306a0752010-09-17 10:54:37 -04002978
Trond Myklebust5405fc42016-08-29 20:03:52 -04002979 nfs.callback_nr_threads=
2980 [NFSv4] set the total number of threads that the
2981 NFS client will assign to service NFSv4 callback
2982 requests.
2983
Trond Myklebusta72b4422006-01-03 09:55:41 +01002984 nfs.callback_tcpport=
2985 [NFS] set the TCP port on which the NFSv4 callback
2986 channel should listen.
2987
Trond Myklebuste571cbf2009-08-19 18:12:27 -04002988 nfs.cache_getent=
2989 [NFS] sets the pathname to the program which is used
2990 to update the NFS client cache entries.
2991
2992 nfs.cache_getent_timeout=
2993 [NFS] sets the timeout after which an attempt to
2994 update a cache entry is deemed to have failed.
2995
Trond Myklebust58df0952006-01-03 09:55:57 +01002996 nfs.idmap_cache_timeout=
2997 [NFS] set the maximum lifetime for idmapper cache
2998 entries.
2999
Trond Myklebustf43bf0b2007-10-09 12:01:04 -04003000 nfs.enable_ino64=
3001 [NFS] enable 64-bit inode numbers.
3002 If zero, the NFS client will fake up a 32-bit inode
3003 number for the readdir() and stat() syscalls instead
3004 of returning the full 64-bit number.
3005 The default is to return 64-bit inode numbers.
3006
Trond Myklebust5405fc42016-08-29 20:03:52 -04003007 nfs.max_session_cb_slots=
3008 [NFSv4.1] Sets the maximum number of session
3009 slots the client will assign to the callback
3010 channel. This determines the maximum number of
3011 callbacks the client will process in parallel for
3012 a particular server.
3013
Trond Myklebustef159e92012-02-06 19:50:40 -05003014 nfs.max_session_slots=
3015 [NFSv4.1] Sets the maximum number of session slots
3016 the client will attempt to negotiate with the server.
3017 This limits the number of simultaneous RPC requests
3018 that the client can send to the NFSv4.1 server.
3019 Note that there is little point in setting this
3020 value higher than the max_tcp_slot_table_limit.
3021
Trond Myklebustb064eca22011-02-22 15:44:32 -08003022 nfs.nfs4_disable_idmapping=
Trond Myklebust074b1d122012-01-09 13:46:26 -05003023 [NFSv4] When set to the default of '1', this option
3024 ensures that both the RPC level authentication
3025 scheme and the NFS level operations agree to use
3026 numeric uids/gids if the mount is using the
3027 'sec=sys' security flavour. In effect it is
3028 disabling idmapping, which can make migration from
3029 legacy NFSv2/v3 systems to NFSv4 easier.
3030 Servers that do not support this mode of operation
3031 will be autodetected by the client, and it will fall
3032 back to using the idmapper.
3033 To turn off this behaviour, set the value to '0'.
Chuck Lever6f2ea7f2012-09-14 17:24:41 -04003034 nfs.nfs4_unique_id=
3035 [NFS4] Specify an additional fixed unique ident-
3036 ification string that NFSv4 clients can insert into
3037 their nfs_client_id4 string. This is typically a
3038 UUID that is generated at system install time.
Trond Myklebustb064eca22011-02-22 15:44:32 -08003039
Weston Andros Adamsondb8ac8b2012-02-17 15:20:24 -05003040 nfs.send_implementation_id =
3041 [NFSv4.1] Send client implementation identification
3042 information in exchange_id requests.
3043 If zero, no implementation identification information
3044 will be sent.
3045 The default is to send the implementation identification
3046 information.
Jani Nikulae52347b2016-11-03 12:10:10 +02003047
Trond Myklebustf6de7a32013-09-04 10:08:54 -04003048 nfs.recover_lost_locks =
3049 [NFSv4] Attempt to recover locks that were lost due
3050 to a lease timeout on the server. Please note that
3051 doing this risks data corruption, since there are
3052 no guarantees that the file will remain unchanged
3053 after the locks are lost.
3054 If you want to enable the kernel legacy behaviour of
3055 attempting to recover these locks, then set this
3056 parameter to '1'.
3057 The default parameter value of '0' causes the kernel
3058 not to attempt recovery of lost locks.
Weston Andros Adamsondb8ac8b2012-02-17 15:20:24 -05003059
Trond Myklebustbbf58bf2015-08-24 20:39:18 -04003060 nfs4.layoutstats_timer =
3061 [NFSv4.2] Change the rate at which the kernel sends
3062 layoutstats to the pNFS metadata server.
3063
3064 Setting this to value to 0 causes the kernel to use
3065 whatever value is the default set by the layout
3066 driver. A non-zero value sets the minimum interval
3067 in seconds between layoutstats transmissions.
3068
J. Bruce Fieldse9541ce2012-03-22 16:07:18 -04003069 nfsd.nfs4_disable_idmapping=
3070 [NFSv4] When set to the default of '1', the NFSv4
3071 server will return only numeric uids and gids to
3072 clients using auth_sys, and will accept numeric uids
3073 and gids from such clients. This is intended to ease
3074 migration from NFSv2/v3.
Weston Andros Adamsondb8ac8b2012-02-17 15:20:24 -05003075
Hans-Christian Noren Egtvedtc0c74ac2017-02-26 13:17:39 +01003076 nmi_debug= [KNL,SH] Specify one or more actions to take
Haavard Skinnemoene7ba1762007-10-10 14:58:29 +02003077 when a NMI is triggered.
3078 Format: [state][,regs][,debounce][,die]
3079
Jaswinder Singh Rajput6cececf2009-04-14 14:03:43 +05303080 nmi_watchdog= [KNL,BUGS=X86] Debugging features for SMP kernels
Don Zickusfef2c9b2011-03-22 16:34:16 -07003081 Format: [panic,][nopanic,][num]
Ulrich Obergfell195daf62015-04-14 15:44:13 -07003082 Valid num: 0 or 1
Pranith Kumar334bb792015-10-10 15:40:42 -04003083 0 - turn hardlockup detector in nmi_watchdog off
3084 1 - turn hardlockup detector in nmi_watchdog on
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07003085 When panic is specified, panic when an NMI watchdog
Zhenzhong Duan93285c012019-05-21 10:32:08 +08003086 timeout occurs (or 'nopanic' to not panic on an NMI
3087 watchdog, if CONFIG_BOOTPARAM_HARDLOCKUP_PANIC is set)
3088 To disable both hard and soft lockup detectors,
Pranith Kumar334bb792015-10-10 15:40:42 -04003089 please see 'nowatchdog'.
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07003090 This is useful when you use a panic=... timeout and
3091 need the box quickly up again.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003092
Scott Woodd22881d2017-12-10 01:48:46 -06003093 These settings can be accessed at runtime via
3094 the nmi_watchdog and hardlockup_panic sysctls.
3095
Anton Vorontsovbff38772009-07-08 11:10:56 -07003096 netpoll.carrier_timeout=
3097 [NET] Specifies amount of time (in seconds) that
3098 netpoll should wait for a carrier. By default netpoll
3099 waits 4 seconds.
3100
Alan Coxcd4f0ef2007-07-31 00:37:59 -07003101 no387 [BUGS=X86-32] Tells the kernel to use the 387 maths
Linus Torvalds1da177e2005-04-16 15:20:36 -07003102 emulation library even if a 387 maths coprocessor
3103 is present.
3104
Kirill A. Shutemov372fddf2018-05-18 13:35:25 +03003105 no5lvl [X86-64] Disable 5-level paging mode. Forces
3106 kernel to use 4-level paging instead.
3107
Andy Lutomirskib745cfb2020-05-28 16:13:58 -04003108 nofsgsbase [X86] Disables FSGSBASE instructions.
Andy Lutomirskidd649bd2020-05-28 16:13:48 -04003109
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07003110 no_console_suspend
3111 [HW] Never suspend the console
3112 Disable suspending of consoles during suspend and
3113 hibernate operations. Once disabled, debugging
3114 messages can reach various consoles while the rest
3115 of the system is being put to sleep (ie, while
3116 debugging driver suspend/resume hooks). This may
3117 not work reliably with all consoles, but is known
3118 to work with serial and VGA consoles.
Yanmin Zhang134620f2011-10-31 17:11:27 -07003119 To facilitate more flexible debugging, we also add
3120 console_suspend, a printk module parameter to control
3121 it. Users could use console_suspend (usually
3122 /sys/module/printk/parameters/console_suspend) to
3123 turn on/off it dynamically.
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07003124
Kairui Songc6c40532019-07-16 16:26:39 -07003125 novmcoredd [KNL,KDUMP]
3126 Disable device dump. Device dump allows drivers to
3127 append dump data to vmcore so you can collect driver
3128 specified debug info. Drivers can append the data
3129 without any limit and this data is stored in memory,
3130 so this may cause significant memory stress. Disabling
3131 device dump can help save memory but the driver debug
3132 data will be no longer available. This parameter
3133 is only available when CONFIG_PROC_VMCORE_DEVICE_DUMP
3134 is set.
3135
Christoph Lameterc1aee212007-05-31 00:40:47 -07003136 noaliencache [MM, NUMA, SLAB] Disables the allocation of alien
3137 caches in the slab allocator. Saves per-node memory,
3138 but will impact performance.
Paul Menage3395ee02006-12-06 20:32:16 -08003139
Randy Dunlapa9913042005-10-23 12:57:11 -07003140 noalign [KNL,ARM]
3141
Vasily Gorbik686140a2017-10-12 13:01:47 +02003142 noaltinstr [S390] Disables alternative instructions patching
3143 (CPU alternatives feature).
3144
Linus Torvalds1da177e2005-04-16 15:20:36 -07003145 noapic [SMP,APIC] Tells the kernel to not make use of any
3146 IOAPICs that may be present in the system.
3147
Mike Galbraith5091faa2010-11-30 14:18:03 +01003148 noautogroup Disable scheduler automatic task group creation.
3149
Linus Torvalds1da177e2005-04-16 15:20:36 -07003150 nobats [PPC] Do not use BATs for mapping kernel lowmem
3151 on "Classic" PPC cores.
3152
3153 nocache [ARM]
Randy Dunlapa9913042005-10-23 12:57:11 -07003154
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07003155 noclflush [BUGS=X86] Don't use the CLFLUSH instruction
3156
Shailabh Nagar163ecdf2006-07-30 03:03:11 -07003157 nodelayacct [KNL] Disable per-task delay accounting
3158
Paul Mundt6902aa82008-09-21 17:14:42 +09003159 nodsp [SH] Disable hardware DSP at boot time.
3160
Dave Youngb2e0a542014-08-14 17:15:26 +08003161 noefi Disable EFI runtime services support.
Huang, Ying8b2cb7a2008-01-30 13:32:11 +01003162
Linus Torvalds1da177e2005-04-16 15:20:36 -07003163 noexec [IA-64]
3164
Jaswinder Singh Rajput6cececf2009-04-14 14:03:43 +05303165 noexec [X86]
Jiri Slabyf5a1b192008-04-12 10:28:25 +02003166 On X86-32 available only on PAE configured kernels.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003167 noexec=on: enable non-executable mappings (default)
Jiri Slabyf5a1b192008-04-12 10:28:25 +02003168 noexec=off: disable non-executable mappings
3169
Christophe Leroyde78a9c2019-04-18 16:51:20 +10003170 nosmap [X86,PPC]
H. Peter Anvin52b61792012-09-21 12:43:13 -07003171 Disable SMAP (Supervisor Mode Access Prevention)
3172 even if it is supported by processor.
3173
Christophe Leroy0fb1c252019-04-18 16:51:19 +10003174 nosmep [X86,PPC]
H. Peter Anvin52b61792012-09-21 12:43:13 -07003175 Disable SMEP (Supervisor Mode Execution Prevention)
Fenghua Yude5397a2011-05-11 16:51:05 -07003176 even if it is supported by processor.
3177
Jiri Slabyf5a1b192008-04-12 10:28:25 +02003178 noexec32 [X86-64]
3179 This affects only 32-bit executables.
3180 noexec32=on: enable non-executable mappings (default)
3181 read doesn't imply executable mappings
3182 noexec32=off: disable non-executable mappings
3183 read implies executable mappings
Linus Torvalds1da177e2005-04-16 15:20:36 -07003184
Maciej W. Rozyckifab43ef2015-04-03 23:23:34 +01003185 nofpu [MIPS,SH] Disable hardware FPU at boot time.
Paul Mundt6902aa82008-09-21 17:14:42 +09003186
Alan Coxcd4f0ef2007-07-31 00:37:59 -07003187 nofxsr [BUGS=X86-32] Disables x86 floating point extended
Chuck Ebbert4f886512006-03-23 02:59:34 -08003188 register save and restore. The kernel will only save
3189 legacy floating-point registers on task switch.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003190
Randy Dunlapbe3a5b0e2020-08-09 19:49:41 -07003191 nohugeiomap [KNL,X86,PPC] Disable kernel huge I/O mappings.
Toshi Kani0ddab1d2015-04-14 15:47:20 -07003192
Sascha Silbe52c48c52016-04-05 12:53:38 +02003193 nosmt [KNL,S390] Disable symmetric multithreading (SMT).
3194 Equivalent to smt=1.
3195
Randy Dunlapbe3a5b0e2020-08-09 19:49:41 -07003196 [KNL,X86] Disable symmetric multithreading (SMT).
Thomas Gleixner506a66f2018-06-29 16:05:47 +02003197 nosmt=force: Force disable SMT, cannot be undone
3198 via the sysfs control file.
Thomas Gleixner05736e42018-05-29 17:48:27 +02003199
Josh Poimboeufa2059822019-07-08 11:52:26 -05003200 nospectre_v1 [X86,PPC] Disable mitigations for Spectre Variant 1
3201 (bounds check bypass). With this option data leaks are
3202 possible in the system.
Diana Craciun26cb1f32018-07-28 09:06:39 +10003203
Jeremy Lintone5ce5e72019-04-15 16:21:20 -05003204 nospectre_v2 [X86,PPC_FSL_BOOK3E,ARM64] Disable all mitigations for
3205 the Spectre variant 2 (indirect branch prediction)
3206 vulnerability. System may allow data leaks with this
3207 option.
David Woodhouseda285122018-01-11 21:46:26 +00003208
Konrad Rzeszutek Wilk24f7fc82018-04-25 22:04:21 -04003209 nospec_store_bypass_disable
3210 [HW] Disable all mitigations for the Speculative Store Bypass vulnerability
3211
Suresh Siddha0c752a92009-05-22 12:17:45 -07003212 noxsave [BUGS=X86] Disables x86 extended register state save
3213 and restore using xsave. The kernel will fallback to
3214 enabling legacy floating-point and sse state.
3215
Fenghua Yub6f42a42014-05-29 11:12:31 -07003216 noxsaveopt [X86] Disables xsaveopt used in saving x86 extended
3217 register states. The kernel will fall back to use
3218 xsave to save the states. By using this parameter,
3219 performance of saving the states is degraded because
3220 xsave doesn't support modified optimization while
3221 xsaveopt supports it on xsaveopt enabled systems.
3222
3223 noxsaves [X86] Disables xsaves and xrstors used in saving and
3224 restoring x86 extended register state in compacted
3225 form of xsave area. The kernel will fall back to use
3226 xsaveopt and xrstor to save and restore the states
3227 in standard form of xsave area. By using this
3228 parameter, xsave area per process might occupy more
3229 memory on xsaves enabled systems.
3230
Paulius Zaleckas01a24d22009-03-31 13:55:44 +01003231 nohlt [BUGS=ARM,SH] Tells the kernel that the sleep(SH) or
3232 wfi(ARM) instruction doesn't work correctly and not to
3233 use it. This is also useful when using JTAG debugger.
Randy Dunlapa9913042005-10-23 12:57:11 -07003234
Serge E. Hallyn1f29fae2008-11-05 16:08:52 -06003235 no_file_caps Tells the kernel not to honor file capabilities. The
3236 only way then for a file to be executed with privilege
3237 is to be setuid root or executed by root.
3238
Linus Torvalds1da177e2005-04-16 15:20:36 -07003239 nohalt [IA-64] Tells the kernel not to use the power saving
3240 function PAL_HALT_LIGHT when idle. This increases
3241 power-consumption. On the positive side, it reduces
3242 interrupt wake-up latency, which may improve performance
3243 in certain environments such as networked servers or
3244 real-time systems.
3245
Kees Cooka6e15a32014-06-13 13:30:35 -07003246 nohibernate [HIBERNATION] Disable hibernation and resume.
3247
Thomas Gleixner79bf2bb2007-02-16 01:28:03 -08003248 nohz= [KNL] Boottime enable/disable dynamic ticks
3249 Valid arguments: on, off
3250 Default: on
3251
Frederic Weisbeckerd94d1052017-12-14 19:18:27 +01003252 nohz_full= [KNL,BOOT,SMP,ISOL]
Noam Camus2d13e6c2016-10-11 13:51:35 -07003253 The argument is a cpu list, as described above.
Frederic Weisbeckerc5bfece2013-04-12 16:45:34 +02003254 In kernels built with CONFIG_NO_HZ_FULL=y, set
Frederic Weisbeckera8318812012-12-18 17:32:19 +01003255 the specified list of CPUs whose tick will be stopped
Frederic Weisbecker0453b432013-03-27 02:18:34 +01003256 whenever possible. The boot CPU will be forced outside
Paul E. McKenneyf99bcb22017-06-02 11:26:43 -07003257 the range to maintain the timekeeping. Any CPUs
3258 in this list will have their RCU callbacks offloaded,
3259 just as if they had also been called out in the
3260 rcu_nocbs= boot parameter.
Frederic Weisbeckera8318812012-12-18 17:32:19 +01003261
Paul Mundteeee7852009-04-02 12:31:16 +09003262 noiotrap [SH] Disables trapped I/O port accesses.
3263
Alan Coxcd4f0ef2007-07-31 00:37:59 -07003264 noirqdebug [X86-32] Disables the code which attempts to detect and
Linus Torvalds1da177e2005-04-16 15:20:36 -07003265 disable unhandled interrupt sources.
3266
Jaswinder Singh Rajput6cececf2009-04-14 14:03:43 +05303267 no_timer_check [X86,APIC] Disables the code which tests for
Zachary Amsden8542b202006-12-07 02:14:09 +01003268 broken timer IRQ sources.
3269
Linus Torvalds1da177e2005-04-16 15:20:36 -07003270 noisapnp [ISAPNP] Disables ISA PnP code.
3271
3272 noinitrd [RAM] Tells the kernel not to load any configured
3273 initial RAM disk.
3274
Weidong Han03ea8152009-04-17 16:42:15 +08003275 nointremap [X86-64, Intel-IOMMU] Do not enable interrupt
3276 remapping.
Chris Wrightd1423d52010-07-20 11:06:49 -07003277 [Deprecated - use intremap=off]
Weidong Han03ea8152009-04-17 16:42:15 +08003278
Linus Torvalds1da177e2005-04-16 15:20:36 -07003279 nointroute [IA-64]
3280
Andy Lutomirskid12a72b2016-01-29 11:42:58 -08003281 noinvpcid [X86] Disable the INVPCID cpu feature.
3282
Randy Dunlap16290242011-08-13 12:34:52 -07003283 nojitter [IA-64] Disables jitter checking for ITC timers.
Tony Luck0aa366f2007-07-20 11:22:30 -07003284
Jiri Kosina9cf4c4f2010-08-16 17:51:20 +02003285 no-kvmclock [X86,KVM] Disable paravirtualized KVM clock driver
3286
Gleb Natapovfd10cde2010-10-14 11:22:51 +02003287 no-kvmapf [X86,KVM] Disable paravirtualized asynchronous page
3288 fault handling.
3289
Alexey Makhalov80e9a4f2016-10-28 00:54:32 -07003290 no-vmw-sched-clock
3291 [X86,PV_OPS] Disable paravirtualized VMware scheduler
3292 clock and use the default one.
3293
Alexey Makhalove73a8f32020-03-23 19:57:06 +00003294 no-steal-acc [X86,PV_OPS,ARM64] Disable paravirtualized steal time
Steven Pricee0685fa2019-10-21 16:28:23 +01003295 accounting. steal time is computed, but won't
3296 influence scheduler behaviour
Glauber Costad910f5c2011-07-11 15:28:19 -04003297
Alan Coxcd4f0ef2007-07-31 00:37:59 -07003298 nolapic [X86-32,APIC] Do not enable or use the local APIC.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003299
Alan Coxcd4f0ef2007-07-31 00:37:59 -07003300 nolapic_timer [X86-32,APIC] Do not use the local APIC timer.
Thomas Gleixnerad62ca22007-03-22 00:11:21 -08003301
Linus Torvalds1da177e2005-04-16 15:20:36 -07003302 noltlbs [PPC] Do not use large page/tlb entries for kernel
Christophe Leroyf15eea62016-02-09 17:07:52 +01003303 lowmem mapping on PPC40x and PPC8xx
Linus Torvalds1da177e2005-04-16 15:20:36 -07003304
Horms312f1f02006-02-22 09:57:55 +09003305 nomca [IA-64] Disable machine check abort handling
3306
Masanari Iida13696e02015-05-16 02:16:43 +09003307 nomce [X86-32] Disable Machine Check Exception
Hormsabe37e52006-04-01 01:36:09 +02003308
Andres Salomon83d73842007-10-12 23:04:06 +02003309 nomfgpt [X86-32] Disable Multi-Function General Purpose
3310 Timer usage (for AMD Geode machines).
3311
Don Zickusbda62632011-10-13 15:14:27 -04003312 nonmi_ipi [X86] Disable using NMI IPIs during panic/reboot to
3313 shutdown the other cpus. Instead use the REBOOT_VECTOR
3314 irq.
3315
Dave Young02608be2012-02-01 10:33:14 +08003316 nomodule Disable module load
3317
Jiri Kosina016ddd92010-01-18 17:05:40 +01003318 nopat [X86] Disable PAT (page attribute table extension of
3319 pagetables) support.
3320
Andy Lutomirski0790c9a2017-06-29 08:53:20 -07003321 nopcid [X86-64] Disable the PCID cpu feature.
3322
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07003323 norandmaps Don't use address space randomization. Equivalent to
3324 echo 0 > /proc/sys/kernel/randomize_va_space
3325
Alan Coxcd4f0ef2007-07-31 00:37:59 -07003326 noreplace-smp [X86-32,SMP] Don't replace SMP instructions
Jeremy Fitzhardingeb7fb4af2007-05-02 19:27:13 +02003327 with UP alternatives
3328
H. Peter Anvin7a5091d2014-05-11 20:25:20 -07003329 nordrand [X86] Disable kernel use of the RDRAND and
3330 RDSEED instructions even if they are supported
3331 by the processor. RDRAND and RDSEED are still
3332 available to user space applications.
H. Peter Anvin49d859d2011-07-31 14:02:19 -07003333
Randy Dunlapa9913042005-10-23 12:57:11 -07003334 noresume [SWSUSP] Disables resume and restores original swap
3335 space.
3336
Linus Torvalds1da177e2005-04-16 15:20:36 -07003337 no-scroll [VGA] Disables scrollback.
3338 This is required for the Braillex ib80-piezo Braille
3339 reader made by F.H. Papenmeier (Germany).
3340
3341 nosbagart [IA-64]
3342
Alan Coxcd4f0ef2007-07-31 00:37:59 -07003343 nosep [BUGS=X86-32] Disables x86 SYSENTER/SYSEXIT support.
Chuck Ebbert4f886512006-03-23 02:59:34 -08003344
Len Brown61ec7562007-08-16 03:34:22 -04003345 nosmp [SMP] Tells an SMP kernel to act as a UP kernel,
3346 and disable the IO APIC. legacy for "maxcpus=0".
Linus Torvalds1da177e2005-04-16 15:20:36 -07003347
Dave Jones97842212007-07-15 23:41:05 -07003348 nosoftlockup [KNL] Disable the soft-lockup detector.
3349
Linus Torvalds1da177e2005-04-16 15:20:36 -07003350 nosync [HW,M68K] Disables sync negotiation for all devices.
3351
Ulrich Obergfell195daf62015-04-14 15:44:13 -07003352 nowatchdog [KNL] Disable both lockup detectors, i.e.
Thymo van Beers6dddd7a2018-04-18 20:51:39 +02003353 soft-lockup and NMI watchdog (hard-lockup).
Don Zickus58687ac2010-05-07 17:11:44 -04003354
Linus Torvalds1da177e2005-04-16 15:20:36 -07003355 nowb [ARM]
Randy Dunlapa9913042005-10-23 12:57:11 -07003356
Weidong Han2b2fd872009-04-17 16:42:12 +08003357 nox2apic [X86-64,APIC] Do not enable x2APIC mode.
3358
Fenghua Yuf78cff42012-11-13 11:32:38 -08003359 cpu0_hotplug [X86] Turn on CPU0 hotplug feature when
3360 CONFIG_BOOTPARAM_HOTPLUG_CPU0 is off.
3361 Some features depend on CPU0. Known dependencies are:
3362 1. Resume from suspend/hibernate depends on CPU0.
3363 Suspend/hibernate will fail if CPU0 is offline and you
3364 need to online CPU0 before suspend/hibernate.
3365 2. PIC interrupts also depend on CPU0. CPU0 can't be
3366 removed if a PIC interrupt is detected.
3367 It's said poweroff/reboot may depend on CPU0 on some
3368 machines although I haven't seen such issues so far
3369 after CPU0 is offline on a few tested machines.
3370 If the dependencies are under your control, you can
3371 turn on cpu0_hotplug.
3372
Thymo van Beers6dddd7a2018-04-18 20:51:39 +02003373 nps_mtm_hs_ctr= [KNL,ARC]
Noam Camus35b55ef2017-06-15 11:43:57 +03003374 This parameter sets the maximum duration, in
3375 cycles, each HW thread of the CTOP can run
3376 without interruptions, before HW switches it.
3377 The actual maximum duration is 16 times this
3378 parameter's value.
3379 Format: integer between 1 and 255
3380 Default: 255
3381
Randy Dunlap16290242011-08-13 12:34:52 -07003382 nptcg= [IA-64] Override max number of concurrent global TLB
Fenghua Yua6c75b862008-03-14 13:57:08 -07003383 purges which is reported from either PAL_VM_SUMMARY or
3384 SAL PALO.
3385
Yinghai Lu2b633e32010-02-10 01:20:37 -08003386 nr_cpus= [SMP] Maximum number of processors that an SMP kernel
3387 could support. nr_cpus=n : n >= 1 limits the kernel to
Baoquan He7c142bf2016-08-24 13:06:45 +08003388 support 'n' processors. It could be larger than the
3389 number of already plugged CPU during bootup, later in
3390 runtime you can physically add extra cpu until it reaches
3391 n. So during boot up some boot time memory for per-cpu
3392 variables need be pre-allocated for later physical cpu
3393 hot plugging.
Yinghai Lu2b633e32010-02-10 01:20:37 -08003394
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07003395 nr_uarts= [SERIAL] maximum number of UARTs to be registered.
3396
Mel Gorman1a687c22012-11-22 11:16:36 +00003397 numa_balancing= [KNL,X86] Enable or disable automatic NUMA balancing.
3398 Allowed values are enable and disable
3399
KAMEZAWA Hiroyukif0c0b2b2007-07-15 23:38:01 -07003400 numa_zonelist_order= [KNL, BOOT] Select zonelist order for NUMA.
Michal Hockoc9bff3e2017-09-06 16:20:13 -07003401 'node', 'default' can be specified
KAMEZAWA Hiroyukif0c0b2b2007-07-15 23:38:01 -07003402 This can be set from sysctl after boot.
Mauro Carvalho Chehab57043242019-04-22 16:48:00 -03003403 See Documentation/admin-guide/sysctl/vm.rst for details.
KAMEZAWA Hiroyukif0c0b2b2007-07-15 23:38:01 -07003404
Randy Dunlap7c4be252009-01-06 14:42:44 -08003405 ohci1394_dma=early [HW] enable debugging via the ohci1394 driver.
Mauro Carvalho Chehaba74e2a22020-05-01 17:37:50 +02003406 See Documentation/core-api/debugging-via-ohci1394.rst for more
Randy Dunlap7c4be252009-01-06 14:42:44 -08003407 info.
3408
Andres Salomon3ef0e1f2008-04-29 00:59:53 -07003409 olpc_ec_timeout= [OLPC] ms delay when issuing EC commands
3410 Rather than timing out after 20 ms if an EC
3411 command is not properly ACKed, override the length
3412 of the timeout. We have interrupts disabled while
3413 waiting for the ACK, so if this is set too high
3414 interrupts *may* be lost!
3415
Tony Lindgren15ac7af2009-12-11 16:16:32 -08003416 omap_mux= [OMAP] Override bootloader pin multiplexing.
3417 Format: <mux_mode0.mode_name=value>...
3418 For example, to override I2C bus2:
3419 omap_mux=i2c2_scl.i2c2_scl=0x100,i2c2_sda.i2c2_sda=0x100
3420
Linus Torvalds1da177e2005-04-16 15:20:36 -07003421 oprofile.timer= [HW]
3422 Use timer interrupt instead of performance counters
3423
Robert Richter7e4e0bd2009-05-06 12:10:23 +02003424 oprofile.cpu_type= Force an oprofile cpu type
3425 This might be useful if you have an older oprofile
3426 userland or if you want common events.
Robert Richter8d7ff4f2009-06-23 11:48:14 +02003427 Format: { arch_perfmon }
3428 arch_perfmon: [X86] Force use of architectural
Robert Richter7e4e0bd2009-05-06 12:10:23 +02003429 perfmon on Intel CPUs instead of the
3430 CPU specific event set.
Robert Richter159a80b2011-10-11 19:39:16 +02003431 timer: [X86] Force use of architectural NMI
3432 timer mode (see also oprofile.timer
3433 for generic hr timer mode)
Andi Kleen1dcdb5a2009-04-27 17:44:11 +02003434
Randy Dunlap44a4dcf2011-04-04 15:02:24 -07003435 oops=panic Always panic on oopses. Default is to just kill the
3436 process, but there is a small probability of
3437 deadlocking the machine.
Olaf Heringd404ab02011-03-22 16:34:04 -07003438 This will also cause panics on machine check exceptions.
3439 Useful together with panic=30 to trigger a reboot.
3440
Dan Williamse900a912019-05-14 15:41:28 -07003441 page_alloc.shuffle=
3442 [KNL] Boolean flag to control whether the page allocator
3443 should randomize its free lists. The randomization may
3444 be automatically enabled if the kernel detects it is
3445 running on a platform with a direct-mapped memory-side
3446 cache, and this parameter can be used to
3447 override/disable that behavior. The state of the flag
3448 can be read from sysfs at:
3449 /sys/module/page_alloc/parameters/shuffle.
3450
Joonsoo Kim48c96a32014-12-12 16:56:01 -08003451 page_owner= [KNL] Boot-time page_owner enabling option.
3452 Storage of the information about who allocated
3453 each page is disabled in default. With this switch,
3454 we can turn it on.
3455 on: enable the feature
3456
Laura Abbott8823b1d2016-03-15 14:56:27 -07003457 page_poison= [KNL] Boot-time parameter changing the state of
Kees Cook8c9a1342018-08-21 21:53:10 -07003458 poisoning on the buddy allocator, available with
3459 CONFIG_PAGE_POISONING=y.
3460 off: turn off poisoning (default)
Laura Abbott8823b1d2016-03-15 14:56:27 -07003461 on: turn on poisoning
3462
Randy Dunlap44a4dcf2011-04-04 15:02:24 -07003463 panic= [KNL] Kernel behaviour on panic: delay <timeout>
Hugh Dickins4302fbc2011-07-26 16:08:52 -07003464 timeout > 0: seconds before rebooting
3465 timeout = 0: wait forever
3466 timeout < 0: reboot immediately
Linus Torvalds1da177e2005-04-16 15:20:36 -07003467 Format: <timeout>
3468
Feng Tangd999bd92019-01-03 15:28:17 -08003469 panic_print= Bitmask for printing system info when panic happens.
3470 User can chose combination of the following bits:
3471 bit 0: print all tasks info
3472 bit 1: print system memory info
3473 bit 2: print timer info
3474 bit 3: print locks info if CONFIG_LOCKDEP is on
3475 bit 4: print ftrace buffer
Feng Tangde6da1e2019-05-17 14:31:50 -07003476 bit 5: print all printk messages in buffer
Feng Tangd999bd92019-01-03 15:28:17 -08003477
Rafael Aquinidb38d5c2020-06-07 21:40:17 -07003478 panic_on_taint= Bitmask for conditionally calling panic() in add_taint()
3479 Format: <hex>[,nousertaint]
3480 Hexadecimal bitmask representing the set of TAINT flags
3481 that will cause the kernel to panic when add_taint() is
3482 called with any of the flags in this set.
3483 The optional switch "nousertaint" can be utilized to
3484 prevent userspace forced crashes by writing to sysctl
3485 /proc/sys/kernel/tainted any flagset matching with the
3486 bitmask set on panic_on_taint.
3487 See Documentation/admin-guide/tainted-kernels.rst for
3488 extra details on the taint flags that users can pick
3489 to compose the bitmask to assign to panic_on_taint.
3490
Prarit Bhargava9e3961a2014-12-10 15:45:50 -08003491 panic_on_warn panic() instead of WARN(). Useful to cause kdump
3492 on a WARN().
3493
Masami Hiramatsuf06e5152014-06-06 14:37:07 -07003494 crash_kexec_post_notifiers
3495 Run kdump after running panic-notifiers and dumping
3496 kmsg. This only for the users who doubt kdump always
3497 succeeds in any situation.
3498 Note that this also increases risks of kdump failure,
3499 because some panic notifiers can make the crashed
3500 kernel more unstable.
3501
Linus Torvalds1da177e2005-04-16 15:20:36 -07003502 parkbd.port= [HW] Parallel port number the keyboard adapter is
3503 connected to, default is 0.
3504 Format: <parport#>
3505 parkbd.mode= [HW] Parallel port keyboard adapter mode of operation,
3506 0 for XT, 1 for AT (default is AT).
Randy Dunlapa9913042005-10-23 12:57:11 -07003507 Format: <mode>
Linus Torvalds1da177e2005-04-16 15:20:36 -07003508
Randy Dunlapa9913042005-10-23 12:57:11 -07003509 parport= [HW,PPT] Specify parallel ports. 0 disables.
3510 Format: { 0 | auto | 0xBBB[,IRQ[,DMA]] }
3511 Use 'auto' to force the driver to use any
3512 IRQ/DMA settings detected (the default is to
3513 ignore detected IRQ/DMA settings because of
3514 possible conflicts). You can specify the base
3515 address, IRQ, and DMA settings; IRQ and DMA
3516 should be numbers, or 'auto' (for using detected
3517 settings on that particular port), or 'nofifo'
3518 (to avoid using a FIFO even if it is detected).
3519 Parallel ports are assigned in the order they
3520 are specified on the command line, starting
3521 with parport0.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003522
Randy Dunlapa9913042005-10-23 12:57:11 -07003523 parport_init_mode= [HW,PPT]
3524 Configure VIA parallel port to operate in
3525 a specific mode. This is necessary on Pegasos
3526 computer where firmware has no options for setting
3527 up parallel port mode and sets it to spp.
3528 Currently this function knows 686a and 8231 chips.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003529 Format: [spp|ps2|epp|ecp|ecpepp]
3530
Andrew Mortondd287792006-03-23 03:00:57 -08003531 pause_on_oops=
3532 Halt all CPUs after the first oops has been printed for
3533 the specified number of seconds. This is to be used if
3534 your oopses keep scrolling off the screen.
3535
Linus Torvalds1da177e2005-04-16 15:20:36 -07003536 pcbit= [HW,ISDN]
3537
3538 pcd. [PARIDE]
3539 See header of drivers/block/paride/pcd.c.
Mauro Carvalho Chehabe7751612019-06-18 11:47:10 -03003540 See also Documentation/admin-guide/blockdev/paride.rst.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003541
Logan Gunthorpe07d8d7e2018-07-30 10:18:37 -06003542 pci=option[,option...] [PCI] various PCI subsystem options.
3543
3544 Some options herein operate on a specific device
3545 or a set of devices (<pci_dev>). These are
3546 specified in one of the following formats:
3547
Logan Gunthorpe45db3372018-07-30 10:18:38 -06003548 [<domain>:]<bus>:<dev>.<func>[/<dev>.<func>]*
Logan Gunthorpe07d8d7e2018-07-30 10:18:37 -06003549 pci:<vendor>:<device>[:<subvendor>:<subdevice>]
3550
3551 Note: the first format specifies a PCI
3552 bus/device/function address which may change
3553 if new hardware is inserted, if motherboard
3554 firmware changes, or due to changes caused
3555 by other kernel parameters. If the
3556 domain is left unspecified, it is
Logan Gunthorpe45db3372018-07-30 10:18:38 -06003557 taken to be zero. Optionally, a path
3558 to a device through multiple device/function
3559 addresses can be specified after the base
3560 address (this is more robust against
3561 renumbering issues). The second format
Logan Gunthorpe07d8d7e2018-07-30 10:18:37 -06003562 selects devices using IDs from the
3563 configuration space which may match multiple
3564 devices in the system.
3565
Sinan Kaya11eb0e0e2018-06-04 22:16:09 -04003566 earlydump dump PCI config space before the kernel
Thymo van Beers6dddd7a2018-04-18 20:51:39 +02003567 changes anything
Andi Kleenc0115602008-08-22 09:53:39 +02003568 off [X86] don't probe for the PCI bus
Alan Coxcd4f0ef2007-07-31 00:37:59 -07003569 bios [X86-32] force use of PCI BIOS, don't access
Randy Dunlapa9913042005-10-23 12:57:11 -07003570 the hardware directly. Use this if your machine
3571 has a non-standard PCI host bridge.
Alan Coxcd4f0ef2007-07-31 00:37:59 -07003572 nobios [X86-32] disallow use of PCI BIOS, only direct
Randy Dunlapa9913042005-10-23 12:57:11 -07003573 hardware access methods are allowed. Use this
3574 if you experience crashes upon bootup and you
3575 suspect they are caused by the BIOS.
Borislav Petkovafd8c082016-01-13 16:48:51 +01003576 conf1 [X86] Force use of PCI Configuration Access
3577 Mechanism 1 (config address in IO port 0xCF8,
3578 data in IO port 0xCFC, both 32-bit).
3579 conf2 [X86] Force use of PCI Configuration Access
3580 Mechanism 2 (IO port 0xCF8 is an 8-bit port for
3581 the function, IO port 0xCFA, also 8-bit, sets
3582 bus number. The config space is then accessed
3583 through ports 0xC000-0xCFFF).
3584 See http://wiki.osdev.org/PCI for more info
3585 on the configuration access mechanisms.
Randy Dunlap7f785762007-10-05 13:17:58 -07003586 noaer [PCIE] If the PCIEAER kernel config parameter is
3587 enabled, this kernel boot option can be used to
3588 disable the use of PCIE advanced error reporting.
Jeff Garzik32a2eea2007-10-11 16:57:27 -04003589 nodomains [PCI] Disable support for multiple PCI
3590 root domains (aka PCI segments, in ACPI-speak).
Jaswinder Singh Rajput6cececf2009-04-14 14:03:43 +05303591 nommconf [X86] Disable use of MMCONFIG for PCI
Bjorn Helgaas61be6d62006-02-15 15:17:43 -08003592 Configuration
Andreas Herrmann12983072009-06-07 16:15:16 +02003593 check_enable_amd_mmconf [X86] check for and enable
3594 properly configured MMIO access to PCI
3595 config space on AMD family 10h CPU
Matthew Wilcox309e57d2006-03-05 22:33:34 -07003596 nomsi [MSI] If the PCI_MSI kernel config parameter is
3597 enabled, this kernel boot option can be used to
3598 disable the use of MSI interrupts system-wide.
Stefan Assmanna9322f62008-06-11 16:35:14 +02003599 noioapicquirk [APIC] Disable all boot interrupt quirks.
3600 Safety option to keep boot IRQs enabled. This
3601 should never be necessary.
Stefan Assmann91979792008-06-11 16:35:15 +02003602 ioapicreroute [APIC] Enable rerouting of boot IRQs to the
3603 primary IO-APIC for bridges that cannot disable
3604 boot IRQs. This fixes a source of spurious IRQs
3605 when the system masks IRQs.
Stefan Assmann41b9eb22008-07-15 13:48:55 +02003606 noioapicreroute [APIC] Disable workaround that uses the
3607 boot IRQ equivalent of an IRQ that connects to
3608 a chipset where boot IRQs cannot be disabled.
3609 The opposite of ioapicreroute.
Alan Coxcd4f0ef2007-07-31 00:37:59 -07003610 biosirq [X86-32] Use PCI BIOS calls to get the interrupt
Randy Dunlapa9913042005-10-23 12:57:11 -07003611 routing table. These calls are known to be buggy
3612 on several machines and they hang the machine
3613 when used, but on other computers it's the only
3614 way to get the interrupt routing table. Try
3615 this option if the kernel is unable to allocate
3616 IRQs or discover secondary PCI buses on your
3617 motherboard.
Andi Kleenc0115602008-08-22 09:53:39 +02003618 rom [X86] Assign address space to expansion ROMs.
Randy Dunlapa9913042005-10-23 12:57:11 -07003619 Use with caution as certain devices share
3620 address decoders between ROMs and other
3621 resources.
Andi Kleenc0115602008-08-22 09:53:39 +02003622 norom [X86] Do not assign address space to
Gary Hadebb71ad82008-05-12 13:57:46 -07003623 expansion ROMs that do not already have
3624 BIOS assigned address ranges.
Mike Habeck7bd1c362010-05-12 11:14:32 -07003625 nobar [X86] Do not assign address space to the
3626 BARs that weren't assigned by the BIOS.
Andi Kleenc0115602008-08-22 09:53:39 +02003627 irqmask=0xMMMM [X86] Set a bit mask of IRQs allowed to be
Randy Dunlapa9913042005-10-23 12:57:11 -07003628 assigned automatically to PCI devices. You can
3629 make the kernel exclude IRQs of your ISA cards
3630 this way.
Andi Kleenc0115602008-08-22 09:53:39 +02003631 pirqaddr=0xAAAAA [X86] Specify the physical address
Randy Dunlapa9913042005-10-23 12:57:11 -07003632 of the PIRQ table (normally generated
3633 by the BIOS) if it is outside the
3634 F0000h-100000h range.
Andi Kleenc0115602008-08-22 09:53:39 +02003635 lastbus=N [X86] Scan all buses thru bus #N. Can be
Randy Dunlapa9913042005-10-23 12:57:11 -07003636 useful if the kernel is unable to find your
3637 secondary buses and you want to tell it
3638 explicitly which ones they are.
Andi Kleenc0115602008-08-22 09:53:39 +02003639 assign-busses [X86] Always assign all PCI bus
Randy Dunlapa9913042005-10-23 12:57:11 -07003640 numbers ourselves, overriding
3641 whatever the firmware may have done.
Andi Kleenc0115602008-08-22 09:53:39 +02003642 usepirqmask [X86] Honor the possible IRQ mask stored
Randy Dunlapa9913042005-10-23 12:57:11 -07003643 in the BIOS $PIR table. This is needed on
3644 some systems with broken BIOSes, notably
3645 some HP Pavilion N5400 and Omnibook XE3
3646 notebooks. This will have no effect if ACPI
3647 IRQ routing is enabled.
Andi Kleenc0115602008-08-22 09:53:39 +02003648 noacpi [X86] Do not use ACPI for IRQ routing
Randy Dunlapa9913042005-10-23 12:57:11 -07003649 or for PCI scanning.
Bjorn Helgaas7bc5e3f2010-02-23 10:24:41 -07003650 use_crs [X86] Use PCI host bridge window information
3651 from ACPI. On BIOSes from 2008 or later, this
3652 is enabled by default. If you need to use this,
3653 please report a bug.
3654 nocrs [X86] Ignore PCI host bridge windows from ACPI.
Thymo van Beers6dddd7a2018-04-18 20:51:39 +02003655 If you need to use this, please report a bug.
Randy Dunlapa9913042005-10-23 12:57:11 -07003656 routeirq Do IRQ routing for all PCI devices.
3657 This is normally done in pci_enable_device(),
3658 so this option is a temporary workaround
3659 for broken drivers that don't call it.
Yinghai Lu13a6ddb2008-03-27 01:31:18 -07003660 skip_isa_align [X86] do not align io start addr, so can
3661 handle more pci cards
Andi Kleen0637a702006-09-26 10:52:41 +02003662 noearly [X86] Don't do any early type 1 scanning.
3663 This might help on some broken boards which
3664 machine check when some devices' config space
3665 is read. But various workarounds are disabled
3666 and some IOMMU drivers will not work.
Matt Domsch6b4b78fe2006-09-29 15:23:23 -05003667 bfsort Sort PCI devices into breadth-first order.
3668 This sorting is done to get a device
3669 order compatible with older (<= 2.4) kernels.
3670 nobfsort Don't sort PCI devices into breadth-first order.
Yijing Wangfa238712013-01-30 09:40:52 +08003671 pcie_bus_tune_off Disable PCIe MPS (Max Payload Size)
3672 tuning and use the BIOS-configured MPS defaults.
3673 pcie_bus_safe Set every device's MPS to the largest value
3674 supported by all devices below the root complex.
3675 pcie_bus_perf Set device MPS to the largest allowable MPS
3676 based on its parent bus. Also set MRRS (Max
3677 Read Request Size) to the largest supported
3678 value (no larger than the MPS that the device
3679 or bus can support) for best performance.
3680 pcie_bus_peer2peer Set every device's MPS to 128B, which
3681 every device is guaranteed to support. This
3682 configuration allows peer-to-peer DMA between
3683 any pair of devices, possibly at the cost of
3684 reduced performance. This also guarantees
3685 that hot-added devices will work.
Atsushi Nemoto4516a612007-02-05 16:36:06 -08003686 cbiosize=nn[KMG] The fixed amount of bus space which is
3687 reserved for the CardBus bridge's IO window.
3688 The default value is 256 bytes.
3689 cbmemsize=nn[KMG] The fixed amount of bus space which is
3690 reserved for the CardBus bridge's memory
3691 window. The default value is 64 megabytes.
Yuji Shimada32a9a6822009-03-16 17:13:39 +09003692 resource_alignment=
3693 Format:
Logan Gunthorpe07d8d7e2018-07-30 10:18:37 -06003694 [<order of align>@]<pci_dev>[; ...]
Yuji Shimada32a9a6822009-03-16 17:13:39 +09003695 Specifies alignment and device to reassign
Logan Gunthorpe07d8d7e2018-07-30 10:18:37 -06003696 aligned memory resources. How to
3697 specify the device is described above.
Yuji Shimada32a9a6822009-03-16 17:13:39 +09003698 If <order of align> is not specified,
3699 PAGE_SIZE is used as alignment.
Alexey Kardashevskiy3b1b1ce2019-06-06 13:25:57 +10003700 A PCI-PCI bridge can be specified if resource
Yuji Shimada32a9a6822009-03-16 17:13:39 +09003701 windows need to be expanded.
Mathias Koehrer8b078c62016-08-09 10:33:31 +02003702 To specify the alignment for several
3703 instances of a device, the PCI vendor,
3704 device, subvendor, and subdevice may be
Alexey Kardashevskiy3b1b1ce2019-06-06 13:25:57 +10003705 specified, e.g., 12@pci:8086:9c22:103c:198f
3706 for 4096-byte alignment.
Andrew Patterson43c16402009-04-22 16:52:09 -06003707 ecrc= Enable/disable PCIe ECRC (transaction layer
3708 end-to-end CRC checking).
3709 bios: Use BIOS/firmware settings. This is the
3710 the default.
3711 off: Turn ECRC off
3712 on: Turn ECRC on.
Yijing Wang8c8803c2013-01-23 20:29:06 +08003713 hpiosize=nn[KMG] The fixed amount of bus space which is
3714 reserved for hotplug bridge's IO window.
3715 Default size is 256 bytes.
Nicholas Johnsond7b8a212019-10-23 12:12:29 +00003716 hpmmiosize=nn[KMG] The fixed amount of bus space which is
3717 reserved for hotplug bridge's MMIO window.
3718 Default size is 2 megabytes.
3719 hpmmioprefsize=nn[KMG] The fixed amount of bus space which is
3720 reserved for hotplug bridge's MMIO_PREF window.
3721 Default size is 2 megabytes.
Yijing Wang8c8803c2013-01-23 20:29:06 +08003722 hpmemsize=nn[KMG] The fixed amount of bus space which is
Nicholas Johnsond7b8a212019-10-23 12:12:29 +00003723 reserved for hotplug bridge's MMIO and
3724 MMIO_PREF window.
Yijing Wang8c8803c2013-01-23 20:29:06 +08003725 Default size is 2 megabytes.
Keith Busche16b4662016-07-21 21:40:28 -06003726 hpbussize=nn The minimum amount of additional bus numbers
3727 reserved for buses below a hotplug bridge.
3728 Default is 1.
Yinghai Lub55438f2012-02-23 19:23:30 -08003729 realloc= Enable/disable reallocating PCI bridge resources
3730 if allocations done by BIOS are too small to
3731 accommodate resources required by all child
3732 devices.
3733 off: Turn realloc off
3734 on: Turn realloc on
3735 realloc same as realloc=on
Rafael J. Wysocki6748dcc2012-03-01 00:06:33 +01003736 noari do not use PCIe ARI.
Gil Kupfercef74402018-05-10 17:56:02 -05003737 noats [PCIE, Intel-IOMMU, AMD-IOMMU]
3738 do not use PCIe ATS (and IOMMU device IOTLB).
Bjorn Helgaas284f5f92012-04-30 15:21:02 -06003739 pcie_scan_all Scan all possible PCIe devices. Otherwise we
3740 only look for one device below a PCIe downstream
3741 port.
=?UTF-8?q?Christian=20K=C3=B6nig?=f32ab752018-01-11 14:23:29 +01003742 big_root_window Try to add a big 64bit memory window to the PCIe
3743 root complex on AMD CPUs. Some GFX hardware
3744 can resize a BAR to allow access to all VRAM.
3745 Adding the window is slightly risky (it may
3746 conflict with unreported devices), so this
3747 taints the kernel.
Logan Gunthorpeaaca43f2018-07-30 10:18:40 -06003748 disable_acs_redir=<pci_dev>[; ...]
3749 Specify one or more PCI devices (in the format
3750 specified above) separated by semicolons.
3751 Each device specified will have the PCI ACS
3752 redirect capabilities forced off which will
3753 allow P2P traffic between devices through
3754 bridges without forcing it upstream. Note:
3755 this removes isolation between devices and
3756 may put more devices in an IOMMU group.
Sebastian Ottfbfe07d2019-02-26 16:07:32 +01003757 force_floating [S390] Force usage of floating interrupts.
Sebastian Ott56271302019-04-18 21:39:06 +02003758 nomio [S390] Do not use MIO instructions.
Pierre Morelde267a72020-04-01 11:12:24 +02003759 norid [S390] ignore the RID field and force use of
3760 one PCI domain per PCI function
Matt Domsch6b4b78fe2006-09-29 15:23:23 -05003761
Chuck Ebberte5665a42008-09-24 20:40:34 -04003762 pcie_aspm= [PCIE] Forcibly enable or disable PCIe Active State Power
3763 Management.
3764 off Disable ASPM.
3765 force Enable ASPM even on devices that claim not to support it.
3766 WARNING: Forcing ASPM on may cause system lockups.
3767
Bjorn Helgaas4c0fd762018-03-09 11:21:28 -06003768 pcie_ports= [PCIE] PCIe port services handling:
3769 native Use native PCIe services (PME, AER, DPC, PCIe hotplug)
3770 even if the platform doesn't give the OS permission to
3771 use them. This may cause conflicts if the platform
3772 also tries to use these services.
Olof Johansson35a0b232019-10-23 12:22:05 -07003773 dpc-native Use native PCIe service for DPC only. May
3774 cause conflicts if firmware uses AER or DPC.
Bjorn Helgaas4c0fd762018-03-09 11:21:28 -06003775 compat Disable native PCIe services (PME, AER, DPC, PCIe
3776 hotplug).
Rafael J. Wysocki79dd9182010-08-21 01:51:44 +02003777
Mika Westerberg9d26d3a2016-06-02 11:17:12 +03003778 pcie_port_pm= [PCIE] PCIe port power management handling:
3779 off Disable power management of all PCIe ports
3780 force Forcibly enable power management of all PCIe ports
3781
Rafael J. Wysockic7f48652010-02-17 23:39:08 +01003782 pcie_pme= [PCIE,PM] Native PCIe PME signaling options:
Rafael J. Wysockic39fae12010-02-17 23:40:07 +01003783 nomsi Do not use MSI for native PCIe PME signaling (this makes
Rafael J. Wysocki28eb5f22010-08-21 22:02:38 +02003784 all PCIe root ports use INTx for all services).
Rafael J. Wysockic7f48652010-02-17 23:39:08 +01003785
Linus Torvalds1da177e2005-04-16 15:20:36 -07003786 pcmv= [HW,PCMCIA] BadgePAD 4
3787
Tushar Behera39ac5ba2014-03-28 10:50:21 +05303788 pd_ignore_unused
3789 [PM]
3790 Keep all power-domains already enabled by bootloader on,
3791 even if no driver has claimed them. This is useful
3792 for debug and development, but should not be
3793 needed on a platform with proper driver support.
3794
Linus Torvalds1da177e2005-04-16 15:20:36 -07003795 pd. [PARIDE]
Mauro Carvalho Chehabe7751612019-06-18 11:47:10 -03003796 See Documentation/admin-guide/blockdev/paride.rst.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003797
3798 pdcchassis= [PARISC,HW] Disable/Enable PDC Chassis Status codes at
3799 boot time.
3800 Format: { 0 | 1 }
3801 See arch/parisc/kernel/pdc_chassis.c
3802
Tejun Heof58dc012009-08-14 15:00:50 +09003803 percpu_alloc= Select which percpu first chunk allocator to use.
Tejun Heoe933a732009-08-14 15:00:53 +09003804 Currently supported values are "embed" and "page".
3805 Archs may support subset or none of the selections.
3806 See comments in mm/percpu.c for details on each
3807 allocator. This parameter is primarily for debugging
3808 and performance comparison.
Tejun Heofa8a7092009-06-22 11:56:24 +09003809
Linus Torvalds1da177e2005-04-16 15:20:36 -07003810 pf. [PARIDE]
Mauro Carvalho Chehabe7751612019-06-18 11:47:10 -03003811 See Documentation/admin-guide/blockdev/paride.rst.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003812
3813 pg. [PARIDE]
Mauro Carvalho Chehabe7751612019-06-18 11:47:10 -03003814 See Documentation/admin-guide/blockdev/paride.rst.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003815
3816 pirq= [SMP,APIC] Manual mp-table setup
Mauro Carvalho Chehabcb1aaeb2019-06-07 15:54:32 -03003817 See Documentation/x86/i386/IO-APIC.rst.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003818
3819 plip= [PPT,NET] Parallel port network link
3820 Format: { parport<nr> | timid | 0 }
Tom Saeger3ba9b1b2017-10-10 12:36:16 -05003821 See also Documentation/admin-guide/parport.rst.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003822
Randy Dunlap16290242011-08-13 12:34:52 -07003823 pmtmr= [X86] Manual setup of pmtmr I/O Port.
Thomas Gleixnerde32a242008-07-12 05:33:30 +02003824 Override pmtimer IOPort with a hex value.
3825 e.g. pmtmr=0x508
3826
Chen Yudb96a752020-04-02 15:56:52 +08003827 pm_debug_messages [SUSPEND,KNL]
3828 Enable suspend/resume debug messages during boot up.
3829
Bjorn Helgaas96242112011-08-11 12:14:05 -06003830 pnp.debug=1 [PNP]
3831 Enable PNP debug messages (depends on the
3832 CONFIG_PNP_DEBUG_MESSAGES option). Change at run-time
3833 via /sys/module/pnp/parameters/debug. We always show
3834 current resource usage; turning this on also shows
3835 possible settings and some assignment information.
Bjorn Helgaas97ef0622008-08-19 16:53:41 -06003836
Linus Torvalds1da177e2005-04-16 15:20:36 -07003837 pnpacpi= [ACPI]
3838 { off }
3839
3840 pnpbios= [ISAPNP]
3841 { on | off | curr | res | no-curr | no-res }
3842
3843 pnp_reserve_irq=
3844 [ISAPNP] Exclude IRQs for the autoconfiguration
3845
3846 pnp_reserve_dma=
3847 [ISAPNP] Exclude DMAs for the autoconfiguration
3848
3849 pnp_reserve_io= [ISAPNP] Exclude I/O ports for the autoconfiguration
Randy Dunlapa9913042005-10-23 12:57:11 -07003850 Ranges are in pairs (I/O port base and size).
Linus Torvalds1da177e2005-04-16 15:20:36 -07003851
3852 pnp_reserve_mem=
Randy Dunlapa9913042005-10-23 12:57:11 -07003853 [ISAPNP] Exclude memory regions for the
3854 autoconfiguration.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003855 Ranges are in pairs (memory base and size).
3856
Randy Dunlap4af94f32009-04-17 18:30:28 -07003857 ports= [IP_VS_FTP] IPVS ftp helper module
3858 Default is 21.
3859 Up to 8 (IP_VS_APP_MAX_PORTS) ports
3860 may be specified.
3861 Format: <port>,<port>....
3862
Balbir Singhc3cbd072016-12-02 00:08:26 +11003863 powersave=off [PPC] This option disables power saving features.
3864 It specifically disables cpuidle and sets the
3865 platform machine description specific power_save
3866 function to NULL. On Idle the CPU just reduces
3867 execution priority.
3868
Anton Blanchard3eb5d582015-10-29 11:44:06 +11003869 ppc_strict_facility_enable
3870 [PPC] This option catches any kernel floating point,
3871 Altivec, VSX and SPE outside of regions specifically
3872 allowed (eg kernel_enable_fpu()/kernel_disable_fpu()).
3873 There is some performance impact when enabling this.
3874
Cyril Bur07fd1762017-10-12 21:17:16 +11003875 ppc_tm= [PPC]
3876 Format: {"off"}
3877 Disable Hardware Transactional Memory
3878
Ingo Molnar45807a12007-07-15 23:40:10 -07003879 print-fatal-signals=
3880 [KNL] debug: print fatal signals
Naohiro Ooiwaf84d49b2009-11-09 00:46:42 +09003881
3882 If enabled, warn about various signal handling
3883 related application anomalies: too many signals,
3884 too many POSIX.1 timers, fatal signals causing a
3885 coredump - etc.
3886
3887 If you hit the warning due to signal overflow,
3888 you might want to try "ulimit -i unlimited".
3889
Ingo Molnar45807a12007-07-15 23:40:10 -07003890 default: off.
3891
Matthew Garrettc22ab3322012-03-05 14:59:10 -08003892 printk.always_kmsg_dump=
3893 Trigger kmsg_dump for cases other than kernel oops or
3894 panics
3895 Format: <bool> (1/Y/y=enable, 0/N/n=disable)
3896 default: disabled
3897
Borislav Petkov750afe72016-08-02 14:04:07 -07003898 printk.devkmsg={on,off,ratelimit}
3899 Control writing to /dev/kmsg.
3900 on - unlimited logging to /dev/kmsg from userspace
3901 off - logging to /dev/kmsg disabled
3902 ratelimit - ratelimit the logging
3903 Default: ratelimit
3904
Randy Dunlape84845c2007-07-15 23:40:25 -07003905 printk.time= Show timing data prefixed to each printk message line
3906 Format: <bool> (1/Y/y=enable, 0/N/n=disable)
3907
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07003908 processor.max_cstate= [HW,ACPI]
3909 Limit processor to maximum C-state
3910 max_cstate=9 overrides any DMI blacklist limit.
3911
3912 processor.nocst [HW,ACPI]
3913 Ignore the _CST method to determine C-states,
3914 instead using the legacy FADT method
3915
Linus Torvalds1da177e2005-04-16 15:20:36 -07003916 profile= [KNL] Enable kernel profiling via /proc/profile
Randy Dunlape7e61fc2017-11-19 21:08:11 -08003917 Format: [<profiletype>,]<number>
3918 Param: <profiletype>: "schedule", "sleep", or "kvm"
3919 [defaults to kernel profiling]
Randy Dunlapa9913042005-10-23 12:57:11 -07003920 Param: "schedule" - profile schedule points.
Mel Gormanb3da2a72007-10-24 18:23:50 +02003921 Param: "sleep" - profile D-state sleeping (millisecs).
3922 Requires CONFIG_SCHEDSTATS
Dave Jonesc0fe2e62007-10-20 03:08:22 +02003923 Param: "kvm" - profile VM exits.
Randy Dunlape7e61fc2017-11-19 21:08:11 -08003924 Param: <number> - step/bucket size as a power of 2 for
3925 statistical time based profiling.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003926
Linus Torvalds1da177e2005-04-16 15:20:36 -07003927 prompt_ramdisk= [RAM] List of RAM disks to prompt for floppy disk
3928 before loading.
Mauro Carvalho Chehabe7751612019-06-18 11:47:10 -03003929 See Documentation/admin-guide/blockdev/ramdisk.rst.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003930
Vasily Gorbikecdc5d82019-10-23 13:56:36 +02003931 prot_virt= [S390] enable hosting protected virtual machines
3932 isolated from the hypervisor (if hardware supports
3933 that).
3934 Format: <bool>
3935
Johannes Weinere0c27442018-11-30 14:09:58 -08003936 psi= [KNL] Enable or disable pressure stall information
3937 tracking.
3938 Format: <bool>
3939
Randy Dunlapa9913042005-10-23 12:57:11 -07003940 psmouse.proto= [HW,MOUSE] Highest PS2 mouse protocol extension to
3941 probe for; one of (bare|imps|exps|lifebook|any).
Linus Torvalds1da177e2005-04-16 15:20:36 -07003942 psmouse.rate= [HW,MOUSE] Set desired mouse report rate, in reports
3943 per second.
Randy Dunlapa9913042005-10-23 12:57:11 -07003944 psmouse.resetafter= [HW,MOUSE]
3945 Try to reset the device after so many bad packets
Linus Torvalds1da177e2005-04-16 15:20:36 -07003946 (0 = never).
3947 psmouse.resolution=
3948 [HW,MOUSE] Set desired mouse resolution, in dpi.
3949 psmouse.smartscroll=
Randy Dunlapa9913042005-10-23 12:57:11 -07003950 [HW,MOUSE] Controls Logitech smartscroll autorepeat.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003951 0 = disabled, 1 = enabled (default).
3952
Matthew Garrettdee28e72011-07-21 16:57:55 -04003953 pstore.backend= Specify the name of the pstore backend to use
3954
Linus Torvalds1da177e2005-04-16 15:20:36 -07003955 pt. [PARIDE]
Mauro Carvalho Chehabe7751612019-06-18 11:47:10 -03003956 See Documentation/admin-guide/blockdev/paride.rst.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003957
Randy Dunlapbe3a5b0e2020-08-09 19:49:41 -07003958 pti= [X86-64] Control Page Table Isolation of user and
Dave Hansen01c9b172018-01-05 09:44:36 -08003959 kernel address spaces. Disabling this feature
3960 removes hardening, but improves performance of
3961 system calls and interrupts.
3962
3963 on - unconditionally enable
3964 off - unconditionally disable
3965 auto - kernel detects whether your CPU model is
3966 vulnerable to issues that PTI mitigates
3967
3968 Not specifying this option is equivalent to pti=auto.
3969
Randy Dunlapbe3a5b0e2020-08-09 19:49:41 -07003970 nopti [X86-64]
Dave Hansen01c9b172018-01-05 09:44:36 -08003971 Equivalent to pti=off
Borislav Petkov41f4c202017-12-12 14:39:52 +01003972
Kay Sieversdc8c8582007-08-15 12:25:38 +02003973 pty.legacy_count=
3974 [KNL] Number of legacy pty's. Overwrites compiled-in
3975 default number.
3976
Randy Dunlap7d2c5022006-09-29 02:01:02 -07003977 quiet [KNL] Disable most log messages
Randy Dunlapa9913042005-10-23 12:57:11 -07003978
Linus Torvalds1da177e2005-04-16 15:20:36 -07003979 r128= [HW,DRM]
3980
3981 raid= [HW,RAID]
Jani Nikulae52347b2016-11-03 12:10:10 +02003982 See Documentation/admin-guide/md.rst.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003983
Linus Torvalds1da177e2005-04-16 15:20:36 -07003984 ramdisk_size= [RAM] Sizes of RAM disks in kilobytes
Mauro Carvalho Chehabe7751612019-06-18 11:47:10 -03003985 See Documentation/admin-guide/blockdev/ramdisk.rst.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003986
Kees Cook9b254362018-08-27 14:51:54 -07003987 random.trust_cpu={on,off}
3988 [KNL] Enable or disable trusting the use of the
3989 CPU's random number generator (if available) to
3990 fully seed the kernel's CRNG. Default is controlled
3991 by CONFIG_RANDOM_TRUST_CPU.
3992
Borislav Petkov011d8262017-03-27 11:33:02 +02003993 ras=option[,option,...] [KNL] RAS-specific options
3994
3995 cec_disable [X86]
3996 Disable the Correctable Errors Collector,
3997 see CONFIG_RAS_CEC help text.
3998
Paul E. McKenney4102ada2013-10-08 20:23:47 -07003999 rcu_nocbs= [KNL]
Paul E. McKenneyda8739f2019-03-05 15:28:19 -08004000 The argument is a cpu list, as described above,
4001 except that the string "all" can be used to
4002 specify every CPU on the system.
Noam Camus2d13e6c2016-10-11 13:51:35 -07004003
Paul E. McKenney3fbfbf72012-08-19 21:35:53 -07004004 In kernels built with CONFIG_RCU_NOCB_CPU=y, set
4005 the specified list of CPUs to be no-callback CPUs.
Paul E. McKenney77095902018-07-02 08:25:57 -07004006 Invocation of these CPUs' RCU callbacks will be
4007 offloaded to "rcuox/N" kthreads created for that
4008 purpose, where "x" is "p" for RCU-preempt, and
4009 "s" for RCU-sched, and "N" is the CPU number.
4010 This reduces OS jitter on the offloaded CPUs,
4011 which can be useful for HPC and real-time
4012 workloads. It can also improve energy efficiency
4013 for asymmetric multiprocessors.
Paul E. McKenney3fbfbf72012-08-19 21:35:53 -07004014
Paul E. McKenney4102ada2013-10-08 20:23:47 -07004015 rcu_nocb_poll [KNL]
Paul E. McKenney3fbfbf72012-08-19 21:35:53 -07004016 Rather than requiring that offloaded CPUs
4017 (specified by rcu_nocbs= above) explicitly
4018 awaken the corresponding "rcuoN" kthreads,
4019 make these kthreads poll for callbacks.
4020 This improves the real-time response for the
4021 offloaded CPUs by relieving them of the need to
4022 wake up the corresponding kthread, but degrades
4023 energy efficiency by requiring that the kthreads
4024 periodically wake up to do the polling.
4025
Paul E. McKenney4102ada2013-10-08 20:23:47 -07004026 rcutree.blimit= [KNL]
Paul E. McKenney97e63f02013-10-27 09:44:03 -07004027 Set maximum number of finished RCU callbacks to
4028 process in one batch.
Dipankar Sarma21a1ea92006-03-07 21:55:33 -08004029
Paul E. McKenneya3dc2942015-04-20 11:40:50 -07004030 rcutree.dump_tree= [KNL]
4031 Dump the structure of the rcu_node combining tree
4032 out at early boot. This is used for diagnostic
4033 purposes, to verify correct tree setup.
4034
Paul E. McKenney0f41c0d2015-03-10 18:33:20 -07004035 rcutree.gp_cleanup_delay= [KNL]
4036 Set the number of jiffies to delay each step of
Paul E. McKenney90040c92017-05-10 14:36:55 -07004037 RCU grace-period cleanup.
Paul E. McKenney0f41c0d2015-03-10 18:33:20 -07004038
Paul E. McKenney37745d22015-01-22 18:24:08 -08004039 rcutree.gp_init_delay= [KNL]
4040 Set the number of jiffies to delay each step of
Paul E. McKenney90040c92017-05-10 14:36:55 -07004041 RCU grace-period initialization.
Paul E. McKenney0f41c0d2015-03-10 18:33:20 -07004042
4043 rcutree.gp_preinit_delay= [KNL]
4044 Set the number of jiffies to delay each step of
4045 RCU grace-period pre-initialization, that is,
4046 the propagation of recent CPU-hotplug changes up
Paul E. McKenney90040c92017-05-10 14:36:55 -07004047 the rcu_node combining tree.
Paul E. McKenney37745d22015-01-22 18:24:08 -08004048
Sebastian Andrzej Siewior48d07c02019-03-20 22:13:33 +01004049 rcutree.use_softirq= [KNL]
4050 If set to zero, move all RCU_SOFTIRQ processing to
4051 per-CPU rcuc kthreads. Defaults to a non-zero
4052 value, meaning that RCU_SOFTIRQ is used by default.
4053 Specify rcutree.use_softirq=0 to use rcuc kthreads.
4054
Paul E. McKenney7fa27002015-04-20 10:27:15 -07004055 rcutree.rcu_fanout_exact= [KNL]
4056 Disable autobalancing of the rcu_node combining
4057 tree. This is used by rcutorture, and might
4058 possibly be useful for architectures having high
4059 cache-to-cache transfer latencies.
Dipankar Sarma21a1ea92006-03-07 21:55:33 -08004060
Paul E. McKenney4102ada2013-10-08 20:23:47 -07004061 rcutree.rcu_fanout_leaf= [KNL]
Paul E. McKenneyee968ac2015-07-31 08:28:35 -07004062 Change the number of CPUs assigned to each
4063 leaf rcu_node structure. Useful for very
4064 large systems, which will choose the value 64,
4065 and for NUMA systems with large remote-access
4066 latencies, which will choose a value aligned
4067 with the appropriate hardware boundaries.
Paul E. McKenneyf885b7f2012-04-23 15:52:53 -07004068
Uladzislau Rezki (Sony)53c72b52020-05-25 23:47:52 +02004069 rcutree.rcu_min_cached_objs= [KNL]
4070 Minimum number of objects which are cached and
4071 maintained per one CPU. Object size is equal
4072 to PAGE_SIZE. The cache allows to reduce the
4073 pressure to page allocator, also it makes the
4074 whole algorithm to behave better in low memory
4075 condition.
4076
Paul E. McKenney4102ada2013-10-08 20:23:47 -07004077 rcutree.jiffies_till_first_fqs= [KNL]
Paul E. McKenneyc0f4dfd2012-12-28 11:30:36 -08004078 Set delay from grace-period initialization to
4079 first attempt to force quiescent states.
4080 Units are jiffies, minimum value is zero,
4081 and maximum value is HZ.
4082
Paul E. McKenney4102ada2013-10-08 20:23:47 -07004083 rcutree.jiffies_till_next_fqs= [KNL]
Paul E. McKenneyc0f4dfd2012-12-28 11:30:36 -08004084 Set delay between subsequent attempts to force
4085 quiescent states. Units are jiffies, minimum
4086 value is one, and maximum value is HZ.
4087
Paul E. McKenney1a4762b2018-11-20 10:22:00 -08004088 rcutree.jiffies_till_sched_qs= [KNL]
4089 Set required age in jiffies for a
4090 given grace period before RCU starts
4091 soliciting quiescent-state help from
4092 rcu_note_context_switch() and cond_resched().
4093 If not specified, the kernel will calculate
4094 a value based on the most recent settings
4095 of rcutree.jiffies_till_first_fqs
4096 and rcutree.jiffies_till_next_fqs.
4097 This calculated value may be viewed in
4098 rcutree.jiffies_to_sched_qs. Any attempt to set
4099 rcutree.jiffies_to_sched_qs will be cheerfully
4100 overwritten.
4101
Clark Williams21871d72014-09-12 21:21:09 -05004102 rcutree.kthread_prio= [KNL,BOOT]
Paul E. McKenneyd2af1ad2015-01-20 23:54:59 -08004103 Set the SCHED_FIFO priority of the RCU per-CPU
4104 kthreads (rcuc/N). This value is also used for
4105 the priority of the RCU boost threads (rcub/N)
4106 and for the RCU grace-period kthreads (rcu_bh,
4107 rcu_preempt, and rcu_sched). If RCU_BOOST is
4108 set, valid values are 1-99 and the default is 1
4109 (the least-favored priority). Otherwise, when
4110 RCU_BOOST is not set, valid values are 0-99 and
4111 the default is zero (non-realtime operation).
Clark Williams21871d72014-09-12 21:21:09 -05004112
Paul E. McKenneyf7c612b2019-04-02 08:05:55 -07004113 rcutree.rcu_nocb_gp_stride= [KNL]
4114 Set the number of NOCB callback kthreads in
4115 each group, which defaults to the square root
4116 of the number of CPUs. Larger numbers reduce
4117 the wakeup overhead on the global grace-period
4118 kthread, but increases that same overhead on
4119 each group's NOCB grace-period kthread.
Paul E. McKenneyfbce7492014-06-24 09:26:11 -07004120
Paul E. McKenney4102ada2013-10-08 20:23:47 -07004121 rcutree.qhimark= [KNL]
Paul E. McKenney97e63f02013-10-27 09:44:03 -07004122 Set threshold of queued RCU callbacks beyond which
4123 batch limiting is disabled.
Dipankar Sarma21a1ea92006-03-07 21:55:33 -08004124
Paul E. McKenney4102ada2013-10-08 20:23:47 -07004125 rcutree.qlowmark= [KNL]
Robert P. J. Day24aaef82008-02-03 15:20:26 +02004126 Set threshold of queued RCU callbacks below which
4127 batch limiting is re-enabled.
Dipankar Sarma21a1ea92006-03-07 21:55:33 -08004128
Paul E. McKenneyb2b00dd2019-10-30 11:56:10 -07004129 rcutree.qovld= [KNL]
4130 Set threshold of queued RCU callbacks beyond which
4131 RCU's force-quiescent-state scan will aggressively
4132 enlist help from cond_resched() and sched IPIs to
4133 help CPUs more quickly reach quiescent states.
4134 Set to less than zero to make this be set based
4135 on rcutree.qhimark at boot time and to zero to
4136 disable more aggressive help enlistment.
4137
Paul E. McKenney4102ada2013-10-08 20:23:47 -07004138 rcutree.rcu_idle_gp_delay= [KNL]
Paul E. McKenneyc0f4dfd2012-12-28 11:30:36 -08004139 Set wakeup interval for idle CPUs that have
4140 RCU callbacks (RCU_FAST_NO_HZ=y).
Paul E. McKenneyd40011f2012-06-26 20:45:57 -07004141
Paul E. McKenney4102ada2013-10-08 20:23:47 -07004142 rcutree.rcu_idle_lazy_gp_delay= [KNL]
Paul E. McKenneyc0f4dfd2012-12-28 11:30:36 -08004143 Set wakeup interval for idle CPUs that have
4144 only "lazy" RCU callbacks (RCU_FAST_NO_HZ=y).
4145 Lazy RCU callbacks are those which RCU can
4146 prove do nothing more than free memory.
Paul E. McKenneyd40011f2012-06-26 20:45:57 -07004147
Paul E. McKenneye3c50df2017-01-06 15:14:11 -08004148 rcutree.rcu_kick_kthreads= [KNL]
4149 Cause the grace-period kthread to get an extra
4150 wake_up() if it sleeps three times longer than
4151 it should at force-quiescent-state time.
4152 This wake_up() will be accompanied by a
4153 WARN_ONCE() splat and an ftrace_dump().
4154
Paul E. McKenney2ccaff12018-12-12 12:32:06 -08004155 rcutree.sysrq_rcu= [KNL]
4156 Commandeer a sysrq key to dump out Tree RCU's
4157 rcu_node tree with an eye towards determining
4158 why a new grace period has not yet started.
4159
Paul E. McKenney881ed592017-04-17 12:47:10 -07004160 rcuperf.gp_async= [KNL]
4161 Measure performance of asynchronous
4162 grace-period primitives such as call_rcu().
4163
4164 rcuperf.gp_async_max= [KNL]
4165 Specify the maximum number of outstanding
4166 callbacks per writer thread. When a writer
4167 thread exceeds this limit, it invokes the
4168 corresponding flavor of rcu_barrier() to allow
4169 previously posted callbacks to drain.
4170
Paul E. McKenneybdea9e32016-01-01 13:47:19 -08004171 rcuperf.gp_exp= [KNL]
4172 Measure performance of expedited synchronous
4173 grace-period primitives.
4174
Paul E. McKenneydf37e662016-01-30 20:56:38 -08004175 rcuperf.holdoff= [KNL]
4176 Set test-start holdoff period. The purpose of
4177 this parameter is to delay the start of the
4178 test until boot completes in order to avoid
4179 interference.
4180
Joel Fernandes (Google)e6e78b02019-08-30 12:36:29 -04004181 rcuperf.kfree_rcu_test= [KNL]
4182 Set to measure performance of kfree_rcu() flooding.
4183
4184 rcuperf.kfree_nthreads= [KNL]
4185 The number of threads running loops of kfree_rcu().
4186
4187 rcuperf.kfree_alloc_num= [KNL]
4188 Number of allocations and frees done in an iteration.
4189
4190 rcuperf.kfree_loops= [KNL]
4191 Number of loops doing rcuperf.kfree_alloc_num number
4192 of allocations and frees.
4193
Paul E. McKenneybdea9e32016-01-01 13:47:19 -08004194 rcuperf.nreaders= [KNL]
4195 Set number of RCU readers. The value -1 selects
4196 N, where N is the number of CPUs. A value
4197 "n" less than -1 selects N-n+1, where N is again
4198 the number of CPUs. For example, -2 selects N
4199 (the number of CPUs), -3 selects N+1, and so on.
4200 A value of "n" less than or equal to -N selects
4201 a single reader.
4202
4203 rcuperf.nwriters= [KNL]
4204 Set number of RCU writers. The values operate
4205 the same as for rcuperf.nreaders.
4206 N, where N is the number of CPUs
4207
Paul E. McKenney820687a2017-04-25 15:12:56 -07004208 rcuperf.perf_type= [KNL]
4209 Specify the RCU implementation to test.
4210
Paul E. McKenneybdea9e32016-01-01 13:47:19 -08004211 rcuperf.shutdown= [KNL]
4212 Shut the system down after performance tests
4213 complete. This is useful for hands-off automated
4214 testing.
4215
Paul E. McKenneybdea9e32016-01-01 13:47:19 -08004216 rcuperf.verbose= [KNL]
4217 Enable additional printk() statements.
4218
Paul E. McKenney820687a2017-04-25 15:12:56 -07004219 rcuperf.writer_holdoff= [KNL]
4220 Write-side holdoff between grace periods,
4221 in microseconds. The default of zero says
4222 no holdoff.
4223
Paul E. McKenney4102ada2013-10-08 20:23:47 -07004224 rcutorture.fqs_duration= [KNL]
Paul E. McKenney21b05de2015-05-14 17:29:51 -07004225 Set duration of force_quiescent_state bursts
4226 in microseconds.
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07004227
Paul E. McKenney4102ada2013-10-08 20:23:47 -07004228 rcutorture.fqs_holdoff= [KNL]
Paul E. McKenney21b05de2015-05-14 17:29:51 -07004229 Set holdoff time within force_quiescent_state bursts
4230 in microseconds.
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07004231
Paul E. McKenney4102ada2013-10-08 20:23:47 -07004232 rcutorture.fqs_stutter= [KNL]
Paul E. McKenney21b05de2015-05-14 17:29:51 -07004233 Set wait time between force_quiescent_state bursts
4234 in seconds.
4235
Paul E. McKenneyed8f6fb2018-10-01 08:38:54 -07004236 rcutorture.fwd_progress= [KNL]
4237 Enable RCU grace-period forward-progress testing
4238 for the types of RCU supporting this notion.
4239
4240 rcutorture.fwd_progress_div= [KNL]
4241 Specify the fraction of a CPU-stall-warning
4242 period to do tight-loop forward-progress testing.
4243
4244 rcutorture.fwd_progress_holdoff= [KNL]
4245 Number of seconds to wait between successive
4246 forward-progress tests.
4247
4248 rcutorture.fwd_progress_need_resched= [KNL]
4249 Enclose cond_resched() calls within checks for
4250 need_resched() during tight-loop forward-progress
4251 testing.
4252
Paul E. McKenney21b05de2015-05-14 17:29:51 -07004253 rcutorture.gp_cond= [KNL]
4254 Use conditional/asynchronous update-side
4255 primitives, if available.
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07004256
Paul E. McKenney4102ada2013-10-08 20:23:47 -07004257 rcutorture.gp_exp= [KNL]
Paul E. McKenney21b05de2015-05-14 17:29:51 -07004258 Use expedited update-side primitives, if available.
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07004259
Paul E. McKenney4102ada2013-10-08 20:23:47 -07004260 rcutorture.gp_normal= [KNL]
Paul E. McKenney21b05de2015-05-14 17:29:51 -07004261 Use normal (non-expedited) asynchronous
4262 update-side primitives, if available.
4263
4264 rcutorture.gp_sync= [KNL]
4265 Use normal (non-expedited) synchronous
4266 update-side primitives, if available. If all
4267 of rcutorture.gp_cond=, rcutorture.gp_exp=,
4268 rcutorture.gp_normal=, and rcutorture.gp_sync=
4269 are zero, rcutorture acts as if is interpreted
4270 they are all non-zero.
Paul E. McKenney4102ada2013-10-08 20:23:47 -07004271
4272 rcutorture.n_barrier_cbs= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07004273 Set callbacks/threads for rcu_barrier() testing.
4274
Paul E. McKenney4102ada2013-10-08 20:23:47 -07004275 rcutorture.nfakewriters= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07004276 Set number of concurrent RCU writers. These just
4277 stress RCU, they don't participate in the actual
4278 test, hence the "fake".
4279
Paul E. McKenney4102ada2013-10-08 20:23:47 -07004280 rcutorture.nreaders= [KNL]
Paul E. McKenney3838cc12015-03-12 13:55:48 -07004281 Set number of RCU readers. The value -1 selects
4282 N-1, where N is the number of CPUs. A value
4283 "n" less than -1 selects N-n-2, where N is again
4284 the number of CPUs. For example, -2 selects N
4285 (the number of CPUs), -3 selects N+1, and so on.
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07004286
Paul E. McKenney4102ada2013-10-08 20:23:47 -07004287 rcutorture.object_debug= [KNL]
4288 Enable debug-object double-call_rcu() testing.
4289
4290 rcutorture.onoff_holdoff= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07004291 Set time (s) after boot for CPU-hotplug testing.
4292
Paul E. McKenney4102ada2013-10-08 20:23:47 -07004293 rcutorture.onoff_interval= [KNL]
Paul E. McKenney028be122018-05-08 09:20:34 -07004294 Set time (jiffies) between CPU-hotplug operations,
4295 or zero to disable CPU-hotplug testing.
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07004296
Paul E. McKenney4a5f1332020-04-24 11:21:40 -07004297 rcutorture.read_exit= [KNL]
4298 Set the number of read-then-exit kthreads used
4299 to test the interaction of RCU updaters and
4300 task-exit processing.
4301
4302 rcutorture.read_exit_burst= [KNL]
4303 The number of times in a given read-then-exit
4304 episode that a set of read-then-exit kthreads
4305 is spawned.
4306
4307 rcutorture.read_exit_delay= [KNL]
4308 The delay, in seconds, between successive
4309 read-then-exit testing episodes.
4310
Paul E. McKenney4102ada2013-10-08 20:23:47 -07004311 rcutorture.shuffle_interval= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07004312 Set task-shuffle interval (s). Shuffling tasks
4313 allows some CPUs to go into dyntick-idle mode
4314 during the rcutorture test.
4315
Paul E. McKenney4102ada2013-10-08 20:23:47 -07004316 rcutorture.shutdown_secs= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07004317 Set time (s) after boot system shutdown. This
4318 is useful for hands-off automated testing.
4319
Paul E. McKenney4102ada2013-10-08 20:23:47 -07004320 rcutorture.stall_cpu= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07004321 Duration of CPU stall (s) to test RCU CPU stall
4322 warnings, zero to disable.
4323
Paul E. McKenney19a8ff92020-03-11 17:39:12 -07004324 rcutorture.stall_cpu_block= [KNL]
4325 Sleep while stalling if set. This will result
4326 in warnings from preemptible RCU in addition
4327 to any other stall-related activity.
4328
Paul E. McKenney4102ada2013-10-08 20:23:47 -07004329 rcutorture.stall_cpu_holdoff= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07004330 Time to wait (s) after boot before inducing stall.
4331
Paul E. McKenney2b1516e2017-08-18 16:11:37 -07004332 rcutorture.stall_cpu_irqsoff= [KNL]
4333 Disable interrupts while stalling if set.
4334
Paul E. McKenney55b2dcf2020-04-01 19:57:52 -07004335 rcutorture.stall_gp_kthread= [KNL]
4336 Duration (s) of forced sleep within RCU
4337 grace-period kthread to test RCU CPU stall
4338 warnings, zero to disable. If both stall_cpu
4339 and stall_gp_kthread are specified, the
4340 kthread is starved first, then the CPU.
4341
Paul E. McKenney4102ada2013-10-08 20:23:47 -07004342 rcutorture.stat_interval= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07004343 Time (s) between statistics printk()s.
4344
Paul E. McKenney4102ada2013-10-08 20:23:47 -07004345 rcutorture.stutter= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07004346 Time (s) to stutter testing, for example, specifying
4347 five seconds causes the test to run for five seconds,
4348 wait for five seconds, and so on. This tests RCU's
4349 ability to transition abruptly to and from idle.
4350
Paul E. McKenney4102ada2013-10-08 20:23:47 -07004351 rcutorture.test_boost= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07004352 Test RCU priority boosting? 0=no, 1=maybe, 2=yes.
4353 "Maybe" means test if the RCU implementation
4354 under test support RCU priority boosting.
4355
Paul E. McKenney4102ada2013-10-08 20:23:47 -07004356 rcutorture.test_boost_duration= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07004357 Duration (s) of each individual boost test.
4358
Paul E. McKenney4102ada2013-10-08 20:23:47 -07004359 rcutorture.test_boost_interval= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07004360 Interval (s) between each boost test.
4361
Paul E. McKenney4102ada2013-10-08 20:23:47 -07004362 rcutorture.test_no_idle_hz= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07004363 Test RCU's dyntick-idle handling. See also the
4364 rcutorture.shuffle_interval parameter.
4365
Paul E. McKenney4102ada2013-10-08 20:23:47 -07004366 rcutorture.torture_type= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07004367 Specify the RCU implementation to test.
4368
Paul E. McKenney4102ada2013-10-08 20:23:47 -07004369 rcutorture.verbose= [KNL]
Paul E. McKenneydabb8aa2012-04-23 10:54:45 -07004370 Enable additional printk() statements.
4371
Paul E. McKenneycdc694b2019-06-13 15:30:49 -07004372 rcupdate.rcu_cpu_stall_ftrace_dump= [KNL]
4373 Dump ftrace buffer after reporting RCU CPU
4374 stall warning.
4375
Paul E. McKenney5a9be7c2015-11-24 15:44:06 -08004376 rcupdate.rcu_cpu_stall_suppress= [KNL]
4377 Suppress RCU CPU stall warning messages.
4378
Paul E. McKenney58c53362019-12-05 11:29:01 -08004379 rcupdate.rcu_cpu_stall_suppress_at_boot= [KNL]
4380 Suppress RCU CPU stall warning messages and
4381 rcutorture writer stall warnings that occur
4382 during early boot, that is, during the time
4383 before the init task is spawned.
4384
Paul E. McKenney5a9be7c2015-11-24 15:44:06 -08004385 rcupdate.rcu_cpu_stall_timeout= [KNL]
4386 Set timeout for RCU CPU stall warning messages.
4387
Paul E. McKenney4102ada2013-10-08 20:23:47 -07004388 rcupdate.rcu_expedited= [KNL]
4389 Use expedited grace-period primitives, for
4390 example, synchronize_rcu_expedited() instead
4391 of synchronize_rcu(). This reduces latency,
4392 but can increase CPU utilization, degrade
4393 real-time latency, and degrade energy efficiency.
Paul E. McKenney79cfea022015-12-07 13:09:52 -08004394 No effect on CONFIG_TINY_RCU kernels.
Paul E. McKenney4102ada2013-10-08 20:23:47 -07004395
Paul E. McKenney5a9be7c2015-11-24 15:44:06 -08004396 rcupdate.rcu_normal= [KNL]
4397 Use only normal grace-period primitives,
4398 for example, synchronize_rcu() instead of
4399 synchronize_rcu_expedited(). This improves
Paul E. McKenney79cfea022015-12-07 13:09:52 -08004400 real-time latency, CPU utilization, and
4401 energy efficiency, but can expose users to
4402 increased grace-period latency. This parameter
4403 overrides rcupdate.rcu_expedited. No effect on
4404 CONFIG_TINY_RCU kernels.
Paul E. McKenney4102ada2013-10-08 20:23:47 -07004405
Paul E. McKenney3e42ec12015-11-25 18:56:00 -08004406 rcupdate.rcu_normal_after_boot= [KNL]
4407 Once boot has completed (that is, after
4408 rcu_end_inkernel_boot() has been invoked), use
Paul E. McKenney79cfea022015-12-07 13:09:52 -08004409 only normal grace-period primitives. No effect
4410 on CONFIG_TINY_RCU kernels.
Paul E. McKenney3e42ec12015-11-25 18:56:00 -08004411
Paul E. McKenneyb0afa0f2020-03-17 11:39:26 -07004412 rcupdate.rcu_task_ipi_delay= [KNL]
4413 Set time in jiffies during which RCU tasks will
4414 avoid sending IPIs, starting with the beginning
4415 of a given grace period. Setting a large
4416 number avoids disturbing real-time workloads,
4417 but lengthens grace periods.
4418
Paul E. McKenney52db30a2014-07-01 18:16:30 -07004419 rcupdate.rcu_task_stall_timeout= [KNL]
4420 Set timeout in jiffies for RCU task stall warning
4421 messages. Disable with a value less than or equal
4422 to zero.
4423
Pranith Kumar74860fe2014-09-19 11:34:09 -04004424 rcupdate.rcu_self_test= [KNL]
4425 Run the RCU early boot self tests
4426
Olof Johanssonffdfc402005-09-06 15:17:19 -07004427 rdinit= [KNL]
4428 Format: <full_path>
4429 Run specified binary instead of /init from the ramdisk,
4430 used for early userspace startup. See initrd.
4431
Tom Lendackyc49a0a802019-08-19 15:52:35 +00004432 rdrand= [X86]
4433 force - Override the decision by the kernel to hide the
4434 advertisement of RDRAND support (this affects
4435 certain AMD processors because of buggy BIOS
4436 support, specifically around the suspend/resume
4437 path).
4438
Tony Luck1d9807f2017-08-24 09:26:51 -07004439 rdt= [HW,X86,RDT]
4440 Turn on/off individual RDT features. List is:
Fenghua Yu31516de2017-12-20 14:57:24 -08004441 cmt, mbmtotal, mbmlocal, l3cat, l3cdp, l2cat, l2cdp,
4442 mba.
Tony Luck1d9807f2017-08-24 09:26:51 -07004443 E.g. to turn on cmt and turn off mba use:
4444 rdt=cmt,!mba
4445
Robin Holt1b3a5d02013-07-08 16:01:42 -07004446 reboot= [KNL]
4447 Format (x86 or x86_64):
4448 [w[arm] | c[old] | h[ard] | s[oft] | g[pio]] \
4449 [[,]s[mp]#### \
4450 [[,]b[ios] | a[cpi] | k[bd] | t[riple] | e[fi] | p[ci]] \
4451 [[,]f[orce]
Aaro Koskinenb287a252019-05-14 15:45:37 -07004452 Where reboot_mode is one of warm (soft) or cold (hard) or gpio
4453 (prefix with 'panic_' to set mode for panic
4454 reboot only),
Robin Holt1b3a5d02013-07-08 16:01:42 -07004455 reboot_type is one of bios, acpi, kbd, triple, efi, or pci,
4456 reboot_force is either force or not specified,
4457 reboot_cpu is s[mp]#### with #### being the processor
4458 to be used for rebooting.
Linus Torvalds1da177e2005-04-16 15:20:36 -07004459
Paul E. McKenney1fbeb3a2020-06-17 11:53:53 -07004460 refscale.holdoff= [KNL]
Paul E. McKenney847dd702020-05-29 14:24:03 -07004461 Set test-start holdoff period. The purpose of
4462 this parameter is to delay the start of the
4463 test until boot completes in order to avoid
4464 interference.
4465
Paul E. McKenney1fbeb3a2020-06-17 11:53:53 -07004466 refscale.loops= [KNL]
Paul E. McKenney847dd702020-05-29 14:24:03 -07004467 Set the number of loops over the synchronization
4468 primitive under test. Increasing this number
4469 reduces noise due to loop start/end overhead,
4470 but the default has already reduced the per-pass
4471 noise to a handful of picoseconds on ca. 2020
4472 x86 laptops.
4473
Paul E. McKenney1fbeb3a2020-06-17 11:53:53 -07004474 refscale.nreaders= [KNL]
Paul E. McKenney847dd702020-05-29 14:24:03 -07004475 Set number of readers. The default value of -1
4476 selects N, where N is roughly 75% of the number
4477 of CPUs. A value of zero is an interesting choice.
4478
Paul E. McKenney1fbeb3a2020-06-17 11:53:53 -07004479 refscale.nruns= [KNL]
Paul E. McKenney847dd702020-05-29 14:24:03 -07004480 Set number of runs, each of which is dumped onto
4481 the console log.
4482
Paul E. McKenney1fbeb3a2020-06-17 11:53:53 -07004483 refscale.readdelay= [KNL]
Paul E. McKenney847dd702020-05-29 14:24:03 -07004484 Set the read-side critical-section duration,
4485 measured in microseconds.
4486
Paul E. McKenney1fbeb3a2020-06-17 11:53:53 -07004487 refscale.scale_type= [KNL]
4488 Specify the read-protection implementation to test.
4489
4490 refscale.shutdown= [KNL]
Paul E. McKenney847dd702020-05-29 14:24:03 -07004491 Shut down the system at the end of the performance
4492 test. This defaults to 1 (shut it down) when
4493 rcuperf is built into the kernel and to 0 (leave
4494 it running) when rcuperf is built as a module.
4495
Paul E. McKenney1fbeb3a2020-06-17 11:53:53 -07004496 refscale.verbose= [KNL]
Paul E. McKenney847dd702020-05-29 14:24:03 -07004497 Enable additional printk() statements.
4498
Paul Jackson46b6d942008-07-04 10:00:09 -07004499 relax_domain_level=
4500 [KNL, SMP] Set scheduler's default relax_domain_level.
Mauro Carvalho Chehabda82c922019-06-27 13:08:35 -03004501 See Documentation/admin-guide/cgroup-v1/cpusets.rst.
Paul Jackson46b6d942008-07-04 10:00:09 -07004502
Bjorn Helgaasffd2e8d2017-12-01 11:50:33 -06004503 reserve= [KNL,BUGS] Force kernel to ignore I/O ports or memory
4504 Format: <base1>,<size1>[,<base2>,<size2>,...]
4505 Reserve I/O ports or memory so the kernel won't use
4506 them. If <base> is less than 0x10000, the region
4507 is assumed to be I/O ports; otherwise it is memory.
Linus Torvalds1da177e2005-04-16 15:20:36 -07004508
Alan Coxcd4f0ef2007-07-31 00:37:59 -07004509 reservetop= [X86-32]
Zachary Amsden461a9aff2006-09-25 23:32:25 -07004510 Format: nn[KMG]
4511 Reserves a hole at the top of the kernel virtual
4512 address space.
4513
H. Peter Anvin9ea77bd2010-08-25 16:38:20 -07004514 reservelow= [X86]
4515 Format: nn[K]
4516 Set the amount of memory to reserve for BIOS at
4517 the bottom of the address space.
4518
Vivek Goyal7e962872006-09-27 01:50:44 -07004519 reset_devices [KNL] Force drivers to reset the underlying device
4520 during initialization.
4521
Randy Dunlapa9913042005-10-23 12:57:11 -07004522 resume= [SWSUSP]
4523 Specify the partition device for software suspend
Minho Ban2df83fa2012-05-14 21:45:31 +02004524 Format:
4525 {/dev/<dev> | PARTUUID=<uuid> | <int>:<int> | <hex>}
Linus Torvalds1da177e2005-04-16 15:20:36 -07004526
Rafael J. Wysockiecbd0da2006-12-06 20:34:13 -08004527 resume_offset= [SWSUSP]
4528 Specify the offset from the beginning of the partition
4529 given by "resume=" at which the swap header is located,
4530 in <PAGE_SIZE> units (needed only for swap files).
Mauro Carvalho Chehab151f4e22019-06-13 07:10:36 -03004531 See Documentation/power/swsusp-and-swap-files.rst
Rafael J. Wysockiecbd0da2006-12-06 20:34:13 -08004532
Barry Songf126f732011-10-10 23:38:41 +02004533 resumedelay= [HIBERNATION] Delay (in seconds) to pause before attempting to
4534 read the resume files
4535
Barry Song6f8d7022011-10-06 20:34:46 +02004536 resumewait [HIBERNATION] Wait (indefinitely) for resume device to show up.
4537 Useful for devices that are detected asynchronously
4538 (e.g. USB and MMC devices).
4539
Bojan Smojverf996fc92010-09-09 23:06:23 +02004540 hibernate= [HIBERNATION]
4541 noresume Don't check if there's a hibernation image
4542 present during boot.
4543 nocompress Don't compress/decompress hibernation images.
Kees Cooka6e15a32014-06-13 13:30:35 -07004544 no Disable hibernation and resume.
Rafael J. Wysocki4c0b6c12016-07-10 02:12:10 +02004545 protect_image Turn on image protection during restoration
4546 (that will set all pages holding image data
4547 during restoration read-only).
Bojan Smojverf996fc92010-09-09 23:06:23 +02004548
Michael Neuling0a7b35cb2007-02-10 01:44:33 -08004549 retain_initrd [RAM] Keep initrd memory after extraction
4550
Andrew Clausen0efbb782015-01-09 20:24:55 +00004551 rfkill.default_state=
4552 0 "airplane mode". All wifi, bluetooth, wimax, gps, fm,
4553 etc. communication is blocked by default.
4554 1 Unblocked.
4555
4556 rfkill.master_switch_mode=
4557 0 The "airplane mode" button does nothing.
4558 1 The "airplane mode" button toggles between everything
4559 blocked and the previous configuration.
4560 2 The "airplane mode" button toggles between everything
4561 blocked and everything unblocked.
4562
Linus Torvalds1da177e2005-04-16 15:20:36 -07004563 rhash_entries= [KNL,NET]
4564 Set number of hash buckets for route cache
4565
Grzegorz Andrejczuke16fd002017-01-20 14:22:36 +01004566 ring3mwait=disable
4567 [KNL] Disable ring 3 MONITOR/MWAIT feature on supported
4568 CPUs.
4569
Linus Torvalds1da177e2005-04-16 15:20:36 -07004570 ro [KNL] Mount root device read-only on boot
4571
Kees Cookd2aa1ac2016-02-17 14:41:13 -08004572 rodata= [KNL]
4573 on Mark read-only kernel memory as read-only (default).
4574 off Leave read-only kernel memory writable for debugging.
4575
Heiko Stuebner605df8a2016-02-22 12:55:01 +01004576 rockchip.usb_uart
4577 Enable the uart passthrough on the designated usb port
4578 on Rockchip SoCs. When active, the signals of the
4579 debug-uart get routed to the D+ and D- pins of the usb
4580 port and the regular usb controller gets disabled.
4581
Linus Torvalds1da177e2005-04-16 15:20:36 -07004582 root= [KNL] Root filesystem
Will Drewryf2d34fd92011-08-03 16:21:08 -07004583 See name_to_dev_t comment in init/do_mounts.c.
Linus Torvalds1da177e2005-04-16 15:20:36 -07004584
4585 rootdelay= [KNL] Delay (in seconds) to pause before attempting to
4586 mount the root filesystem
4587
4588 rootflags= [KNL] Set root filesystem mount option string
4589
4590 rootfstype= [KNL] Set root filesystem type
4591
Pierre Ossmancc1ed752007-07-15 23:40:35 -07004592 rootwait [KNL] Wait (indefinitely) for root device to show up.
4593 Useful for devices that are detected asynchronously
4594 (e.g. USB and MMC devices).
4595
Robert Tivy5c71d612013-03-28 18:41:46 -07004596 rproc_mem=nn[KMG][@address]
4597 [KNL,ARM,CMA] Remoteproc physical memory block.
4598 Memory area to be used by remote processor image,
4599 managed by CMA.
4600
Linus Torvalds1da177e2005-04-16 15:20:36 -07004601 rw [KNL] Mount root device read-write on boot
4602
4603 S [KNL] Run init in single mode
4604
Gerald Schaeferc60d1ae2014-07-18 17:37:08 +02004605 s390_iommu= [HW,S390]
4606 Set s390 IOTLB flushing mode
4607 strict
4608 With strict flushing every unmap operation will result in
4609 an IOTLB flush. Default is lazy flushing before reuse,
4610 which is faster.
4611
Linus Torvalds1da177e2005-04-16 15:20:36 -07004612 sa1100ir [NET]
4613 See drivers/net/irda/sa1100_ir.c.
4614
Linus Torvalds1da177e2005-04-16 15:20:36 -07004615 sbni= [NET] Granch SBNI12 leased line adapter
Randy Dunlapa9913042005-10-23 12:57:11 -07004616
Mike Travisf6630112009-11-17 18:22:15 -06004617 sched_debug [KNL] Enables verbose scheduler debug messages.
4618
Mel Gormancb251762016-02-05 09:08:36 +00004619 schedstats= [KNL,X86] Enable or disable scheduled statistics.
4620 Allowed values are enable and disable. This feature
4621 incurs a small amount of overhead in the scheduler
4622 but is useful for debugging and performance tuning.
4623
Thara Gopinath05289b92020-02-21 19:52:13 -05004624 sched_thermal_decay_shift=
4625 [KNL, SMP] Set a decay shift for scheduler thermal
4626 pressure signal. Thermal pressure signal follows the
4627 default decay period of other scheduler pelt
4628 signals(usually 32 ms but configurable). Setting
4629 sched_thermal_decay_shift will left shift the decay
4630 period for the thermal pressure signal by the shift
4631 value.
4632 i.e. with the default pelt decay period of 32 ms
4633 sched_thermal_decay_shift thermal pressure decay pr
4634 1 64 ms
4635 2 128 ms
4636 and so on.
4637 Format: integer between 0 and 10
4638 Default is 0.
4639
Mike Galbraith5307c952012-05-08 12:20:58 +02004640 skew_tick= [KNL] Offset the periodic timer tick per cpu to mitigate
4641 xtime_lock contention on larger systems, and/or RCU lock
4642 contention on all systems with CONFIG_MAXSMP set.
4643 Format: { "0" | "1" }
4644 0 -- disable. (may be 1 via CONFIG_CMDLINE="skew_tick=1"
4645 1 -- enable.
4646 Note: increases power consumption, thus should only be
4647 enabled if running jitter sensitive (HPC/RT) workloads.
4648
Kees Cook89a96842019-02-12 10:23:18 -08004649 security= [SECURITY] Choose a legacy "major" security module to
4650 enable at boot. This has been deprecated by the
4651 "lsm=" parameter.
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07004652
4653 selinux= [SELINUX] Disable or enable SELinux at boot time.
Linus Torvalds1da177e2005-04-16 15:20:36 -07004654 Format: { "0" | "1" }
4655 See security/selinux/Kconfig help text.
4656 0 -- disable.
4657 1 -- enable.
Stephen Smalleyd41415e2020-01-07 11:35:04 -05004658 Default value is 1.
Linus Torvalds1da177e2005-04-16 15:20:36 -07004659
John Johansenc1c124e2010-07-29 14:48:09 -07004660 apparmor= [APPARMOR] Disable or enable AppArmor at boot time
4661 Format: { "0" | "1" }
4662 See security/apparmor/Kconfig help text
4663 0 -- disable.
4664 1 -- enable.
4665 Default value is set via kernel config option.
4666
Alan Coxcd4f0ef2007-07-31 00:37:59 -07004667 serialnumber [BUGS=X86-32]
Linus Torvalds1da177e2005-04-16 15:20:36 -07004668
Linus Torvalds1da177e2005-04-16 15:20:36 -07004669 shapers= [NET]
4670 Maximal number of shapers.
Randy Dunlapa9913042005-10-23 12:57:11 -07004671
Linus Torvalds1da177e2005-04-16 15:20:36 -07004672 simeth= [IA-64]
4673 simscsi=
Randy Dunlapa9913042005-10-23 12:57:11 -07004674
Linus Torvalds1da177e2005-04-16 15:20:36 -07004675 slram= [HW,MTD]
4676
Joonsoo Kim423c9292014-10-09 15:26:22 -07004677 slab_nomerge [MM]
4678 Disable merging of slabs with similar size. May be
4679 necessary if there is some reason to distinguish
Kees Cook7660a6f2017-07-06 15:36:40 -07004680 allocs to different slabs, especially in hardened
4681 environments where the risk of heap overflows and
4682 layout control by attackers can usually be
4683 frustrated by disabling merging. This will reduce
4684 most of the exposure of a heap attack to a single
4685 cache (risks via metadata attacks are mostly
4686 unchanged). Debug options disable merging on their
4687 own.
Mike Rapoportad56b732018-03-21 21:22:47 +02004688 For more information see Documentation/vm/slub.rst.
Joonsoo Kim423c9292014-10-09 15:26:22 -07004689
David Rientjes3df1ccc2011-10-18 22:09:28 -07004690 slab_max_order= [MM, SLAB]
4691 Determines the maximum allowed order for slabs.
4692 A high setting may cause OOMs due to memory
4693 fragmentation. Defaults to 1 for systems with
4694 more than 32MB of RAM, 0 otherwise.
4695
Vlastimil Babkae17f1df2020-08-06 23:18:35 -07004696 slub_debug[=options[,slabs][;[options[,slabs]]...] [MM, SLUB]
Christoph Lameterf0630ff2007-07-15 23:38:14 -07004697 Enabling slub_debug allows one to determine the
4698 culprit if slab objects become corrupted. Enabling
4699 slub_debug can create guard zones around objects and
4700 may poison objects when not in use. Also tracks the
4701 last alloc / free. For more information see
Mike Rapoportad56b732018-03-21 21:22:47 +02004702 Documentation/vm/slub.rst.
Christoph Lameterc1aee212007-05-31 00:40:47 -07004703
Tejun Heo1663f262017-02-22 15:41:39 -08004704 slub_memcg_sysfs= [MM, SLUB]
4705 Determines whether to enable sysfs directories for
4706 memory cgroup sub-caches. 1 to enable, 0 to disable.
4707 The default is determined by CONFIG_SLUB_MEMCG_SYSFS_ON.
4708 Enabling this can lead to a very high number of debug
4709 directories and files being created under
4710 /sys/kernel/slub.
4711
Christoph Lameterc1aee212007-05-31 00:40:47 -07004712 slub_max_order= [MM, SLUB]
Christoph Lameterf0630ff2007-07-15 23:38:14 -07004713 Determines the maximum allowed order for slabs.
4714 A high setting may cause OOMs due to memory
4715 fragmentation. For more information see
Mike Rapoportad56b732018-03-21 21:22:47 +02004716 Documentation/vm/slub.rst.
Christoph Lameterc1aee212007-05-31 00:40:47 -07004717
4718 slub_min_objects= [MM, SLUB]
Christoph Lameterf0630ff2007-07-15 23:38:14 -07004719 The minimum number of objects per slab. SLUB will
4720 increase the slab order up to slub_max_order to
4721 generate a sufficiently large slab able to contain
4722 the number of objects indicated. The higher the number
4723 of objects the smaller the overhead of tracking slabs
4724 and the less frequently locks need to be acquired.
Mike Rapoportad56b732018-03-21 21:22:47 +02004725 For more information see Documentation/vm/slub.rst.
Christoph Lameterc1aee212007-05-31 00:40:47 -07004726
4727 slub_min_order= [MM, SLUB]
Masanari Iida24775d62012-02-15 00:26:42 +09004728 Determines the minimum page order for slabs. Must be
Christoph Lameterf0630ff2007-07-15 23:38:14 -07004729 lower than slub_max_order.
Mike Rapoportad56b732018-03-21 21:22:47 +02004730 For more information see Documentation/vm/slub.rst.
Christoph Lameterc1aee212007-05-31 00:40:47 -07004731
4732 slub_nomerge [MM, SLUB]
Joonsoo Kim423c9292014-10-09 15:26:22 -07004733 Same with slab_nomerge. This is supported for legacy.
4734 See slab_nomerge for more information.
Christoph Lameterc1aee212007-05-31 00:40:47 -07004735
Linus Torvalds1da177e2005-04-16 15:20:36 -07004736 smart2= [HW]
4737 Format: <io1>[,<io2>[,...,<io8>]]
4738
Bjorn Helgaasd0d4f692007-05-08 00:36:05 -07004739 smsc-ircc2.nopnp [HW] Don't use PNP to discover SMC devices
4740 smsc-ircc2.ircc_cfg= [HW] Device configuration I/O port
4741 smsc-ircc2.ircc_sir= [HW] SIR base I/O port
4742 smsc-ircc2.ircc_fir= [HW] FIR base I/O port
4743 smsc-ircc2.ircc_irq= [HW] IRQ line
4744 smsc-ircc2.ircc_dma= [HW] DMA channel
4745 smsc-ircc2.ircc_transceiver= [HW] Transceiver type:
4746 0: Toshiba Satellite 1800 (GP data pin select)
4747 1: Fast pin select (default)
4748 2: ATC IRMode
4749
Sascha Silbe52c48c52016-04-05 12:53:38 +02004750 smt [KNL,S390] Set the maximum number of threads (logical
4751 CPUs) to use per physical CPU on systems capable of
4752 symmetric multithreading (SMT). Will be capped to the
4753 actual hardware limit.
4754 Format: <integer>
4755 Default: -1 (no limit)
4756
Ingo Molnar9c44bc02008-05-12 21:21:04 +02004757 softlockup_panic=
4758 [KNL] Should the soft-lockup detector generate panics.
Guilherme G. Piccolif1179552020-06-07 21:40:42 -07004759 Format: 0 | 1
Ingo Molnar9c44bc02008-05-12 21:21:04 +02004760
Guilherme G. Piccolif1179552020-06-07 21:40:42 -07004761 A value of 1 instructs the soft-lockup detector
Guilherme G. Piccoli0a07bef2020-03-10 15:36:49 -03004762 to panic the machine when a soft-lockup occurs. It is
4763 also controlled by the kernel.softlockup_panic sysctl
4764 and CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC, which is the
4765 respective build-time switch to that functionality.
Borislav Petkov3ce62382017-10-03 17:54:07 +02004766
Aaron Tomlined235872014-06-23 13:22:05 -07004767 softlockup_all_cpu_backtrace=
4768 [KNL] Should the soft-lockup detector generate
4769 backtraces on all cpus.
Guilherme G. Piccolif1179552020-06-07 21:40:42 -07004770 Format: 0 | 1
Aaron Tomlined235872014-06-23 13:22:05 -07004771
Linus Torvalds1da177e2005-04-16 15:20:36 -07004772 sonypi.*= [HW] Sony Programmable I/O Control Device driver
Mauro Carvalho Chehab9e1cbed2019-06-13 15:07:43 -03004773 See Documentation/admin-guide/laptops/sonypi.rst
Linus Torvalds1da177e2005-04-16 15:20:36 -07004774
David Woodhouseda285122018-01-11 21:46:26 +00004775 spectre_v2= [X86] Control mitigation of Spectre variant 2
4776 (indirect branch speculation) vulnerability.
Thomas Gleixnerfa1202ef2018-11-25 19:33:45 +01004777 The default operation protects the kernel from
4778 user space attacks.
David Woodhouseda285122018-01-11 21:46:26 +00004779
Thomas Gleixnerfa1202ef2018-11-25 19:33:45 +01004780 on - unconditionally enable, implies
4781 spectre_v2_user=on
4782 off - unconditionally disable, implies
4783 spectre_v2_user=off
David Woodhouseda285122018-01-11 21:46:26 +00004784 auto - kernel detects whether your CPU model is
4785 vulnerable
4786
4787 Selecting 'on' will, and 'auto' may, choose a
4788 mitigation method at run time according to the
4789 CPU, the available microcode, the setting of the
4790 CONFIG_RETPOLINE configuration option, and the
4791 compiler with which the kernel was built.
4792
Thomas Gleixnerfa1202ef2018-11-25 19:33:45 +01004793 Selecting 'on' will also enable the mitigation
4794 against user space to user space task attacks.
4795
4796 Selecting 'off' will disable both the kernel and
4797 the user space protections.
4798
David Woodhouseda285122018-01-11 21:46:26 +00004799 Specific mitigations can also be selected manually:
4800
4801 retpoline - replace indirect branches
4802 retpoline,generic - google's original retpoline
4803 retpoline,amd - AMD-specific minimal thunk
4804
4805 Not specifying this option is equivalent to
4806 spectre_v2=auto.
4807
Thomas Gleixnerfa1202ef2018-11-25 19:33:45 +01004808 spectre_v2_user=
4809 [X86] Control mitigation of Spectre variant 2
4810 (indirect branch speculation) vulnerability between
4811 user space tasks
4812
4813 on - Unconditionally enable mitigations. Is
4814 enforced by spectre_v2=on
4815
4816 off - Unconditionally disable mitigations. Is
4817 enforced by spectre_v2=off
4818
Thomas Gleixner7cc765a2018-11-25 19:33:54 +01004819 prctl - Indirect branch speculation is enabled,
4820 but mitigation can be enabled via prctl
4821 per thread. The mitigation control state
4822 is inherited on fork.
4823
Thomas Gleixner55a97402018-11-25 19:33:56 +01004824 prctl,ibpb
4825 - Like "prctl" above, but only STIBP is
4826 controlled per thread. IBPB is issued
4827 always when switching between different user
4828 space processes.
4829
Thomas Gleixner6b3e64c2018-11-25 19:33:55 +01004830 seccomp
4831 - Same as "prctl" above, but all seccomp
4832 threads will enable the mitigation unless
4833 they explicitly opt out.
4834
Thomas Gleixner55a97402018-11-25 19:33:56 +01004835 seccomp,ibpb
4836 - Like "seccomp" above, but only STIBP is
4837 controlled per thread. IBPB is issued
4838 always when switching between different
4839 user space processes.
4840
Thomas Gleixnerfa1202ef2018-11-25 19:33:45 +01004841 auto - Kernel selects the mitigation depending on
4842 the available CPU features and vulnerability.
Thomas Gleixner6b3e64c2018-11-25 19:33:55 +01004843
4844 Default mitigation:
4845 If CONFIG_SECCOMP=y then "seccomp", otherwise "prctl"
Thomas Gleixnerfa1202ef2018-11-25 19:33:45 +01004846
4847 Not specifying this option is equivalent to
4848 spectre_v2_user=auto.
4849
Konrad Rzeszutek Wilk24f7fc82018-04-25 22:04:21 -04004850 spec_store_bypass_disable=
4851 [HW] Control Speculative Store Bypass (SSB) Disable mitigation
4852 (Speculative Store Bypass vulnerability)
4853
4854 Certain CPUs are vulnerable to an exploit against a
4855 a common industry wide performance optimization known
4856 as "Speculative Store Bypass" in which recent stores
4857 to the same memory location may not be observed by
4858 later loads during speculative execution. The idea
4859 is that such stores are unlikely and that they can
4860 be detected prior to instruction retirement at the
4861 end of a particular speculation execution window.
4862
4863 In vulnerable processors, the speculatively forwarded
4864 store can be used in a cache side channel attack, for
4865 example to read memory to which the attacker does not
4866 directly have access (e.g. inside sandboxed code).
4867
4868 This parameter controls whether the Speculative Store
4869 Bypass optimization is used.
4870
Michael Ellerman6b4c1362018-07-10 12:08:36 +10004871 On x86 the options are:
4872
Kees Cookf21b53b2018-05-03 14:37:54 -07004873 on - Unconditionally disable Speculative Store Bypass
4874 off - Unconditionally enable Speculative Store Bypass
4875 auto - Kernel detects whether the CPU model contains an
4876 implementation of Speculative Store Bypass and
4877 picks the most appropriate mitigation. If the
4878 CPU is not vulnerable, "off" is selected. If the
4879 CPU is vulnerable the default mitigation is
4880 architecture and Kconfig dependent. See below.
4881 prctl - Control Speculative Store Bypass per thread
4882 via prctl. Speculative Store Bypass is enabled
4883 for a process by default. The state of the control
4884 is inherited on fork.
4885 seccomp - Same as "prctl" above, but all seccomp threads
4886 will disable SSB unless they explicitly opt out.
Konrad Rzeszutek Wilk24f7fc82018-04-25 22:04:21 -04004887
Kees Cookf21b53b2018-05-03 14:37:54 -07004888 Default mitigations:
4889 X86: If CONFIG_SECCOMP=y "seccomp", otherwise "prctl"
4890
Michael Ellerman6b4c1362018-07-10 12:08:36 +10004891 On powerpc the options are:
4892
4893 on,auto - On Power8 and Power9 insert a store-forwarding
4894 barrier on kernel entry and exit. On Power7
4895 perform a software flush on kernel entry and
4896 exit.
4897 off - No action.
4898
4899 Not specifying this option is equivalent to
4900 spec_store_bypass_disable=auto.
4901
Linus Torvalds1da177e2005-04-16 15:20:36 -07004902 spia_io_base= [HW,MTD]
4903 spia_fio_base=
4904 spia_pedr=
4905 spia_peddr=
4906
Peter Zijlstra (Intel)6650cdd2020-01-26 12:05:35 -08004907 split_lock_detect=
4908 [X86] Enable split lock detection
4909
4910 When enabled (and if hardware support is present), atomic
4911 instructions that access data across cache line
4912 boundaries will result in an alignment check exception.
4913
4914 off - not enabled
4915
4916 warn - the kernel will emit rate limited warnings
4917 about applications triggering the #AC
4918 exception. This mode is the default on CPUs
4919 that supports split lock detection.
4920
4921 fatal - the kernel will send SIGBUS to applications
4922 that trigger the #AC exception.
4923
4924 If an #AC exception is hit in the kernel or in
4925 firmware (i.e. not while executing in user mode)
4926 the kernel will oops in either "warn" or "fatal"
4927 mode.
4928
Mark Gross7e5b3c22020-04-16 17:54:04 +02004929 srbds= [X86,INTEL]
4930 Control the Special Register Buffer Data Sampling
4931 (SRBDS) mitigation.
4932
4933 Certain CPUs are vulnerable to an MDS-like
4934 exploit which can leak bits from the random
4935 number generator.
4936
4937 By default, this issue is mitigated by
4938 microcode. However, the microcode fix can cause
4939 the RDRAND and RDSEED instructions to become
4940 much slower. Among other effects, this will
4941 result in reduced throughput from /dev/urandom.
4942
4943 The microcode mitigation can be disabled with
4944 the following option:
4945
4946 off: Disable mitigation and remove
4947 performance impact to RDRAND and RDSEED
4948
Paul E. McKenneyc350c002017-05-03 15:35:32 -07004949 srcutree.counter_wrap_check [KNL]
4950 Specifies how frequently to check for
4951 grace-period sequence counter wrap for the
4952 srcu_data structure's ->srcu_gp_seq_needed field.
4953 The greater the number of bits set in this kernel
4954 parameter, the less frequently counter wrap will
4955 be checked for. Note that the bottom two bits
4956 are ignored.
4957
Paul E. McKenney22607d62017-04-25 14:03:11 -07004958 srcutree.exp_holdoff [KNL]
4959 Specifies how many nanoseconds must elapse
4960 since the end of the last SRCU grace period for
4961 a given srcu_struct until the next normal SRCU
4962 grace period will be considered for automatic
4963 expediting. Set to zero to disable automatic
4964 expediting.
4965
Marc Zyngiera43ae4d2018-05-29 13:11:09 +01004966 ssbd= [ARM64,HW]
4967 Speculative Store Bypass Disable control
4968
4969 On CPUs that are vulnerable to the Speculative
4970 Store Bypass vulnerability and offer a
4971 firmware based mitigation, this parameter
4972 indicates how the mitigation should be used:
4973
4974 force-on: Unconditionally enable mitigation for
4975 for both kernel and userspace
4976 force-off: Unconditionally disable mitigation for
4977 for both kernel and userspace
4978 kernel: Always enable mitigation in the
4979 kernel, and offer a prctl interface
4980 to allow userspace to register its
4981 interest in being mitigated too.
4982
Hugh Dickins1be71072017-06-19 04:03:24 -07004983 stack_guard_gap= [MM]
4984 override the default stack gap protection. The value
4985 is in page units and it defines how many pages prior
4986 to (for stacks growing down) resp. after (for stacks
4987 growing up) the main stack are reserved for no other
4988 mapping. Default value is 256 pages.
4989
Steven Rostedtf38f1d22008-12-16 23:06:40 -05004990 stacktrace [FTRACE]
4991 Enabled the stack tracer on boot up.
4992
Steven Rostedt762e1202011-12-19 22:01:00 -05004993 stacktrace_filter=[function-list]
4994 [FTRACE] Limit the functions that the stack tracer
4995 will trace at boot up. function-list is a comma separated
4996 list of functions. This list can be changed at run
4997 time by the stack_trace_filter file in the debugfs
4998 tracing directory. Note, this enables stack tracing
4999 and the stacktrace above is not needed.
5000
Linus Torvalds1da177e2005-04-16 15:20:36 -07005001 sti= [PARISC,HW]
5002 Format: <num>
5003 Set the STI (builtin display/keyboard on the HP-PARISC
5004 machines) console (graphic card) which should be used
5005 as the initial boot-console.
5006 See also comment in drivers/video/console/sticore.c.
5007
5008 sti_font= [HW]
5009 See comment in drivers/video/console/sticore.c.
5010
5011 stifb= [HW]
5012 Format: bpp:<bpp1>[:<bpp2>[:<bpp3>...]]
5013
Trond Myklebustcbf11072009-08-09 15:06:19 -04005014 sunrpc.min_resvport=
5015 sunrpc.max_resvport=
5016 [NFS,SUNRPC]
5017 SunRPC servers often require that client requests
5018 originate from a privileged port (i.e. a port in the
5019 range 0 < portnr < 1024).
5020 An administrator who wishes to reserve some of these
5021 ports for other uses may adjust the range that the
5022 kernel's sunrpc client considers to be privileged
5023 using these two parameters to set the minimum and
5024 maximum port values.
5025
Trond Myklebustff3ac5c2016-06-24 10:55:50 -04005026 sunrpc.svc_rpc_per_connection_limit=
5027 [NFS,SUNRPC]
5028 Limit the number of requests that the server will
5029 process in parallel from a single connection.
5030 The default value is 0 (no limit).
5031
Greg Banks42a7fc42007-03-06 01:42:23 -08005032 sunrpc.pool_mode=
5033 [NFS]
5034 Control how the NFS server code allocates CPUs to
5035 service thread pools. Depending on how many NICs
5036 you have and where their interrupts are bound, this
5037 option will affect which CPUs will do NFS serving.
5038 Note: this parameter cannot be changed while the
5039 NFS server is running.
5040
5041 auto the server chooses an appropriate mode
5042 automatically using heuristics
5043 global a single global pool contains all CPUs
5044 percpu one pool for each CPU
5045 pernode one pool for each NUMA node (equivalent
5046 to global on non-NUMA machines)
5047
Trond Myklebustcbf11072009-08-09 15:06:19 -04005048 sunrpc.tcp_slot_table_entries=
5049 sunrpc.udp_slot_table_entries=
5050 [NFS,SUNRPC]
5051 Sets the upper limit on the number of simultaneous
5052 RPC calls that can be sent from the client to a
5053 server. Increasing these values may allow you to
5054 improve throughput, but will also increase the
5055 amount of memory reserved for use by the client.
5056
Brian Norris1d4a9c12015-02-22 21:16:49 -08005057 suspend.pm_test_delay=
5058 [SUSPEND]
5059 Sets the number of seconds to remain in a suspend test
5060 mode before resuming the system (see
5061 /sys/power/pm_test). Only available when CONFIG_PM_DEBUG
5062 is set. Default value is 5.
5063
Ram Pai6a9c9302019-08-19 23:13:14 -03005064 svm= [PPC]
5065 Format: { on | off | y | n | 1 | 0 }
5066 This parameter controls use of the Protected
5067 Execution Facility on pSeries.
5068
Michal Hocko07555ac2013-08-22 16:35:46 -07005069 swapaccount=[0|1]
Michal Hockoa42c3902010-11-24 12:57:08 -08005070 [KNL] Enable accounting of swap in memory resource
5071 controller if no parameter or 1 is given or disable
Mauro Carvalho Chehabda82c922019-06-27 13:08:35 -03005072 it if 0 is given (See Documentation/admin-guide/cgroup-v1/memory.rst)
Michal Hockoa42c3902010-11-24 12:57:08 -08005073
Jiri Kosina91fec0f2013-11-27 13:48:09 +01005074 swiotlb= [ARM,IA-64,PPC,MIPS,X86]
Geert Uytterhoevenfff5d992016-12-16 14:28:42 +01005075 Format: { <int> | force | noforce }
Jiri Kosina91fec0f2013-11-27 13:48:09 +01005076 <int> -- Number of I/O TLB slabs
5077 force -- force using of bounce buffers even if they
5078 wouldn't be automatically used by the kernel
Geert Uytterhoevenfff5d992016-12-16 14:28:42 +01005079 noforce -- Never use bounce buffers (for debugging)
Randy Dunlapa9913042005-10-23 12:57:11 -07005080
Linus Torvalds1da177e2005-04-16 15:20:36 -07005081 switches= [HW,M68k]
5082
Vlastimil Babka3db978d2020-06-07 21:40:24 -07005083 sysctl.*= [KNL]
5084 Set a sysctl parameter, right before loading the init
5085 process, as if the value was written to the respective
5086 /proc/sys/... file. Both '.' and '/' are recognized as
5087 separators. Unrecognized parameters and invalid values
5088 are reported in the kernel log. Sysctls registered
5089 later by a loaded module cannot be set this way.
5090 Example: sysctl.vm.swappiness=40
5091
Andi Kleene52eec12010-09-08 16:54:17 +02005092 sysfs.deprecated=0|1 [KNL]
5093 Enable/disable old style sysfs layout for old udev
5094 on older distributions. When this option is enabled
5095 very new udev will not work anymore. When this option
5096 is disabled (or CONFIG_SYSFS_DEPRECATED not compiled)
5097 in older udev will not work anymore.
5098 Default depends on CONFIG_SYSFS_DEPRECATED_V2 set in
5099 the kernel configuration.
5100
Ingo Molnar5d6f6472006-12-13 00:34:36 -08005101 sysrq_always_enabled
5102 [KNL]
5103 Ignore sysrq setting - this boot parameter will
5104 neutralize any effect of /proc/sys/kernel/sysrq.
5105 Useful for debugging.
5106
Fabian Frederick747029a2014-11-06 19:46:50 +01005107 tcpmhash_entries= [KNL,NET]
5108 Set the number of tcp_metrics_hash slots.
5109 Default value is 8192 or 16384 depending on total
5110 ram pages. This is used to specify the TCP metrics
Mauro Carvalho Chehab1cec2ca2020-04-28 00:01:49 +02005111 cache size. See Documentation/networking/ip-sysctl.rst
Fabian Frederick747029a2014-11-06 19:46:50 +01005112 "tcp_no_metrics_save" section for more details.
5113
Linus Torvalds1da177e2005-04-16 15:20:36 -07005114 tdfx= [HW,DRM]
5115
Srinivas Pandruvadaacc82342014-09-02 11:54:41 -07005116 test_suspend= [SUSPEND][,N]
David Brownell77437fd2008-07-23 21:28:33 -07005117 Specify "mem" (for Suspend-to-RAM) or "standby" (for
Srinivas Pandruvadaacc82342014-09-02 11:54:41 -07005118 standby suspend) or "freeze" (for suspend type freeze)
5119 as the system sleep state during system startup with
5120 the optional capability to repeat N number of times.
5121 The system is woken from this state using a
5122 wakeup-capable RTC alarm.
David Brownell77437fd2008-07-23 21:28:33 -07005123
Linus Torvalds1da177e2005-04-16 15:20:36 -07005124 thash_entries= [KNL,NET]
5125 Set number of hash buckets for TCP connection
5126
Len Brownf8707ec2007-08-12 00:12:54 -04005127 thermal.act= [HW,ACPI]
5128 -1: disable all active trip points in all thermal zones
5129 <degrees C>: override all lowest active trip points
5130
Len Brownc52a7412007-08-14 15:49:32 -04005131 thermal.crt= [HW,ACPI]
5132 -1: disable all critical trip points in all thermal zones
Zhang Rui22a94d72008-10-17 02:41:20 -04005133 <degrees C>: override all critical trip points
Len Brownc52a7412007-08-14 15:49:32 -04005134
Len Brownf5487142007-08-12 00:12:44 -04005135 thermal.nocrt= [HW,ACPI]
5136 Set to disable actions on ACPI thermal zone
5137 critical and hot trip points.
5138
Len Brown72b33ef2007-08-12 00:12:17 -04005139 thermal.off= [HW,ACPI]
5140 1: disable ACPI thermal control
5141
Len Browna70cdc52007-08-12 00:12:35 -04005142 thermal.psv= [HW,ACPI]
5143 -1: disable all passive trip points
Randy Dunlapada9cfd2008-12-19 10:57:32 -08005144 <degrees C>: override all passive trip points to this
5145 value
Len Browna70cdc52007-08-12 00:12:35 -04005146
Len Brown730ff342007-08-12 00:12:26 -04005147 thermal.tzp= [HW,ACPI]
5148 Specify global default ACPI thermal zone polling rate
5149 <deci-seconds>: poll all this frequency
5150 0: no polling (default)
5151
Thomas Gleixner8d32a302011-02-23 23:52:23 +00005152 threadirqs [KNL]
5153 Force threading of all interrupt handlers except those
Masanari Iida24775d62012-02-15 00:26:42 +09005154 marked explicitly IRQF_NO_THREAD.
Thomas Gleixner8d32a302011-02-23 23:52:23 +00005155
Heiko Carstens2b1a61f2008-12-25 13:39:23 +01005156 topology= [S390]
5157 Format: {off | on}
5158 Specify if the kernel should make use of the cpu
Sylvestre Ledruf65e51d2011-04-04 15:04:46 -07005159 topology information if the hardware supports this.
5160 The scheduler will make use of this information and
Heiko Carstens2b1a61f2008-12-25 13:39:23 +01005161 e.g. base its process migration decisions on it.
Heiko Carstensc9af3fa2010-10-25 16:10:43 +02005162 Default is on.
Heiko Carstens2b1a61f2008-12-25 13:39:23 +01005163
Nishanth Aravamudan2d73bae2014-10-10 09:04:49 -07005164 topology_updates= [KNL, PPC, NUMA]
5165 Format: {off}
5166 Specify if the kernel should ignore (off)
5167 topology updates sent by the hypervisor to this
5168 LPAR.
5169
Paul E. McKenney8171d3e2019-12-06 15:02:59 -08005170 torture.disable_onoff_at_boot= [KNL]
5171 Prevent the CPU-hotplug component of torturing
5172 until after init has spawned.
5173
Paul E. McKenney2102ad22020-06-16 15:38:24 -07005174 torture.ftrace_dump_at_shutdown= [KNL]
5175 Dump the ftrace buffer at torture-test shutdown,
5176 even if there were no errors. This can be a
5177 very costly operation when many torture tests
5178 are running concurrently, especially on systems
5179 with rotating-rust storage.
5180
Linus Torvalds1da177e2005-04-16 15:20:36 -07005181 tp720= [HW,PS2]
5182
Rajiv Andrade225a9be2010-03-25 00:55:32 -03005183 tpm_suspend_pcr=[HW,TPM]
5184 Format: integer pcr id
5185 Specify that at suspend time, the tpm driver
5186 should extend the specified pcr with zeros,
5187 as a workaround for some chips which fail to
5188 flush the last written pcr on TPM_SaveState.
5189 This will guarantee that all the other pcrs
5190 are saved.
5191
Li Zefan9d612be2009-06-24 17:33:15 +08005192 trace_buf_size=nn[KMG]
Joonsoo Kim3e6fb8e2014-12-03 10:39:20 +09005193 [FTRACE] will set tracing buffer size on each cpu.
KOSAKI Motohiro631595f2009-03-10 13:57:10 +09005194
Li Zefan020e5f82009-07-01 10:47:05 +08005195 trace_event=[event-list]
5196 [FTRACE] Set and start specified trace events in order
Brian Norrisd81749e2016-05-23 13:37:58 -07005197 to facilitate early boot debugging. The event-list is a
5198 comma separated list of trace events to enable. See
Mauro Carvalho Chehab5fb94e92018-05-08 15:14:57 -03005199 also Documentation/trace/events.rst
Li Zefan020e5f82009-07-01 10:47:05 +08005200
Steven Rostedt7bcfaf54f52012-11-01 22:56:07 -04005201 trace_options=[option-list]
5202 [FTRACE] Enable or disable tracer options at boot.
5203 The option-list is a comma delimited list of options
5204 that can be enabled or disabled just as if you were
5205 to echo the option name into
5206
5207 /sys/kernel/debug/tracing/trace_options
5208
5209 For example, to enable stacktrace option (to dump the
5210 stack trace of each event), add to the command line:
5211
5212 trace_options=stacktrace
5213
Mauro Carvalho Chehab5fb94e92018-05-08 15:14:57 -03005214 See also Documentation/trace/ftrace.rst "trace options"
Steven Rostedt7bcfaf54f52012-11-01 22:56:07 -04005215 section.
5216
Steven Rostedt (Red Hat)0daa23022014-12-12 22:27:10 -05005217 tp_printk[FTRACE]
5218 Have the tracepoints sent to printk as well as the
5219 tracing ring buffer. This is useful for early boot up
5220 where the system hangs or reboots and does not give the
5221 option for reading the tracing buffer or performing a
5222 ftrace_dump_on_oops.
5223
5224 To turn off having tracepoints sent to printk,
5225 echo 0 > /proc/sys/kernel/tracepoint_printk
5226 Note, echoing 1 into this file without the
5227 tracepoint_printk kernel cmdline option has no effect.
5228
5229 ** CAUTION **
5230
5231 Having tracepoints sent to printk() and activating high
5232 frequency tracepoints such as irq or sched, can cause
5233 the system to live lock.
5234
Steven Rostedt (Red Hat)de7edd32013-06-14 16:21:43 -04005235 traceoff_on_warning
5236 [FTRACE] enable this option to disable tracing when a
5237 warning is hit. This turns off "tracing_on". Tracing can
5238 be enabled again by echoing '1' into the "tracing_on"
5239 file located in /sys/kernel/debug/tracing/
5240
5241 This option is useful, as it disables the trace before
5242 the WARNING dump is called, which prevents the trace to
5243 be filled with content caused by the warning output.
5244
5245 This option can also be set at run time via the sysctl
5246 option: kernel/traceoff_on_warning
5247
Jiri Kosinafcf4d8212012-03-21 16:34:02 -07005248 transparent_hugepage=
5249 [KNL]
5250 Format: [always|madvise|never]
5251 Can be used to control the default behavior of the system
5252 with respect to transparent hugepages.
Mike Rapoport45c9a742018-05-14 11:13:40 +03005253 See Documentation/admin-guide/mm/transhuge.rst
5254 for more details.
Jiri Kosinafcf4d8212012-03-21 16:34:02 -07005255
john stultzd3b8f882009-08-17 16:40:47 -07005256 tsc= Disable clocksource stability checks for TSC.
Alok Kataria395628e2008-10-24 17:22:01 -07005257 Format: <string>
5258 [x86] reliable: mark tsc clocksource as reliable, this
john stultzd3b8f882009-08-17 16:40:47 -07005259 disables clocksource verification at runtime, as well
5260 as the stability checks done at bootup. Used to enable
5261 high-resolution timer mode on older hardware, and in
5262 virtualized environment.
Venkatesh Pallipadie82b8e42010-10-04 17:03:20 -07005263 [x86] noirqtime: Do not use TSC to do irq accounting.
5264 Used to run time disable IRQ_TIME_ACCOUNTING on any
5265 platforms where RDTSC is slow and this accounting
5266 can add overhead.
Dou Liyang6be53522017-10-09 17:03:33 +08005267 [x86] unstable: mark the TSC clocksource as unstable, this
5268 marks the TSC unconditionally unstable at bootup and
5269 avoids any further wobbles once the TSC watchdog notices.
Juri Lelli0f0b7e1c2019-03-07 13:09:13 +01005270 [x86] nowatchdog: disable clocksource watchdog. Used
5271 in situations with strict latency requirements (where
5272 interruptions from clocksource watchdog are not
5273 acceptable).
Alok Kataria395628e2008-10-24 17:22:01 -07005274
Krzysztof Piecuchbd35c772020-01-23 16:09:26 +00005275 tsc_early_khz= [X86] Skip early TSC calibration and use the given
5276 value instead. Useful when the early TSC frequency discovery
5277 procedure is not reliable, such as on overclocked systems
5278 with CPUID.16h support and partial CPUID.15h support.
5279 Format: <unsigned int>
5280
Pawan Gupta95c58242019-10-23 11:01:53 +02005281 tsx= [X86] Control Transactional Synchronization
5282 Extensions (TSX) feature in Intel processors that
5283 support TSX control.
5284
5285 This parameter controls the TSX feature. The options are:
5286
5287 on - Enable TSX on the system. Although there are
5288 mitigations for all known security vulnerabilities,
5289 TSX has been known to be an accelerator for
5290 several previous speculation-related CVEs, and
5291 so there may be unknown security risks associated
5292 with leaving it enabled.
5293
5294 off - Disable TSX on the system. (Note that this
5295 option takes effect only on newer CPUs which are
5296 not vulnerable to MDS, i.e., have
5297 MSR_IA32_ARCH_CAPABILITIES.MDS_NO=1 and which get
5298 the new IA32_TSX_CTRL MSR through a microcode
5299 update. This new MSR allows for the reliable
5300 deactivation of the TSX functionality.)
5301
Pawan Gupta7531a352019-10-23 12:28:57 +02005302 auto - Disable TSX if X86_BUG_TAA is present,
5303 otherwise enable TSX on the system.
5304
Pawan Gupta95c58242019-10-23 11:01:53 +02005305 Not specifying this option is equivalent to tsx=off.
5306
5307 See Documentation/admin-guide/hw-vuln/tsx_async_abort.rst
5308 for more details.
5309
Pawan Guptaa7a248c2019-10-23 12:32:55 +02005310 tsx_async_abort= [X86,INTEL] Control mitigation for the TSX Async
5311 Abort (TAA) vulnerability.
5312
5313 Similar to Micro-architectural Data Sampling (MDS)
5314 certain CPUs that support Transactional
5315 Synchronization Extensions (TSX) are vulnerable to an
5316 exploit against CPU internal buffers which can forward
5317 information to a disclosure gadget under certain
5318 conditions.
5319
5320 In vulnerable processors, the speculatively forwarded
5321 data can be used in a cache side channel attack, to
5322 access data to which the attacker does not have direct
5323 access.
5324
5325 This parameter controls the TAA mitigation. The
5326 options are:
5327
5328 full - Enable TAA mitigation on vulnerable CPUs
5329 if TSX is enabled.
5330
5331 full,nosmt - Enable TAA mitigation and disable SMT on
5332 vulnerable CPUs. If TSX is disabled, SMT
5333 is not disabled because CPU is not
5334 vulnerable to cross-thread TAA attacks.
5335 off - Unconditionally disable TAA mitigation
5336
Waiman Long64870ed2019-11-15 11:14:44 -05005337 On MDS-affected machines, tsx_async_abort=off can be
5338 prevented by an active MDS mitigation as both vulnerabilities
5339 are mitigated with the same mechanism so in order to disable
5340 this mitigation, you need to specify mds=off too.
5341
Pawan Guptaa7a248c2019-10-23 12:32:55 +02005342 Not specifying this option is equivalent to
5343 tsx_async_abort=full. On CPUs which are MDS affected
5344 and deploy MDS mitigation, TAA mitigation is not
5345 required and doesn't provide any additional
5346 mitigation.
5347
5348 For details see:
5349 Documentation/admin-guide/hw-vuln/tsx_async_abort.rst
5350
Randy Dunlapa9913042005-10-23 12:57:11 -07005351 turbografx.map[2|3]= [HW,JOY]
5352 TurboGraFX parallel port interface
5353 Format:
5354 <port#>,<js1>,<js2>,<js3>,<js4>,<js5>,<js6>,<js7>
Tom Saeger17521182017-10-10 12:36:23 -05005355 See also Documentation/input/devices/joystick-parport.rst
Linus Torvalds1da177e2005-04-16 15:20:36 -07005356
Christian Kujaub6935f82011-05-31 15:22:05 +00005357 udbg-immortal [PPC] When debugging early kernel crashes that
Jani Nikulae52347b2016-11-03 12:10:10 +02005358 happen after console_init() and before a proper
Christian Kujaub6935f82011-05-31 15:22:05 +00005359 console driver takes over, this boot options might
5360 help "seeing" what's going on.
5361
Eric Dumazetf86dcc52009-10-07 00:37:59 +00005362 uhash_entries= [KNL,NET]
5363 Set number of hash buckets for UDP/UDP-Lite connections
5364
Alan Stern5f8364b2006-12-05 16:29:55 -05005365 uhci-hcd.ignore_oc=
5366 [USB] Ignore overcurrent events (default N).
5367 Some badly-designed motherboards generate lots of
5368 bogus events, for ports that aren't wired to
5369 anything. Set this parameter to avoid log spamming.
5370 Note that genuine overcurrent events won't be
5371 reported either.
5372
Simon Arlotte3a61b02008-07-19 23:32:54 +01005373 unknown_nmi_panic
Randy Dunlap44a4dcf2011-04-04 15:02:24 -07005374 [X86] Cause panic on unknown NMI.
Simon Arlotte3a61b02008-07-19 23:32:54 +01005375
Carl-Daniel Hailfingerc4fc2342011-05-31 21:31:08 +02005376 usbcore.authorized_default=
5377 [USB] Default USB device authorization:
5378 (default -1 = authorized except for wireless USB,
Dmitry Torokhov7bae0432019-02-16 23:21:51 -08005379 0 = not authorized, 1 = authorized, 2 = authorized
5380 if device connected to internal port)
Carl-Daniel Hailfingerc4fc2342011-05-31 21:31:08 +02005381
Alan Sternb5e795f2007-02-20 15:00:53 -05005382 usbcore.autosuspend=
5383 [USB] The autosuspend time delay (in seconds) used
5384 for newly-detected USB devices (default 2). This
5385 is the time required before an idle device will be
5386 autosuspended. Devices for which the delay is set
Alan Sterneaafbc32007-03-13 16:39:15 -04005387 to a negative value won't be autosuspended at all.
Alan Sternb5e795f2007-02-20 15:00:53 -05005388
Jaroslav Kyselafd7c5192008-10-10 16:24:45 +02005389 usbcore.usbfs_snoop=
5390 [USB] Set to log all usbfs traffic (default 0 = off).
5391
Alan Stern0290cc92015-11-20 13:53:22 -05005392 usbcore.usbfs_snoop_max=
5393 [USB] Maximum number of bytes to snoop in each URB
5394 (default = 65536).
5395
Jaroslav Kyselafd7c5192008-10-10 16:24:45 +02005396 usbcore.blinkenlights=
5397 [USB] Set to cycle leds on hubs (default 0 = off).
5398
5399 usbcore.old_scheme_first=
5400 [USB] Start with the old device initialization
Alan Stern3155f4f2020-04-22 16:13:08 -04005401 scheme (default 0 = off).
Jaroslav Kyselafd7c5192008-10-10 16:24:45 +02005402
Alan Stern3f5eb8d2011-11-17 16:41:35 -05005403 usbcore.usbfs_memory_mb=
5404 [USB] Memory limit (in MB) for buffers allocated by
5405 usbfs (default = 16, 0 = max = 2047).
5406
Jaroslav Kyselafd7c5192008-10-10 16:24:45 +02005407 usbcore.use_both_schemes=
5408 [USB] Try the other device initialization scheme
5409 if the first one fails (default 1 = enabled).
5410
5411 usbcore.initial_descriptor_timeout=
5412 [USB] Specifies timeout for the initial 64-byte
Thymo van Beers6dddd7a2018-04-18 20:51:39 +02005413 USB_REQ_GET_DESCRIPTOR request in milliseconds
Jaroslav Kyselafd7c5192008-10-10 16:24:45 +02005414 (default 5000 = 5.0 seconds).
5415
Oliver Neukum40d58142015-12-03 15:03:32 +01005416 usbcore.nousb [USB] Disable the USB subsystem
5417
Kai-Heng Feng027bd6c2018-03-20 00:26:06 +08005418 usbcore.quirks=
5419 [USB] A list of quirk entries to augment the built-in
5420 usb core quirk list. List entries are separated by
5421 commas. Each entry has the form
5422 VendorID:ProductID:Flags. The IDs are 4-digit hex
5423 numbers and Flags is a set of letters. Each letter
5424 will change the built-in quirk; setting it if it is
5425 clear and clearing it if it is set. The letters have
5426 the following meanings:
5427 a = USB_QUIRK_STRING_FETCH_255 (string
5428 descriptors must not be fetched using
5429 a 255-byte read);
5430 b = USB_QUIRK_RESET_RESUME (device can't resume
5431 correctly so reset it instead);
5432 c = USB_QUIRK_NO_SET_INTF (device can't handle
5433 Set-Interface requests);
5434 d = USB_QUIRK_CONFIG_INTF_STRINGS (device can't
5435 handle its Configuration or Interface
5436 strings);
5437 e = USB_QUIRK_RESET (device can't be reset
5438 (e.g morph devices), don't use reset);
5439 f = USB_QUIRK_HONOR_BNUMINTERFACES (device has
5440 more interface descriptions than the
5441 bNumInterfaces count, and can't handle
5442 talking to these interfaces);
5443 g = USB_QUIRK_DELAY_INIT (device needs a pause
5444 during initialization, after we read
5445 the device descriptor);
5446 h = USB_QUIRK_LINEAR_UFRAME_INTR_BINTERVAL (For
5447 high speed and super speed interrupt
5448 endpoints, the USB 2.0 and USB 3.0 spec
5449 require the interval in microframes (1
5450 microframe = 125 microseconds) to be
5451 calculated as interval = 2 ^
5452 (bInterval-1).
5453 Devices with this quirk report their
5454 bInterval as the result of this
5455 calculation instead of the exponent
5456 variable used in the calculation);
5457 i = USB_QUIRK_DEVICE_QUALIFIER (device can't
5458 handle device_qualifier descriptor
5459 requests);
5460 j = USB_QUIRK_IGNORE_REMOTE_WAKEUP (device
5461 generates spurious wakeup, ignore
5462 remote wakeup capability);
5463 k = USB_QUIRK_NO_LPM (device can't handle Link
5464 Power Management);
5465 l = USB_QUIRK_LINEAR_FRAME_INTR_BINTERVAL
5466 (Device reports its bInterval as linear
5467 frames instead of the USB 2.0
5468 calculation);
5469 m = USB_QUIRK_DISCONNECT_SUSPEND (Device needs
5470 to be disconnected before suspend to
Kai-Heng Feng4d8d5a32018-03-24 03:26:36 +08005471 prevent spurious wakeup);
5472 n = USB_QUIRK_DELAY_CTRL_MSG (Device needs a
5473 pause after every control message);
Kai-Heng Feng781f0762018-10-19 16:14:50 +08005474 o = USB_QUIRK_HUB_SLOW_RESET (Hub needs extra
5475 delay after resetting its port);
Kai-Heng Feng027bd6c2018-03-20 00:26:06 +08005476 Example: quirks=0781:5580:bk,0a5c:5834:gij
5477
Linus Torvalds1da177e2005-04-16 15:20:36 -07005478 usbhid.mousepoll=
5479 [USBHID] The interval which mice are to be polled at.
Randy Dunlapa9913042005-10-23 12:57:11 -07005480
Tobias Jakobi933bfe42017-02-25 20:27:27 +01005481 usbhid.jspoll=
5482 [USBHID] The interval which joysticks are to be polled at.
5483
Filip Alac2ddc8e22018-03-21 17:28:25 +01005484 usbhid.kbpoll=
5485 [USBHID] The interval which keyboards are to be polled at.
5486
Alan Sternd4f373e2008-11-10 14:07:45 -05005487 usb-storage.delay_use=
5488 [UMS] The delay in seconds before a new device is
Mark Knibbs19101952014-11-04 13:00:15 +00005489 scanned for Logical Units (default 1).
Alan Sternd4f373e2008-11-10 14:07:45 -05005490
5491 usb-storage.quirks=
5492 [UMS] A list of quirks entries to supplement or
5493 override the built-in unusual_devs list. List
5494 entries are separated by commas. Each entry has
5495 the form VID:PID:Flags where VID and PID are Vendor
5496 and Product ID values (4-digit hex numbers) and
5497 Flags is a set of characters, each corresponding
5498 to a common usb-storage quirk flag as follows:
Alan Sternc838ea42008-12-15 10:40:06 -05005499 a = SANE_SENSE (collect more than 18 bytes
Oliver Neukum65cc8bf2019-11-14 12:27:58 +01005500 of sense data, not on uas);
Alan Sterna0bb1082009-12-07 16:39:16 -05005501 b = BAD_SENSE (don't collect more than 18
Oliver Neukum65cc8bf2019-11-14 12:27:58 +01005502 bytes of sense data, not on uas);
Alan Sternd4f373e2008-11-10 14:07:45 -05005503 c = FIX_CAPACITY (decrease the reported
5504 device capacity by one sector);
Karl Relton51169012011-05-18 21:42:34 +01005505 d = NO_READ_DISC_INFO (don't use
Oliver Neukum65cc8bf2019-11-14 12:27:58 +01005506 READ_DISC_INFO command, not on uas);
Karl Relton51169012011-05-18 21:42:34 +01005507 e = NO_READ_CAPACITY_16 (don't use
5508 READ_CAPACITY_16 command);
Hans de Goede734016b2014-09-16 18:36:52 +02005509 f = NO_REPORT_OPCODES (don't use report opcodes
5510 command, uas only);
Hans de Goedeee136af2015-04-21 11:20:31 +02005511 g = MAX_SECTORS_240 (don't transfer more than
5512 240 sectors at a time, uas only);
Alan Sternc838ea42008-12-15 10:40:06 -05005513 h = CAPACITY_HEURISTICS (decrease the
5514 reported device capacity by one
5515 sector if the number is odd);
Alan Sternd4f373e2008-11-10 14:07:45 -05005516 i = IGNORE_DEVICE (don't bind to this
5517 device);
Hans de Goede13630742016-04-12 12:27:09 +02005518 j = NO_REPORT_LUNS (don't use report luns
5519 command, uas only);
Alan Sternd4f373e2008-11-10 14:07:45 -05005520 l = NOT_LOCKABLE (don't try to lock and
Oliver Neukum65cc8bf2019-11-14 12:27:58 +01005521 unlock ejectable media, not on uas);
Alan Sternd4f373e2008-11-10 14:07:45 -05005522 m = MAX_SECTORS_64 (don't transfer more
Oliver Neukum65cc8bf2019-11-14 12:27:58 +01005523 than 64 sectors = 32 KB at a time,
5524 not on uas);
Alan Stern21c13a42011-06-07 11:35:52 -04005525 n = INITIAL_READ10 (force a retry of the
Oliver Neukum65cc8bf2019-11-14 12:27:58 +01005526 initial READ(10) command, not on uas);
Alan Sternc838ea42008-12-15 10:40:06 -05005527 o = CAPACITY_OK (accept the capacity
Oliver Neukum65cc8bf2019-11-14 12:27:58 +01005528 reported by the device, not on uas);
Namjae Jeoneaa05df2012-07-07 23:05:28 -04005529 p = WRITE_CACHE (the device cache is ON
Oliver Neukum65cc8bf2019-11-14 12:27:58 +01005530 by default, not on uas);
Alan Sternd4f373e2008-11-10 14:07:45 -05005531 r = IGNORE_RESIDUE (the device reports
Oliver Neukum65cc8bf2019-11-14 12:27:58 +01005532 bogus residue values, not on uas);
Alan Sternd4f373e2008-11-10 14:07:45 -05005533 s = SINGLE_LUN (the device has only one
5534 Logical Unit);
Hans de Goede59307852014-09-15 16:04:12 +02005535 t = NO_ATA_1X (don't allow ATA(12) and ATA(16)
5536 commands, uas only);
Alan Sternb6089f12014-09-02 15:42:18 -04005537 u = IGNORE_UAS (don't bind to the uas driver);
Alan Sternd4f373e2008-11-10 14:07:45 -05005538 w = NO_WP_DETECT (don't test whether the
5539 medium is write-protected).
Oliver Neukum050bc4e2016-09-12 15:19:41 +02005540 y = ALWAYS_SYNC (issue a SYNCHRONIZE_CACHE
Oliver Neukum65cc8bf2019-11-14 12:27:58 +01005541 even if the device claims no cache,
5542 not on uas)
Alan Sternd4f373e2008-11-10 14:07:45 -05005543 Example: quirks=0419:aaf5:rl,0421:0433:rc
5544
Stephen Boydac1667d2011-08-13 12:34:50 -07005545 user_debug= [KNL,ARM]
5546 Format: <int>
5547 See arch/arm/Kconfig.debug help text.
5548 1 - undefined instruction events
5549 2 - system calls
5550 4 - invalid data aborts
5551 8 - SIGSEGV faults
5552 16 - SIGBUS faults
5553 Example: user_debug=31
5554
Ian Campbell14315592010-02-17 10:38:10 +00005555 userpte=
5556 [X86] Flags controlling user PTE allocations.
5557
5558 nohigh = do not allocate PTE pages in
5559 HIGHMEM regardless of setting
5560 of CONFIG_HIGHPTE.
5561
Jaswinder Singh Rajput6cececf2009-04-14 14:03:43 +05305562 vdso= [X86,SH]
Andy Lutomirskib0b49f22014-03-13 16:01:26 -07005563 On X86_32, this is an alias for vdso32=. Otherwise:
5564
5565 vdso=1: enable VDSO (the default)
Ingo Molnare6e54942006-06-27 02:53:50 -07005566 vdso=0: disable VDSO mapping
5567
Andy Lutomirskib0b49f22014-03-13 16:01:26 -07005568 vdso32= [X86] Control the 32-bit vDSO
5569 vdso32=1: enable 32-bit VDSO
5570 vdso32=0 or vdso32=2: disable 32-bit VDSO
5571
5572 See the help text for CONFIG_COMPAT_VDSO for more
5573 details. If CONFIG_COMPAT_VDSO is set, the default is
5574 vdso32=0; otherwise, the default is vdso32=1.
5575
5576 For compatibility with older kernels, vdso32=2 is an
5577 alias for vdso32=0.
5578
5579 Try vdso32=0 if you encounter an error that says:
5580 dl_main: Assertion `(void *) ph->p_vaddr == _rtld_local._dl_sysinfo_dso' failed!
Roland McGrathaf65d642008-01-30 13:30:43 +01005581
Yasuaki Ishimatsud080d392007-07-17 21:22:55 +09005582 vector= [IA-64,SMP]
5583 vector=percpu: enable percpu vector domain
5584
Linus Torvalds1da177e2005-04-16 15:20:36 -07005585 video= [FB] Frame buffer configuration
Mauro Carvalho Chehabab42b812019-06-12 14:52:45 -03005586 See Documentation/fb/modedb.rst.
Linus Torvalds1da177e2005-04-16 15:20:36 -07005587
Aaron Lu3afe6da2013-06-20 15:08:55 +08005588 video.brightness_switch_enabled= [0,1]
5589 If set to 1, on receiving an ACPI notify event
5590 generated by hotkey, video driver will adjust brightness
5591 level and then send out the event to user space through
5592 the allocated input device; If set to 0, video driver
5593 will only send out the event without touching backlight
5594 brightness level.
Rafael J. Wysocki28437682014-07-14 19:35:45 +02005595 default: 1
Aaron Lu3afe6da2013-06-20 15:08:55 +08005596
Pawel Moll81a054c2012-05-09 18:30:16 +01005597 virtio_mmio.device=
5598 [VMMIO] Memory mapped virtio (platform) device.
5599
5600 <size>@<baseaddr>:<irq>[:<id>]
5601 where:
5602 <size> := size (can use standard suffixes
5603 like K, M and G)
5604 <baseaddr> := physical base address
5605 <irq> := interrupt number (as passed to
5606 request_irq())
5607 <id> := (optional) platform device id
5608 example:
5609 virtio_mmio.device=1K@0x100b0000:48:7
5610
5611 Can be used multiple times for multiple devices.
5612
Alan Coxcd4f0ef2007-07-31 00:37:59 -07005613 vga= [BOOT,X86-32] Select a particular video mode
Mauro Carvalho Chehabcb1aaeb2019-06-07 15:54:32 -03005614 See Documentation/x86/boot.rst and
Mauro Carvalho Chehab4f4cfa62019-06-27 14:56:51 -03005615 Documentation/admin-guide/svga.rst.
Linus Torvalds1da177e2005-04-16 15:20:36 -07005616 Use vga=ask for menu.
5617 This is actually a boot loader parameter; the value is
5618 passed to the kernel using a special protocol.
5619
Alexander Duyckf682a972018-10-26 15:07:45 -07005620 vm_debug[=options] [KNL] Available with CONFIG_DEBUG_VM=y.
5621 May slow down system boot speed, especially when
5622 enabled on systems with a large amount of memory.
5623 All options are enabled by default, and this
5624 interface is meant to allow for selectively
5625 enabling or disabling specific virtual memory
5626 debugging features.
5627
5628 Available options are:
5629 P Enable page structure init time poisoning
5630 - Disable all of the above options
5631
Randy Dunlapa9913042005-10-23 12:57:11 -07005632 vmalloc=nn[KMG] [KNL,BOOT] Forces the vmalloc area to have an exact
Linus Torvalds1da177e2005-04-16 15:20:36 -07005633 size of <nn>. This can be used to increase the
5634 minimum size (128MB on x86). It can also be used to
5635 decrease the size and leave more room for directly
5636 mapped kernel RAM.
5637
Heiko Carstens3f429842017-08-07 15:16:15 +02005638 vmcp_cma=nn[MG] [KNL,S390]
5639 Sets the memory size reserved for contiguous memory
5640 allocations for the vmcp device driver.
5641
Peter Oberparleiter585c3042006-06-29 15:08:25 +02005642 vmhalt= [KNL,S390] Perform z/VM CP command after system halt.
5643 Format: <command>
Linus Torvalds1da177e2005-04-16 15:20:36 -07005644
Peter Oberparleiter585c3042006-06-29 15:08:25 +02005645 vmpanic= [KNL,S390] Perform z/VM CP command after kernel panic.
5646 Format: <command>
5647
5648 vmpoff= [KNL,S390] Perform z/VM CP command after power off.
5649 Format: <command>
Randy Dunlapa9913042005-10-23 12:57:11 -07005650
Andy Lutomirski3ae36652011-08-10 11:15:32 -04005651 vsyscall= [X86-64]
5652 Controls the behavior of vsyscalls (i.e. calls to
5653 fixed addresses of 0xffffffffff600x00 from legacy
5654 code). Most statically-linked binaries and older
5655 versions of glibc use these calls. Because these
5656 functions are at fixed addresses, they make nice
5657 targets for exploits that can control RIP.
5658
Andy Lutomirski2e57ae02011-11-07 16:33:41 -08005659 emulate [default] Vsyscalls turn into traps and are
Andy Lutomirskibd49e162019-06-26 21:45:03 -07005660 emulated reasonably safely. The vsyscall
5661 page is readable.
Andy Lutomirski3ae36652011-08-10 11:15:32 -04005662
Andy Lutomirskibd49e162019-06-26 21:45:03 -07005663 xonly Vsyscalls turn into traps and are
5664 emulated reasonably safely. The vsyscall
5665 page is not readable.
Andy Lutomirski3ae36652011-08-10 11:15:32 -04005666
5667 none Vsyscalls don't work at all. This makes
5668 them quite hard to use for exploits but
5669 might break your system.
5670
Clemens Ladisch3855ae12013-08-04 13:09:50 +02005671 vt.color= [VT] Default text color.
5672 Format: 0xYX, X = foreground, Y = background.
5673 Default: 0x07 = light gray on black.
5674
Clemens Ladisch9ea9a882009-12-15 16:45:39 -08005675 vt.cur_default= [VT] Default cursor shape.
5676 Format: 0xCCBBAA, where AA, BB, and CC are the same as
5677 the parameters of the <Esc>[?A;B;Cc escape sequence;
5678 see VGA-softcursor.txt. Default: 2 = underline.
5679
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07005680 vt.default_blu= [VT]
5681 Format: <blue0>,<blue1>,<blue2>,...,<blue15>
5682 Change the default blue palette of the console.
5683 This is a 16-member array composed of values
5684 ranging from 0-255.
5685
5686 vt.default_grn= [VT]
5687 Format: <green0>,<green1>,<green2>,...,<green15>
5688 Change the default green palette of the console.
5689 This is a 16-member array composed of values
5690 ranging from 0-255.
5691
5692 vt.default_red= [VT]
5693 Format: <red0>,<red1>,<red2>,...,<red15>
5694 Change the default red palette of the console.
5695 This is a 16-member array composed of values
5696 ranging from 0-255.
5697
5698 vt.default_utf8=
5699 [VT]
5700 Format=<0|1>
5701 Set system-wide default UTF-8 mode for all tty's.
5702 Default is 1, i.e. UTF-8 mode is enabled for all
5703 newly opened terminals.
5704
Matthew Garrettf6c06b62009-11-13 15:14:11 -05005705 vt.global_cursor_default=
5706 [VT]
5707 Format=<-1|0|1>
5708 Set system-wide default for whether a cursor
5709 is shown on new VTs. Default is -1,
5710 i.e. cursors will be created by default unless
5711 overridden by individual drivers. 0 will hide
5712 cursors, 1 will display them.
5713
Clemens Ladisch3855ae12013-08-04 13:09:50 +02005714 vt.italic= [VT] Default color for italic text; 0-15.
5715 Default: 2 = green.
5716
5717 vt.underline= [VT] Default color for underlined text; 0-15.
5718 Default: 3 = cyan.
5719
Randy Dunlap4724ba572010-05-03 11:42:52 -07005720 watchdog timers [HW,WDT] For information on watchdog timers,
Mauro Carvalho Chehabcc2a2d12019-06-12 14:53:01 -03005721 see Documentation/watchdog/watchdog-parameters.rst
Randy Dunlap4724ba572010-05-03 11:42:52 -07005722 or other driver-specific files in the
5723 Documentation/watchdog/ directory.
Linus Torvalds1da177e2005-04-16 15:20:36 -07005724
Laurence Oberman11295052018-11-01 09:30:18 -04005725 watchdog_thresh=
5726 [KNL]
5727 Set the hard lockup detector stall duration
5728 threshold in seconds. The soft lockup detector
5729 threshold is set to twice the value. A value of 0
5730 disables both lockup detectors. Default is 10
5731 seconds.
5732
Tejun Heo82607adc2015-12-08 11:28:04 -05005733 workqueue.watchdog_thresh=
5734 If CONFIG_WQ_WATCHDOG is configured, workqueue can
5735 warn stall conditions and dump internal state to
5736 help debugging. 0 disables workqueue stall
5737 detection; otherwise, it's the stall threshold
5738 duration in seconds. The default value is 30 and
5739 it can be updated at runtime by writing to the
5740 corresponding sysfs file.
5741
Tejun Heod55262c2013-04-01 11:23:38 -07005742 workqueue.disable_numa
5743 By default, all work items queued to unbound
5744 workqueues are affine to the NUMA nodes they're
5745 issued on, which results in better behavior in
5746 general. If NUMA affinity needs to be disabled for
5747 whatever reason, this option can be used. Note
5748 that this also can be controlled per-workqueue for
5749 workqueues visible under /sys/bus/workqueue/.
5750
Viresh Kumarcee22a12013-04-08 16:45:40 +05305751 workqueue.power_efficient
5752 Per-cpu workqueues are generally preferred because
5753 they show better performance thanks to cache
5754 locality; unfortunately, per-cpu workqueues tend to
5755 be more power hungry than unbound workqueues.
5756
5757 Enabling this makes the per-cpu workqueues which
5758 were observed to contribute significantly to power
5759 consumption unbound, leading to measurably lower
5760 power usage at the cost of small performance
5761 overhead.
5762
5763 The default value of this parameter is determined by
5764 the config option CONFIG_WQ_POWER_EFFICIENT_DEFAULT.
5765
Tejun Heof303fccb2016-02-09 17:59:38 -05005766 workqueue.debug_force_rr_cpu
5767 Workqueue used to implicitly guarantee that work
5768 items queued without explicit CPU specified are put
5769 on the local CPU. This guarantee is no longer true
5770 and while local CPU is still preferred work items
5771 may be put on foreign CPUs. This debug option
5772 forces round-robin CPU selection to flush out
5773 usages which depend on the now broken guarantee.
5774 When enabled, memory and cache locality will be
5775 impacted.
5776
Randy Dunlap0cb55ad2009-04-05 15:55:22 -07005777 x2apic_phys [X86-64,APIC] Use x2apic physical mode instead of
5778 default x2apic cluster mode on platforms
5779 supporting x2apic.
5780
Kuppuswamy Sathyanarayanan712b6aa2013-10-17 15:35:29 -07005781 x86_intel_mid_timer= [X86-32,APBT]
5782 Choose timer option for x86 Intel MID platform.
Jacob Panbb24c472009-09-02 07:37:17 -07005783 Two valid options are apbt timer only and lapic timer
5784 plus one apbt timer for broadcast timer.
Kuppuswamy Sathyanarayanan712b6aa2013-10-17 15:35:29 -07005785 x86_intel_mid_timer=apbt_only | lapic_and_apbt
Jacob Panbb24c472009-09-02 07:37:17 -07005786
Juergen Grossc70727a2015-07-17 06:51:36 +02005787 xen_512gb_limit [KNL,X86-64,XEN]
5788 Restricts the kernel running paravirtualized under Xen
5789 to use only up to 512 GB of RAM. The reason to do so is
5790 crash analysis tools and Xen tools for doing domain
5791 save/restore/migration must be enabled to handle larger
5792 domains.
5793
Stefano Stabellinic1c54132010-05-14 12:44:30 +01005794 xen_emul_unplug= [HW,X86,XEN]
5795 Unplug Xen emulated devices
5796 Format: [unplug0,][unplug1]
5797 ide-disks -- unplug primary master IDE devices
5798 aux-ide-disks -- unplug non-primary-master IDE devices
5799 nics -- unplug network devices
5800 all -- unplug all emulated devices (NICs and IDE disks)
Ian Campbell1dc7ce92010-08-23 11:59:29 +01005801 unnecessary -- unplugging emulated devices is
5802 unnecessary even if the host did not respond to
5803 the unplug protocol
Ian Campbellc93a4df2010-08-23 11:59:28 +01005804 never -- do not unplug even if version check succeeds
Stefano Stabellinic1c54132010-05-14 12:44:30 +01005805
Boris Ostrovskyc6875f32019-09-30 16:44:41 -04005806 xen_legacy_crash [X86,XEN]
5807 Crash from Xen panic notifier, without executing late
5808 panic() code such as dumping handler.
5809
Konrad Rzeszutek Wilk15a3eac2013-09-25 10:07:20 -04005810 xen_nopvspin [X86,XEN]
Zhenzhong Duan9a3c05e2019-10-23 19:16:23 +08005811 Disables the qspinlock slowpath using Xen PV optimizations.
5812 This parameter is obsoleted by "nopvspin" parameter, which
5813 has equivalent effect for XEN platform.
Konrad Rzeszutek Wilk15a3eac2013-09-25 10:07:20 -04005814
Konrad Rzeszutek Wilk8d693b92014-07-11 11:51:35 -04005815 xen_nopv [X86]
5816 Disables the PV optimizations forcing the HVM guest to
5817 run as generic HVM guest with no PV drivers.
Zhenzhong Duanb39b0492019-07-11 20:02:10 +08005818 This option is obsoleted by the "nopv" option, which
5819 has equivalent effect for XEN platform.
Konrad Rzeszutek Wilk8d693b92014-07-11 11:51:35 -04005820
Marek Marczykowski-Górecki197ecb32018-09-07 18:49:08 +02005821 xen_scrub_pages= [XEN]
5822 Boolean option to control scrubbing pages before giving them back
5823 to Xen, for use by other domains. Can be also changed at runtime
5824 with /sys/devices/system/xen_memory/xen_memory0/scrub_pages.
5825 Default value controlled with CONFIG_XEN_SCRUB_PAGES_DEFAULT.
5826
Ryan Thibodeaux2ec16bc2019-03-22 14:29:57 -04005827 xen_timer_slop= [X86-64,XEN]
5828 Set the timer slop (in nanoseconds) for the virtual Xen
5829 timers (default is 100000). This adjusts the minimum
5830 delta of virtualized Xen timers, where lower values
5831 improve timer resolution at the expense of processing
5832 more timer interrupts.
5833
Zhenzhong Duan30978342019-07-11 20:02:09 +08005834 nopv= [X86,XEN,KVM,HYPER_V,VMWARE]
5835 Disables the PV optimizations forcing the guest to run
5836 as generic guest with no PV drivers. Currently support
5837 XEN HVM, KVM, HYPER_V and VMWARE guest.
5838
Zhenzhong Duan9a3c05e2019-10-23 19:16:23 +08005839 nopvspin [X86,XEN,KVM]
Zhenzhong Duan05eee612019-10-23 19:16:22 +08005840 Disables the qspinlock slow path using PV optimizations
5841 which allow the hypervisor to 'idle' the guest on lock
5842 contention.
5843
Linus Torvalds1da177e2005-04-16 15:20:36 -07005844 xirc2ps_cs= [NET,PCMCIA]
Randy Dunlapa9913042005-10-23 12:57:11 -07005845 Format:
5846 <irq>,<irq_mask>,<io>,<full_duplex>,<do_sound>,<lockup_hack>[,<irq2>[,<irq3>[,<irq4>]]]
Laurentiu Tudorc0addc92018-07-05 16:31:42 +03005847
Michael Neulingba45cff2019-05-13 15:39:10 +10005848 xive= [PPC]
5849 By default on POWER9 and above, the kernel will
5850 natively use the XIVE interrupt controller. This option
5851 allows the fallback firmware mode to be used:
5852
5853 off Fallback to firmware control of XIVE interrupt
5854 controller on both pseries and powernv
5855 platforms. Only useful on POWER9 and above.
5856
Laurentiu Tudorc0addc92018-07-05 16:31:42 +03005857 xhci-hcd.quirks [USB,KNL]
5858 A hex value specifying bitmask with supplemental xhci
5859 host controller quirks. Meaning of each bit can be
5860 consulted in header drivers/usb/host/xhci.h.
Gustavo Romero6278f552019-08-14 15:56:37 -05005861
5862 xmon [PPC]
5863 Format: { early | on | rw | ro | off }
5864 Controls if xmon debugger is enabled. Default is off.
5865 Passing only "xmon" is equivalent to "xmon=early".
5866 early Call xmon as early as possible on boot; xmon
5867 debugger is called from setup_arch().
5868 on xmon debugger hooks will be installed so xmon
5869 is only called on a kernel crash. Default mode,
5870 i.e. either "ro" or "rw" mode, is controlled
5871 with CONFIG_XMON_DEFAULT_RO_MODE.
5872 rw xmon debugger hooks will be installed so xmon
5873 is called only on a kernel crash, mode is write,
5874 meaning SPR registers, memory and, other data
5875 can be written using xmon commands.
5876 ro same as "rw" option above but SPR registers,
5877 memory, and other data can't be written using
5878 xmon commands.
5879 off xmon is disabled.