Merge tag 'x86-asm-2024-03-11' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
[linux-2.6-block.git] / Documentation / admin-guide / kernel-parameters.txt
CommitLineData
a3a27827
VB
1 accept_memory= [MM]
2 Format: { eager | lazy }
3 default: lazy
4 By default, unaccepted memory is accepted lazily to
5 avoid prolonged boot times. The lazy option will add
6 some runtime overhead until all memory is eventually
7 accepted. In most cases the overhead is negligible.
8 For some workloads or for debugging purposes
9 accept_memory=eager can be used to accept all memory
10 at once during boot.
11
60071659 12 acpi= [HW,ACPI,X86,ARM64,RISCV64,EARLY]
03d926f8 13 Advanced Configuration and Power Interface
6a1f5471 14 Format: { force | on | off | strict | noirq | rsdt |
e58d154b 15 copy_dsdt }
1da177e4 16 force -- enable ACPI if default was off
724f4c0d 17 on -- enable ACPI but allow fallback to DT [arm64,riscv64]
1da177e4
LT
18 off -- disable ACPI if default was on
19 noirq -- do not use ACPI for IRQ routing
a9913044 20 strict -- Be less tolerant of platforms that are not
1da177e4 21 strictly ACPI specification compliant.
237889bf 22 rsdt -- prefer RSDT over (default) XSDT
aa2110cb 23 copy_dsdt -- copy DSDT to memory
724f4c0d
S
24 For ARM64 and RISCV64, ONLY "acpi=off", "acpi=on" or
25 "acpi=force" are available
1da177e4 26
151f4e2b 27 See also Documentation/power/runtime_pm.rst, pci=noacpi
1da177e4 28
60071659 29 acpi_apic_instance= [ACPI,IOAPIC,EARLY]
a1fdcc0d
LB
30 Format: <int>
31 2: use 2nd APIC table, if available
32 1,0: use 1st APIC table
4e381a4f 33 default: 0
a1fdcc0d 34
c3d6de69 35 acpi_backlight= [HW,ACPI]
5fd769c2
RD
36 { vendor | video | native | none }
37 If set to vendor, prefer vendor-specific driver
c3d6de69
TR
38 (e.g. thinkpad_acpi, sony_acpi, etc.) instead
39 of the ACPI video.ko driver.
5fd769c2
RD
40 If set to video, use the ACPI video.ko driver.
41 If set to native, use the device's native backlight mode.
42 If set to none, disable the ACPI backlight interface.
c3d6de69 43
60071659 44 acpi_force_32bit_fadt_addr [ACPI,EARLY]
b2ca5dae
CIK
45 force FADT to use 32 bit addresses rather than the
46 64 bit X_* addresses. Some firmware have broken 64
47 bit addresses for force ACPI ignore these and use
48 the older legacy 32 bit addresses.
49
ef69449b
DB
50 acpica_no_return_repair [HW, ACPI]
51 Disable AML predefined validation mechanism
52 This mechanism can repair the evaluation result to make
53 the return objects more ACPI specification compliant.
54 This option is useful for developers to identify the
55 root cause of an AML interpreter issue when the issue
56 has something to do with the repair mechanism.
57
a0d84a92
BH
58 acpi.debug_layer= [HW,ACPI,ACPI_DEBUG]
59 acpi.debug_level= [HW,ACPI,ACPI_DEBUG]
1da177e4 60 Format: <int>
a0d84a92
BH
61 CONFIG_ACPI_DEBUG must be enabled to produce any ACPI
62 debug output. Bits in debug_layer correspond to a
63 _COMPONENT in an ACPI source file, e.g.,
866d6cdf 64 #define _COMPONENT ACPI_EVENTS
a0d84a92
BH
65 Bits in debug_level correspond to a level in
66 ACPI_DEBUG_PRINT statements, e.g.,
67 ACPI_DEBUG_PRINT((ACPI_DB_INFO, ...
e76f4276 68 The debug_level mask defaults to "info". See
cb1aaebe 69 Documentation/firmware-guide/acpi/debug.rst for more information about
e76f4276 70 debug layers and levels.
a0d84a92 71
e76f4276
BH
72 Enable processor driver info messages:
73 acpi.debug_layer=0x20000000
a0d84a92
BH
74 Enable AML "Debug" output, i.e., stores to the Debug
75 object while interpreting AML:
76 acpi.debug_layer=0xffffffff acpi.debug_level=0x2
a0d84a92
BH
77 Enable all messages related to ACPI hardware:
78 acpi.debug_layer=0x2 acpi.debug_level=0xffffffff
79
80 Some values produce so much output that the system is
81 unusable. The "log_buf_len" parameter may be useful
82 if you need to capture more output.
f989106c 83
ef69449b
DB
84 acpi_enforce_resources= [ACPI]
85 { strict | lax | no }
86 Check for resource conflicts between native drivers
87 and ACPI OperationRegions (SystemIO and SystemMemory
88 only). IO ports and memory declared in ACPI might be
89 used by the ACPI subsystem in arbitrary AML code and
90 can interfere with legacy drivers.
91 strict (default): access to resources claimed by ACPI
92 is denied; legacy drivers trying to access reserved
93 resources will fail to bind to device using them.
94 lax: access to resources claimed by ACPI is allowed;
95 legacy drivers trying to access reserved resources
96 will bind successfully but a warning message is logged.
97 no: ACPI OperationRegions are not marked as reserved,
98 no further checks are performed.
99
60071659 100 acpi_force_table_verification [HW,ACPI,EARLY]
4fc0a7e8
LZ
101 Enable table checksum verification during early stage.
102 By default, this is disabled due to x86 early mapping
103 size limitation.
104
0cb55ad2
RD
105 acpi_irq_balance [HW,ACPI]
106 ACPI will balance active IRQs
107 default in APIC mode
108
109 acpi_irq_nobalance [HW,ACPI]
110 ACPI will not move active IRQs (default)
111 default in PIC mode
112
113 acpi_irq_isa= [HW,ACPI] If irq_balance, mark listed IRQs used by ISA
114 Format: <irq>,<irq>...
115
116 acpi_irq_pci= [HW,ACPI] If irq_balance, clear listed IRQs for
117 use by PCI
118 Format: <irq>,<irq>...
119
6dddd7a7 120 acpi_mask_gpe= [HW,ACPI]
9c4aa1ee
LZ
121 Due to the existence of _Lxx/_Exx, some GPEs triggered
122 by unsupported hardware/firmware features can result in
6dddd7a7
TB
123 GPE floodings that cannot be automatically disabled by
124 the GPE dispatcher.
9c4aa1ee
LZ
125 This facility can be used to prevent such uncontrolled
126 GPE floodings.
d3121e64 127 Format: <byte> or <bitmap-list>
9c4aa1ee 128
08e1d7c0
LZ
129 acpi_no_auto_serialize [HW,ACPI]
130 Disable auto-serialization of AML methods
22b5afce
BM
131 AML control methods that contain the opcodes to create
132 named objects will be marked as "Serialized" by the
133 auto-serialization feature.
08e1d7c0
LZ
134 This feature is enabled by default.
135 This option allows to turn off the feature.
22b5afce 136
ef69449b
DB
137 acpi_no_memhotplug [ACPI] Disable memory hotplug. Useful for kdump
138 kernels.
139
60071659 140 acpi_no_static_ssdt [HW,ACPI,EARLY]
a94e88cd
LZ
141 Disable installation of static SSDTs at early boot time
142 By default, SSDTs contained in the RSDT/XSDT will be
143 installed automatically and they will appear under
144 /sys/firmware/acpi/tables.
145 This option turns off this feature.
146 Note that specifying this option does not affect
147 dynamic table installation which will install SSDT
148 tables to /sys/firmware/acpi/tables/dynamic.
0cb55ad2 149
3f9e12e0
JD
150 acpi_no_watchdog [HW,ACPI,WDT]
151 Ignore the ACPI-based watchdog interface (WDAT) and let
152 a native driver control the watchdog device instead.
153
60071659 154 acpi_rsdp= [ACPI,EFI,KEXEC,EARLY]
ef69449b
DB
155 Pass the RSDP address to the kernel, mostly used
156 on machines running EFI runtime service to boot the
157 second kernel for kdump.
4dde507f 158
0cb55ad2
RD
159 acpi_os_name= [HW,ACPI] Tell ACPI BIOS the name of the OS
160 Format: To spoof as Windows 98: ="Microsoft Windows"
161
18d78b64
RW
162 acpi_rev_override [ACPI] Override the _REV object to return 5 (instead
163 of 2 which is mandated by ACPI 6) as the supported ACPI
164 specification revision (when using this switch, it may
165 be necessary to carry out a cold reboot _twice_ in a
166 row to make it take effect on the platform firmware).
167
0cb55ad2 168 acpi_osi= [HW,ACPI] Modify list of supported OS interface strings
5dc17986
LZ
169 acpi_osi="string1" # add string1
170 acpi_osi="!string2" # remove string2
741d8128 171 acpi_osi=!* # remove all strings
5dc17986
LZ
172 acpi_osi=! # disable all built-in OS vendor
173 strings
a707edeb
LZ
174 acpi_osi=!! # enable all built-in OS vendor
175 strings
0cb55ad2
RD
176 acpi_osi= # disable all strings
177
5dc17986
LZ
178 'acpi_osi=!' can be used in combination with single or
179 multiple 'acpi_osi="string1"' to support specific OS
180 vendor string(s). Note that such command can only
181 affect the default state of the OS vendor strings, thus
182 it cannot affect the default state of the feature group
183 strings and the current state of the OS vendor strings,
184 specifying it multiple times through kernel command line
741d8128
LZ
185 is meaningless. This command is useful when one do not
186 care about the state of the feature group strings which
187 should be controlled by the OSPM.
5dc17986
LZ
188 Examples:
189 1. 'acpi_osi=! acpi_osi="Windows 2000"' is equivalent
190 to 'acpi_osi="Windows 2000" acpi_osi=!', they all
191 can make '_OSI("Windows 2000")' TRUE.
192
193 'acpi_osi=' cannot be used in combination with other
194 'acpi_osi=' command lines, the _OSI method will not
195 exist in the ACPI namespace. NOTE that such command can
196 only affect the _OSI support state, thus specifying it
197 multiple times through kernel command line is also
198 meaningless.
199 Examples:
200 1. 'acpi_osi=' can make 'CondRefOf(_OSI, Local1)'
201 FALSE.
202
741d8128
LZ
203 'acpi_osi=!*' can be used in combination with single or
204 multiple 'acpi_osi="string1"' to support specific
205 string(s). Note that such command can affect the
206 current state of both the OS vendor strings and the
207 feature group strings, thus specifying it multiple times
208 through kernel command line is meaningful. But it may
209 still not able to affect the final state of a string if
210 there are quirks related to this string. This command
211 is useful when one want to control the state of the
212 feature group strings to debug BIOS issues related to
213 the OSPM features.
214 Examples:
215 1. 'acpi_osi="Module Device" acpi_osi=!*' can make
216 '_OSI("Module Device")' FALSE.
217 2. 'acpi_osi=!* acpi_osi="Module Device"' can make
218 '_OSI("Module Device")' TRUE.
219 3. 'acpi_osi=! acpi_osi=!* acpi_osi="Windows 2000"' is
220 equivalent to
221 'acpi_osi=!* acpi_osi=! acpi_osi="Windows 2000"'
222 and
223 'acpi_osi=!* acpi_osi="Windows 2000" acpi_osi=!',
224 they all will make '_OSI("Windows 2000")' TRUE.
225
6cececfc 226 acpi_pm_good [X86]
0cb55ad2
RD
227 Override the pmtimer bug detection: force the kernel
228 to assume that this machine's pmtimer latches its value
229 and always returns good values.
230
60071659 231 acpi_sci= [HW,ACPI,EARLY] ACPI System Control Interrupt trigger mode
4af94f39
RD
232 Format: { level | edge | high | low }
233
60071659 234 acpi_skip_timer_override [HW,ACPI,EARLY]
4af94f39
RD
235 Recognize and ignore IRQ0/pin2 Interrupt Override.
236 For broken nForce2 BIOS resulting in XT-PIC timer.
237
238 acpi_sleep= [HW,ACPI] Sleep options
74d95555
DW
239 Format: { s3_bios, s3_mode, s3_beep, s4_hwsig,
240 s4_nohwsig, old_ordering, nonvs,
241 sci_force_enable, nobl }
151f4e2b 242 See Documentation/power/video.rst for information on
4af94f39
RD
243 s3_bios and s3_mode.
244 s3_beep is for debugging; it makes the PC's speaker beep
245 as soon as the kernel's real-mode entry point is called.
74d95555
DW
246 s4_hwsig causes the kernel to check the ACPI hardware
247 signature during resume from hibernation, and gracefully
248 refuse to resume if it has changed. This complies with
249 the ACPI specification but not with reality, since
250 Windows does not do this and many laptops do change it
251 on docking. So the default behaviour is to allow resume
252 and simply warn when the signature changes, unless the
253 s4_hwsig option is enabled.
4af94f39 254 s4_nohwsig prevents ACPI hardware signature from being
74d95555 255 used (or even warned about) during resume.
4af94f39
RD
256 old_ordering causes the ACPI 1.0 ordering of the _PTS
257 control method, with respect to putting devices into
258 low power states, to be enforced (the ACPI 2.0 ordering
259 of _PTS is used by default).
72ad5d77
RW
260 nonvs prevents the kernel from saving/restoring the
261 ACPI NVS memory during suspend/hibernation and resume.
d7f0eea9
ZR
262 sci_force_enable causes the kernel to set SCI_EN directly
263 on resume from S1/S3 (which is against the ACPI spec,
264 but some broken systems don't work without it).
57044031
RW
265 nobl causes the internal blacklist of systems known to
266 behave incorrectly in some ways with respect to system
267 suspend and resume to be ignored (use wisely).
4af94f39 268
60071659 269 acpi_use_timer_override [HW,ACPI,EARLY]
4af94f39
RD
270 Use timer override. For some broken Nvidia NF5 boards
271 that require a timer override, but don't have HPET
272
60071659 273 add_efi_memmap [EFI,X86,EARLY] Include EFI memory map in
4af94f39
RD
274 kernel's map of available physical RAM.
275
0cb55ad2
RD
276 agp= [AGP]
277 { off | try_unsupported }
278 off: disable AGP support
279 try_unsupported: try to drive unsupported chipsets
280 (may crash computer or cause data corruption)
281
bcfde334 282 ALSA [HW,ALSA]
1ca2c806 283 See Documentation/sound/alsa-configuration.rst
bcfde334 284
d944d549
RK
285 alignment= [KNL,ARM]
286 Allow the default userspace alignment fault handler
287 behaviour to be specified. Bit 0 enables warnings,
288 bit 1 enables fixups, and bit 2 sends a segfault.
289
dfb09f9b
BP
290 align_va_addr= [X86-64]
291 Align virtual addresses by clearing slice [14:12] when
292 allocating a VMA at process creation time. This option
293 gives you up to 3% performance improvement on AMD F15h
294 machines (where it is enabled by default) for a
295 CPU-intensive style benchmark, and it can vary highly in
296 a microbenchmark depending on workload and compiler.
297
8360ee2f
BP
298 32: only for 32-bit processes
299 64: only for 64-bit processes
dfb09f9b
BP
300 on: enable for both 32- and 64-bit processes
301 off: disable for both 32- and 64-bit processes
302
55034cd6
SRRH
303 alloc_snapshot [FTRACE]
304 Allocate the ftrace snapshot buffer on boot up when the
305 main buffer is allocated. This is handy if debugging
306 and you need to use tracing_snapshot() on boot up, and
307 do not want to use tracing_snapshot_alloc() as it needs
308 to be done where GFP_KERNEL allocations are allowed.
309
60071659 310 allow_mismatched_32bit_el0 [ARM64,EARLY]
ead7de46
WD
311 Allow execve() of 32-bit applications and setting of the
312 PER_LINUX32 personality on systems where only a strict
313 subset of the CPUs support 32-bit EL0. When this
314 parameter is present, the set of CPUs supporting 32-bit
315 EL0 is indicated by /sys/devices/system/cpu/aarch32_el0
316 and hot-unplug operations may be restricted.
317
e4624435 318 See Documentation/arch/arm64/asymmetric-32bit.rst for more
702f4387
WD
319 information.
320
89e0b9a3 321 amd_iommu= [HW,X86-64]
54b4cbd2
JR
322 Pass parameters to the AMD IOMMU driver in the system.
323 Possible values are:
1d479f16 324 fullflush - Deprecated, equivalent to iommu.strict=1
a5235725
JR
325 off - do not initialize any AMD IOMMU found in
326 the system
5abcdba4
JR
327 force_isolation - Force device isolation for all
328 devices. The IOMMU driver is not
329 allowed anymore to lift isolation
330 requirements as needed. This option
331 does not override iommu=pt
b1e650db
JR
332 force_enable - Force enable the IOMMU on platforms known
333 to be buggy with IOMMU enabled. Use this
334 option with care.
d799a183
VH
335 pgtbl_v1 - Use v1 page table for DMA-API (Default).
336 pgtbl_v2 - Use v2 page table for DMA-API.
66419036 337 irtcachedis - Disable Interrupt Remapping Table (IRT) caching.
afa9fdc2 338
c099cf17
SK
339 amd_iommu_dump= [HW,X86-64]
340 Enable AMD IOMMU driver option to dump the ACPI table
341 for AMD IOMMU. With this option enabled, AMD IOMMU
342 driver will print ACPI tables for AMD IOMMU during
343 IOMMU initialization.
344
3928aa3f
SS
345 amd_iommu_intr= [HW,X86-64]
346 Specifies one of the following AMD IOMMU interrupt
347 remapping modes:
348 legacy - Use legacy interrupt remapping mode.
349 vapic - Use virtual APIC mode, which allows IOMMU
350 to inject interrupts directly into guest.
351 This mode requires kvm-amd.avic=1.
352 (Default when IOMMU HW support is present.)
353
60071659 354 amd_pstate= [X86,EARLY]
3e6e0780
WK
355 disable
356 Do not enable amd_pstate as the default
357 scaling driver for the supported processors
358 passive
2dd6d0eb
WK
359 Use amd_pstate with passive mode as a scaling driver.
360 In this mode autonomous selection is disabled.
361 Driver requests a desired performance level and platform
362 tries to match the same performance level if it is
363 satisfied by guaranteed performance level.
3e6e0780
WK
364 active
365 Use amd_pstate_epp driver instance as the scaling driver,
366 driver provides a hint to the hardware if software wants
367 to bias toward performance (0x0) or energy efficiency (0xff)
368 to the CPPC firmware. then CPPC power algorithm will
369 calculate the runtime workload and adjust the realtime cores
370 frequency.
2dd6d0eb
WK
371 guided
372 Activate guided autonomous mode. Driver requests minimum and
373 maximum performance level and the platform autonomously
374 selects a performance level in this range and appropriate
375 to the current workload.
3e6e0780 376
1da177e4
LT
377 amijoy.map= [HW,JOY] Amiga joystick support
378 Map of devices attached to JOY0DAT and JOY1DAT
379 Format: <a>,<b>
1752118d 380 See also Documentation/input/joydev/joystick.rst
1da177e4
LT
381
382 analog.map= [HW,JOY] Analog joystick and gamepad support
383 Specifies type or capabilities of an analog joystick
384 connected to one of 16 gameports
385 Format: <type1>,<type2>,..<type16>
386
a9913044
RD
387 apc= [HW,SPARC]
388 Power management functions (SPARCstation-4/5 + deriv.)
1da177e4
LT
389 Format: noidle
390 Disable APC CPU standby support. SPARCstation-Fox does
391 not play well with APC CPU idle - disable it if you have
392 APC and your system crashes randomly.
393
60071659 394 apic= [APIC,X86,EARLY] Advanced Programmable Interrupt Controller
806654a9 395 Change the output verbosity while booting
1da177e4
LT
396 Format: { quiet (default) | verbose | debug }
397 Change the amount of debugging information output
398 when initialising the APIC and IO-APIC components.
64e05d11
DL
399 For X86-32, this can also be used to specify an APIC
400 driver name.
401 Format: apic=driver_name
402 Examples: apic=bigsmp
a9913044 403
60071659 404 apic_extnmi= [APIC,X86,EARLY] External NMI delivery setting
b7c4948e
HK
405 Format: { bsp (default) | all | none }
406 bsp: External NMI is delivered only to CPU 0
407 all: External NMIs are broadcast to all CPUs as a
408 backup of CPU 0
409 none: External NMI is masked for all CPUs. This is
410 useful so that a dump capture kernel won't be
411 shot down by NMI
412
b0f83b28 413 autoconf= [IPV6]
19093313 414 See Documentation/networking/ipv6.rst.
b0f83b28 415
1da177e4 416 apm= [APM] Advanced Power Management
71f77055 417 See header of arch/x86/kernel/apm_32.c.
1da177e4 418
42551b8d
RD
419 apparmor= [APPARMOR] Disable or enable AppArmor at boot time
420 Format: { "0" | "1" }
421 See security/apparmor/Kconfig help text
422 0 -- disable.
423 1 -- enable.
424 Default value is set via kernel config option.
425
1da177e4
LT
426 arcrimi= [HW,NET] ARCnet - "RIM I" (entirely mem-mapped) cards
427 Format: <io>,<irq>,<nodeID>
428
93ad55b7
MZ
429 arm64.nobti [ARM64] Unconditionally disable Branch Target
430 Identification support
431
eb38cc80
RD
432 arm64.nomops [ARM64] Unconditionally disable Memory Copy and Memory
433 Set instructions support
f8da5752 434
7a062ce3
YL
435 arm64.nomte [ARM64] Unconditionally disable Memory Tagging Extension
436 support
437
eb38cc80
RD
438 arm64.nopauth [ARM64] Unconditionally disable Pointer Authentication
439 support
504ee236 440
b3000e21
MZ
441 arm64.nosme [ARM64] Unconditionally disable Scalable Matrix
442 Extension support
443
eb38cc80
RD
444 arm64.nosve [ARM64] Unconditionally disable Scalable Vector
445 Extension support
3e1dedb2 446
1da177e4
LT
447 ataflop= [HW,M68k]
448
449 atarimouse= [HW,MOUSE] Atari Mouse
450
1da177e4
LT
451 atkbd.extra= [HW] Enable extra LEDs and keys on IBM RapidAccess,
452 EzKey and similar keyboards
453
454 atkbd.reset= [HW] Reset keyboard during initialization
455
a9913044
RD
456 atkbd.set= [HW] Select keyboard code set
457 Format: <int> (2 = AT (default), 3 = PS/2)
1da177e4
LT
458
459 atkbd.scroll= [HW] Enable scroll wheel on MS Office and similar
460 keyboards
461
462 atkbd.softraw= [HW] Choose between synthetic and real raw mode
463 Format: <bool> (0 = real, 1 = synthetic (default))
a9913044
RD
464
465 atkbd.softrepeat= [HW]
466 Use software keyboard repeat
1da177e4 467
a106fb0c 468 audit= [KNL] Enable the audit sub-system
11dd2666
GE
469 Format: { "0" | "1" | "off" | "on" }
470 0 | off - kernel audit is disabled and can not be
471 enabled until the next reboot
d7961148
EP
472 unset - kernel audit is initialized but disabled and
473 will be fully enabled by the userspace auditd.
11dd2666
GE
474 1 | on - kernel audit is initialized and partially
475 enabled, storing at most audit_backlog_limit
476 messages in RAM until it is fully enabled by the
477 userspace auditd.
a106fb0c 478 Default: unset
f3411cb2 479
f910fde7
RGB
480 audit_backlog_limit= [KNL] Set the audit queue size limit.
481 Format: <int> (must be >=0)
482 Default: 64
483
1c532e00
AT
484 bau= [X86_UV] Enable the BAU on SGI UV. The default
485 behavior is to disable the BAU (i.e. bau=0).
486 Format: { "0" | "1" }
487 0 - Disable the BAU.
488 1 - Enable the BAU.
489 unset - Disable the BAU.
490
1da177e4
LT
491 baycom_epp= [HW,AX25]
492 Format: <io>,<mode>
a9913044 493
1da177e4
LT
494 baycom_par= [HW,AX25] BayCom Parallel Port AX.25 Modem
495 Format: <io>,<mode>
496 See header of drivers/net/hamradio/baycom_par.c.
497
a9913044
RD
498 baycom_ser_fdx= [HW,AX25]
499 BayCom Serial Port AX.25 Modem (Full Duplex Mode)
1da177e4
LT
500 Format: <io>,<irq>,<mode>[,<baud>]
501 See header of drivers/net/hamradio/baycom_ser_fdx.c.
502
a9913044
RD
503 baycom_ser_hdx= [HW,AX25]
504 BayCom Serial Port AX.25 Modem (Half Duplex Mode)
1da177e4
LT
505 Format: <io>,<irq>,<mode>
506 See header of drivers/net/hamradio/baycom_ser_hdx.c.
507
389cfd96
RD
508 bert_disable [ACPI]
509 Disable BERT OS support on buggy BIOSes.
510
60071659 511 bgrt_disable [ACPI,X86,EARLY]
389cfd96
RD
512 Disable BGRT to avoid flickering OEM logo.
513
080506ad
PG
514 blkdevparts= Manual partition parsing of block device(s) for
515 embedded devices based on command line input.
898bd37a 516 See Documentation/block/cmdline-partition.rst
080506ad 517
60071659
PM
518 boot_delay= [KNL,EARLY]
519 Milliseconds to delay each printk during boot.
a568375b
BH
520 Only works if CONFIG_BOOT_PRINTK_DELAY is enabled,
521 and you may also have to specify "lpj=". Boot_delay
522 values larger than 10 seconds (10000) are assumed
523 erroneous and ignored.
bfe8df3d
RD
524 Format: integer
525
60071659 526 bootconfig [KNL,EARLY]
7495e092
SRV
527 Extended command line options can be added to an initrd
528 and this will cause the kernel to look for it.
529
530 See Documentation/admin-guide/bootconfig.rst
531
1da177e4 532 bttv.card= [HW,V4L] bttv (bt848 + bt878 based grabber cards)
a9913044
RD
533 bttv.radio= Most important insmod options are available as
534 kernel args too.
32e2eae2 535 bttv.pll= See Documentation/admin-guide/media/bttv.rst
395cf969 536 bttv.tuner=
1da177e4 537
4e89a2d8
WS
538 bulk_remove=off [PPC] This parameter disables the use of the pSeries
539 firmware feature for flushing multiple hpte entries
540 at a time.
541
1da177e4
LT
542 c101= [NET] Moxa C101 synchronous serial card
543
cd4f0ef7 544 cachesize= [BUGS=X86-32] Override level 2 CPU cache size detection.
1da177e4
LT
545 Sometimes CPU hardware bugs make them report the cache
546 size incorrectly. The kernel will attempt work arounds
547 to fix known problems, but for some CPUs it is not
548 possible to determine what the correct size should be.
549 This option provides an override for these situations.
550
3fc46fc9
MK
551 carrier_timeout=
552 [NET] Specifies amount of time (in seconds) that
553 the kernel should wait for a network carrier. By default
554 it waits 120 seconds.
555
ffb70f61
DK
556 ca_keys= [KEYS] This parameter identifies a specific key(s) on
557 the system trusted keyring to be used for certificate
558 trust validation.
32c4741c 559 format: { id:<keyid> | builtin }
ffb70f61 560
60071659 561 cca= [MIPS,EARLY] Override the kernel pages' cache coherency
fd1bb4c9
FF
562 algorithm. Accepted values range from 0 to 7
563 inclusive. See arch/mips/include/asm/pgtable-bits.h
564 for platform specific values (SB1, Loongson3 and
565 others).
566
6dddd7a7 567 ccw_timeout_log [S390]
37002bc6 568 See Documentation/arch/s390/common_io.rst for details.
1da177e4 569
3958e2d0
SB
570 cgroup_disable= [KNL] Disable a particular controller or optional feature
571 Format: {name of the controller(s) or feature(s) to disable}
ca0bdbb5
QH
572 The effects of cgroup_disable=foo are:
573 - foo isn't auto-mounted if you mount all cgroups in
574 a single hierarchy
575 - foo isn't visible as an individually mountable
576 subsystem
3958e2d0
SB
577 - if foo is an optional feature then the feature is
578 disabled and corresponding cgroup files are not
579 created
ca0bdbb5
QH
580 {Currently only "memory" controller deal with this and
581 cut the overhead, others just disable the usage. So
582 only cgroup_disable=memory is actually worthy}
3958e2d0
SB
583 Specifying "pressure" disables per-cgroup pressure
584 stall information accounting feature
8bab8dde 585
3fc9c12d
TH
586 cgroup_no_v1= [KNL] Disable cgroup controllers and named hierarchies in v1
587 Format: { { controller | "all" | "named" }
588 [,{ controller | "all" | "named" }...] }
1619b6d4
JW
589 Like cgroup_disable, but only applies to cgroup v1;
590 the blacklisted controllers remain available in cgroup2.
3fc9c12d
TH
591 "all" blacklists all controllers and "named" disables
592 named mounts. Specifying both "all" and "named" disables
593 all v1 hierarchies.
1619b6d4 594
9b81d3a5
LC
595 cgroup_favordynmods= [KNL] Enable or Disable favordynmods.
596 Format: { "true" | "false" }
597 Defaults to the value of CONFIG_CGROUP_FAVOR_DYNMODS.
598
f7e1cb6e
JW
599 cgroup.memory= [KNL] Pass options to the cgroup memory controller.
600 Format: <string>
601 nosocket -- Disable socket memory accounting.
04823c83 602 nokmem -- Disable kernel memory accounting.
b6c1a8af 603 nobpf -- Disable BPF memory accounting.
f7e1cb6e 604
8d6d51ed 605 checkreqprot= [SELINUX] Set initial checkreqprot flag value.
1da177e4
LT
606 Format: { "0" | "1" }
607 See security/selinux/Kconfig help text.
a9913044
RD
608 0 -- check protection applied by kernel (includes
609 any implied execute protection).
1da177e4
LT
610 1 -- check protection requested by application.
611 Default value is set via a kernel config option.
a9913044 612 Value can be changed at runtime via
d41415eb 613 /sys/fs/selinux/checkreqprot.
e9c38f9f 614 Setting checkreqprot to 1 is deprecated.
a9913044 615
661ca0da 616 cio_ignore= [S390]
37002bc6 617 See Documentation/arch/s390/common_io.rst for details.
d2fc83c1 618
88a61892 619 clearcpuid=X[,X...] [X86]
d2fc83c1
RD
620 Disable CPUID feature X for the kernel. See
621 arch/x86/include/asm/cpufeatures.h for the valid bit
88a61892
LT
622 numbers X. Note the Linux-specific bits are not necessarily
623 stable over kernel options, but the vendor-specific
d2fc83c1 624 ones should be.
88a61892
LT
625 X can also be a string as appearing in the flags: line
626 in /proc/cpuinfo which does not have the above
627 instability issue. However, not all features have names
628 in /proc/cpuinfo.
629 Note that using this option will taint your kernel.
d2fc83c1
RD
630 Also note that user programs calling CPUID directly
631 or using the feature without checking anything
632 will still see it. This just prevents it from
633 being used by the kernel or shown in /proc/cpuinfo.
634 Also note the kernel might malfunction if you disable
635 some critical bits.
636
1e435256
OJ
637 clk_ignore_unused
638 [CLK]
e156ee56
MT
639 Prevents the clock framework from automatically gating
640 clocks that have not been explicitly enabled by a Linux
641 device driver but are enabled in hardware at reset or
642 by the bootloader/firmware. Note that this does not
643 force such clocks to be always-on nor does it reserve
644 those clocks in any way. This parameter is useful for
645 debug and development, but should not be needed on a
646 platform with proper driver support. For more
18bcaa4e 647 information, see Documentation/driver-api/clk.rst.
661ca0da 648
cd4f0ef7 649 clock= [BUGS=X86-32, HW] gettimeofday clocksource override.
734efb46 650 [Deprecated]
3f6dee9b 651 Forces specified clocksource (if available) to be used
734efb46 652 when calculating gettimeofday(). If specified
3f6dee9b 653 clocksource is not available, it defaults to PIT.
1da177e4
LT
654 Format: { pit | tsc | cyclone | pmtmr }
655
592913ec 656 clocksource= Override the default clocksource
3d6ac984
RD
657 Format: <string>
658 Override the default clocksource and use the clocksource
659 with the name specified.
660 Some clocksource names to choose from, depending on
661 the platform:
662 [all] jiffies (this is the base, fallback clocksource)
663 [ACPI] acpi_pm
664 [ARM] imx_timer1,OSTS,netx_timer,mpu_timer2,
665 pxa_timer,timer3,32k_counter,timer0_1
9863c90f 666 [X86-32] pit,hpet,tsc;
3d6ac984
RD
667 scx200_hrt on Geode; cyclone on IBM x440
668 [MIPS] MIPS
669 [PARISC] cr16
670 [S390] tod
671 [SH] SuperH
672 [SPARC64] tick
673 [X86-64] hpet,tsc
674
46fd5c6b 675 clocksource.arm_arch_timer.evtstrm=
60071659 676 [ARM,ARM64,EARLY]
46fd5c6b
WD
677 Format: <bool>
678 Enable/disable the eventstream feature of the ARM
679 architected timer so that code using WFE-based polling
680 loops can be debugged more effectively on production
681 systems.
682
fa218f1c
PM
683 clocksource.verify_n_cpus= [KNL]
684 Limit the number of CPUs checked for clocksources
685 marked with CLOCK_SOURCE_VERIFY_PERCPU that
686 are marked unstable due to excessive skew.
687 A negative value says to check all CPUs, while
688 zero says not to check any. Values larger than
689 nr_cpu_ids are silently truncated to nr_cpu_ids.
690 The actual CPUs are chosen randomly, with
691 no replacement if the same CPU is chosen twice.
692
1253b9b8
PM
693 clocksource-wdtest.holdoff= [KNL]
694 Set the time in seconds that the clocksource
695 watchdog test waits before commencing its tests.
696 Defaults to zero when built as a module and to
697 10 seconds when built into the kernel.
698
5ea3b1b2 699 cma=nn[MG]@[start[MG][-end[MG]]]
60071659 700 [KNL,CMA,EARLY]
5ea3b1b2
AM
701 Sets the size of kernel global memory area for
702 contiguous memory allocations and optionally the
703 placement constraint by the physical address range of
f0d6d1f6
JD
704 memory allocations. A value of 0 disables CMA
705 altogether. For more information, see
0b1abd1f 706 kernel/dma/contiguous.c
c64be2bb 707
b7176c26 708 cma_pernuma=nn[MG]
60071659 709 [KNL,CMA,EARLY]
b7176c26
BS
710 Sets the size of kernel per-numa memory area for
711 contiguous memory allocations. A value of 0 disables
712 per-numa CMA altogether. And If this option is not
dbeb56fe 713 specified, the default value is 0.
b7176c26
BS
714 With per-numa CMA enabled, DMA users on node nid will
715 first try to allocate buffer from the pernuma area
716 which is located in node nid, if the allocation fails,
717 they will fallback to the global default memory area.
c64be2bb 718
bf29bfaa 719 numa_cma=<node>:nn[MG][,<node>:nn[MG]]
60071659 720 [KNL,CMA,EARLY]
bf29bfaa
YD
721 Sets the size of kernel numa memory area for
722 contiguous memory allocations. It will reserve CMA
723 area for the specified node.
724
725 With numa CMA enabled, DMA users on node nid will
726 first try to allocate buffer from the numa area
b7176c26
BS
727 which is located in node nid, if the allocation fails,
728 they will fallback to the global default memory area.
c64be2bb 729
14f966e7
RJ
730 cmo_free_hint= [PPC] Format: { yes | no }
731 Specify whether pages are marked as being inactive
732 when they are freed. This is used in CMO environments
733 to determine OS memory pressure for page stealing by
734 a hypervisor.
735 Default: yes
736
60071659 737 coherent_pool=nn[KMG] [ARM,KNL,EARLY]
c7909509 738 Sets the size of memory pool for coherent, atomic dma
e9da6e99 739 allocations, by default set to 256K.
c7909509 740
1da177e4 741 com20020= [HW,NET] ARCnet - COM20020 chipset
a9913044
RD
742 Format:
743 <io>[,<irq>[,<nodeID>[,<backplane>[,<ckp>[,<timeout>]]]]]
1da177e4
LT
744
745 com90io= [HW,NET] ARCnet - COM90xx chipset (IO-mapped buffers)
746 Format: <io>[,<irq>]
747
a9913044
RD
748 com90xx= [HW,NET]
749 ARCnet - COM90xx chipset (memory-mapped buffers)
1da177e4
LT
750 Format: <io>[,<irq>[,<memstart>]]
751
752 condev= [HW,S390] console device
753 conmode=
a9913044 754
60071659 755 con3215_drop= [S390,EARLY] 3215 console drop mode.
1f3307cf
TR
756 Format: y|n|Y|N|1|0
757 When set to true, drop data on the 3215 console when
758 the console buffer is full. In this case the
759 operator using a 3270 terminal emulator (for example
760 x3270) does not have to enter the clear key for the
761 console output to advance and the kernel to continue.
762 This leads to a much faster boot time when a 3270
763 terminal emulator is active. If no 3270 terminal
764 emulator is used, this parameter has no effect.
765
1da177e4
LT
766 console= [KNL] Output console device and options.
767
768 tty<n> Use the virtual console device <n>.
769
770 ttyS<n>[,options]
f1a1c2dc 771 ttyUSB0[,options]
1da177e4 772 Use the specified serial port. The options are of
f1a1c2dc
RD
773 the form "bbbbpnf", where "bbbb" is the baud rate,
774 "p" is parity ("n", "o", or "e"), "n" is number of
775 bits, and "f" is flow control ("r" for RTS or
776 omit it). Default is "9600n8".
777
e52347bd 778 See Documentation/admin-guide/serial-console.rst for more
f1a1c2dc 779 information. See
d9d6ef25 780 Documentation/networking/netconsole.rst for an
f1a1c2dc 781 alternative.
1da177e4 782
18a8bd94
YL
783 uart[8250],io,<addr>[,options]
784 uart[8250],mmio,<addr>[,options]
bd94c407 785 uart[8250],mmio16,<addr>[,options]
ca782f16
PH
786 uart[8250],mmio32,<addr>[,options]
787 uart[8250],0x<addr>[,options]
1da177e4
LT
788 Start an early, polled-mode console on the 8250/16550
789 UART at the specified I/O port or MMIO address,
ca782f16
PH
790 switching to the matching ttyS device later.
791 MMIO inter-register address stride is either 8-bit
bd94c407
MY
792 (mmio), 16-bit (mmio16), or 32-bit (mmio32).
793 If none of [io|mmio|mmio16|mmio32], <addr> is assumed
794 to be equivalent to 'mmio'. 'options' are specified in
795 the same format described for ttyS above; if unspecified,
ca782f16
PH
796 the h/w is not re-initialized.
797
a2fd6419
KRW
798 hvc<n> Use the hypervisor console device <n>. This is for
799 both Xen and PowerPC hypervisors.
1da177e4 800
96b02f2f
RD
801 { null | "" }
802 Use to disable console output, i.e., to have kernel
803 console messages discarded.
804 This must be the only console= parameter used on the
805 kernel command line.
806
6dddd7a7
TB
807 If the device connected to the port is not a TTY but a braille
808 device, prepend "brl," before the device type, for instance
f7511d5f
ST
809 console=brl,ttyS0
810 For now, only VisioBraille is supported.
811
cca10d58
SS
812 console_msg_format=
813 [KNL] Change console messages format
814 default
815 By default we print messages on consoles in
816 "[time stamp] text\n" format (time stamp may not be
817 printed, depending on CONFIG_PRINTK_TIME or
818 `printk_time' param).
819 syslog
820 Switch to syslog format: "<%u>[time stamp] text\n"
821 IOW, each message will have a facility and loglevel
822 prefix. The format is similar to one used by syslog()
823 syscall, or to executing "dmesg -S --raw" or to reading
824 from /proc/kmsg.
825
f324edc8 826 consoleblank= [KNL] The console blank (screen saver) timeout in
ac0a314c 827 seconds. A value of 0 disables the blank timer.
6dddd7a7 828 Defaults to 0.
f324edc8 829
4cb0e11b
HK
830 coredump_filter=
831 [KNL] Change the default value for
832 /proc/<pid>/coredump_filter.
cd4ca341 833 See also Documentation/filesystems/proc.rst.
4cb0e11b 834
62a31ce1
LY
835 coresight_cpu_debug.enable
836 [ARM,ARM64]
837 Format: <bool>
838 Enable/disable the CPU sampling based debugging.
839 0: default value, disable debugging
840 1: enable debugging at boot time
841
389cfd96
RD
842 cpcihp_generic= [HW,PCI] Generic port I/O CompactPCI driver
843 Format:
844 <first_slot>,<last_slot>,<port>,<enum_bit>[,<debug>]
845
62027aea
LB
846 cpuidle.off=1 [CPU_IDLE]
847 disable the cpuidle sub-system
848
61cb5758
RW
849 cpuidle.governor=
850 [CPU_IDLE] Name of the cpuidle governor to use.
851
d82f2692
LB
852 cpufreq.off=1 [CPU_FREQ]
853 disable the cpufreq sub-system
854
8412b456
QP
855 cpufreq.default_governor=
856 [CPU_FREQ] Name of the default cpufreq governor or
857 policy to use. This governor must be registered in the
858 kernel before the cpufreq driver probes.
859
d68921f9 860 cpu_init_udelay=N
60071659 861 [X86,EARLY] Delay for N microsec between assert and de-assert
d68921f9
LB
862 of APIC INIT to start processors. This delay occurs
863 on every CPU online, such as boot, and resume from suspend.
864 Default: 10000
865
18415f33
TG
866 cpuhp.parallel=
867 [SMP] Enable/disable parallel bringup of secondary CPUs
868 Format: <bool>
869 Default is enabled if CONFIG_HOTPLUG_PARALLEL=y. Otherwise
870 the parameter has no effect.
871
389cfd96
RD
872 crash_kexec_post_notifiers
873 Run kdump after running panic-notifiers and dumping
874 kmsg. This only for the users who doubt kdump always
875 succeeds in any situation.
876 Note that this also increases risks of kdump failure,
877 because some panic notifiers can make the crashed
878 kernel more unstable.
1da177e4 879
6f21e646 880 crashkernel=size[KMG][@offset[KMG]]
60071659 881 [KNL,EARLY] Using kexec, Linux can switch to a 'crash kernel'
6f21e646
AD
882 upon panic. This parameter reserves the physical
883 memory region [offset, offset + size] for that kernel
884 image. If '@offset' is omitted, then a suitable offset
b9ac3849 885 is selected automatically.
78de91b4
YT
886 [KNL, X86-64, ARM64, RISCV, LoongArch] Select a region
887 under 4G first, and fall back to reserve region above
888 4G when '@offset' hasn't been specified.
330d4810 889 See Documentation/admin-guide/kdump/kdump.rst for further details.
dc009d92 890
fb391599
BW
891 crashkernel=range1:size1[,range2:size2,...][@offset]
892 [KNL] Same as above, but depends on the memory
893 in the running system. The syntax of range is
894 start-[end] where start and end are both
895 a memory unit (amount[KMG]). See also
330d4810 896 Documentation/admin-guide/kdump/kdump.rst for an example.
fb391599 897
adbc742b 898 crashkernel=size[KMG],high
78de91b4
YT
899 [KNL, X86-64, ARM64, RISCV, LoongArch] range could be
900 above 4G.
33f0dd97
CJ
901 Allow kernel to allocate physical memory region from top,
902 so could be above 4G if system have more than 4G ram
903 installed. Otherwise memory region will be allocated
904 below 4G, if available.
55a20ee7 905 It will be ignored if crashkernel=X is specified.
adbc742b 906 crashkernel=size[KMG],low
78de91b4
YT
907 [KNL, X86-64, ARM64, RISCV, LoongArch] range under 4G.
908 When crashkernel=X,high is passed, kernel could allocate
909 physical memory region above 4G, that cause second kernel
910 crash on system that require some amount of low memory,
911 e.g. swiotlb requires at least 64M+32K low memory, also
912 enough extra low memory is needed to make sure DMA buffers
913 for 32-bit devices won't run out. Kernel would try to allocate
a149cf00
ZL
914 default size of memory below 4G automatically. The default
915 size is platform dependent.
916 --> x86: max(swiotlb_size_or_default() + 8MiB, 256MiB)
917 --> arm64: 128MiB
33f0dd97 918 --> riscv: 128MiB
78de91b4 919 --> loongarch: 128MiB
8f0f104e 920 This one lets the user specify own low range under 4G
c729de8f
YL
921 for second kernel instead.
922 0: to disable low allocation.
adbc742b 923 It will be ignored when crashkernel=X,high is not used
55a20ee7 924 or memory reserved is below 4G.
c729de8f 925
9e5c9fe4 926 cryptomgr.notests
6dddd7a7 927 [KNL] Disable crypto self-tests
9e5c9fe4 928
1da177e4
LT
929 cs89x0_dma= [HW,NET]
930 Format: <dma>
931
932 cs89x0_media= [HW,NET]
933 Format: { rj45 | aui | bnc }
a9913044 934
203e4358
PM
935 csdlock_debug= [KNL] Enable or disable debug add-ons of cross-CPU
936 function call handling. When switched on,
937 additional debug data is printed to the console
938 in case a hanging CPU is detected, and that
939 CPU is pinged again in order to try to resolve
940 the hang situation. The default value of this
941 option depends on the CSD_LOCK_WAIT_DEBUG_DEFAULT
c5219860 942 Kconfig option.
8d0968cc 943
a9913044 944 dasd= [HW,NET]
1da177e4
LT
945 See header of drivers/s390/block/dasd_devmap.c.
946
947 db9.dev[2|3]= [HW,JOY] Multisystem joystick support via parallel port
948 (one device per port)
949 Format: <port#>,<type>
1752118d 950 See also Documentation/input/devices/joystick-parport.rst
1da177e4 951
60071659 952 debug [KNL,EARLY] Enable kernel debugging (events log level).
1da177e4 953
3672476e 954 debug_boot_weak_hash
60071659 955 [KNL,EARLY] Enable printing [hashed] pointers early in the
3672476e
TH
956 boot sequence. If enabled, we use a weak hash instead
957 of siphash to hash pointers. Use this option if you are
958 seeing instances of '(___ptrval___)') and need to see a
959 value (hashed pointer) instead. Cryptographically
960 insecure, please do not use on production kernels.
961
cae2ed9a 962 debug_locks_verbose=
5831c0f7
PZ
963 [KNL] verbose locking self-tests
964 Format: <int>
cae2ed9a
IM
965 Print debugging info while doing the locking API
966 self-tests.
5831c0f7
PZ
967 Bitmask for the various LOCKTYPE_ tests. Defaults to 0
968 (no extra messages), setting it to -1 (all bits set)
969 will print _a_lot_ more information - normally only
970 useful to lockdep developers.
cae2ed9a 971
60071659 972 debug_objects [KNL,EARLY] Enable object debugging
3ac7fe5a 973
c0a32fc5 974 debug_guardpage_minorder=
60071659 975 [KNL,EARLY] When CONFIG_DEBUG_PAGEALLOC is set, this
c0a32fc5
SG
976 parameter allows control of the order of pages that will
977 be intentionally kept free (and hence protected) by the
978 buddy allocator. Bigger value increase the probability
979 of catching random memory corruption, but reduce the
980 amount of memory for normal system use. The maximum
5e0a760b
KS
981 possible value is MAX_PAGE_ORDER/2. Setting this
982 parameter to 1 or 2 should be enough to identify most
983 random memory corruption problems caused by bugs in
984 kernel or driver code when a CPU writes to (or reads
985 from) a random memory location. Note that there exists
986 a class of memory corruptions problems caused by buggy
987 H/W or F/W or by drivers badly programming DMA
988 (basically when memory is written at bus level and the
989 CPU MMU is bypassed) which are not detectable by
990 CONFIG_DEBUG_PAGEALLOC, hence this option will not
991 help tracking down these problems.
c0a32fc5 992
031bc574 993 debug_pagealloc=
60071659 994 [KNL,EARLY] When CONFIG_DEBUG_PAGEALLOC is set, this parameter
3972f6bb
VB
995 enables the feature at boot time. By default, it is
996 disabled and the system will work mostly the same as a
997 kernel built without CONFIG_DEBUG_PAGEALLOC.
8974558f
VB
998 Note: to get most of debug_pagealloc error reports, it's
999 useful to also enable the page_owner functionality.
031bc574
JK
1000 on: enable the feature
1001
60071659
PM
1002 debugfs= [KNL,EARLY] This parameter enables what is exposed to
1003 userspace and debugfs internal clients.
a24c6f7b
PE
1004 Format: { on, no-mount, off }
1005 on: All functions are enabled.
1006 no-mount:
1007 Filesystem is not registered but kernel clients can
1008 access APIs and a crashkernel can be used to read
1009 its content. There is nothing to mount.
1010 off: Filesystem is not registered and clients
1011 get a -EPERM as result when trying to register files
1012 or directories within debugfs.
1013 This is equivalent of the runtime functionality if
1014 debugfs was not enabled in the kernel at all.
1015 Default value is set in build-time with a kernel configuration.
1016
d3af01f1
TG
1017 debugpat [X86] Enable PAT debugging
1018
0cb55ad2 1019 default_hugepagesz=
282f4214
MK
1020 [HW] The size of the default HugeTLB page. This is
1021 the size represented by the legacy /proc/ hugepages
1022 APIs. In addition, this is the default hugetlb size
1023 used for shmget(), mmap() and mounting hugetlbfs
1024 filesystems. If not specified, defaults to the
1025 architecture's default huge page size. Huge page
1026 sizes are architecture dependent. See also
1027 Documentation/admin-guide/mm/hugetlbpage.rst.
1028 Format: size[KMG]
55ff9780 1029
25b4e70d
RH
1030 deferred_probe_timeout=
1031 [KNL] Debugging option to set a timeout in seconds for
1032 deferred probe to give up waiting on dependencies to
1033 probe. Only specific dependencies (subsystems or
2b28a1a8
SK
1034 drivers) that have opted in will be ignored. A timeout
1035 of 0 will timeout at the end of initcalls. If the time
1036 out hasn't expired, it'll be restarted by each
1037 successful driver registration. This option will also
25b4e70d
RH
1038 dump out devices still on the deferred probe list after
1039 retrying.
1040
d2fc83c1
RD
1041 delayacct [KNL] Enable per-task delay accounting
1042
1b089084
AW
1043 dell_smm_hwmon.ignore_dmi=
1044 [HW] Continue probing hardware even if DMI data
1045 indicates that the driver is running on unsupported
1046 hardware.
1047
1048 dell_smm_hwmon.force=
1049 [HW] Activate driver even if SMM BIOS signature does
1050 not match list of supported models and enable otherwise
1051 blacklisted features.
1052
1053 dell_smm_hwmon.power_status=
1054 [HW] Report power status in /proc/i8k
1055 (disabled by default).
1056
1057 dell_smm_hwmon.restricted=
1058 [HW] Allow controlling fans only if SYS_ADMIN
1059 capability is set.
1060
99fdc587
AW
1061 dell_smm_hwmon.fan_mult=
1062 [HW] Factor to multiply fan speed with.
1063
1064 dell_smm_hwmon.fan_max=
1065 [HW] Maximum configurable fan speed.
1066
c65e6815
MZ
1067 dfltcc= [HW,S390]
1068 Format: { on | off | def_only | inf_only | always }
1069 on: s390 zlib hardware support for compression on
1070 level 1 and decompression (default)
1071 off: No s390 zlib hardware support
1072 def_only: s390 zlib hardware support for deflate
1073 only (compression on level 1)
1074 inf_only: s390 zlib hardware support for inflate
1075 only (decompression)
1076 always: Same as 'on' but ignores the selected compression
1077 level always using hardware support (used for debugging)
1078
1da177e4
LT
1079 dhash_entries= [KNL]
1080 Set number of hash buckets for dentry cache.
a9913044 1081
60071659 1082 disable_1tb_segments [PPC,EARLY]
faf78829
OH
1083 Disables the use of 1TB hash page table segments. This
1084 causes the kernel to fall back to 256MB segments which
1085 can be useful when debugging issues that require an SLB
1086 miss to occur.
1087
b0f83b28 1088 disable= [IPV6]
19093313 1089 See Documentation/networking/ipv6.rst.
b0f83b28 1090
60071659 1091 disable_radix [PPC,EARLY]
b275bfb2
AK
1092 Disable RADIX MMU mode on POWER9
1093
2275d7b5
NP
1094 disable_tlbie [PPC]
1095 Disable TLBIE instruction. Currently does not work
1096 with KVM, with HASH MMU, or with coherent accelerators.
1097
60071659 1098 disable_ddw [PPC/PSERIES,EARLY]
255bf90f 1099 Disable Dynamic DMA Window support. Use this
4e8b0cf4
NA
1100 to workaround buggy firmware.
1101
b0f83b28 1102 disable_ipv6= [IPV6]
19093313 1103 See Documentation/networking/ipv6.rst.
b0f83b28 1104
60071659 1105 disable_mtrr_cleanup [X86,EARLY]
95ffa243
YL
1106 The kernel tries to adjust MTRR layout from continuous
1107 to discrete, to make X server driver able to add WB
0cb55ad2 1108 entry later. This parameter disables that.
95ffa243 1109
60071659 1110 disable_mtrr_trim [X86, Intel and AMD only,EARLY]
99fc8d42
JB
1111 By default the kernel will trim any uncacheable
1112 memory out of your available memory pool based on
1113 MTRR settings. This parameter disables that behavior,
1114 possibly causing your machine to run very slowly.
1115
60071659 1116 disable_timer_pin_1 [X86,EARLY]
0cb55ad2
RD
1117 Disable PIN 1 of APIC timer
1118 Can be useful to work around chipset bugs.
1119
ce14c583
PB
1120 dis_ucode_ldr [X86] Disable the microcode loader.
1121
0cb55ad2
RD
1122 dma_debug=off If the kernel is compiled with DMA_API_DEBUG support,
1123 this option disables the debugging code at boot.
1124
1125 dma_debug_entries=<number>
1126 This option allows to tune the number of preallocated
1127 entries for DMA-API debugging code. One entry is
1128 required per DMA-API allocation. Use this if the
1129 DMA-API debugging code disables itself because the
1130 architectural default is too low.
1131
1745de5e
JR
1132 dma_debug_driver=<driver_name>
1133 With this option the DMA-API debugging driver
1134 filter feature can be enabled at boot time. Just
1135 pass the driver to filter for as the parameter.
1136 The filter can be disabled or changed to another
1137 driver later using sysfs.
1138
1ea61b68 1139 driver_async_probe= [KNL]
f79f662e
SK
1140 List of driver names to be probed asynchronously. *
1141 matches with all driver names. If * is specified, the
1142 rest of the listed driver names are those that will NOT
1143 match the *.
1ea61b68
FT
1144 Format: <driver_name1>,<driver_name2>...
1145
53fd40a9 1146 drm.edid_firmware=[<connector>:]<file>[,[<connector>:]<file>]
96206e29
BP
1147 Broken monitors, graphic adapters, KVMs and EDIDless
1148 panels may send no or incorrect EDID data sets.
1149 This parameter allows to specify an EDID data sets
1150 in the /lib/firmware directory that are used instead.
da0df92b
CE
1151 Generic built-in EDID data sets are used, if one of
1152 edid/1024x768.bin, edid/1280x1024.bin,
1153 edid/1680x1050.bin, or edid/1920x1080.bin is given
1154 and no file with the same name exists. Details and
1155 instructions how to build your own EDID data are
cd4ca341 1156 available in Documentation/admin-guide/edid.rst. An EDID
da0df92b
CE
1157 data set will only be used for a particular connector,
1158 if its name and a colon are prepended to the EDID
96206e29
BP
1159 name. Each connector may use a unique EDID data
1160 set by separating the files with a comma. An EDID
1161 data set with no connector name will be used for
1162 any connectors not explicitly specified.
da0df92b 1163
1da177e4
LT
1164 dscc4.setup= [NET]
1165
60071659 1166 dt_cpu_ftrs= [PPC,EARLY]
a2b05b7a
NP
1167 Format: {"off" | "known"}
1168 Control how the dt_cpu_ftrs device-tree binding is
1169 used for CPU feature discovery and setup (if it
1170 exists).
1171 off: Do not use it, fall back to legacy cpu table.
1172 known: Do not pass through unknown features to guests
1173 or userspace, only those that the kernel is aware of.
1174
58c5475a
LW
1175 dump_apple_properties [X86]
1176 Dump name and content of EFI device properties on
1177 x86 Macs. Useful for driver authors to determine
1178 what data is available or for reverse-engineering.
1179
29e36c9f 1180 dyndbg[="val"] [KNL,DYNAMIC_DEBUG]
307e3ee9 1181 <module>.dyndbg[="val"]
29e36c9f 1182 Enable debug messages at boot time. See
787e3075
SM
1183 Documentation/admin-guide/dynamic-debug-howto.rst
1184 for details.
29e36c9f 1185
60071659 1186 early_ioremap_debug [KNL,EARLY]
56aeeba8
MS
1187 Enable debug messages in early_ioremap support. This
1188 is useful for tracking down temporary early mappings
1189 which are not unmapped.
1190
60071659 1191 earlycon= [KNL,EARLY] Output early console device and options.
0d3c673e 1192
e18409c0
CH
1193 When used with no options, the early console is
1194 determined by stdout-path property in device tree's
1195 chosen node or the ACPI SPCR table if supported by
1196 the platform.
5664f764 1197
c41251b1
ST
1198 cdns,<addr>[,options]
1199 Start an early, polled-mode console on a Cadence
1200 (xuartps) serial port at the specified address. Only
1201 supported option is baud rate. If baud rate is not
1202 specified, the serial port must already be setup and
1203 configured.
6fa62fc4 1204
374b30f2
RR
1205 uart[8250],io,<addr>[,options[,uartclk]]
1206 uart[8250],mmio,<addr>[,options[,uartclk]]
1207 uart[8250],mmio32,<addr>[,options[,uartclk]]
1208 uart[8250],mmio32be,<addr>[,options[,uartclk]]
ca782f16 1209 uart[8250],0x<addr>[,options]
0cb55ad2
RD
1210 Start an early, polled-mode console on the 8250/16550
1211 UART at the specified I/O port or MMIO address.
16290246 1212 MMIO inter-register address stride is either 8-bit
6e63be3f
NC
1213 (mmio) or 32-bit (mmio32 or mmio32be).
1214 If none of [io|mmio|mmio32|mmio32be], <addr> is assumed
1215 to be equivalent to 'mmio'. 'options' are specified
1216 in the same format described for "console=ttyS<n>"; if
374b30f2
RR
1217 unspecified, the h/w is not initialized. 'uartclk' is
1218 the uart clock frequency; if unspecified, it is set
1219 to 'BASE_BAUD' * 16.
0cb55ad2 1220
0d3c673e 1221 pl011,<addr>
3b78fae7 1222 pl011,mmio32,<addr>
0d3c673e
RH
1223 Start an early, polled-mode console on a pl011 serial
1224 port at the specified address. The pl011 serial port
1225 must already be setup and configured. Options are not
3b78fae7
TT
1226 yet supported. If 'mmio32' is specified, then only
1227 the driver will use only 32-bit accessors to read/write
1228 the device registers.
0d3c673e 1229
4bc2bd5a
SH
1230 liteuart,<addr>
1231 Start an early console on a litex serial port at the
1232 specified address. The serial port must already be
1233 setup and configured. Options are not yet supported.
1234
736d5538
AF
1235 meson,<addr>
1236 Start an early, polled-mode console on a meson serial
1237 port at the specified address. The serial port must
1238 already be setup and configured. Options are not yet
1239 supported.
1240
0efe7296
SB
1241 msm_serial,<addr>
1242 Start an early, polled-mode console on an msm serial
1243 port at the specified address. The serial port
1244 must already be setup and configured. Options are not
1245 yet supported.
1246
1247 msm_serial_dm,<addr>
1248 Start an early, polled-mode console on an msm serial
1249 dm port at the specified address. The serial port
1250 must already be setup and configured. Options are not
1251 yet supported.
1252
e36361d7
AF
1253 owl,<addr>
1254 Start an early, polled-mode console on a serial port
1255 of an Actions Semi SoC, such as S500 or S900, at the
1256 specified address. The serial port must already be
1257 setup and configured. Options are not yet supported.
1258
c10b1332
MS
1259 rda,<addr>
1260 Start an early, polled-mode console on a serial port
1261 of an RDA Micro SoC, such as RDA8810PL, at the
1262 specified address. The serial port must already be
e36361d7
AF
1263 setup and configured. Options are not yet supported.
1264
82f12ab3
PD
1265 sbi
1266 Use RISC-V SBI (Supervisor Binary Interface) for early
1267 console.
1268
d50d7269
RH
1269 smh Use ARM semihosting calls for early console.
1270
b94ba032
TF
1271 s3c2410,<addr>
1272 s3c2412,<addr>
1273 s3c2440,<addr>
1274 s3c6400,<addr>
1275 s5pv210,<addr>
1276 exynos4210,<addr>
1277 Use early console provided by serial driver available
1278 on Samsung SoCs, requires selecting proper type and
1279 a correct base address of the selected UART port. The
1280 serial port must already be setup and configured.
1281 Options are not yet supported.
1282
ec84aa0a
MB
1283 lantiq,<addr>
1284 Start an early, polled-mode console on a lantiq serial
1285 (lqasc) port at the specified address. The serial port
1286 must already be setup and configured. Options are not
1287 yet supported.
1288
1d59b382
SA
1289 lpuart,<addr>
1290 lpuart32,<addr>
1291 Use early console provided by Freescale LP UART driver
1292 found on Freescale Vybrid and QorIQ LS1021A processors.
1293 A valid base address must be provided, and the serial
1294 port must already be setup and configured.
1295
7fe068db
JN
1296 ec_imx21,<addr>
1297 ec_imx6q,<addr>
1298 Start an early, polled-mode, output-only console on the
1299 Freescale i.MX UART at the specified address. The UART
1300 must already be setup and configured.
1301
f7c864e7 1302 ar3700_uart,<addr>
30530791
WD
1303 Start an early, polled-mode console on the
1304 Armada 3700 serial port at the specified
1305 address. The serial port must already be setup
1306 and configured. Options are not yet supported.
1307
43f1831b
KR
1308 qcom_geni,<addr>
1309 Start an early, polled-mode console on a Qualcomm
1310 Generic Interface (GENI) based serial port at the
1311 specified address. The serial port must already be
1312 setup and configured. Options are not yet supported.
1313
69c1f396
AB
1314 efifb,[options]
1315 Start an early, unaccelerated console on the EFI
1316 memory mapped framebuffer (if available). On cache
1317 coherent non-x86 systems that use system memory for
1318 the framebuffer, pass the 'ram' option so that it is
1319 mapped with the correct attributes.
1320
09864c1c 1321 linflex,<addr>
9905f32a 1322 Use early console provided by Freescale LINFlexD UART
09864c1c
SM
1323 serial driver for NXP S32V234 SoCs. A valid base
1324 address must be provided, and the serial port must
1325 already be setup and configured.
1326
60071659 1327 earlyprintk= [X86,SH,ARM,M68k,S390,UM,EARLY]
1da177e4 1328 earlyprintk=vga
89175cf7 1329 earlyprintk=sclp
2482a92e 1330 earlyprintk=xen
1da177e4 1331 earlyprintk=serial[,ttySn[,baudrate]]
147ea091 1332 earlyprintk=serial[,0x...[,baudrate]]
ea3acb19 1333 earlyprintk=ttySn[,baudrate]
9780bc41 1334 earlyprintk=dbgp[debugController#]
d2266bbf 1335 earlyprintk=pciserial[,force],bus:device.function[,baudrate]
1b5aeebf 1336 earlyprintk=xdbc[xhciController#]
78a96c86 1337 earlyprintk=bios
1da177e4 1338
147ea091
DH
1339 earlyprintk is useful when the kernel crashes before
1340 the normal console is initialized. It is not enabled by
1341 default because it has some cosmetic problems.
1342
a9913044 1343 Append ",keep" to not disable it when the real console
1da177e4
LT
1344 takes over.
1345
82850028 1346 Only one of vga, serial, or usb debug port can
72548e83 1347 be used at a time.
1da177e4 1348
147ea091
DH
1349 Currently only ttyS0 and ttyS1 may be specified by
1350 name. Other I/O ports may be explicitly specified
1351 on some architectures (x86 and arm at least) by
1352 replacing ttySn with an I/O port address, like this:
1353 earlyprintk=serial,0x1008,115200
1354 You can find the port for a given device in
1355 /proc/tty/driver/serial:
1356 2: uart:ST16650V2 port:00001008 irq:18 ...
1da177e4
LT
1357
1358 Interaction with the standard serial driver is not
1359 very good.
1360
82850028 1361 The VGA output is eventually overwritten by
72548e83 1362 the real console.
1da177e4 1363
42bc9716 1364 The xen option can only be used in Xen domains.
2482a92e 1365
89175cf7
HC
1366 The sclp output can only be used on s390.
1367
78a96c86
GU
1368 The bios output can only be used on SuperH.
1369
d2266bbf
FT
1370 The optional "force" to "pciserial" enables use of a
1371 PCI device even when its classcode is not of the
1372 UART class.
1373
c700f013
CG
1374 edac_report= [HW,EDAC] Control how to report EDAC event
1375 Format: {"on" | "off" | "force"}
1376 on: enable EDAC to report H/W event. May be overridden
1377 by other higher priority error reporting module.
1378 off: disable H/W event reporting through EDAC.
1379 force: enforce the use of EDAC to report H/W event.
1380 default: on.
1381
1da177e4 1382 edd= [EDD]
8c4dd606 1383 Format: {"off" | "on" | "skip[mbr]"}
1da177e4 1384
60071659 1385 efi= [EFI,EARLY]
c03f739f
HS
1386 Format: { "debug", "disable_early_pci_dma",
1387 "nochunk", "noruntime", "nosoftreserve",
fb1201ae 1388 "novamap", "no_disable_early_pci_dma" }
c03f739f
HS
1389 debug: enable misc debug output.
1390 disable_early_pci_dma: disable the busmaster bit on all
1391 PCI bridges while in the EFI boot stub.
5a17dae4
MF
1392 nochunk: disable reading files in "chunks" in the EFI
1393 boot stub, as chunking can cause problems with some
1394 firmware implementations.
5ae3683c 1395 noruntime : disable EFI runtime services support
b617c526
DW
1396 nosoftreserve: The EFI_MEMORY_SP (Specific Purpose)
1397 attribute may cause the kernel to reserve the
1398 memory range for a memory mapping driver to
1399 claim. Specify efi=nosoftreserve to disable this
1400 reservation and treat the memory by its base type
1401 (i.e. EFI_CONVENTIONAL_MEMORY / "System RAM").
c03f739f 1402 novamap: do not call SetVirtualAddressMap().
4444f854
MG
1403 no_disable_early_pci_dma: Leave the busmaster bit set
1404 on all PCI bridges while in the EFI boot stub
d2f7cbe7 1405
60071659 1406 efi_no_storage_paranoia [EFI,X86,EARLY]
8c58bf3e
RW
1407 Using this parameter you can use more than 50% of
1408 your efi variable storage. Use this parameter only if
1409 you are really sure that your UEFI does sane gc and
1410 fulfills the spec otherwise your board may brick.
1411
60071659 1412 efi_fake_mem= nn[KMG]@ss[KMG]:aa[,nn[KMG]@ss[KMG]:aa,..] [EFI,X86,EARLY]
0f96a99d
TI
1413 Add arbitrary attribute to specific memory range by
1414 updating original EFI memory map.
1415 Region of memory which aa attribute is added to is
1416 from ss to ss+nn.
199c8471 1417
0f96a99d
TI
1418 If efi_fake_mem=2G@4G:0x10000,2G@0x10a0000000:0x10000
1419 is specified, EFI_MEMORY_MORE_RELIABLE(0x10000)
1420 attribute is added to range 0x100000000-0x180000000 and
1421 0x10a0000000-0x1120000000.
1422
199c8471
DW
1423 If efi_fake_mem=8G@9G:0x40000 is specified, the
1424 EFI_MEMORY_SP(0x40000) attribute is added to
1425 range 0x240000000-0x43fffffff.
1426
0f96a99d 1427 Using this parameter you can do debugging of EFI memmap
199c8471 1428 related features. For example, you can do debugging of
0f96a99d 1429 Address Range Mirroring feature even if your box
199c8471
DW
1430 doesn't support it, or mark specific memory as
1431 "soft reserved".
0f96a99d 1432
475fb4e8
OP
1433 efivar_ssdt= [EFI; X86] Name of an EFI variable that contains an SSDT
1434 that is to be dynamically loaded by Linux. If there are
1435 multiple variables with the same name but with different
1436 vendor GUIDs, all of them will be loaded. See
cb1aaebe 1437 Documentation/admin-guide/acpi/ssdt-overlays.rst for details.
475fb4e8
OP
1438
1439
1da177e4
LT
1440 eisa_irq_edge= [PARISC,HW]
1441 See header of drivers/parisc/eisa.c.
1442
60071659 1443 ekgdboc= [X86,KGDB,EARLY] Allow early kernel console debugging
d2fc83c1
RD
1444 Format: ekgdboc=kbd
1445
1446 This is designed to be used in conjunction with
1447 the boot argument: earlyprintk=vga
1448
1449 This parameter works in place of the kgdboc parameter
1450 but can only be used if the backing tty is available
1451 very early in the boot process. For early debugging
1452 via a serial port see kgdboc_earlycon instead.
1453
cd4f0ef7 1454 elanfreq= [X86-32]
1da177e4 1455 See comment before function elanfreq_setup() in
71f77055 1456 arch/x86/kernel/cpu/cpufreq/elanfreq.c.
1da177e4 1457
60071659 1458 elfcorehdr=[size[KMG]@]offset[KMG] [PPC,SH,X86,S390,EARLY]
a9913044 1459 Specifies physical address of start of kernel core
d3bf3795
MH
1460 image elf header and optionally the size. Generally
1461 kexec loader will pass this option to capture kernel.
330d4810 1462 See Documentation/admin-guide/kdump/kdump.rst for details.
1da177e4 1463
60071659 1464 enable_mtrr_cleanup [X86,EARLY]
0cb55ad2
RD
1465 The kernel tries to adjust MTRR layout from continuous
1466 to discrete, to make X server driver able to add WB
1467 entry later. This parameter enables that.
1468
ca1eda2d 1469 enable_timer_pin_1 [X86]
0cb55ad2
RD
1470 Enable PIN 1 of APIC timer
1471 Can be useful to work around chipset bugs
1472 (in particular on some ATI chipsets).
1473 The kernel tries to set a reasonable default.
1474
8d6d51ed 1475 enforcing= [SELINUX] Set initial enforcing status.
1da177e4
LT
1476 Format: {"0" | "1"}
1477 See security/selinux/Kconfig help text.
1478 0 -- permissive (log only, no denials).
1479 1 -- enforcing (deny and log).
1480 Default value is 0.
d41415eb
SS
1481 Value can be changed at runtime via
1482 /sys/fs/selinux/enforce.
1da177e4 1483
a08f82d0
HY
1484 erst_disable [ACPI]
1485 Disable Error Record Serialization Table (ERST)
1486 support.
1487
1da177e4
LT
1488 ether= [HW,NET] Ethernet cards parameters
1489 This option is obsoleted by the "netdev=" option, which
1490 has equivalent usage. See its documentation for details.
1491
7102ebcd
MZ
1492 evm= [EVM]
1493 Format: { "fix" }
1494 Permit 'security.evm' to be updated regardless of
1495 current integrity status.
1496
60071659 1497 early_page_ext [KNL,EARLY] Enforces page_ext initialization to earlier
c4f20f14
LZ
1498 stages so cover more early boot allocations.
1499 Please note that as side effect some optimizations
1500 might be disabled to achieve that (e.g. parallelized
1501 memory initialization is disabled) so the boot process
1502 might take longer, especially on systems with a lot of
1503 memory. Available with CONFIG_PAGE_EXTENSION=y.
1504
de1ba09b 1505 failslab=
2c739ced 1506 fail_usercopy=
de1ba09b
AM
1507 fail_page_alloc=
1508 fail_make_request=[KNL]
1509 General fault injection mechanism.
1510 Format: <interval>,<probability>,<space>,<times>
395cf969 1511 See also Documentation/fault-injection/.
de1ba09b 1512
316cdaa1
MB
1513 fb_tunnels= [NET]
1514 Format: { initns | none }
1515 See Documentation/admin-guide/sysctl/net.rst for
1516 fb_tunnels_only_for_init_ns
1517
1da177e4 1518 floppy= [HW]
e7751617 1519 See Documentation/admin-guide/blockdev/floppy.rst.
1da177e4 1520
6dddd7a7 1521 forcepae [X86-32]
69f2366c
CB
1522 Forcefully enable Physical Address Extension (PAE).
1523 Many Pentium M systems disable PAE but may have a
1524 functionally usable PAE implementation.
1525 Warning: use of this parameter will taint the kernel
1526 and may cause unknown problems.
1527
3810da12
XL
1528 fred= [X86-64]
1529 Enable/disable Flexible Return and Event Delivery.
1530 Format: { on | off }
1531 on: enable FRED when it's present.
1532 off: disable FRED, the default setting.
1533
d9e54076 1534 ftrace=[tracer]
2af15d6a 1535 [FTRACE] will set and start the specified tracer
d9e54076
PZ
1536 as early as possible in order to facilitate early
1537 boot debugging.
1538
380af29b
SRG
1539 ftrace_boot_snapshot
1540 [FTRACE] On boot up, a snapshot will be taken of the
1541 ftrace ring buffer that can be read at:
1542 /sys/kernel/tracing/snapshot.
1543 This is useful if you need tracing information from kernel
1544 boot up that is likely to be overridden by user space
1545 start up functionality.
1546
9c1c251d
SRG
1547 Optionally, the snapshot can also be defined for a tracing
1548 instance that was created by the trace_instance= command
1549 line parameter.
1550
1551 trace_instance=foo,sched_switch ftrace_boot_snapshot=foo
1552
1553 The above will cause the "foo" tracing instance to trigger
1554 a snapshot at the end of boot up.
1555
cecbca96 1556 ftrace_dump_on_oops[=orig_cpu]
2af15d6a 1557 [FTRACE] will dump the trace buffers on oops.
cecbca96
FW
1558 If no parameter is passed, ftrace will dump
1559 buffers of all CPUs, but if you pass orig_cpu, it will
1560 dump only the buffer of the CPU that triggered the
1561 oops.
2af15d6a
SR
1562
1563 ftrace_filter=[function-list]
1564 [FTRACE] Limit the functions traced by the function
25942e5e 1565 tracer at boot up. function-list is a comma-separated
2af15d6a
SR
1566 list of functions. This list can be changed at run
1567 time by the set_ftrace_filter file in the debugfs
16290246 1568 tracing directory.
2af15d6a
SR
1569
1570 ftrace_notrace=[function-list]
1571 [FTRACE] Do not trace the functions specified in
1572 function-list. This list can be changed at run time
1573 by the set_ftrace_notrace file in the debugfs
1574 tracing directory.
d9e54076 1575
369bc18f
SA
1576 ftrace_graph_filter=[function-list]
1577 [FTRACE] Limit the top level callers functions traced
1578 by the function graph tracer at boot up.
25942e5e 1579 function-list is a comma-separated list of functions
369bc18f
SA
1580 that can be changed at run time by the
1581 set_graph_function file in the debugfs tracing directory.
1582
0d7d9a16
NK
1583 ftrace_graph_notrace=[function-list]
1584 [FTRACE] Do not trace from the functions specified in
25942e5e 1585 function-list. This list is a comma-separated list of
0d7d9a16
NK
1586 functions that can be changed at run time by the
1587 set_graph_notrace file in the debugfs tracing directory.
1588
65a50c65
TB
1589 ftrace_graph_max_depth=<uint>
1590 [FTRACE] Used with the function graph tracer. This is
1591 the max depth it will trace into a function. This value
1592 can be changed at run time by the max_graph_depth file
1593 in the tracefs tracing directory. default: 0 (no limit)
1594
60071659 1595 fw_devlink= [KNL,EARLY] Create device links between consumer and supplier
8375e74f
SK
1596 devices by scanning the firmware to infer the
1597 consumer/supplier relationships. This feature is
1598 especially useful when drivers are loaded as modules as
1599 it ensures proper ordering of tasks like device probing
1600 (suppliers first, then consumers), supplier boot state
1601 clean up (only after all consumers have probed),
1602 suspend/resume & runtime PM (consumers first, then
1603 suppliers).
1604 Format: { off | permissive | on | rpm }
1605 off -- Don't create device links from firmware info.
1606 permissive -- Create device links from firmware info
1607 but use it only for ordering boot state clean
1608 up (sync_state() calls).
1609 on -- Create device links from firmware info and use it
1610 to enforce probe and suspend/resume ordering.
1611 rpm -- Like "on", but also use to order runtime PM.
1612
19d0f5f6 1613 fw_devlink.strict=<bool>
60071659 1614 [KNL,EARLY] Treat all inferred dependencies as mandatory
19d0f5f6
SK
1615 dependencies. This only applies for fw_devlink=on|rpm.
1616 Format: <bool>
1617
ffbe08a8 1618 fw_devlink.sync_state =
60071659 1619 [KNL,EARLY] When all devices that could probe have finished
ffbe08a8
SK
1620 probing, this parameter controls what to do with
1621 devices that haven't yet received their sync_state()
1622 calls.
1623 Format: { strict | timeout }
1624 strict -- Default. Continue waiting on consumers to
1625 probe successfully.
1626 timeout -- Give up waiting on consumers and call
1627 sync_state() on any devices that haven't yet
1628 received their sync_state() calls after
1629 deferred_probe_timeout has expired or by
1630 late_initcall() if !CONFIG_MODULES.
1631
1da177e4
LT
1632 gamecon.map[2|3]=
1633 [HW,JOY] Multisystem joystick and NES/SNES/PSX pad
1634 support via parallel port (up to 5 devices per port)
1635 Format: <port#>,<pad1>,<pad2>,<pad3>,<pad4>,<pad5>
1752118d 1636 See also Documentation/input/devices/joystick-parport.rst
1da177e4
LT
1637
1638 gamma= [HW,DRM]
1639
60071659 1640 gart_fix_e820= [X86-64,EARLY] disable the fix e820 for K8 GART
aaf23042
YL
1641 Format: off | on
1642 default: on
1643
8974eb58 1644 gather_data_sampling=
60071659 1645 [X86,INTEL,EARLY] Control the Gather Data Sampling (GDS)
8974eb58
DS
1646 mitigation.
1647
1648 Gather Data Sampling is a hardware vulnerability which
1649 allows unprivileged speculative access to data which was
1650 previously stored in vector registers.
1651
1652 This issue is mitigated by default in updated microcode.
1653 The mitigation may have a performance impact but can be
553a5c03
DS
1654 disabled. On systems without the microcode mitigation
1655 disabling AVX serves as a mitigation.
1656
1657 force: Disable AVX to mitigate systems without
1658 microcode mitigation. No effect if the microcode
1659 mitigation is present. Known to cause crashes in
1660 userspace with buggy AVX enumeration.
8974eb58
DS
1661
1662 off: Disable GDS mitigation.
1663
2521f2c2
PO
1664 gcov_persist= [GCOV] When non-zero (default), profiling data for
1665 kernel modules is saved and remains accessible via
1666 debugfs, even when the module is unloaded/reloaded.
1667 When zero, profiling data is discarded and associated
1668 debugfs files are removed at module unload time.
1669
47512cfd
TG
1670 goldfish [X86] Enable the goldfish android emulator platform.
1671 Don't use this when you are not running on the
1672 android emulator
1673
3eb52226
AD
1674 gpio-mockup.gpio_mockup_ranges
1675 [HW] Sets the ranges of gpiochip of for this device.
1676 Format: <start1>,<end1>,<start2>,<end2>...
6984a320
AD
1677 gpio-mockup.gpio_mockup_named_lines
1678 [HW] Let the driver know GPIO lines should be named.
3eb52226 1679
1da177e4 1680 gpt [EFI] Forces disk with valid GPT signature but
6c5de79b
DB
1681 invalid Protective MBR to be treated as GPT. If the
1682 primary GPT is corrupted, it enables the backup/alternate
1683 GPT to be used instead.
1da177e4 1684
6cec9b07
AL
1685 grcan.enable0= [HW] Configuration of physical interface 0. Determines
1686 the "Enable 0" bit of the configuration register.
1687 Format: 0 | 1
1688 Default: 0
1689 grcan.enable1= [HW] Configuration of physical interface 1. Determines
1690 the "Enable 0" bit of the configuration register.
1691 Format: 0 | 1
1692 Default: 0
1693 grcan.select= [HW] Select which physical interface to use.
1694 Format: 0 | 1
1695 Default: 0
1696 grcan.txsize= [HW] Sets the size of the tx buffer.
1697 Format: <unsigned int> such that (txsize & ~0x1fffc0) == 0.
1698 Default: 1024
1699 grcan.rxsize= [HW] Sets the size of the rx buffer.
1700 Format: <unsigned int> such that (rxsize & ~0x1fffc0) == 0.
1701 Default: 1024
1702
d2fc83c1
RD
1703 hardened_usercopy=
1704 [KNL] Under CONFIG_HARDENED_USERCOPY, whether
1705 hardening is enabled for this boot. Hardened
1706 usercopy checking is used to protect the kernel
1707 from reading or writing beyond known memory
1708 allocation boundaries as a proactive defense
1709 against bounds-checking flaws in the kernel's
1710 copy_to_user()/copy_from_user() interface.
1711 on Perform hardened usercopy checks (default).
1712 off Disable hardened usercopy checks.
1713
55537871
JK
1714 hardlockup_all_cpu_backtrace=
1715 [KNL] Should the hard-lockup detector generate
1716 backtraces on all cpus.
f117955a 1717 Format: 0 | 1
55537871 1718
1da177e4
LT
1719 hashdist= [KNL,NUMA] Large hashes allocated during boot
1720 are distributed across NUMA nodes. Defaults on
16290246 1721 for 64-bit NUMA, off otherwise.
a9913044 1722 Format: 0 | 1 (for off | on)
1da177e4
LT
1723
1724 hcl= [IA-64] SGI's Hardware Graph compatibility layer
1725
1726 hd= [EIDE] (E)IDE hard drive subsystem geometry
1727 Format: <cyl>,<head>,<sect>
1728
ea8c071c
HY
1729 hest_disable [ACPI]
1730 Disable Hardware Error Source Table (HEST) support;
1731 corresponding firmware-first mode error processing
1732 logic will be disabled.
1733
d2fc83c1
RD
1734 hibernate= [HIBERNATION]
1735 noresume Don't check if there's a hibernation image
1736 present during boot.
1737 nocompress Don't compress/decompress hibernation images.
1738 no Disable hibernation and resume.
1739 protect_image Turn on image protection during restoration
1740 (that will set all pages holding image data
1741 during restoration read-only).
1742
60071659 1743 highmem=nn[KMG] [KNL,BOOT,EARLY] forces the highmem zone to have an exact
1da177e4
LT
1744 size of <nn>. This works even on boxes that have no
1745 highmem otherwise. This also works to reduce highmem
1746 size on bigger boxes.
1747
54cdfdb4
TG
1748 highres= [KNL] Enable/disable high resolution timer mode.
1749 Valid parameters: "on", "off"
1750 Default: "on"
1751
0cb55ad2
RD
1752 hlt [BUGS=ARM,SH]
1753
60071659 1754 hostname= [KNL,EARLY] Set the hostname (aka UTS nodename).
5a704629
DM
1755 Format: <string>
1756 This allows setting the system's hostname during early
1757 startup. This sets the name returned by gethostname.
1758 Using this parameter to set the hostname makes it
1759 possible to ensure the hostname is correctly set before
1760 any userspace processes run, avoiding the possibility
1761 that a process may call gethostname before the hostname
1762 has been explicitly set, resulting in the calling
1763 process getting an incorrect result. The string must
1764 not exceed the maximum allowed hostname length (usually
1765 64 characters) and will be truncated otherwise.
1766
0cb55ad2
RD
1767 hpet= [X86-32,HPET] option to control HPET usage
1768 Format: { enable (default) | disable | force |
1769 verbose }
1770 disable: disable HPET and use PIT instead
1771 force: allow force enabled of undocumented chips (ICH4,
1772 VIA, nVidia)
1773 verbose: show contents of HPET registers during setup
1774
3d035f58
PB
1775 hpet_mmap= [X86, HPET_MMAP] Allow userspace to mmap HPET
1776 registers. Default set by CONFIG_HPET_MMAP_DEFAULT.
1777
282f4214
MK
1778 hugepages= [HW] Number of HugeTLB pages to allocate at boot.
1779 If this follows hugepagesz (below), it specifies
1780 the number of pages of hugepagesz to be allocated.
1781 If this is the first HugeTLB parameter on the command
1782 line, it specifies the number of pages to allocate for
b5389086
ZY
1783 the default huge page size. If using node format, the
1784 number of pages to allocate per-node can be specified.
1785 See also Documentation/admin-guide/mm/hugetlbpage.rst.
1786 Format: <integer> or (node format)
1787 <node>:<integer>[,<node>:<integer>]
282f4214
MK
1788
1789 hugepagesz=
1790 [HW] The size of the HugeTLB pages. This is used in
1791 conjunction with hugepages (above) to allocate huge
1792 pages of a specific size at boot. The pair
1793 hugepagesz=X hugepages=Y can be specified once for
1794 each supported huge page size. Huge page sizes are
1795 architecture dependent. See also
1796 Documentation/admin-guide/mm/hugetlbpage.rst.
1797 Format: size[KMG]
6902aa84 1798
60071659 1799 hugetlb_cma= [HW,CMA,EARLY] The size of a CMA area used for allocation
389cfd96
RD
1800 of gigantic hugepages. Or using node format, the size
1801 of a CMA area per node can be specified.
1802 Format: nn[KMGTPE] or (node format)
1803 <node>:nn[KMGTPE][,<node>:nn[KMGTPE]]
1804
1805 Reserve a CMA area of given size and allocate gigantic
1806 hugepages using the CMA allocator. If enabled, the
1807 boot-time allocation of gigantic hugepages is skipped.
1808
e9fdff87 1809 hugetlb_free_vmemmap=
dbeb56fe 1810 [KNL] Requires CONFIG_HUGETLB_PAGE_OPTIMIZE_VMEMMAP
e9fdff87 1811 enabled.
dff03381 1812 Control if HugeTLB Vmemmap Optimization (HVO) is enabled.
e9fdff87 1813 Allows heavy hugetlb users to free up some more
e7d32485 1814 memory (7 * PAGE_SIZE for each 2MB hugetlb page).
dff03381 1815 Format: { on | off (default) }
e9fdff87 1816
dff03381
MS
1817 on: enable HVO
1818 off: disable HVO
e9fdff87 1819
47010c04 1820 Built with CONFIG_HUGETLB_PAGE_OPTIMIZE_VMEMMAP_DEFAULT_ON=y,
e6d41f12
MS
1821 the default is on.
1822
66361095
MS
1823 Note that the vmemmap pages may be allocated from the added
1824 memory block itself when memory_hotplug.memmap_on_memory is
1825 enabled, those vmemmap pages cannot be optimized even if this
1826 feature is enabled. Other vmemmap pages not allocated from
1827 the added memory block itself do not be affected.
4bab4964 1828
a49d9c0a
OS
1829 hung_task_panic=
1830 [KNL] Should the hung task detector generate panics.
f117955a 1831 Format: 0 | 1
cef7125d 1832
b467f3ef 1833 A value of 1 instructs the kernel to panic when a
a49d9c0a
OS
1834 hung task is detected. The default value is controlled
1835 by the CONFIG_BOOTPARAM_HUNG_TASK_PANIC build-time
1836 option. The value selected by this boot parameter can
1837 be changed later by the kernel.hung_task_panic sysctl.
1838
6dddd7a7
TB
1839 hvc_iucv= [S390] Number of z/VM IUCV hypervisor console (HVC)
1840 terminal devices. Valid values: 0..8
1841 hvc_iucv_allow= [S390] Comma-separated list of z/VM user IDs.
1842 If specified, z/VM IUCV HVC accepts connections
1843 from listed z/VM user IDs only.
3a025de6 1844
60071659
PM
1845 hv_nopvspin [X86,HYPER_V,EARLY]
1846 Disables the paravirt spinlock optimizations
1847 which allow the hypervisor to 'idle' the guest
1848 on lock contention.
3a025de6 1849
6dddd7a7
TB
1850 i2c_bus= [HW] Override the default board specific I2C bus speed
1851 or register an additional I2C bus that is not
1852 registered from board initialization code.
1853 Format:
1854 <bus_id>,<clkrate>
3a853fb9 1855
36d95739 1856 i8042.debug [HW] Toggle i8042 debug mode
e1443d28
SCP
1857 i8042.unmask_kbd_data
1858 [HW] Enable printing of interrupt data from the KBD port
1859 (disabled by default, and as a pre-condition
1860 requires that i8042.debug=1 be enabled)
1da177e4 1861 i8042.direct [HW] Put keyboard port into non-translated mode
84eb8d06
ML
1862 i8042.dumbkbd [HW] Pretend that controller can only read data from
1863 keyboard and cannot control its state
1da177e4
LT
1864 (Don't attempt to blink the leds)
1865 i8042.noaux [HW] Don't check for auxiliary (== mouse) port
945ef0d4 1866 i8042.nokbd [HW] Don't check/create keyboard port
75d08c78
JK
1867 i8042.noloop [HW] Disable the AUX Loopback command while probing
1868 for the AUX port
1da177e4 1869 i8042.nomux [HW] Don't check presence of an active multiplexing
e55a3366 1870 controller
1da177e4
LT
1871 i8042.nopnp [HW] Don't use ACPIPnP / PnPBIOS to discover KBD/AUX
1872 controllers
24775d65 1873 i8042.notimeout [HW] Ignore timeout condition signalled by controller
930e1924
MPS
1874 i8042.reset [HW] Reset the controller during init, cleanup and
1875 suspend-to-ram transitions, only during s2r
1876 transitions, or never reset
1877 Format: { 1 | Y | y | 0 | N | n }
1878 1, Y, y: always reset controller
1879 0, N, n: don't ever reset controller
1880 Default: only on s2r transitions on x86; most other
1881 architectures force reset to be always executed
1da177e4 1882 i8042.unlock [HW] Unlock (ignore) the keylock
6dddd7a7 1883 i8042.kbdreset [HW] Reset device connected to KBD port
9222ba68
TI
1884 i8042.probe_defer
1885 [HW] Allow deferred probing upon i8042 probe errors
1da177e4
LT
1886
1887 i810= [HW,DRM]
1888
4dca20ef 1889 i915.invert_brightness=
7bd90909
CE
1890 [DRM] Invert the sense of the variable that is used to
1891 set the brightness of the panel backlight. Normally a
4dca20ef
CE
1892 brightness value of 0 indicates backlight switched off,
1893 and the maximum of the brightness value sets the backlight
1894 to maximum brightness. If this parameter is set to 0
1895 (default) and the machine requires it, or this parameter
1896 is set to 1, a brightness value of 0 sets the backlight
1897 to maximum brightness, and the maximum of the brightness
1898 value switches the backlight off.
1899 -1 -- never invert brightness
1900 0 -- machine default
1901 1 -- force brightness inversion
7bd90909 1902
a11e0975
NB
1903 ia32_emulation= [X86-64]
1904 Format: <bool>
1905 When true, allows loading 32-bit programs and executing 32-bit
1906 syscalls, essentially overriding IA32_EMULATION_DEFAULT_DISABLED at
1907 boot time. When false, unconditionally disables IA32 emulation.
1908
1da177e4
LT
1909 icn= [HW,ISDN]
1910 Format: <io>[,<membase>[,<icn_id>[,<icn_id2>]]]
1911
0cb55ad2 1912
60071659 1913 idle= [X86,EARLY]
69fb3676 1914 Format: idle=poll, idle=halt, idle=nomwait
ada9cfdd
RD
1915 Poll forces a polling idle loop that can slightly
1916 improve the performance of waking up a idle CPU, but
1917 will use a lot of power and make the system run hot.
1918 Not recommended.
ada9cfdd 1919 idle=halt: Halt is forced to be used for CPU idle.
c1e3b377 1920 In such case C2/C3 won't be used again.
ada9cfdd 1921 idle=nomwait: Disable mwait for CPU C-states
a9913044 1922
03d939c7
DJ
1923 idxd.sva= [HW]
1924 Format: <bool>
1925 Allow force disabling of Shared Virtual Memory (SVA)
1926 support for the idxd driver. By default it is set to
1927 true (1).
1928
ade8a86b
DJ
1929 idxd.tc_override= [HW]
1930 Format: <bool>
1931 Allow override of default traffic class configuration
1932 for the device. By default it is set to false (0).
1933
503943e0
MR
1934 ieee754= [MIPS] Select IEEE Std 754 conformance mode
1935 Format: { strict | legacy | 2008 | relaxed }
1936 Default: strict
1937
1938 Choose which programs will be accepted for execution
1939 based on the IEEE 754 NaN encoding(s) supported by
1940 the FPU and the NaN encoding requested with the value
1941 of an ELF file header flag individually set by each
1942 binary. Hardware implementations are permitted to
1943 support either or both of the legacy and the 2008 NaN
1944 encoding mode.
1945
1946 Available settings are as follows:
1947 strict accept binaries that request a NaN encoding
1948 supported by the FPU
1949 legacy only accept legacy-NaN binaries, if supported
1950 by the FPU
1951 2008 only accept 2008-NaN binaries, if supported
1952 by the FPU
1953 relaxed accept any binaries regardless of whether
1954 supported by the FPU
1955
1956 The FPU emulator is always able to support both NaN
1957 encodings, so if no FPU hardware is present or it has
1958 been disabled with 'nofpu', then the settings of
1959 'legacy' and '2008' strap the emulator accordingly,
1960 'relaxed' straps the emulator for both legacy-NaN and
1961 2008-NaN, whereas 'strict' enables legacy-NaN only on
1962 legacy processors and both NaN encodings on MIPS32 or
1963 MIPS64 CPUs.
1964
1965 The setting for ABS.fmt/NEG.fmt instruction execution
1966 mode generally follows that for the NaN encoding,
1967 except where unsupported by hardware.
1968
60071659 1969 ignore_loglevel [KNL,EARLY]
79290822
IM
1970 Ignore loglevel setting - this will print /all/
1971 kernel messages to the console. Useful for debugging.
0eca6b7c
YZ
1972 We also add it as printk module parameter, so users
1973 could change it dynamically, usually by
1974 /sys/module/printk/parameters/ignore_loglevel.
79290822 1975
d977d56c
KK
1976 ignore_rlimit_data
1977 Ignore RLIMIT_DATA setting for data mappings,
1978 print warning at first misuse. Can be changed via
1979 /sys/module/kernel/parameters/ignore_rlimit_data.
1980
1da177e4
LT
1981 ihash_entries= [KNL]
1982 Set number of hash buckets for inode cache.
1983
2fe5d6de 1984 ima_appraise= [IMA] appraise integrity measurements
2faa6ef3 1985 Format: { "off" | "enforce" | "fix" | "log" }
2fe5d6de
MZ
1986 default: "enforce"
1987
41475a3e 1988 ima_appraise_tcb [IMA] Deprecated. Use ima_policy= instead.
07f6a794
MZ
1989 The builtin appraise policy appraises all files
1990 owned by uid=0.
1991
d68a6fe9
MZ
1992 ima_canonical_fmt [IMA]
1993 Use the canonical format for the binary runtime
1994 measurements, instead of host native format.
1995
3323eec9 1996 ima_hash= [IMA]
e7a2ad7e
MZ
1997 Format: { md5 | sha1 | rmd160 | sha256 | sha384
1998 | sha512 | ... }
3323eec9
MZ
1999 default: "sha1"
2000
e7a2ad7e
MZ
2001 The list of supported hash algorithms is defined
2002 in crypto/hash_info.h.
2003
24fd03c8 2004 ima_policy= [IMA]
33ce9549 2005 The builtin policies to load during IMA setup.
9e67028e 2006 Format: "tcb | appraise_tcb | secure_boot |
03cee168 2007 fail_securely | critical_data"
33ce9549
MZ
2008
2009 The "tcb" policy measures all programs exec'd, files
2010 mmap'd for exec, and all files opened with the read
2011 mode bit set by either the effective uid (euid=0) or
2012 uid=0.
2013
2014 The "appraise_tcb" policy appraises the integrity of
41475a3e 2015 all files owned by root.
24fd03c8 2016
503ceaef
MZ
2017 The "secure_boot" policy appraises the integrity
2018 of files (eg. kexec kernel image, kernel modules,
2019 firmware, policy, etc) based on file signatures.
24fd03c8 2020
9e67028e
MZ
2021 The "fail_securely" policy forces file signature
2022 verification failure also on privileged mounted
2023 filesystems with the SB_I_UNVERIFIABLE_SIGNATURE
2024 flag.
2025
03cee168
LR
2026 The "critical_data" policy measures kernel integrity
2027 critical data.
2028
24fd03c8 2029 ima_tcb [IMA] Deprecated. Use ima_policy= instead.
5789ba3b
EP
2030 Load a policy which meets the needs of the Trusted
2031 Computing Base. This means IMA will measure all
2032 programs exec'd, files mmap'd for exec, and all files
2033 opened for read by uid=0.
2034
6dddd7a7 2035 ima_template= [IMA]
9b9d4ce5 2036 Select one of defined IMA measurements template formats.
989dc725
MZ
2037 Formats: { "ima" | "ima-ng" | "ima-ngv2" | "ima-sig" |
2038 "ima-sigv2" }
9b9d4ce5
RS
2039 Default: "ima-ng"
2040
c2426d2a 2041 ima_template_fmt=
6dddd7a7 2042 [IMA] Define a custom template format.
c2426d2a
RS
2043 Format: { "field1|...|fieldN" }
2044
3bcced39
DK
2045 ima.ahash_minsize= [IMA] Minimum file size for asynchronous hash usage
2046 Format: <min_file_size>
2047 Set the minimal file size for using asynchronous hash.
2048 If left unspecified, ahash usage is disabled.
2049
2050 ahash performance varies for different data sizes on
2051 different crypto accelerators. This option can be used
2052 to achieve the best performance for a particular HW.
2053
6edf7a89
DK
2054 ima.ahash_bufsize= [IMA] Asynchronous hash buffer size
2055 Format: <bufsize>
2056 Set hashing buffer size. Default: 4k.
2057
2058 ahash performance varies for different chunk sizes on
2059 different crypto accelerators. This option can be used
2060 to achieve best performance for particular HW.
2061
1da177e4
LT
2062 init= [KNL]
2063 Format: <full_path>
2064 Run specified binary instead of /sbin/init as init
2065 process.
2066
2067 initcall_debug [KNL] Trace initcalls as they are executed. Useful
2068 for working out where the kernel is dying during
2069 startup.
2070
7b0b73d7
PB
2071 initcall_blacklist= [KNL] Do not execute a comma-separated list of
2072 initcall functions. Useful for debugging built-in
2073 modules and initcalls.
2074
e7cb072e
RV
2075 initramfs_async= [KNL]
2076 Format: <bool>
2077 Default: 1
2078 This parameter controls whether the initramfs
2079 image is unpacked asynchronously, concurrently
2080 with devices being probed and
2081 initialized. This should normally just work,
2082 but as a debugging aid, one can get the
2083 historical behaviour of the initramfs
2084 unpacking being completed before device_ and
2085 late_ initcalls.
2086
60071659 2087 initrd= [BOOT,EARLY] Specify the location of the initial ramdisk
1da177e4 2088
60071659 2089 initrdmem= [KNL,EARLY] Specify a physical address and size from which to
694cfd87
RM
2090 load the initrd. If an initrd is compiled in or
2091 specified in the bootparams, it takes priority over this
2092 setting.
2093 Format: ss[KMG],nn[KMG]
2094 Default is 0, 0
2095
60071659 2096 init_on_alloc= [MM,EARLY] Fill newly allocated pages and heap objects with
6471384a
AP
2097 zeroes.
2098 Format: 0 | 1
2099 Default set by CONFIG_INIT_ON_ALLOC_DEFAULT_ON.
2100
60071659 2101 init_on_free= [MM,EARLY] Fill freed pages and heap objects with zeroes.
6471384a
AP
2102 Format: 0 | 1
2103 Default set by CONFIG_INIT_ON_FREE_DEFAULT_ON.
2104
be3a5b0e 2105 init_pkru= [X86] Specify the default memory protection keys rights
acd547b2
DH
2106 register contents for all processes. 0x55555554 by
2107 default (disallow access to all but pkey 0). Can
2108 override in debugfs after boot.
2109
1da177e4
LT
2110 inport.irq= [HW] Inport (ATI XL and Microsoft) busmouse driver
2111 Format: <irq>
2112
be3a5b0e 2113 int_pln_enable [X86] Enable power limit notification interrupt
6bb2ff84 2114
d726d8d7
MZ
2115 integrity_audit=[IMA]
2116 Format: { "0" | "1" }
2117 0 -- basic integrity auditing messages. (Default)
2118 1 -- additional integrity auditing messages.
2119
ba395927 2120 intel_iommu= [DMAR] Intel IOMMU driver (DMAR) option
0cd5c3c8
KM
2121 on
2122 Enable intel iommu driver.
ba395927
KA
2123 off
2124 Disable intel iommu driver.
2125 igfx_off [Default Off]
2126 By default, gfx is mapped as normal device. If a gfx
2127 device has a dedicated DMAR unit, the DMAR unit is
2128 bypassed by not enabling DMAR with this option. In
2129 this case, gfx device will use physical address for
2130 DMA.
5e0d2a6f 2131 strict [Default Off]
1d479f16 2132 Deprecated, equivalent to iommu.strict=1.
6dd9a7c7
YS
2133 sp_off [Default Off]
2134 By default, super page will be supported if Intel IOMMU
2135 has the capability. With this option, super page will
2136 not be supported.
792fb43c
LB
2137 sm_on
2138 Enable the Intel IOMMU scalable mode if the hardware
2139 advertises that it has support for the scalable mode
2140 translation.
2141 sm_off
2142 Disallow use of the Intel IOMMU scalable mode.
bfd20f1c
SL
2143 tboot_noforce [Default Off]
2144 Do not force the Intel IOMMU enabled under tboot.
2145 By default, tboot will force Intel IOMMU on, which
2146 could harm performance of some high-throughput
2147 devices like 40GBit network cards, even if identity
2148 mapping is enabled.
2149 Note that using this option lowers the security
2150 provided by tboot because it makes the system
2151 vulnerable to DMA attacks.
2e92c7ad
MI
2152
2153 intel_idle.max_cstate= [KNL,HW,ACPI,X86]
2154 0 disables intel_idle and fall back on acpi_idle.
22c6bbe4 2155 1 to 9 specify maximum depth of C-state.
2e92c7ad 2156
60071659 2157 intel_pstate= [X86,EARLY]
6dddd7a7
TB
2158 disable
2159 Do not enable intel_pstate as the default
2160 scaling driver for the supported processors
f02c20d9
NS
2161 active
2162 Use intel_pstate driver to bypass the scaling
2163 governors layer of cpufreq and provides it own
2164 algorithms for p-state selection. There are two
2165 P-state selection algorithms provided by
2166 intel_pstate in the active mode: powersave and
2167 performance. The way they both operate depends
2168 on whether or not the hardware managed P-states
2169 (HWP) feature has been enabled in the processor
2170 and possibly on the processor model.
6dddd7a7
TB
2171 passive
2172 Use intel_pstate as a scaling driver, but configure it
2173 to work with generic cpufreq governors (instead of
2174 enabling its internal governor). This mode cannot be
2175 used along with the hardware-managed P-states (HWP)
2176 feature.
2177 force
2178 Enable intel_pstate on systems that prohibit it by default
2179 in favor of acpi-cpufreq. Forcing the intel_pstate driver
2180 instead of acpi-cpufreq may disable platform features, such
2181 as thermal controls and power capping, that rely on ACPI
2182 P-States information being indicated to OSPM and therefore
2183 should be used with caution. This option does not work with
2184 processors that aren't supported by the intel_pstate driver
2185 or on platforms that use pcc-cpufreq instead of acpi-cpufreq.
2186 no_hwp
2187 Do not enable hardware P state control (HWP)
2188 if available.
2189 hwp_only
2190 Only load intel_pstate on systems which support
2191 hardware P state control (HWP) if available.
2192 support_acpi_ppc
2193 Enforce ACPI _PPC performance limits. If the Fixed ACPI
2194 Description Table, specifies preferred power management
2195 profile as "Enterprise Server" or "Performance Server",
2196 then this feature is turned on by default.
2197 per_cpu_perf_limits
2198 Allow per-logical-CPU P-State performance control limits using
2199 cpufreq sysfs interface
6be26498 2200
60071659 2201 intremap= [X86-64,Intel-IOMMU,EARLY]
d1423d56
CW
2202 on enable Interrupt Remapping (default)
2203 off disable Interrupt Remapping
2204 nosid disable Source ID checking
41750d31
SS
2205 no_x2apic_optout
2206 BIOS x2APIC opt-out request will be ignored
b7d20631 2207 nopost disable Interrupt Posting
d1423d56 2208
0cb55ad2
RD
2209 iomem= Disable strict checking of access to MMIO memory
2210 strict regions from userspace.
2211 relaxed
2212
60071659 2213 iommu= [X86,EARLY]
0cb55ad2
RD
2214 off
2215 force
2216 noforce
2217 biomerge
2218 panic
2219 nopanic
2220 merge
2221 nomerge
0cb55ad2 2222 soft
be3a5b0e
RD
2223 pt [X86]
2224 nopt [X86]
4e287840
TLSC
2225 nobypass [PPC/POWERNV]
2226 Disable IOMMU bypass, using IOMMU for PCI devices.
bcb71abe 2227
60071659 2228 iommu.forcedac= [ARM64,X86,EARLY] Control IOVA allocation for PCI devices.
3542dcb1
RM
2229 Format: { "0" | "1" }
2230 0 - Try to allocate a 32-bit DMA address first, before
2231 falling back to the full range if needed.
2232 1 - Allocate directly from the full usable range,
2233 forcing Dual Address Cycle for PCI cards supporting
2234 greater than 32-bit addressing.
2235
60071659 2236 iommu.strict= [ARM64,X86,S390,EARLY] Configure TLB invalidation behaviour
68a6efe8
ZL
2237 Format: { "0" | "1" }
2238 0 - Lazy mode.
2239 Request that DMA unmap operations use deferred
2240 invalidation of hardware TLBs, for increased
2241 throughput at the cost of reduced device isolation.
2242 Will fall back to strict mode if not supported by
2243 the relevant IOMMU driver.
712d8f20 2244 1 - Strict mode.
68a6efe8
ZL
2245 DMA unmap operations invalidate IOMMU hardware TLBs
2246 synchronously.
e96763ec
RM
2247 unset - Use value of CONFIG_IOMMU_DEFAULT_DMA_{LAZY,STRICT}.
2248 Note: on x86, strict mode specified via one of the
2249 legacy driver-specific options takes precedence.
68a6efe8 2250
fccb4e3b 2251 iommu.passthrough=
60071659 2252 [ARM64,X86,EARLY] Configure DMA to bypass the IOMMU by default.
fccb4e3b
WD
2253 Format: { "0" | "1" }
2254 0 - Use IOMMU translation for DMA.
2255 1 - Bypass the IOMMU for DMA.
9d723b4c 2256 unset - Use value of CONFIG_IOMMU_DEFAULT_PASSTHROUGH.
0cb55ad2 2257
7c42376e 2258 io7= [HW] IO7 for Marvel-based Alpha systems
0cb55ad2
RD
2259 See comment before marvel_specify_io7 in
2260 arch/alpha/kernel/core_marvel.c.
2261
60071659 2262 io_delay= [X86,EARLY] I/O delay method
6e7c4025
IM
2263 0x80
2264 Standard port 0x80 based delay
2265 0xed
2266 Alternate port 0xed based delay (needed on some systems)
b02aae9c 2267 udelay
6e7c4025
IM
2268 Simple two microseconds delay
2269 none
2270 No delay
b02aae9c 2271
1da177e4 2272 ip= [IP_PNP]
3eb30c51 2273 See Documentation/admin-guide/nfs/nfsroot.rst.
1da177e4 2274
60071659 2275 ipcmni_extend [KNL,EARLY] Extend the maximum number of unique System V
5ac893b8
WL
2276 IPC identifiers from 32,768 to 16,777,216.
2277
fbf19803 2278 irqaffinity= [SMP] Set the default irq affinity mask
2d13e6ca 2279 The argument is a cpu list, as described above.
fbf19803 2280
0962289b 2281 irqchip.gicv2_force_probe=
60071659 2282 [ARM,ARM64,EARLY]
0962289b
MZ
2283 Format: <bool>
2284 Force the kernel to look for the second 4kB page
2285 of a GICv2 controller even if the memory range
2286 exposed by the device tree is too small.
2287
f736d65d 2288 irqchip.gicv3_nolpi=
60071659 2289 [ARM,ARM64,EARLY]
f736d65d
MZ
2290 Force the kernel to ignore the availability of
2291 LPIs (and by consequence ITSs). Intended for system
2292 that use the kernel as a bootloader, and thus want
2293 to let secondary kernels in charge of setting up
2294 LPIs.
2295
60071659 2296 irqchip.gicv3_pseudo_nmi= [ARM64,EARLY]
bc3c03cc
JT
2297 Enables support for pseudo-NMIs in the kernel. This
2298 requires the kernel to be built with
2299 CONFIG_ARM64_PSEUDO_NMI.
2300
200803df
AC
2301 irqfixup [HW]
2302 When an interrupt is not handled search all handlers
2303 for it. Intended to get systems with badly broken
2304 firmware running.
2305
2306 irqpoll [HW]
2307 When an interrupt is not handled search all handlers
2308 for it. Also check all handlers each timer
2309 interrupt. Intended to get systems with badly broken
2310 firmware running.
2311
1da177e4 2312 isapnp= [ISAPNP]
a9913044 2313 Format: <RDP>,<reset>,<pci_scan>,<verbosity>
1da177e4 2314
d94d1053 2315 isolcpus= [KNL,SMP,ISOL] Isolate a given set of CPUs from disturbance.
b0d40d2b
FW
2316 [Deprecated - use cpusets instead]
2317 Format: [flag-list,]<cpu-list>
2318
2319 Specify one or more CPUs to isolate from disturbances
2320 specified in the flag list (default: domain):
2321
2322 nohz
2323 Disable the tick when a single task runs.
083c6eea
FW
2324
2325 A residual 1Hz tick is offloaded to workqueues, which you
2326 need to affine to housekeeping through the global
2327 workqueue's affinity configured via the
2328 /sys/devices/virtual/workqueue/cpumask sysfs file, or
2329 by using the 'domain' flag described below.
2330
2331 NOTE: by default the global workqueue runs on all CPUs,
2332 so to protect individual CPUs the 'cpumask' file has to
2333 be configured manually after bootup.
2334
b0d40d2b
FW
2335 domain
2336 Isolate from the general SMP balancing and scheduling
2337 algorithms. Note that performing domain isolation this way
2338 is irreversible: it's not possible to bring back a CPU to
2339 the domains once isolated through isolcpus. It's strongly
2340 advised to use cpusets instead to disable scheduler load
2341 balancing through the "cpuset.sched_load_balance" file.
2342 It offers a much more flexible interface where CPUs can
2343 move in and out of an isolated set anytime.
2344
2345 You can move a process onto or off an "isolated" CPU via
2346 the CPU affinity syscalls or cpuset.
2347 <cpu number> begins at 0 and the maximum value is
2348 "number of CPUs in system - 1".
2349
11ea68f5
ML
2350 managed_irq
2351
2352 Isolate from being targeted by managed interrupts
2353 which have an interrupt mask containing isolated
2354 CPUs. The affinity of managed interrupts is
2355 handled by the kernel and cannot be changed via
2356 the /proc/irq/* interfaces.
2357
2358 This isolation is best effort and only effective
2359 if the automatically assigned interrupt mask of a
2360 device queue contains isolated and housekeeping
2361 CPUs. If housekeeping CPUs are online then such
2362 interrupts are directed to the housekeeping CPU
2363 so that IO submitted on the housekeeping CPU
2364 cannot disturb the isolated CPU.
2365
2366 If a queue's affinity mask contains only isolated
2367 CPUs then this parameter has no effect on the
2368 interrupt routing decision, though interrupts are
2369 only delivered when tasks running on those
2370 isolated CPUs submit IO. IO submitted on
2371 housekeeping CPUs has no influence on those
2372 queues.
1da177e4 2373
11ea68f5 2374 The format of <cpu-list> is described above.
1da177e4 2375
a9913044 2376 iucv= [HW,NET]
1da177e4 2377
be3a5b0e 2378 ivrs_ioapic [HW,X86-64]
7d8bfa26 2379 Provide an override to the IOAPIC-ID<->DEVICE-ID
bbe3a106
SS
2380 mapping provided in the IVRS ACPI table.
2381 By default, PCI segment is 0, and can be omitted.
1198d231
KP
2382
2383 For example, to map IOAPIC-ID decimal 10 to
2384 PCI segment 0x1 and PCI device 00:14.0,
2385 write the parameter as:
2386 ivrs_ioapic=10@0001:00:14.0
2387
2388 Deprecated formats:
bbe3a106
SS
2389 * To map IOAPIC-ID decimal 10 to PCI device 00:14.0
2390 write the parameter as:
7d8bfa26 2391 ivrs_ioapic[10]=00:14.0
bbe3a106
SS
2392 * To map IOAPIC-ID decimal 10 to PCI segment 0x1 and
2393 PCI device 00:14.0 write the parameter as:
2394 ivrs_ioapic[10]=0001:00:14.0
7d8bfa26 2395
be3a5b0e 2396 ivrs_hpet [HW,X86-64]
7d8bfa26 2397 Provide an override to the HPET-ID<->DEVICE-ID
bbe3a106
SS
2398 mapping provided in the IVRS ACPI table.
2399 By default, PCI segment is 0, and can be omitted.
1198d231
KP
2400
2401 For example, to map HPET-ID decimal 10 to
2402 PCI segment 0x1 and PCI device 00:14.0,
2403 write the parameter as:
2404 ivrs_hpet=10@0001:00:14.0
2405
2406 Deprecated formats:
bbe3a106
SS
2407 * To map HPET-ID decimal 0 to PCI device 00:14.0
2408 write the parameter as:
7d8bfa26 2409 ivrs_hpet[0]=00:14.0
bbe3a106
SS
2410 * To map HPET-ID decimal 10 to PCI segment 0x1 and
2411 PCI device 00:14.0 write the parameter as:
2412 ivrs_ioapic[10]=0001:00:14.0
7d8bfa26 2413
be3a5b0e 2414 ivrs_acpihid [HW,X86-64]
ca3bf5d4 2415 Provide an override to the ACPI-HID:UID<->DEVICE-ID
bbe3a106 2416 mapping provided in the IVRS ACPI table.
1198d231 2417 By default, PCI segment is 0, and can be omitted.
bbe3a106
SS
2418
2419 For example, to map UART-HID:UID AMD0020:0 to
2420 PCI segment 0x1 and PCI device ID 00:14.5,
2421 write the parameter as:
1198d231 2422 ivrs_acpihid=AMD0020:0@0001:00:14.5
bbe3a106 2423
1198d231
KP
2424 Deprecated formats:
2425 * To map UART-HID:UID AMD0020:0 to PCI segment is 0,
2426 PCI device ID 00:14.5, write the parameter as:
ca3bf5d4 2427 ivrs_acpihid[00:14.5]=AMD0020:0
1198d231
KP
2428 * To map UART-HID:UID AMD0020:0 to PCI segment 0x1 and
2429 PCI device ID 00:14.5, write the parameter as:
2430 ivrs_acpihid[0001:00:14.5]=AMD0020:0
ca3bf5d4 2431
1da177e4 2432 js= [HW,JOY] Analog joystick
1752118d 2433 See Documentation/input/joydev/joystick.rst.
1da177e4 2434
b0845ce5
MR
2435 kasan_multi_shot
2436 [KNL] Enforce KASAN (Kernel Address Sanitizer) to print
2437 report on every invalid memory access. Without this
2438 parameter KASAN will print report only for the first
2439 invalid access.
2440
60071659 2441 keep_bootcon [KNL,EARLY]
42551b8d
RD
2442 Do not unregister boot console at start. This is only
2443 useful for debugging when something happens in the window
2444 between unregistering the boot console and initializing
2445 the real console.
2446
2678fd2f 2447 keepinitrd [HW,ARM] See retain_initrd.
0cb55ad2 2448
60071659 2449 kernelcore= [KNL,X86,IA-64,PPC,EARLY]
a5c6d650
DR
2450 Format: nn[KMGTPE] | nn% | "mirror"
2451 This parameter specifies the amount of memory usable by
2452 the kernel for non-movable allocations. The requested
2453 amount is spread evenly throughout all nodes in the
2454 system as ZONE_NORMAL. The remaining memory is used for
2455 movable memory in its own zone, ZONE_MOVABLE. In the
2456 event, a node is too small to have both ZONE_NORMAL and
2457 ZONE_MOVABLE, kernelcore memory will take priority and
2458 other nodes will have a larger ZONE_MOVABLE.
2459
2460 ZONE_MOVABLE is used for the allocation of pages that
2461 may be reclaimed or moved by the page migration
2462 subsystem. Note that allocations like PTEs-from-HighMem
2463 still use the HighMem zone if it exists, and the Normal
ed7ed365
MG
2464 zone if it does not.
2465
a5c6d650
DR
2466 It is possible to specify the exact amount of memory in
2467 the form of "nn[KMGTPE]", a percentage of total system
2468 memory in the form of "nn%", or "mirror". If "mirror"
342332e6
TI
2469 option is specified, mirrored (reliable) memory is used
2470 for non-movable allocations and remaining memory is used
a5c6d650
DR
2471 for Movable pages. "nn[KMGTPE]", "nn%", and "mirror"
2472 are exclusive, so you cannot specify multiple forms.
ed7ed365 2473
60071659 2474 kgdbdbgp= [KGDB,HW,EARLY] kgdb over EHCI usb debug port.
4fe1da4e
JW
2475 Format: <Controller#>[,poll interval]
2476 The controller # is the number of the ehci usb debug
2477 port as it is probed via PCI. The poll interval is
2478 optional and is the number seconds in between
2479 each poll cycle to the debug port in case you need
2480 the functionality for interrupting the kernel with
2481 gdb or control-c on the dbgp connection. When
2482 not using this parameter you use sysrq-g to break into
2483 the kernel debugger.
2484
84c08fd6 2485 kgdboc= [KGDB,HW] kgdb over consoles.
ada64e4c
JW
2486 Requires a tty driver that supports console polling,
2487 or a supported polling keyboard driver (non-usb).
65b5ac14
JW
2488 Serial only format: <serial_device>[,baud]
2489 keyboard only format: kbd
2490 keyboard and serial format: kbd,<serial_device>[,baud]
2491 Optional Kernel mode setting:
2492 kms, kbd format: kms,kbd
2493 kms, kbd and serial format: kms,kbd,<ser_dev>[,baud]
6cdf6e06 2494
60071659 2495 kgdboc_earlycon= [KGDB,HW,EARLY]
f71fc3bc
DA
2496 If the boot console provides the ability to read
2497 characters and can work in polling mode, you can use
2498 this parameter to tell kgdb to use it as a backend
2499 until the normal console is registered. Intended to
2500 be used together with the kgdboc parameter which
2501 specifies the normal console to transition to.
2502
2503 The name of the early console should be specified
2504 as the value of this parameter. Note that the name of
2505 the early console might be different than the tty
2506 name passed to kgdboc. It's OK to leave the value
2507 blank and the first boot console that implements
2508 read() will be picked.
2509
60071659 2510 kgdbwait [KGDB,EARLY] Stop kernel execution and enter the
84c08fd6
JW
2511 kernel debugger at the earliest opportunity.
2512
497de97e 2513 kmac= [MIPS] Korina ethernet MAC address.
9bed90c6
FF
2514 Configure the RouterBoard 532 series on-chip
2515 Ethernet adapter MAC address.
2516
60071659 2517 kmemleak= [KNL,EARLY] Boot-time kmemleak enable/disable
04f70336
CM
2518 Valid arguments: on, off
2519 Default: on
47aeeddc
MI
2520 Built with CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=y,
2521 the default is off.
04f70336 2522
970988e1
MH
2523 kprobe_event=[probe-list]
2524 [FTRACE] Add kprobe events and enable at boot time.
2525 The probe-list is a semicolon delimited list of probe
2526 definitions. Each definition is same as kprobe_events
2527 interface, but the parameters are comma delimited.
2528 For example, to add a kprobe event on vfs_read with
2529 arg1 and arg2, add to the command line;
2530
2531 kprobe_event=p,vfs_read,$arg1,$arg2
2532
2533 See also Documentation/trace/kprobetrace.rst "Kernel
2534 Boot Parameter" section.
2535
60071659
PM
2536 kpti= [ARM64,EARLY] Control page table isolation of
2537 user and kernel address spaces.
de190555
JL
2538 Default: enabled on cores which need mitigation.
2539 0: force disabled
2540 1: force enabled
2541
d20a6ba5
JF
2542 kunit.enable= [KUNIT] Enable executing KUnit tests. Requires
2543 CONFIG_KUNIT to be set to be fully enabled. The
2544 default value can be overridden via
2545 KUNIT_DEFAULT_ENABLED.
2546 Default is 1 (enabled)
2547
fef07aae
AP
2548 kvm.ignore_msrs=[KVM] Ignore guest accesses to unhandled MSRs.
2549 Default is 0 (don't ignore, but inject #GP)
2550
a3fe5dbd
DM
2551 kvm.eager_page_split=
2552 [KVM,X86] Controls whether or not KVM will try to
2553 proactively split all huge pages during dirty logging.
2554 Eager page splitting reduces interruptions to vCPU
2555 execution by eliminating the write-protection faults
2556 and MMU lock contention that would otherwise be
2557 required to split huge pages lazily.
2558
2559 VM workloads that rarely perform writes or that write
2560 only to a small region of VM memory may benefit from
2561 disabling eager page splitting to allow huge pages to
2562 still be used for reads.
2563
2564 The behavior of eager page splitting depends on whether
2565 KVM_DIRTY_LOG_INITIALLY_SET is enabled or disabled. If
2566 disabled, all huge pages in a memslot will be eagerly
2567 split when dirty logging is enabled on that memslot. If
cb00a70b
DM
2568 enabled, eager page splitting will be performed during
2569 the KVM_CLEAR_DIRTY ioctl, and only for the pages being
2570 cleared.
a3fe5dbd 2571
ada51a9d 2572 Eager page splitting is only supported when kvm.tdp_mmu=Y.
a3fe5dbd
DM
2573
2574 Default is Y (on).
2575
c4ae60e4
LA
2576 kvm.enable_vmware_backdoor=[KVM] Support VMware backdoor PV interface.
2577 Default is false (don't support).
2578
b8e8c830
PB
2579 kvm.nx_huge_pages=
2580 [KVM] Controls the software workaround for the
2581 X86_BUG_ITLB_MULTIHIT bug.
2582 force : Always deploy workaround.
2583 off : Never deploy workaround.
2584 auto : Deploy workaround based on the presence of
2585 X86_BUG_ITLB_MULTIHIT.
2586
2587 Default is 'auto'.
2588
2589 If the software workaround is enabled for the host,
2590 guests do need not to enable it for nested guests.
2591
1aa9b957
JS
2592 kvm.nx_huge_pages_recovery_ratio=
2593 [KVM] Controls how many 4KiB pages are periodically zapped
2594 back to huge pages. 0 disables the recovery, otherwise if
2595 the value is N KVM will zap 1/Nth of the 4KiB pages every
4dfe4f40
JS
2596 period (see below). The default is 60.
2597
2598 kvm.nx_huge_pages_recovery_period_ms=
2599 [KVM] Controls the time period at which KVM zaps 4KiB pages
2600 back to huge pages. If the value is a non-zero N, KVM will
2601 zap a portion (see ratio above) of the pages every N msecs.
2602 If the value is 0 (the default), KVM will pick a period based
2603 on the ratio, such that a page is zapped after 1 hour on average.
1aa9b957 2604
f41dd67d
YJW
2605 kvm-amd.nested= [KVM,AMD] Control nested virtualization feature in
2606 KVM/SVM. Default is 1 (enabled).
fef07aae 2607
f41dd67d
YJW
2608 kvm-amd.npt= [KVM,AMD] Control KVM's use of Nested Page Tables,
2609 a.k.a. Two-Dimensional Page Tables. Default is 1
2610 (enabled). Disable by KVM if hardware lacks support
2611 for NPT.
fef07aae 2612
d8b369c4 2613 kvm-arm.mode=
60071659
PM
2614 [KVM,ARM,EARLY] Select one of KVM/arm64's modes of
2615 operation.
d8b369c4 2616
b6a68b97
MZ
2617 none: Forcefully disable KVM.
2618
1945a067
MZ
2619 nvhe: Standard nVHE-based mode, without support for
2620 protected guests.
2621
d8b369c4
DB
2622 protected: nVHE-based mode with support for guests whose
2623 state is kept private from the host.
d8b369c4 2624
675cabc8
JL
2625 nested: VHE-based mode with support for nested
2626 virtualization. Requires at least ARMv8.3
2627 hardware.
2628
53e8ce13
AE
2629 Defaults to VHE/nVHE based on hardware support. Setting
2630 mode to "protected" will disable kexec and hibernation
675cabc8
JL
2631 for the host. "nested" is experimental and should be
2632 used with extreme caution.
d8b369c4 2633
e23f62f7 2634 kvm-arm.vgic_v3_group0_trap=
60071659 2635 [KVM,ARM,EARLY] Trap guest accesses to GICv3 group-0
e23f62f7
MZ
2636 system registers
2637
182936ee 2638 kvm-arm.vgic_v3_group1_trap=
60071659 2639 [KVM,ARM,EARLY] Trap guest accesses to GICv3 group-1
182936ee
MZ
2640 system registers
2641
ff89511e 2642 kvm-arm.vgic_v3_common_trap=
60071659 2643 [KVM,ARM,EARLY] Trap guest accesses to GICv3 common
ff89511e
MZ
2644 system registers
2645
a7546054 2646 kvm-arm.vgic_v4_enable=
60071659
PM
2647 [KVM,ARM,EARLY] Allow use of GICv4 for direct
2648 injection of LPIs.
a7546054 2649
60071659 2650 kvm_cma_resv_ratio=n [PPC,EARLY]
aed26eeb
SR
2651 Reserves given percentage from system memory area for
2652 contiguous memory allocation for KVM hash pagetable
2653 allocation.
2654 By default it reserves 5% of total system memory.
2655 Format: <integer>
2656 Default: 5
2657
f41dd67d
YJW
2658 kvm-intel.ept= [KVM,Intel] Control KVM's use of Extended Page Tables,
2659 a.k.a. Two-Dimensional Page Tables. Default is 1
2660 (enabled). Disable by KVM if hardware lacks support
2661 for EPT.
fef07aae
AP
2662
2663 kvm-intel.emulate_invalid_guest_state=
f41dd67d
YJW
2664 [KVM,Intel] Control whether to emulate invalid guest
2665 state. Ignored if kvm-intel.enable_unrestricted_guest=1,
2666 as guest state is never invalid for unrestricted
2667 guests. This param doesn't apply to nested guests (L2),
2668 as KVM never emulates invalid L2 guest state.
2669 Default is 1 (enabled).
fef07aae
AP
2670
2671 kvm-intel.flexpriority=
f41dd67d 2672 [KVM,Intel] Control KVM's use of FlexPriority feature
d56b699d 2673 (TPR shadow). Default is 1 (enabled). Disable by KVM if
f41dd67d 2674 hardware lacks support for it.
fef07aae 2675
e1a72ae2 2676 kvm-intel.nested=
f41dd67d
YJW
2677 [KVM,Intel] Control nested virtualization feature in
2678 KVM/VMX. Default is 1 (enabled).
e1a72ae2 2679
fef07aae 2680 kvm-intel.unrestricted_guest=
f41dd67d
YJW
2681 [KVM,Intel] Control KVM's use of unrestricted guest
2682 feature (virtualized real and unpaged mode). Default
2683 is 1 (enabled). Disable by KVM if EPT is disabled or
2684 hardware lacks support for it.
fef07aae 2685
a399477e
KRW
2686 kvm-intel.vmentry_l1d_flush=[KVM,Intel] Mitigation for L1 Terminal Fault
2687 CVE-2018-3620.
2688
2689 Valid arguments: never, cond, always
2690
2691 always: L1D cache flush on every VMENTER.
2692 cond: Flush L1D on VMENTER only when the code between
2693 VMEXIT and VMENTER can leak host memory.
2694 never: Disables the mitigation
2695
2696 Default is cond (do L1 cache flush in specific instances)
2697
f41dd67d
YJW
2698 kvm-intel.vpid= [KVM,Intel] Control KVM's use of Virtual Processor
2699 Identification feature (tagged TLBs). Default is 1
2700 (enabled). Disable by KVM if hardware lacks support
2701 for it.
fef07aae 2702
60071659 2703 l1d_flush= [X86,INTEL,EARLY]
b7fe54f6
BS
2704 Control mitigation for L1D based snooping vulnerability.
2705
2706 Certain CPUs are vulnerable to an exploit against CPU
2707 internal buffers which can forward information to a
2708 disclosure gadget under certain conditions.
2709
2710 In vulnerable processors, the speculatively
2711 forwarded data can be used in a cache side channel
2712 attack, to access data to which the attacker does
2713 not have direct access.
2714
2715 This parameter controls the mitigation. The
2716 options are:
2717
2718 on - enable the interface for the mitigation
2719
60071659 2720 l1tf= [X86,EARLY] Control mitigation of the L1TF vulnerability on
d90a7a0e
JK
2721 affected CPUs
2722
2723 The kernel PTE inversion protection is unconditionally
2724 enabled and cannot be disabled.
2725
2726 full
2727 Provides all available mitigations for the
2728 L1TF vulnerability. Disables SMT and
2729 enables all mitigations in the
2730 hypervisors, i.e. unconditional L1D flush.
2731
2732 SMT control and L1D flush control via the
2733 sysfs interface is still possible after
2734 boot. Hypervisors will issue a warning
2735 when the first VM is started in a
2736 potentially insecure configuration,
2737 i.e. SMT enabled or L1D flush disabled.
2738
2739 full,force
2740 Same as 'full', but disables SMT and L1D
2741 flush runtime control. Implies the
2742 'nosmt=force' command line option.
2743 (i.e. sysfs control of SMT is disabled.)
2744
2745 flush
2746 Leaves SMT enabled and enables the default
2747 hypervisor mitigation, i.e. conditional
2748 L1D flush.
2749
2750 SMT control and L1D flush control via the
2751 sysfs interface is still possible after
2752 boot. Hypervisors will issue a warning
2753 when the first VM is started in a
2754 potentially insecure configuration,
2755 i.e. SMT enabled or L1D flush disabled.
2756
2757 flush,nosmt
2758
2759 Disables SMT and enables the default
2760 hypervisor mitigation.
2761
2762 SMT control and L1D flush control via the
2763 sysfs interface is still possible after
2764 boot. Hypervisors will issue a warning
2765 when the first VM is started in a
2766 potentially insecure configuration,
2767 i.e. SMT enabled or L1D flush disabled.
2768
2769 flush,nowarn
2770 Same as 'flush', but hypervisors will not
2771 warn when a VM is started in a potentially
2772 insecure configuration.
2773
2774 off
2775 Disables hypervisor mitigations and doesn't
2776 emit any warnings.
5b5e4d62
MH
2777 It also drops the swap size and available
2778 RAM limit restriction on both hypervisor and
2779 bare metal.
d90a7a0e
JK
2780
2781 Default is 'flush'.
2782
65fd4cb6 2783 For details see: Documentation/admin-guide/hw-vuln/l1tf.rst
d90a7a0e 2784
1da177e4
LT
2785 l2cr= [PPC]
2786
a78bfbfc
RB
2787 l3cr= [PPC]
2788
60071659 2789 lapic [X86-32,APIC,EARLY] Enable the local APIC even if BIOS
a9913044 2790 disabled it.
1da177e4 2791
622381e6 2792 lapic= [X86,APIC] Do not use TSC deadline
279f1461
SS
2793 value for LAPIC timer one-shot implementation. Default
2794 back to the programmable timer unit in the LAPIC.
622381e6 2795 Format: notscdeadline
279f1461 2796
60071659 2797 lapic_timer_c2_ok [X86,APIC,EARLY] trust the local apic timer
ada9cfdd 2798 in C2 power state.
e585bef8 2799
fcb71f6f
FC
2800 libata.dma= [LIBATA] DMA control
2801 libata.dma=0 Disable all PATA and SATA DMA
2802 libata.dma=1 PATA and SATA Disk DMA only
2803 libata.dma=2 ATAPI (CDROM) DMA only
16290246 2804 libata.dma=4 Compact Flash DMA only
fcb71f6f
FC
2805 Combinations also work, so libata.dma=3 enables DMA
2806 for disks and CDROMs, but not CFs.
16290246 2807
20308871
MP
2808 libata.ignore_hpa= [LIBATA] Ignore HPA limit
2809 libata.ignore_hpa=0 keep BIOS limits (default)
2810 libata.ignore_hpa=1 ignore limits, using full disk
fcb71f6f 2811
78e70c23
DJ
2812 libata.noacpi [LIBATA] Disables use of ACPI in libata suspend/resume
2813 when set.
2814 Format: <int>
2815
fa82cabb
DLM
2816 libata.force= [LIBATA] Force configurations. The format is a comma-
2817 separated list of "[ID:]VAL" where ID is PORT[.DEVICE].
2818 PORT and DEVICE are decimal numbers matching port, link
2819 or device. Basically, it matches the ATA ID string
2820 printed on console by libata. If the whole ID part is
2821 omitted, the last PORT and DEVICE values are used. If
2822 ID hasn't been specified yet, the configuration applies
2823 to all ports, links and devices.
33267325
TH
2824
2825 If only DEVICE is omitted, the parameter applies to
2826 the port and all links and devices behind it. DEVICE
2827 number of 0 either selects the first device or the
2828 first fan-out link behind PMP device. It does not
2829 select the host link. DEVICE number of 15 selects the
2830 host link and device attached to it.
2831
2832 The VAL specifies the configuration to force. As long
fa82cabb 2833 as there is no ambiguity, shortcut notation is allowed.
33267325
TH
2834 For example, both 1.5 and 1.5G would work for 1.5Gbps.
2835 The following configurations can be forced.
2836
2837 * Cable type: 40c, 80c, short40c, unk, ign or sata.
2838 Any ID with matching PORT is used.
2839
2840 * SATA link speed limit: 1.5Gbps or 3.0Gbps.
2841
2842 * Transfer mode: pio[0-7], mwdma[0-4] and udma[0-7].
2843 udma[/][16,25,33,44,66,100,133] notation is also
2844 allowed.
2845
fa82cabb
DLM
2846 * nohrst, nosrst, norst: suppress hard, soft and both
2847 resets.
2848
2849 * rstonce: only attempt one reset during hot-unplug
2850 link recovery.
2851
2852 * [no]dbdelay: Enable or disable the extra 200ms delay
2853 before debouncing a link PHY and device presence
2854 detection.
2855
33267325
TH
2856 * [no]ncq: Turn on or off NCQ.
2857
fa82cabb
DLM
2858 * [no]ncqtrim: Enable or disable queued DSM TRIM.
2859
2860 * [no]ncqati: Enable or disable NCQ trim on ATI chipset.
2861
2862 * [no]trim: Enable or disable (unqueued) TRIM.
2863
2864 * trim_zero: Indicate that TRIM command zeroes data.
2865
2866 * max_trim_128m: Set 128M maximum trim size limit.
2867
2868 * [no]dma: Turn on or off DMA transfers.
2869
2870 * atapi_dmadir: Enable ATAPI DMADIR bridge support.
2871
2872 * atapi_mod16_dma: Enable the use of ATAPI DMA for
2873 commands that are not a multiple of 16 bytes.
2874
2875 * [no]dmalog: Enable or disable the use of the
2876 READ LOG DMA EXT command to access logs.
2877
2878 * [no]iddevlog: Enable or disable access to the
2879 identify device data log.
2880
2881 * [no]logdir: Enable or disable access to the general
2882 purpose log directory.
2883
2884 * max_sec_128: Set transfer size limit to 128 sectors.
2885
2886 * max_sec_1024: Set or clear transfer size limit to
2887 1024 sectors.
d7b16e4f 2888
fa82cabb
DLM
2889 * max_sec_lba48: Set or clear transfer size limit to
2890 65535 sectors.
05944bdf 2891
fa82cabb 2892 * [no]lpm: Enable or disable link power management.
ca6d43b0 2893
fa82cabb
DLM
2894 * [no]setxfer: Indicate if transfer speed mode setting
2895 should be skipped.
43c9c591 2896
4d2e4980
DLM
2897 * [no]fua: Disable or enable FUA (Force Unit Access)
2898 support for devices supporting this feature.
2899
fa82cabb 2900 * dump_id: Dump IDENTIFY data.
966fbe19 2901
b8bd6dc3
RJ
2902 * disable: Disable this device.
2903
33267325
TH
2904 If there are multiple matching configurations changing
2905 the same attribute, the last one is used.
2906
6b99e6e6 2907 load_ramdisk= [RAM] [Deprecated]
1da177e4 2908
a6b25b67
RD
2909 lockd.nlm_grace_period=P [NFS] Assign grace period.
2910 Format: <integer>
1da177e4 2911
a6b25b67
RD
2912 lockd.nlm_tcpport=N [NFS] Assign TCP port.
2913 Format: <integer>
2914
2915 lockd.nlm_timeout=T [NFS] Assign timeout value.
2916 Format: <integer>
2917
2918 lockd.nlm_udpport=M [NFS] Assign UDP port.
2919 Format: <integer>
1da177e4 2920
60071659 2921 lockdown= [SECURITY,EARLY]
000d388e
MG
2922 { integrity | confidentiality }
2923 Enable the kernel lockdown feature. If set to
2924 integrity, kernel features that allow userland to
2925 modify the running kernel are disabled. If set to
2926 confidentiality, kernel features that allow userland
2927 to extract confidential information from the kernel
2928 are also disabled.
2929
b1326d76
PM
2930 locktorture.acq_writer_lim= [KNL]
2931 Set the time limit in jiffies for a lock
2932 acquisition. Acquisitions exceeding this limit
2933 will result in a splat once they do complete.
2934
2273799c
PM
2935 locktorture.bind_readers= [KNL]
2936 Specify the list of CPUs to which the readers are
2937 to be bound.
2938
2939 locktorture.bind_writers= [KNL]
2940 Specify the list of CPUs to which the writers are
2941 to be bound.
2942
7f993623
PM
2943 locktorture.call_rcu_chains= [KNL]
2944 Specify the number of self-propagating call_rcu()
2945 chains to set up. These are used to ensure that
2946 there is a high probability of an RCU grace period
2947 in progress at any given time. Defaults to 0,
2948 which disables these call_rcu() chains.
2949
b1326d76
PM
2950 locktorture.long_hold= [KNL]
2951 Specify the duration in milliseconds for the
2952 occasional long-duration lock hold time. Defaults
2953 to 100 milliseconds. Select 0 to disable.
2954
2955 locktorture.nested_locks= [KNL]
2956 Specify the maximum lock nesting depth that
2957 locktorture is to exercise, up to a limit of 8
2958 (MAX_NESTED_LOCKS). Specify zero to disable.
2959 Note that this parameter is ineffective on types
2960 of locks that do not support nested acquisition.
2961
ec4518aa
PM
2962 locktorture.nreaders_stress= [KNL]
2963 Set the number of locking read-acquisition kthreads.
2964 Defaults to being automatically set based on the
2965 number of online CPUs.
2966
2967 locktorture.nwriters_stress= [KNL]
2968 Set the number of locking write-acquisition kthreads.
2969
2970 locktorture.onoff_holdoff= [KNL]
2971 Set time (s) after boot for CPU-hotplug testing.
2972
2973 locktorture.onoff_interval= [KNL]
2974 Set time (s) between CPU-hotplug operations, or
2975 zero to disable CPU-hotplug testing.
2976
b1326d76
PM
2977 locktorture.rt_boost= [KNL]
2978 Do periodic testing of real-time lock priority
2979 boosting. Select 0 to disable, 1 to boost
2980 only rt_mutex, and 2 to boost unconditionally.
2981 Defaults to 2, which might seem to be an
2982 odd choice, but which should be harmless for
2983 non-real-time spinlocks, due to their disabling
2984 of preemption. Note that non-realtime mutexes
2985 disable boosting.
2986
2987 locktorture.rt_boost_factor= [KNL]
2988 Number that determines how often and for how
2989 long priority boosting is exercised. This is
2990 scaled down by the number of writers, so that the
2991 number of boosts per unit time remains roughly
2992 constant as the number of writers increases.
2993 On the other hand, the duration of each boost
2994 increases with the number of writers.
2995
ec4518aa
PM
2996 locktorture.shuffle_interval= [KNL]
2997 Set task-shuffle interval (jiffies). Shuffling
2998 tasks allows some CPUs to go into dyntick-idle
2999 mode during the locktorture test.
3000
3001 locktorture.shutdown_secs= [KNL]
3002 Set time (s) after boot system shutdown. This
3003 is useful for hands-off automated testing.
3004
3005 locktorture.stat_interval= [KNL]
3006 Time (s) between statistics printk()s.
3007
3008 locktorture.stutter= [KNL]
3009 Time (s) to stutter testing, for example,
3010 specifying five seconds causes the test to run for
3011 five seconds, wait for five seconds, and so on.
3012 This tests the locking primitive's ability to
3013 transition abruptly to and from idle.
3014
ec4518aa
PM
3015 locktorture.torture_type= [KNL]
3016 Specify the locking implementation to test.
3017
b1326d76
PM
3018 locktorture.verbose= [KNL]
3019 Enable additional printk() statements.
3020
5d248bb3
DE
3021 locktorture.writer_fifo= [KNL]
3022 Run the write-side locktorture kthreads at
3023 sched_set_fifo() real-time priority.
3024
1da177e4
LT
3025 logibm.irq= [HW,MOUSE] Logitech Bus Mouse Driver
3026 Format: <irq>
3027
60071659
PM
3028 loglevel= [KNL,EARLY]
3029 All Kernel Messages with a loglevel smaller than the
1da177e4
LT
3030 console loglevel will be printed to the console. It can
3031 also be changed with klogd or other programs. The
3032 loglevels are defined as follows:
3033
3034 0 (KERN_EMERG) system is unusable
3035 1 (KERN_ALERT) action must be taken immediately
3036 2 (KERN_CRIT) critical conditions
3037 3 (KERN_ERR) error conditions
3038 4 (KERN_WARNING) warning conditions
3039 5 (KERN_NOTICE) normal but significant condition
3040 6 (KERN_INFO) informational
3041 7 (KERN_DEBUG) debug-level messages
3042
60071659
PM
3043 log_buf_len=n[KMG] [KNL,EARLY]
3044 Sets the size of the printk ring buffer, in bytes.
3045 n must be a power of two and greater than the
3046 minimal size. The minimal size is defined by
3047 LOG_BUF_SHIFT kernel config parameter. There
3048 is also CONFIG_LOG_CPU_MAX_BUF_SHIFT config
3049 parameter that allows to increase the default size
3050 depending on the number of CPUs. See init/Kconfig
3051 for more details.
1da177e4 3052
accaa24c
RD
3053 logo.nologo [FB] Disables display of the built-in Linux logo.
3054 This may be used to provide more screen space for
3055 kernel log messages and is useful when debugging
3056 kernel boot problems.
3057
1da177e4
LT
3058 lp=0 [LP] Specify parallel ports to use, e.g,
3059 lp=port[,port...] lp=none,parport0 (lp0 not configured, lp1 uses
3060 lp=reset first parallel port). 'lp=0' disables the
3061 lp=auto printer driver. 'lp=reset' (which can be
3062 specified in addition to the ports) causes
3063 attached printers to be reset. Using
3064 lp=port1,port2,... specifies the parallel ports
3065 to associate lp devices with, starting with
3066 lp0. A port specification may be 'none' to skip
3067 that lp device, or a parport name such as
3068 'parport0'. Specifying 'lp=auto' instead of a
3069 port specification list means that device IDs
3070 from each port should be examined, to see if
3071 an IEEE 1284-compliant printer is attached; if
3072 so, the driver will manage that printer.
3073 See also header of drivers/char/lp.c.
3074
3075 lpj=n [KNL]
3076 Sets loops_per_jiffy to given constant, thus avoiding
3077 time-consuming boot-time autodetection (up to 250 ms per
3078 CPU). 0 enables autodetection (default). To determine
3079 the correct value for your kernel, boot with normal
3080 autodetection and see what value is printed. Note that
3081 on SMP systems the preset will be applied to all CPUs,
3082 which is likely to cause problems if your CPUs need
3083 significantly divergent settings. An incorrect value
3084 will cause delays in the kernel to be wrong, leading to
3085 unpredictable I/O errors and other breakage. Although
3086 unlikely, in the extreme case this might damage your
3087 hardware.
3088
3089 ltpc= [NET]
3090 Format: <io>,<irq>,<dma>
3091
9b8c7c14
KC
3092 lsm.debug [SECURITY] Enable LSM initialization debugging output.
3093
79f7865d
KC
3094 lsm=lsm1,...,lsmN
3095 [SECURITY] Choose order of LSM initialization. This
89a9684e 3096 overrides CONFIG_LSM, and the "security=" parameter.
79f7865d 3097
16290246 3098 machvec= [IA-64] Force the use of a particular machine-vector
a9913044 3099 (machvec) in a generic kernel.
df43acac 3100 Example: machvec=hpzx1
1da177e4 3101
42769488
RD
3102 machtype= [Loongson] Share the same kernel image file between
3103 different yeeloong laptops.
3209e70e
WZ
3104 Example: machtype=lemote-yeeloong-2f-7inch
3105
59bdbbd5 3106 max_addr=nn[KMG] [KNL,BOOT,IA-64] All physical memory greater
0cb55ad2 3107 than or equal to this physical address is ignored.
1da177e4 3108
60071659 3109 maxcpus= [SMP,EARLY] Maximum number of processors that an SMP kernel
7c142bfe
BH
3110 will bring up during bootup. maxcpus=n : n >= 0 limits
3111 the kernel to bring up 'n' processors. Surely after
3112 bootup you can bring up the other plugged cpu by executing
3113 "echo 1 > /sys/devices/system/cpu/cpuX/online". So maxcpus
3114 only takes effect during system bootup.
3115 While n=0 is a special case, it is equivalent to "nosmp",
3116 which also disables the IO APIC.
1da177e4 3117
d134b00b
KS
3118 max_loop= [LOOP] The number of loop block devices that get
3119 (loop.max_loop) unconditionally pre-created at init time. The default
3120 number is configured by BLK_DEV_LOOP_MIN_COUNT. Instead
3121 of statically allocating a predefined number, loop
3122 devices can be requested on-demand with the
3123 /dev/loop-control interface.
2b2c3750 3124
cd4f0ef7 3125 mce [X86-32] Machine Check Exception
1da177e4 3126
ff61f079 3127 mce=option [X86-64] See Documentation/arch/x86/x86_64/boot-options.rst
909dd324 3128
1da177e4 3129 md= [HW] RAID subsystems devices and level
e52347bd 3130 See Documentation/admin-guide/md.rst.
a9913044 3131
1da177e4
LT
3132 mdacon= [MDA]
3133 Format: <first>,<last>
3134 Specifies range of consoles to be captured by the MDA.
a9913044 3135
60071659 3136 mds= [X86,INTEL,EARLY]
bc124170
TG
3137 Control mitigation for the Micro-architectural Data
3138 Sampling (MDS) vulnerability.
3139
3140 Certain CPUs are vulnerable to an exploit against CPU
3141 internal buffers which can forward information to a
3142 disclosure gadget under certain conditions.
3143
3144 In vulnerable processors, the speculatively
3145 forwarded data can be used in a cache side channel
3146 attack, to access data to which the attacker does
3147 not have direct access.
3148
3149 This parameter controls the MDS mitigation. The
3150 options are:
3151
d71eb0ce
JP
3152 full - Enable MDS mitigation on vulnerable CPUs
3153 full,nosmt - Enable MDS mitigation and disable
3154 SMT on vulnerable CPUs
3155 off - Unconditionally disable MDS mitigation
bc124170 3156
64870ed1
WL
3157 On TAA-affected machines, mds=off can be prevented by
3158 an active TAA mitigation as both vulnerabilities are
3159 mitigated with the same mechanism so in order to disable
3160 this mitigation, you need to specify tsx_async_abort=off
3161 too.
3162
bc124170
TG
3163 Not specifying this option is equivalent to
3164 mds=full.
3165
5999bbe7
TG
3166 For details see: Documentation/admin-guide/hw-vuln/mds.rst
3167
60071659 3168 mem=nn[KMG] [HEXAGON,EARLY] Set the memory size.
75c05fab
MR
3169 Must be specified, otherwise memory size will be 0.
3170
60071659
PM
3171 mem=nn[KMG] [KNL,BOOT,EARLY] Force usage of a specific amount
3172 of memory Amount of memory to be used in cases
3173 as follows:
f3cd4c86
BH
3174
3175 1 for test;
3176 2 when the kernel is not able to see the whole system memory;
3177 3 memory that lies after 'mem=' boundary is excluded from
3178 the hypervisor, then assigned to KVM guests.
75c05fab
MR
3179 4 to limit the memory available for kdump kernel.
3180
3181 [ARC,MICROBLAZE] - the limit applies only to low memory,
3182 high memory is not affected.
3183
3184 [ARM64] - only limits memory covered by the linear
3185 mapping. The NOMAP regions are not affected.
f3cd4c86 3186
fbb97d87
WC
3187 [X86] Work as limiting max address. Use together
3188 with memmap= to avoid physical address space collisions.
3189 Without memmap= PCI devices could be placed at addresses
3190 belonging to unused RAM.
1da177e4 3191
f3cd4c86
BH
3192 Note that this only takes effects during boot time since
3193 in above case 3, memory may need be hot added after boot
3194 if system memory of hypervisor is not sufficient.
3195
75c05fab 3196 mem=nn[KMG]@ss[KMG]
60071659
PM
3197 [ARM,MIPS,EARLY] - override the memory layout
3198 reported by firmware.
75c05fab
MR
3199 Define a memory region of size nn[KMG] starting at
3200 ss[KMG].
3201 Multiple different regions can be specified with
3202 multiple mem= parameters on the command line.
3203
cd4f0ef7 3204 mem=nopentium [BUGS=X86-32] Disable usage of 4MB pages for kernel
1da177e4
LT
3205 memory.
3206
60071659 3207 memblock=debug [KNL,EARLY] Enable memblock debug messages.
389cfd96 3208
6902aa84
PM
3209 memchunk=nn[KMG]
3210 [KNL,SH] Allow user to override the default size for
3211 per-device physically contiguous DMA buffers.
3212
5797f5f9 3213 memhp_default_state=online/offline/online_kernel/online_movable
86dd995d
VK
3214 [KNL] Set the initial state for the memory hotplug
3215 onlining policy. If not specified, the default value is
3216 set according to the
3217 CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE kernel config
3218 option.
cb1aaebe 3219 See Documentation/admin-guide/mm/memory-hotplug.rst.
86dd995d 3220
60071659 3221 memmap=exactmap [KNL,X86,EARLY] Enable setting of an exact
1da177e4
LT
3222 E820 memory map, as specified by the user.
3223 Such memmap=exactmap lines can be constructed based on
3224 BIOS output or other requirements. See the memmap=nn@ss
3225 option description.
3226
3227 memmap=nn[KMG]@ss[KMG]
60071659 3228 [KNL, X86,MIPS,XTENSA,EARLY] Force usage of a specific region of memory.
277cba1d 3229 Region of memory to be used is from ss to ss+nn.
8fcc9bc3
BH
3230 If @ss[KMG] is omitted, it is equivalent to mem=nn[KMG],
3231 which limits max address to nn[KMG].
3232 Multiple different regions can be specified,
3233 comma delimited.
3234 Example:
3235 memmap=100M@2G,100M#3G,1G!1024G
1da177e4
LT
3236
3237 memmap=nn[KMG]#ss[KMG]
60071659 3238 [KNL,ACPI,EARLY] Mark specific memory as ACPI data.
277cba1d 3239 Region of memory to be marked is from ss to ss+nn.
1da177e4
LT
3240
3241 memmap=nn[KMG]$ss[KMG]
60071659 3242 [KNL,ACPI,EARLY] Mark specific memory as reserved.
277cba1d 3243 Region of memory to be reserved is from ss to ss+nn.
1312848e
PM
3244 Example: Exclude memory from 0x18690000-0x1869ffff
3245 memmap=64K$0x18690000
3246 or
3247 memmap=0x10000$0x18690000
8fcc9bc3
BH
3248 Some bootloaders may need an escape character before '$',
3249 like Grub2, otherwise '$' and the following number
3250 will be eaten.
1da177e4 3251
60071659 3252 memmap=nn[KMG]!ss[KMG,EARLY]
ec776ef6
CH
3253 [KNL,X86] Mark specific memory as protected.
3254 Region of memory to be used, from ss to ss+nn.
3255 The memory region may be marked as e820 type 12 (0xc)
3256 and is NVDIMM or ADR memory.
3257
ef61f8a3 3258 memmap=<size>%<offset>-<oldtype>+<newtype>
60071659 3259 [KNL,ACPI,EARLY] Convert memory within the specified region
ef61f8a3
JS
3260 from <oldtype> to <newtype>. If "-<oldtype>" is left
3261 out, the whole region will be marked as <newtype>,
3262 even if previously unavailable. If "+<newtype>" is left
3263 out, matching memory will be removed. Types are
3264 specified as e820 types, e.g., 1 = RAM, 2 = reserved,
3265 3 = ACPI, 12 = PRAM.
3266
60071659 3267 memory_corruption_check=0/1 [X86,EARLY]
9f077871
JF
3268 Some BIOSes seem to corrupt the first 64k of
3269 memory when doing things like suspend/resume.
3270 Setting this option will scan the memory
3271 looking for corruption. Enabling this will
3272 both detect corruption and prevent the kernel
3273 from using the memory being corrupted.
3274 However, its intended as a diagnostic tool; if
3275 repeatable BIOS-originated corruption always
3276 affects the same memory, you can use memmap=
3277 to prevent the kernel from using that memory.
3278
60071659 3279 memory_corruption_check_size=size [X86,EARLY]
9f077871
JF
3280 By default it checks for corruption in the low
3281 64k, making this memory unavailable for normal
3282 use. Use this parameter to scan for
3283 corruption in more or less memory.
3284
60071659 3285 memory_corruption_check_period=seconds [X86,EARLY]
9f077871
JF
3286 By default it checks for corruption every 60
3287 seconds. Use this parameter to check at some
3288 other rate. 0 disables periodic checking.
3289
e3a9d9fc
OS
3290 memory_hotplug.memmap_on_memory
3291 [KNL,X86,ARM] Boolean flag to enable this feature.
3292 Format: {on | off (default)}
3293 When enabled, runtime hotplugged memory will
66361095
MS
3294 allocate its internal metadata (struct pages,
3295 those vmemmap pages cannot be optimized even
3296 if hugetlb_free_vmemmap is enabled) from the
3297 hotadded memory which will allow to hotadd a
3298 lot of memory without requiring additional
3299 memory to do so.
e3a9d9fc
OS
3300 This feature is disabled by default because it
3301 has some implication on large (e.g. GB)
3302 allocations in some configurations (e.g. small
3303 memory blocks).
3304 The state of the flag can be read in
3305 /sys/module/memory_hotplug/parameters/memmap_on_memory.
3306 Note that even when enabled, there are a few cases where
3307 the feature is not effective.
3308
60071659 3309 memtest= [KNL,X86,ARM,M68K,PPC,RISCV,EARLY] Enable memtest
c64df707 3310 Format: <integer>
c64df707 3311 default : 0 <disable>
9e5f6cf5
AH
3312 Specifies the number of memtest passes to be
3313 performed. Each pass selects another test
3314 pattern from a given set of patterns. Memtest
3315 fills the memory with this pattern, validates
3316 memory contents and reserves bad memory
3317 regions that are detected.
c64df707 3318
c262f3b9
TL
3319 mem_encrypt= [X86-64] AMD Secure Memory Encryption (SME) control
3320 Valid arguments: on, off
29956748 3321 Default: off
c262f3b9
TL
3322 mem_encrypt=on: Activate SME
3323 mem_encrypt=off: Do not activate SME
3324
7ac3945d 3325 Refer to Documentation/virt/kvm/x86/amd-memory-encryption.rst
c262f3b9
TL
3326 for details on when memory encryption can be activated.
3327
406e7938
RW
3328 mem_sleep_default= [SUSPEND] Default system suspend mode:
3329 s2idle - Suspend-To-Idle
3330 shallow - Power-On Suspend or equivalent (if supported)
3331 deep - Suspend-To-RAM or equivalent (if supported)
58e7cb9e 3332 See Documentation/admin-guide/pm/sleep-states.rst.
406e7938 3333
8f36881b
AS
3334 mfgpt_irq= [IA-32] Specify the IRQ to use for the
3335 Multi-Function General Purpose Timers on AMD Geode
3336 platforms.
3337
e6c4dc6c
WT
3338 mfgptfix [X86-32] Fix MFGPT timers on AMD Geode platforms when
3339 the BIOS has incorrectly applied a workaround. TinyBIOS
3340 version 0.98 is known to be affected, 0.99 fixes the
3341 problem by letting the user disable the workaround.
3342
1da177e4
LT
3343 mga= [HW,DRM]
3344
9407bda8
TG
3345 microcode.force_minrev= [X86]
3346 Format: <bool>
3347 Enable or disable the microcode minimal revision
3348 enforcement for the runtime microcode loader.
3349
59bdbbd5 3350 min_addr=nn[KMG] [KNL,BOOT,IA-64] All physical memory below this
1c207f95
RD
3351 physical address is ignored.
3352
39f45d7b
MP
3353 mini2440= [ARM,HW,KNL]
3354 Format:[0..2][b][c][t]
3355 Default: "0tb"
3356 MINI2440 configuration specification:
3357 0 - The attached screen is the 3.5" TFT
3358 1 - The attached screen is the 7" TFT
3359 2 - The VGA Shield is attached (1024x768)
3360 Leaving out the screen size parameter will not load
3361 the TFT driver, and the framebuffer will be left
3362 unconfigured.
3363 b - Enable backlight. The TFT backlight pin will be
3364 linked to the kernel VESA blanking code and a GPIO
3365 LED. This parameter is not necessary when using the
3366 VGA shield.
3367 c - Enable the s3c camera interface.
3368 t - Reserved for enabling touchscreen support. The
3369 touchscreen support is not enabled in the mainstream
3370 kernel as of 2.6.30, a preliminary port can be found
3371 in the "bleeding edge" mini2440 support kernel at
6b2484e1 3372 https://repo.or.cz/w/linux-2.6/mini2440.git
39f45d7b 3373
98af8452 3374 mitigations=
60071659 3375 [X86,PPC,S390,ARM64,EARLY] Control optional mitigations for
a111b7c0 3376 CPU vulnerabilities. This is a set of curated,
d68be4c4
JP
3377 arch-independent options, each of which is an
3378 aggregation of existing arch-specific options.
98af8452
JP
3379
3380 off
3381 Disable all optional CPU mitigations. This
3382 improves system performance, but it may also
3383 expose users to several CPU vulnerabilities.
8974eb58
DS
3384 Equivalent to: if nokaslr then kpti=0 [ARM64]
3385 gather_data_sampling=off [X86]
3386 kvm.nx_huge_pages=off [X86]
d68be4c4 3387 l1tf=off [X86]
5c14068f 3388 mds=off [X86]
8974eb58 3389 mmio_stale_data=off [X86]
f7964378 3390 no_entry_flush [PPC]
9a32a7e7 3391 no_uaccess_flush [PPC]
8974eb58
DS
3392 nobp=0 [S390]
3393 nopti [X86,PPC]
3394 nospectre_bhb [ARM64]
3395 nospectre_v1 [X86,PPC]
3396 nospectre_v2 [X86,PPC,S390,ARM64]
ea304a8b 3397 retbleed=off [X86]
49527ca2 3398 spec_rstack_overflow=off [X86]
8974eb58
DS
3399 spec_store_bypass_disable=off [X86,PPC]
3400 spectre_v2_user=off [X86]
3401 srbds=off [X86,INTEL]
3402 ssbd=force-off [ARM64]
3403 tsx_async_abort=off [X86]
b8e8c830
PB
3404
3405 Exceptions:
3406 This does not have any effect on
3407 kvm.nx_huge_pages when
3408 kvm.nx_huge_pages=force.
98af8452
JP
3409
3410 auto (default)
3411 Mitigate all CPU vulnerabilities, but leave SMT
3412 enabled, even if it's vulnerable. This is for
3413 users who don't want to be surprised by SMT
3414 getting disabled across kernel upgrades, or who
3415 have other ways of avoiding SMT-based attacks.
d68be4c4 3416 Equivalent to: (default behavior)
98af8452
JP
3417
3418 auto,nosmt
3419 Mitigate all CPU vulnerabilities, disabling SMT
3420 if needed. This is for users who always want to
3421 be fully mitigated, even if it means losing SMT.
d68be4c4 3422 Equivalent to: l1tf=flush,nosmt [X86]
5c14068f 3423 mds=full,nosmt [X86]
a7a248c5 3424 tsx_async_abort=full,nosmt [X86]
8cb861e9 3425 mmio_stale_data=full,nosmt [X86]
ea304a8b 3426 retbleed=auto,nosmt [X86]
98af8452 3427
6b74ab97 3428 mminit_loglevel=
60071659 3429 [KNL,EARLY] When CONFIG_DEBUG_MEMORY_INIT is set, this
6b74ab97
MG
3430 parameter allows control of the logging verbosity for
3431 the additional memory initialisation checks. A value
3432 of 0 disables mminit logging and a level of 4 will
3433 log everything. Information is printed at KERN_DEBUG
3434 so loglevel=8 may also need to be specified.
3435
8cb861e9 3436 mmio_stale_data=
60071659 3437 [X86,INTEL,EARLY] Control mitigation for the Processor
8cb861e9
PG
3438 MMIO Stale Data vulnerabilities.
3439
3440 Processor MMIO Stale Data is a class of
3441 vulnerabilities that may expose data after an MMIO
3442 operation. Exposed data could originate or end in
3443 the same CPU buffers as affected by MDS and TAA.
3444 Therefore, similar to MDS and TAA, the mitigation
3445 is to clear the affected CPU buffers.
3446
3447 This parameter controls the mitigation. The
3448 options are:
3449
3450 full - Enable mitigation on vulnerable CPUs
3451
3452 full,nosmt - Enable mitigation and disable SMT on
3453 vulnerable CPUs.
3454
3455 off - Unconditionally disable mitigation
3456
3457 On MDS or TAA affected machines,
3458 mmio_stale_data=off can be prevented by an active
3459 MDS or TAA mitigation as these vulnerabilities are
3460 mitigated with the same mechanism so in order to
3461 disable this mitigation, you need to specify
3462 mds=off and tsx_async_abort=off too.
3463
3464 Not specifying this option is equivalent to
3465 mmio_stale_data=full.
3466
3467 For details see:
3468 Documentation/admin-guide/hw-vuln/processor_mmio_stale_data.rst
3469
42551b8d
RD
3470 <module>.async_probe[=<bool>] [KNL]
3471 If no <bool> value is specified or if the value
3472 specified is not a valid <bool>, enable asynchronous
3473 probe on this module. Otherwise, enable/disable
3474 asynchronous probe on this module as indicated by the
3475 <bool> value. See also: module.async_probe
3476
ae39e9ed
SK
3477 module.async_probe=<bool>
3478 [KNL] When set to true, modules will use async probing
3479 by default. To enable/disable async probing for a
3480 specific module, use the module specific control that
3481 is documented under <module>.async_probe. When both
3482 module.async_probe and <module>.async_probe are
3483 specified, <module>.async_probe takes precedence for
3484 the specific module.
3485
8660484e
LC
3486 module.enable_dups_trace
3487 [KNL] When CONFIG_MODULE_DEBUG_AUTOLOAD_DUPS is set,
3488 this means that duplicate request_module() calls will
3489 trigger a WARN_ON() instead of a pr_warn(). Note that
3490 if MODULE_DEBUG_AUTOLOAD_DUPS_TRACE is set, WARN_ON()s
3491 will always be issued and this option does nothing.
106a4ee2
RR
3492 module.sig_enforce
3493 [KNL] When CONFIG_MODULE_SIG is set, this means that
3494 modules without (valid) signatures will fail to load.
2a039be7 3495 Note that if CONFIG_MODULE_SIG_FORCE is set, that
106a4ee2
RR
3496 is always true, so this option does nothing.
3497
be7de5f9
PB
3498 module_blacklist= [KNL] Do not load a comma-separated list of
3499 modules. Useful for debugging problem modules.
3500
1da177e4
LT
3501 mousedev.tap_time=
3502 [MOUSE] Maximum time between finger touching and
3503 leaving touchpad surface for touch to be considered
3504 a tap and be reported as a left button click (for
3505 touchpads working in absolute mode only).
3506 Format: <msecs>
3507 mousedev.xres= [MOUSE] Horizontal screen resolution, used for devices
3508 reporting absolute coordinates, such as tablets
3509 mousedev.yres= [MOUSE] Vertical screen resolution, used for devices
3510 reporting absolute coordinates, such as tablets
3511
60071659 3512 movablecore= [KNL,X86,IA-64,PPC,EARLY]
a5c6d650
DR
3513 Format: nn[KMGTPE] | nn%
3514 This parameter is the complement to kernelcore=, it
3515 specifies the amount of memory used for migratable
3516 allocations. If both kernelcore and movablecore is
3517 specified, then kernelcore will be at *least* the
3518 specified value but may be more. If movablecore on its
3519 own is specified, the administrator must be careful
0cb55ad2
RD
3520 that the amount of memory usable for all allocations
3521 is not too small.
3522
60071659 3523 movable_node [KNL,EARLY] Boot-time switch to make hotplugable memory
f70029bb
MH
3524 NUMA nodes to be movable. This means that the memory
3525 of such nodes will be usable only for movable
3526 allocations which rules out almost all kernel
3527 allocations. Use with caution!
c5320926 3528
1da177e4
LT
3529 MTD_Partition= [MTD]
3530 Format: <name>,<region-number>,<size>,<offset>
3531
a9913044
RD
3532 MTD_Region= [MTD] Format:
3533 <name>,<region-number>[,<base>,<size>,<buswidth>,<altbuswidth>]
1da177e4
LT
3534
3535 mtdparts= [MTD]
fb251124 3536 See drivers/mtd/parsers/cmdlinepart.c
1da177e4 3537
9db829f4
BD
3538 mtdset= [ARM]
3539 ARM/S3C2412 JIVE boot control
3540
0f12999e 3541 See arch/arm/mach-s3c/mach-jive.c
9db829f4 3542
1da177e4 3543 mtouchusb.raw_coordinates=
a9913044
RD
3544 [HW] Make the MicroTouch USB driver use raw coordinates
3545 ('y', default) or cooked coordinates ('n')
1da177e4 3546
60071659 3547 mtrr=debug [X86,EARLY]
a4316603
JG
3548 Enable printing debug information related to MTRR
3549 registers at boot time.
3550
60071659 3551 mtrr_chunk_size=nn[KMG,X86,EARLY]
19f59460 3552 used for mtrr cleanup. It is largest continuous chunk
0cb55ad2
RD
3553 that could hold holes aka. UC entries.
3554
60071659 3555 mtrr_gran_size=nn[KMG,X86,EARLY]
0cb55ad2
RD
3556 Used for mtrr cleanup. It is granularity of mtrr block.
3557 Default is 1.
3558 Large value could prevent small alignment from
3559 using up MTRRs.
3560
60071659 3561 mtrr_spare_reg_nr=n [X86,EARLY]
0cb55ad2
RD
3562 Format: <integer>
3563 Range: 0,7 : spare reg number
3564 Default : 1
3565 Used for mtrr cleanup. It is spare mtrr entries number.
3566 Set to 2 or more if your graphical card needs more.
3567
389cfd96
RD
3568 multitce=off [PPC] This parameter disables the use of the pSeries
3569 firmware feature for updating multiple TCE entries
3570 at a time.
3571
1da177e4
LT
3572 n2= [NET] SDL Inc. RISCom/N2 synchronous serial card
3573
1da177e4
LT
3574 netdev= [NET] Network devices parameters
3575 Format: <irq>,<io>,<mem_start>,<mem_end>,<name>
3576 Note that mem_start is often overloaded to mean
3577 something different and driver-specific.
a9913044
RD
3578 This usage is only documented in each driver source
3579 file if at all.
3580
389cfd96
RD
3581 netpoll.carrier_timeout=
3582 [NET] Specifies amount of time (in seconds) that
3583 netpoll should wait for a carrier. By default netpoll
3584 waits 4 seconds.
3585
58401572
KPO
3586 nf_conntrack.acct=
3587 [NETFILTER] Enable connection tracking flow accounting
3588 0 to disable accounting
3589 1 to enable accounting
d70a011d 3590 Default value is 0.
58401572 3591
c500488f
RD
3592 nfs.cache_getent=
3593 [NFS] sets the pathname to the program which is used
3594 to update the NFS client cache entries.
1da177e4 3595
c500488f
RD
3596 nfs.cache_getent_timeout=
3597 [NFS] sets the timeout after which an attempt to
3598 update a cache entry is deemed to have failed.
306a0753 3599
5405fc44
TM
3600 nfs.callback_nr_threads=
3601 [NFSv4] set the total number of threads that the
3602 NFS client will assign to service NFSv4 callback
3603 requests.
3604
a72b4422
TM
3605 nfs.callback_tcpport=
3606 [NFS] set the TCP port on which the NFSv4 callback
3607 channel should listen.
3608
5b9d31ae
TM
3609 nfs.delay_retrans=
3610 [NFS] specifies the number of times the NFSv4 client
3611 retries the request before returning an EAGAIN error,
3612 after a reply of NFS4ERR_DELAY from the server.
3613 Only applies if the softerr mount option is enabled,
3614 and the specified value is >= 0.
3615
f43bf0be
TM
3616 nfs.enable_ino64=
3617 [NFS] enable 64-bit inode numbers.
3618 If zero, the NFS client will fake up a 32-bit inode
3619 number for the readdir() and stat() syscalls instead
3620 of returning the full 64-bit number.
3621 The default is to return 64-bit inode numbers.
3622
c500488f
RD
3623 nfs.idmap_cache_timeout=
3624 [NFS] set the maximum lifetime for idmapper cache
3625 entries.
3626
5405fc44
TM
3627 nfs.max_session_cb_slots=
3628 [NFSv4.1] Sets the maximum number of session
3629 slots the client will assign to the callback
3630 channel. This determines the maximum number of
3631 callbacks the client will process in parallel for
3632 a particular server.
3633
ef159e91
TM
3634 nfs.max_session_slots=
3635 [NFSv4.1] Sets the maximum number of session slots
3636 the client will attempt to negotiate with the server.
3637 This limits the number of simultaneous RPC requests
3638 that the client can send to the NFSv4.1 server.
3639 Note that there is little point in setting this
3640 value higher than the max_tcp_slot_table_limit.
3641
b064eca2 3642 nfs.nfs4_disable_idmapping=
074b1d12
TM
3643 [NFSv4] When set to the default of '1', this option
3644 ensures that both the RPC level authentication
3645 scheme and the NFS level operations agree to use
3646 numeric uids/gids if the mount is using the
3647 'sec=sys' security flavour. In effect it is
3648 disabling idmapping, which can make migration from
3649 legacy NFSv2/v3 systems to NFSv4 easier.
3650 Servers that do not support this mode of operation
3651 will be autodetected by the client, and it will fall
3652 back to using the idmapper.
3653 To turn off this behaviour, set the value to '0'.
c500488f 3654
6f2ea7f2
CL
3655 nfs.nfs4_unique_id=
3656 [NFS4] Specify an additional fixed unique ident-
3657 ification string that NFSv4 clients can insert into
3658 their nfs_client_id4 string. This is typically a
3659 UUID that is generated at system install time.
b064eca2 3660
c500488f 3661 nfs.recover_lost_locks=
f6de7a39
TM
3662 [NFSv4] Attempt to recover locks that were lost due
3663 to a lease timeout on the server. Please note that
3664 doing this risks data corruption, since there are
3665 no guarantees that the file will remain unchanged
3666 after the locks are lost.
3667 If you want to enable the kernel legacy behaviour of
3668 attempting to recover these locks, then set this
3669 parameter to '1'.
3670 The default parameter value of '0' causes the kernel
3671 not to attempt recovery of lost locks.
db8ac8ba 3672
c500488f
RD
3673 nfs.send_implementation_id=
3674 [NFSv4.1] Send client implementation identification
3675 information in exchange_id requests.
3676 If zero, no implementation identification information
3677 will be sent.
3678 The default is to send the implementation identification
3679 information.
3680
3681 nfs4.layoutstats_timer=
bbf58bf3
TM
3682 [NFSv4.2] Change the rate at which the kernel sends
3683 layoutstats to the pNFS metadata server.
3684
3685 Setting this to value to 0 causes the kernel to use
3686 whatever value is the default set by the layout
3687 driver. A non-zero value sets the minimum interval
3688 in seconds between layoutstats transmissions.
3689
c500488f 3690 nfsd.inter_copy_offload_enable=
6d91929a
BF
3691 [NFSv4.2] When set to 1, the server will support
3692 server-to-server copies for which this server is
3693 the destination of the copy.
3694
c500488f
RD
3695 nfsd.nfs4_disable_idmapping=
3696 [NFSv4] When set to the default of '1', the NFSv4
3697 server will return only numeric uids and gids to
3698 clients using auth_sys, and will accept numeric uids
3699 and gids from such clients. This is intended to ease
3700 migration from NFSv2/v3.
3701
3702 nfsd.nfsd4_ssc_umount_timeout=
6d91929a
BF
3703 [NFSv4.2] When used as the destination of a
3704 server-to-server copy, knfsd temporarily mounts
3705 the source server. It caches the mount in case
3706 it will be needed again, and discards it if not
3707 used for the number of milliseconds specified by
3708 this parameter.
3709
c500488f
RD
3710 nfsaddrs= [NFS] Deprecated. Use ip= instead.
3711 See Documentation/admin-guide/nfs/nfsroot.rst.
3712
3713 nfsroot= [NFS] nfs root filesystem for disk-less boxes.
3714 See Documentation/admin-guide/nfs/nfsroot.rst.
db8ac8ba 3715
c500488f
RD
3716 nfsrootdebug [NFS] enable nfsroot debugging messages.
3717 See Documentation/admin-guide/nfs/nfsroot.rst.
6d91929a 3718
160c7ba3
PM
3719 nmi_backtrace.backtrace_idle [KNL]
3720 Dump stacks even of idle CPUs in response to an
3721 NMI stack-backtrace request.
3722
c0c74acb 3723 nmi_debug= [KNL,SH] Specify one or more actions to take
e7ba176b
HS
3724 when a NMI is triggered.
3725 Format: [state][,regs][,debounce][,die]
3726
6cececfc 3727 nmi_watchdog= [KNL,BUGS=X86] Debugging features for SMP kernels
fef2c9bc 3728 Format: [panic,][nopanic,][num]
195daf66 3729 Valid num: 0 or 1
334bb79c
PK
3730 0 - turn hardlockup detector in nmi_watchdog off
3731 1 - turn hardlockup detector in nmi_watchdog on
0cb55ad2 3732 When panic is specified, panic when an NMI watchdog
93285c01
ZD
3733 timeout occurs (or 'nopanic' to not panic on an NMI
3734 watchdog, if CONFIG_BOOTPARAM_HARDLOCKUP_PANIC is set)
3735 To disable both hard and soft lockup detectors,
334bb79c 3736 please see 'nowatchdog'.
0cb55ad2
RD
3737 This is useful when you use a panic=... timeout and
3738 need the box quickly up again.
1da177e4 3739
d22881dc
SW
3740 These settings can be accessed at runtime via
3741 the nmi_watchdog and hardlockup_panic sysctls.
3742
cd4f0ef7 3743 no387 [BUGS=X86-32] Tells the kernel to use the 387 maths
1da177e4
LT
3744 emulation library even if a 387 maths coprocessor
3745 is present.
3746
60071659
PM
3747 no4lvl [RISCV,EARLY] Disable 4-level and 5-level paging modes.
3748 Forces kernel to use 3-level paging instead.
26e7aacb 3749
60071659 3750 no5lvl [X86-64,RISCV,EARLY] Disable 5-level paging mode. Forces
372fddf7
KS
3751 kernel to use 4-level paging instead.
3752
a894a8a5
RD
3753 noaliencache [MM, NUMA, SLAB] Disables the allocation of alien
3754 caches in the slab allocator. Saves per-node memory,
3755 but will impact performance.
3756
3757 noalign [KNL,ARM]
3758
60071659
PM
3759 noaltinstr [S390,EARLY] Disables alternative instructions
3760 patching (CPU alternatives feature).
a894a8a5 3761
60071659 3762 noapic [SMP,APIC,EARLY] Tells the kernel to not make use of any
a894a8a5
RD
3763 IOAPICs that may be present in the system.
3764
3765 noautogroup Disable scheduler automatic task group creation.
3766
60071659 3767 nocache [ARM,EARLY]
dd649bd0 3768
0cb55ad2
RD
3769 no_console_suspend
3770 [HW] Never suspend the console
3771 Disable suspending of consoles during suspend and
3772 hibernate operations. Once disabled, debugging
3773 messages can reach various consoles while the rest
3774 of the system is being put to sleep (ie, while
3775 debugging driver suspend/resume hooks). This may
3776 not work reliably with all consoles, but is known
3777 to work with serial and VGA consoles.
134620f7
YZ
3778 To facilitate more flexible debugging, we also add
3779 console_suspend, a printk module parameter to control
3780 it. Users could use console_suspend (usually
3781 /sys/module/printk/parameters/console_suspend) to
3782 turn on/off it dynamically.
0cb55ad2 3783
a894a8a5 3784 no_debug_objects
60071659 3785 [KNL,EARLY] Disable object debugging
a9913044 3786
6902aa84
PM
3787 nodsp [SH] Disable hardware DSP at boot time.
3788
60071659 3789 noefi [EFI,EARLY] Disable EFI runtime services support.
8b2cb7a8 3790
60071659 3791 no_entry_flush [PPC,EARLY] Don't flush the L1-D cache when entering the kernel.
f7964378 3792
1da177e4
LT
3793 noexec [IA-64]
3794
f5a1b191
JS
3795 noexec32 [X86-64]
3796 This affects only 32-bit executables.
3797 noexec32=on: enable non-executable mappings (default)
3798 read doesn't imply executable mappings
3799 noexec32=off: disable non-executable mappings
3800 read implies executable mappings
1da177e4 3801
a894a8a5
RD
3802 no_file_caps Tells the kernel not to honor file capabilities. The
3803 only way then for a file to be executed with privilege
3804 is to be setuid root or executed by root.
3805
fab43ef4 3806 nofpu [MIPS,SH] Disable hardware FPU at boot time.
6902aa84 3807
a894a8a5
RD
3808 nofsgsbase [X86] Disables FSGSBASE instructions.
3809
cd4f0ef7 3810 nofxsr [BUGS=X86-32] Disables x86 floating point extended
4f886511
CE
3811 register save and restore. The kernel will only save
3812 legacy floating-point registers on task switch.
1da177e4 3813
1da177e4
LT
3814 nohalt [IA-64] Tells the kernel not to use the power saving
3815 function PAL_HALT_LIGHT when idle. This increases
3816 power-consumption. On the positive side, it reduces
3817 interrupt wake-up latency, which may improve performance
3818 in certain environments such as networked servers or
3819 real-time systems.
3820
5ead723a 3821 no_hash_pointers
60071659 3822 [KNL,EARLY]
5ead723a
TT
3823 Force pointers printed to the console or buffers to be
3824 unhashed. By default, when a pointer is printed via %p
3825 format string, that pointer is "hashed", i.e. obscured
3826 by hashing the pointer value. This is a security feature
3827 that hides actual kernel addresses from unprivileged
3828 users, but it also makes debugging the kernel more
3829 difficult since unequal pointers can no longer be
3830 compared. However, if this command-line option is
3831 specified, then all normal pointers will have their true
84842911 3832 value printed. This option should only be specified when
5ead723a
TT
3833 debugging the kernel. Please do not use on production
3834 kernels.
3835
a6e15a39
KC
3836 nohibernate [HIBERNATION] Disable hibernation and resume.
3837
0ceef6e9 3838 nohlt [ARM,ARM64,MICROBLAZE,MIPS,PPC,SH] Forces the kernel to
975fd3c2 3839 busy wait in do_idle() and not use the arch_cpu_idle()
a894a8a5
RD
3840 implementation; requires CONFIG_GENERIC_IDLE_POLL_SETUP
3841 to be effective. This is useful on platforms where the
3842 sleep(SH) or wfi(ARM,ARM64) instructions do not work
3843 correctly or when doing power measurements to evaluate
3844 the impact of the sleep instructions. This is also
3845 useful when using JTAG debugger.
3846
60071659 3847 nohugeiomap [KNL,X86,PPC,ARM64,EARLY] Disable kernel huge I/O mappings.
a894a8a5 3848
60071659 3849 nohugevmalloc [KNL,X86,PPC,ARM64,EARLY] Disable kernel huge vmalloc mappings.
a894a8a5 3850
79bf2bb3
TG
3851 nohz= [KNL] Boottime enable/disable dynamic ticks
3852 Valid arguments: on, off
3853 Default: on
3854
d94d1053 3855 nohz_full= [KNL,BOOT,SMP,ISOL]
2d13e6ca 3856 The argument is a cpu list, as described above.
c5bfece2 3857 In kernels built with CONFIG_NO_HZ_FULL=y, set
a831881b 3858 the specified list of CPUs whose tick will be stopped
0453b435 3859 whenever possible. The boot CPU will be forced outside
f99bcb2c
PM
3860 the range to maintain the timekeeping. Any CPUs
3861 in this list will have their RCU callbacks offloaded,
3862 just as if they had also been called out in the
3863 rcu_nocbs= boot parameter.
a831881b 3864
b37a667c
JF
3865 Note that this argument takes precedence over
3866 the CONFIG_RCU_NOCB_CPU_DEFAULT_ALL option.
3867
1da177e4
LT
3868 noinitrd [RAM] Tells the kernel not to load any configured
3869 initial RAM disk.
3870
60071659 3871 nointremap [X86-64,Intel-IOMMU,EARLY] Do not enable interrupt
03ea8155 3872 remapping.
d1423d56 3873 [Deprecated - use intremap=off]
03ea8155 3874
1da177e4
LT
3875 nointroute [IA-64]
3876
60071659 3877 noinvpcid [X86,EARLY] Disable the INVPCID cpu feature.
d12a72b8 3878
a894a8a5
RD
3879 noiotrap [SH] Disables trapped I/O port accesses.
3880
3881 noirqdebug [X86-32] Disables the code which attempts to detect and
3882 disable unhandled interrupt sources.
3883
3884 noisapnp [ISAPNP] Disables ISA PnP code.
3885
16290246 3886 nojitter [IA-64] Disables jitter checking for ITC timers.
0aa366f3 3887
60071659 3888 nokaslr [KNL,EARLY]
42551b8d
RD
3889 When CONFIG_RANDOMIZE_BASE is set, this disables
3890 kernel and module base offset ASLR (Address Space
3891 Layout Randomization).
3892
60071659 3893 no-kvmapf [X86,KVM,EARLY] Disable paravirtualized asynchronous page
fd10cde9
GN
3894 fault handling.
3895
60071659 3896 no-kvmclock [X86,KVM,EARLY] Disable paravirtualized KVM clock driver
d910f5c1 3897
60071659 3898 nolapic [X86-32,APIC,EARLY] Do not enable or use the local APIC.
1da177e4 3899
60071659 3900 nolapic_timer [X86-32,APIC,EARLY] Do not use the local APIC timer.
ad62ca2b 3901
312f1f01
H
3902 nomca [IA-64] Disable machine check abort handling
3903
13696e0a 3904 nomce [X86-32] Disable Machine Check Exception
abe37e5a 3905
83d7384f
AS
3906 nomfgpt [X86-32] Disable Multi-Function General Purpose
3907 Timer usage (for AMD Geode machines).
3908
9a758d87
TZ
3909 nomodeset Disable kernel modesetting. Most systems' firmware
3910 sets up a display mode and provides framebuffer memory
3911 for output. With nomodeset, DRM and fbdev drivers will
3912 not load if they could possibly displace the pre-
3913 initialized output. Only the system framebuffer will
3914 be available for use. The respective drivers will not
3915 perform display-mode changes or accelerated rendering.
3916
3917 Useful as error fallback, or for testing and debugging.
b22a15a5 3918
02608bef
DY
3919 nomodule Disable module load
3920
a894a8a5
RD
3921 nonmi_ipi [X86] Disable using NMI IPIs during panic/reboot to
3922 shutdown the other cpus. Instead use the REBOOT_VECTOR
3923 irq.
3924
60071659 3925 nopat [X86,EARLY] Disable PAT (page attribute table extension of
016ddd9b
JK
3926 pagetables) support.
3927
60071659 3928 nopcid [X86-64,EARLY] Disable the PCID cpu feature.
0790c9aa 3929
42551b8d
RD
3930 nopku [X86] Disable Memory Protection Keys CPU feature found
3931 in some Intel CPUs.
3932
60071659 3933 nopti [X86-64,EARLY]
a894a8a5
RD
3934 Equivalent to pti=off
3935
60071659 3936 nopv= [X86,XEN,KVM,HYPER_V,VMWARE,EARLY]
42551b8d
RD
3937 Disables the PV optimizations forcing the guest to run
3938 as generic guest with no PV drivers. Currently support
3939 XEN HVM, KVM, HYPER_V and VMWARE guest.
3940
60071659 3941 nopvspin [X86,XEN,KVM,EARLY]
42551b8d
RD
3942 Disables the qspinlock slow path using PV optimizations
3943 which allow the hypervisor to 'idle' the guest on lock
3944 contention.
3945
0cb55ad2
RD
3946 norandmaps Don't use address space randomization. Equivalent to
3947 echo 0 > /proc/sys/kernel/randomize_va_space
3948
cd4f0ef7 3949 noreplace-smp [X86-32,SMP] Don't replace SMP instructions
b7fb4af0
JF
3950 with UP alternatives
3951
a9913044
RD
3952 noresume [SWSUSP] Disables resume and restores original swap
3953 space.
3954
a894a8a5
RD
3955 nosbagart [IA-64]
3956
1da177e4
LT
3957 no-scroll [VGA] Disables scrollback.
3958 This is required for the Braillex ib80-piezo Braille
3959 reader made by F.H. Papenmeier (Germany).
3960
60071659 3961 nosgx [X86-64,SGX,EARLY] Disables Intel SGX kernel support.
38853a30 3962
60071659 3963 nosmap [PPC,EARLY]
a894a8a5
RD
3964 Disable SMAP (Supervisor Mode Access Prevention)
3965 even if it is supported by processor.
3966
60071659 3967 nosmep [PPC64s,EARLY]
a894a8a5
RD
3968 Disable SMEP (Supervisor Mode Execution Prevention)
3969 even if it is supported by processor.
3970
60071659 3971 nosmp [SMP,EARLY] Tells an SMP kernel to act as a UP kernel,
61ec7567 3972 and disable the IO APIC. legacy for "maxcpus=0".
1da177e4 3973
60071659 3974 nosmt [KNL,MIPS,PPC,S390,EARLY] Disable symmetric multithreading (SMT).
a894a8a5
RD
3975 Equivalent to smt=1.
3976
73c58e7e 3977 [KNL,X86,PPC] Disable symmetric multithreading (SMT).
a894a8a5
RD
3978 nosmt=force: Force disable SMT, cannot be undone
3979 via the sysfs control file.
3980
97842216
DJ
3981 nosoftlockup [KNL] Disable the soft-lockup detector.
3982
a894a8a5 3983 nospec_store_bypass_disable
60071659
PM
3984 [HW,EARLY] Disable all mitigations for the Speculative
3985 Store Bypass vulnerability
a894a8a5 3986
60071659 3987 nospectre_bhb [ARM64,EARLY] Disable all mitigations for Spectre-BHB (branch
a894a8a5
RD
3988 history injection) vulnerability. System may allow data leaks
3989 with this option.
3990
60071659 3991 nospectre_v1 [X86,PPC,EARLY] Disable mitigations for Spectre Variant 1
a894a8a5
RD
3992 (bounds check bypass). With this option data leaks are
3993 possible in the system.
3994
60071659
PM
3995 nospectre_v2 [X86,PPC_E500,ARM64,EARLY] Disable all mitigations
3996 for the Spectre variant 2 (indirect branch
3997 prediction) vulnerability. System may allow data
3998 leaks with this option.
a894a8a5 3999
60071659 4000 no-steal-acc [X86,PV_OPS,ARM64,PPC/PSERIES,RISCV,EARLY] Disable
323925ed
AJ
4001 paravirtualized steal time accounting. steal time is
4002 computed, but won't influence scheduler behaviour
a894a8a5 4003
1da177e4
LT
4004 nosync [HW,M68K] Disables sync negotiation for all devices.
4005
a894a8a5
RD
4006 no_timer_check [X86,APIC] Disables the code which tests for
4007 broken timer IRQ sources.
4008
4009 no_uaccess_flush
60071659 4010 [PPC,EARLY] Don't flush the L1-D cache after accessing user data.
a894a8a5
RD
4011
4012 novmcoredd [KNL,KDUMP]
4013 Disable device dump. Device dump allows drivers to
4014 append dump data to vmcore so you can collect driver
4015 specified debug info. Drivers can append the data
4016 without any limit and this data is stored in memory,
4017 so this may cause significant memory stress. Disabling
4018 device dump can help save memory but the driver debug
4019 data will be no longer available. This parameter
4020 is only available when CONFIG_PROC_VMCORE_DEVICE_DUMP
4021 is set.
4022
4023 no-vmw-sched-clock
60071659
PM
4024 [X86,PV_OPS,EARLY] Disable paravirtualized VMware
4025 scheduler clock and use the default one.
a894a8a5 4026
195daf66 4027 nowatchdog [KNL] Disable both lockup detectors, i.e.
6dddd7a7 4028 soft-lockup and NMI watchdog (hard-lockup).
58687acb 4029
60071659 4030 nowb [ARM,EARLY]
a9913044 4031
60071659 4032 nox2apic [X86-64,APIC,EARLY] Do not enable x2APIC mode.
2b2fd87a 4033
b8d1d163
DS
4034 NOTE: this parameter will be ignored on systems with the
4035 LEGACY_XAPIC_DISABLED bit set in the
4036 IA32_XAPIC_DISABLE_STATUS MSR.
4037
a894a8a5
RD
4038 noxsave [BUGS=X86] Disables x86 extended register state save
4039 and restore using xsave. The kernel will fallback to
4040 enabling legacy floating-point and sse state.
4041
4042 noxsaveopt [X86] Disables xsaveopt used in saving x86 extended
4043 register states. The kernel will fall back to use
4044 xsave to save the states. By using this parameter,
4045 performance of saving the states is degraded because
4046 xsave doesn't support modified optimization while
4047 xsaveopt supports it on xsaveopt enabled systems.
4048
4049 noxsaves [X86] Disables xsaves and xrstors used in saving and
4050 restoring x86 extended register state in compacted
4051 form of xsave area. The kernel will fall back to use
4052 xsaveopt and xrstor to save and restore the states
4053 in standard form of xsave area. By using this
4054 parameter, xsave area per process might occupy more
4055 memory on xsaves enabled systems.
4056
6dddd7a7 4057 nps_mtm_hs_ctr= [KNL,ARC]
35b55ef2
NC
4058 This parameter sets the maximum duration, in
4059 cycles, each HW thread of the CTOP can run
4060 without interruptions, before HW switches it.
4061 The actual maximum duration is 16 times this
4062 parameter's value.
4063 Format: integer between 1 and 255
4064 Default: 255
4065
16290246 4066 nptcg= [IA-64] Override max number of concurrent global TLB
a6c75b86
FY
4067 purges which is reported from either PAL_VM_SUMMARY or
4068 SAL PALO.
4069
60071659 4070 nr_cpus= [SMP,EARLY] Maximum number of processors that an SMP kernel
2b633e3f 4071 could support. nr_cpus=n : n >= 1 limits the kernel to
7c142bfe
BH
4072 support 'n' processors. It could be larger than the
4073 number of already plugged CPU during bootup, later in
4074 runtime you can physically add extra cpu until it reaches
4075 n. So during boot up some boot time memory for per-cpu
4076 variables need be pre-allocated for later physical cpu
4077 hot plugging.
2b633e3f 4078
0cb55ad2
RD
4079 nr_uarts= [SERIAL] maximum number of UARTs to be registered.
4080
60071659
PM
4081 numa=off [KNL, ARM64, PPC, RISCV, SPARC, X86, EARLY]
4082 Disable NUMA, Only set up a single NUMA node
4083 spanning all memory.
544ef682 4084
00b072c0
BS
4085 numa_balancing= [KNL,ARM64,PPC,RISCV,S390,X86] Enable or disable automatic
4086 NUMA balancing.
1a687c2e
MG
4087 Allowed values are enable and disable
4088
f0c0b2b8 4089 numa_zonelist_order= [KNL, BOOT] Select zonelist order for NUMA.
c9bff3ee 4090 'node', 'default' can be specified
f0c0b2b8 4091 This can be set from sysctl after boot.
57043247 4092 See Documentation/admin-guide/sysctl/vm.rst for details.
f0c0b2b8 4093
60071659 4094 ohci1394_dma=early [HW,EARLY] enable debugging via the ohci1394 driver.
a74e2a22 4095 See Documentation/core-api/debugging-via-ohci1394.rst for more
7c4be253
RD
4096 info.
4097
3ef0e1f8
AS
4098 olpc_ec_timeout= [OLPC] ms delay when issuing EC commands
4099 Rather than timing out after 20 ms if an EC
4100 command is not properly ACKed, override the length
4101 of the timeout. We have interrupts disabled while
4102 waiting for the ACK, so if this is set too high
4103 interrupts *may* be lost!
4104
15ac7afe
TL
4105 omap_mux= [OMAP] Override bootloader pin multiplexing.
4106 Format: <mux_mode0.mode_name=value>...
4107 For example, to override I2C bus2:
4108 omap_mux=i2c2_scl.i2c2_scl=0x100,i2c2_sda.i2c2_sda=0x100
4109
d2fc83c1
RD
4110 onenand.bdry= [HW,MTD] Flex-OneNAND Boundary Configuration
4111
4112 Format: [die0_boundary][,die0_lock][,die1_boundary][,die1_lock]
4113
4114 boundary - index of last SLC block on Flex-OneNAND.
4115 The remaining blocks are configured as MLC blocks.
4116 lock - Configure if Flex-OneNAND boundary should be locked.
4117 Once locked, the boundary cannot be changed.
4118 1 indicates lock status, 0 indicates unlock status.
4119
60071659
PM
4120 oops=panic [KNL,EARLY]
4121 Always panic on oopses. Default is to just kill the
44a4dcf7
RD
4122 process, but there is a small probability of
4123 deadlocking the machine.
d404ab0a
OH
4124 This will also cause panics on machine check exceptions.
4125 Useful together with panic=30 to trigger a reboot.
4126
e900a918
DW
4127 page_alloc.shuffle=
4128 [KNL] Boolean flag to control whether the page allocator
4129 should randomize its free lists. The randomization may
4130 be automatically enabled if the kernel detects it is
4131 running on a platform with a direct-mapped memory-side
4132 cache, and this parameter can be used to
4133 override/disable that behavior. The state of the flag
4134 can be read from sysfs at:
4135 /sys/module/page_alloc/parameters/shuffle.
4136
60071659 4137 page_owner= [KNL,EARLY] Boot-time page_owner enabling option.
48c96a36
JK
4138 Storage of the information about who allocated
4139 each page is disabled in default. With this switch,
4140 we can turn it on.
4141 on: enable the feature
4142
60071659 4143 page_poison= [KNL,EARLY] Boot-time parameter changing the state of
8c9a134c
KC
4144 poisoning on the buddy allocator, available with
4145 CONFIG_PAGE_POISONING=y.
4146 off: turn off poisoning (default)
8823b1db
LA
4147 on: turn on poisoning
4148
f58780a8
GS
4149 page_reporting.page_reporting_order=
4150 [KNL] Minimal page reporting order
4151 Format: <integer>
4152 Adjust the minimal page reporting order. The page
5e0a760b 4153 reporting is disabled when it exceeds MAX_PAGE_ORDER.
f58780a8 4154
44a4dcf7 4155 panic= [KNL] Kernel behaviour on panic: delay <timeout>
4302fbc8
HD
4156 timeout > 0: seconds before rebooting
4157 timeout = 0: wait forever
4158 timeout < 0: reboot immediately
1da177e4
LT
4159 Format: <timeout>
4160
60071659
PM
4161 panic_on_taint= [KNL,EARLY]
4162 Bitmask for conditionally calling panic() in add_taint()
db38d5c1
RA
4163 Format: <hex>[,nousertaint]
4164 Hexadecimal bitmask representing the set of TAINT flags
4165 that will cause the kernel to panic when add_taint() is
4166 called with any of the flags in this set.
4167 The optional switch "nousertaint" can be utilized to
4168 prevent userspace forced crashes by writing to sysctl
4169 /proc/sys/kernel/tainted any flagset matching with the
4170 bitmask set on panic_on_taint.
4171 See Documentation/admin-guide/tainted-kernels.rst for
4172 extra details on the taint flags that users can pick
4173 to compose the bitmask to assign to panic_on_taint.
4174
57ada235 4175 panic_on_warn=1 panic() instead of WARN(). Useful to cause kdump
9e3961a0
PB
4176 on a WARN().
4177
b4047e53
RD
4178 panic_print= Bitmask for printing system info when panic happens.
4179 User can chose combination of the following bits:
4180 bit 0: print all tasks info
4181 bit 1: print system memory info
4182 bit 2: print timer info
4183 bit 3: print locks info if CONFIG_LOCKDEP is on
4184 bit 4: print ftrace buffer
4185 bit 5: print all printk messages in buffer
4186 bit 6: print all CPUs backtrace (if available in the arch)
4187 *Be aware* that this option may print a _lot_ of lines,
4188 so there are risks of losing older messages in the log.
4189 Use this option carefully, maybe worth to setup a
4190 bigger log buffer with "log_buf_len" along with this.
4191
1da177e4
LT
4192 parkbd.port= [HW] Parallel port number the keyboard adapter is
4193 connected to, default is 0.
4194 Format: <parport#>
4195 parkbd.mode= [HW] Parallel port keyboard adapter mode of operation,
4196 0 for XT, 1 for AT (default is AT).
a9913044
RD
4197 Format: <mode>
4198
4199 parport= [HW,PPT] Specify parallel ports. 0 disables.
4200 Format: { 0 | auto | 0xBBB[,IRQ[,DMA]] }
4201 Use 'auto' to force the driver to use any
4202 IRQ/DMA settings detected (the default is to
4203 ignore detected IRQ/DMA settings because of
4204 possible conflicts). You can specify the base
4205 address, IRQ, and DMA settings; IRQ and DMA
4206 should be numbers, or 'auto' (for using detected
4207 settings on that particular port), or 'nofifo'
4208 (to avoid using a FIFO even if it is detected).
4209 Parallel ports are assigned in the order they
4210 are specified on the command line, starting
4211 with parport0.
4212
4213 parport_init_mode= [HW,PPT]
4214 Configure VIA parallel port to operate in
4215 a specific mode. This is necessary on Pegasos
4216 computer where firmware has no options for setting
4217 up parallel port mode and sets it to spp.
4218 Currently this function knows 686a and 8231 chips.
1da177e4
LT
4219 Format: [spp|ps2|epp|ecp|ecpepp]
4220
426e2c6a
MR
4221 pata_legacy.all= [HW,LIBATA]
4222 Format: <int>
4223 Set to non-zero to probe primary and secondary ISA
4224 port ranges on PCI systems where no PCI PATA device
4225 has been found at either range. Disabled by default.
4226
4227 pata_legacy.autospeed= [HW,LIBATA]
4228 Format: <int>
4229 Set to non-zero if a chip is present that snoops speed
4230 changes. Disabled by default.
4231
4232 pata_legacy.ht6560a= [HW,LIBATA]
4233 Format: <int>
4234 Set to 1, 2, or 3 for HT 6560A on the primary channel,
4235 the secondary channel, or both channels respectively.
4236 Disabled by default.
4237
4238 pata_legacy.ht6560b= [HW,LIBATA]
4239 Format: <int>
4240 Set to 1, 2, or 3 for HT 6560B on the primary channel,
4241 the secondary channel, or both channels respectively.
4242 Disabled by default.
4243
4244 pata_legacy.iordy_mask= [HW,LIBATA]
4245 Format: <int>
4246 IORDY enable mask. Set individual bits to allow IORDY
4247 for the respective channel. Bit 0 is for the first
4248 legacy channel handled by this driver, bit 1 is for
4249 the second channel, and so on. The sequence will often
4250 correspond to the primary legacy channel, the secondary
4251 legacy channel, and so on, but the handling of a PCI
4252 bus and the use of other driver options may interfere
4253 with the sequence. By default IORDY is allowed across
4254 all channels.
4255
4256 pata_legacy.opti82c46x= [HW,LIBATA]
4257 Format: <int>
4258 Set to 1, 2, or 3 for Opti 82c611A on the primary
4259 channel, the secondary channel, or both channels
4260 respectively. Disabled by default.
4261
4262 pata_legacy.opti82c611a= [HW,LIBATA]
4263 Format: <int>
4264 Set to 1, 2, or 3 for Opti 82c465MV on the primary
4265 channel, the secondary channel, or both channels
4266 respectively. Disabled by default.
4267
4268 pata_legacy.pio_mask= [HW,LIBATA]
4269 Format: <int>
4270 PIO mode mask for autospeed devices. Set individual
4271 bits to allow the use of the respective PIO modes.
4272 Bit 0 is for mode 0, bit 1 is for mode 1, and so on.
4273 All modes allowed by default.
4274
4275 pata_legacy.probe_all= [HW,LIBATA]
4276 Format: <int>
4277 Set to non-zero to probe tertiary and further ISA
4278 port ranges on PCI systems. Disabled by default.
4279
7d33004d
MR
4280 pata_legacy.probe_mask= [HW,LIBATA]
4281 Format: <int>
4282 Probe mask for legacy ISA PATA ports. Depending on
4283 platform configuration and the use of other driver
4284 options up to 6 legacy ports are supported: 0x1f0,
4285 0x170, 0x1e8, 0x168, 0x1e0, 0x160, however probing
4286 of individual ports can be disabled by setting the
4287 corresponding bits in the mask to 1. Bit 0 is for
4288 the first port in the list above (0x1f0), and so on.
4289 By default all supported ports are probed.
4290
426e2c6a
MR
4291 pata_legacy.qdi= [HW,LIBATA]
4292 Format: <int>
4293 Set to non-zero to probe QDI controllers. By default
4294 set to 1 if CONFIG_PATA_QDI_MODULE, 0 otherwise.
4295
4296 pata_legacy.winbond= [HW,LIBATA]
4297 Format: <int>
4298 Set to non-zero to probe Winbond controllers. Use
4299 the standard I/O port (0x130) if 1, otherwise the
4300 value given is the I/O port to use (typically 0x1b0).
4301 By default set to 1 if CONFIG_PATA_WINBOND_VLB_MODULE,
4302 0 otherwise.
4303
6ddcec95
MR
4304 pata_platform.pio_mask= [HW,LIBATA]
4305 Format: <int>
4306 Supported PIO mode mask. Set individual bits to allow
4307 the use of the respective PIO modes. Bit 0 is for
4308 mode 0, bit 1 is for mode 1, and so on. Mode 0 only
4309 allowed by default.
4310
b4047e53 4311 pause_on_oops=<int>
dd287796
AM
4312 Halt all CPUs after the first oops has been printed for
4313 the specified number of seconds. This is to be used if
4314 your oopses keep scrolling off the screen.
4315
1da177e4
LT
4316 pcbit= [HW,ISDN]
4317
60071659 4318 pci=option[,option...] [PCI,EARLY] various PCI subsystem options.
07d8d7e5
LG
4319
4320 Some options herein operate on a specific device
4321 or a set of devices (<pci_dev>). These are
4322 specified in one of the following formats:
4323
45db3370 4324 [<domain>:]<bus>:<dev>.<func>[/<dev>.<func>]*
07d8d7e5
LG
4325 pci:<vendor>:<device>[:<subvendor>:<subdevice>]
4326
4327 Note: the first format specifies a PCI
4328 bus/device/function address which may change
4329 if new hardware is inserted, if motherboard
4330 firmware changes, or due to changes caused
4331 by other kernel parameters. If the
4332 domain is left unspecified, it is
45db3370
LG
4333 taken to be zero. Optionally, a path
4334 to a device through multiple device/function
4335 addresses can be specified after the base
4336 address (this is more robust against
4337 renumbering issues). The second format
07d8d7e5
LG
4338 selects devices using IDs from the
4339 configuration space which may match multiple
4340 devices in the system.
4341
11eb0e0e 4342 earlydump dump PCI config space before the kernel
6dddd7a7 4343 changes anything
c0115606 4344 off [X86] don't probe for the PCI bus
cd4f0ef7 4345 bios [X86-32] force use of PCI BIOS, don't access
a9913044
RD
4346 the hardware directly. Use this if your machine
4347 has a non-standard PCI host bridge.
cd4f0ef7 4348 nobios [X86-32] disallow use of PCI BIOS, only direct
a9913044
RD
4349 hardware access methods are allowed. Use this
4350 if you experience crashes upon bootup and you
4351 suspect they are caused by the BIOS.
afd8c084
BP
4352 conf1 [X86] Force use of PCI Configuration Access
4353 Mechanism 1 (config address in IO port 0xCF8,
4354 data in IO port 0xCFC, both 32-bit).
4355 conf2 [X86] Force use of PCI Configuration Access
4356 Mechanism 2 (IO port 0xCF8 is an 8-bit port for
4357 the function, IO port 0xCFA, also 8-bit, sets
4358 bus number. The config space is then accessed
4359 through ports 0xC000-0xCFFF).
4360 See http://wiki.osdev.org/PCI for more info
4361 on the configuration access mechanisms.
7f785763
RD
4362 noaer [PCIE] If the PCIEAER kernel config parameter is
4363 enabled, this kernel boot option can be used to
4364 disable the use of PCIE advanced error reporting.
32a2eea7
JG
4365 nodomains [PCI] Disable support for multiple PCI
4366 root domains (aka PCI segments, in ACPI-speak).
6cececfc 4367 nommconf [X86] Disable use of MMCONFIG for PCI
61be6d66 4368 Configuration
12983077
AH
4369 check_enable_amd_mmconf [X86] check for and enable
4370 properly configured MMIO access to PCI
4371 config space on AMD family 10h CPU
309e57df
MW
4372 nomsi [MSI] If the PCI_MSI kernel config parameter is
4373 enabled, this kernel boot option can be used to
4374 disable the use of MSI interrupts system-wide.
a9322f64
SA
4375 noioapicquirk [APIC] Disable all boot interrupt quirks.
4376 Safety option to keep boot IRQs enabled. This
4377 should never be necessary.
9197979b
SA
4378 ioapicreroute [APIC] Enable rerouting of boot IRQs to the
4379 primary IO-APIC for bridges that cannot disable
4380 boot IRQs. This fixes a source of spurious IRQs
4381 when the system masks IRQs.
41b9eb26
SA
4382 noioapicreroute [APIC] Disable workaround that uses the
4383 boot IRQ equivalent of an IRQ that connects to
4384 a chipset where boot IRQs cannot be disabled.
4385 The opposite of ioapicreroute.
cd4f0ef7 4386 biosirq [X86-32] Use PCI BIOS calls to get the interrupt
a9913044
RD
4387 routing table. These calls are known to be buggy
4388 on several machines and they hang the machine
4389 when used, but on other computers it's the only
4390 way to get the interrupt routing table. Try
4391 this option if the kernel is unable to allocate
4392 IRQs or discover secondary PCI buses on your
4393 motherboard.
c0115606 4394 rom [X86] Assign address space to expansion ROMs.
a9913044
RD
4395 Use with caution as certain devices share
4396 address decoders between ROMs and other
4397 resources.
c0115606 4398 norom [X86] Do not assign address space to
bb71ad88
GH
4399 expansion ROMs that do not already have
4400 BIOS assigned address ranges.
7bd1c365
MH
4401 nobar [X86] Do not assign address space to the
4402 BARs that weren't assigned by the BIOS.
c0115606 4403 irqmask=0xMMMM [X86] Set a bit mask of IRQs allowed to be
a9913044
RD
4404 assigned automatically to PCI devices. You can
4405 make the kernel exclude IRQs of your ISA cards
4406 this way.
c0115606 4407 pirqaddr=0xAAAAA [X86] Specify the physical address
a9913044
RD
4408 of the PIRQ table (normally generated
4409 by the BIOS) if it is outside the
4410 F0000h-100000h range.
c0115606 4411 lastbus=N [X86] Scan all buses thru bus #N. Can be
a9913044
RD
4412 useful if the kernel is unable to find your
4413 secondary buses and you want to tell it
4414 explicitly which ones they are.
c0115606 4415 assign-busses [X86] Always assign all PCI bus
a9913044
RD
4416 numbers ourselves, overriding
4417 whatever the firmware may have done.
c0115606 4418 usepirqmask [X86] Honor the possible IRQ mask stored
a9913044
RD
4419 in the BIOS $PIR table. This is needed on
4420 some systems with broken BIOSes, notably
4421 some HP Pavilion N5400 and Omnibook XE3
4422 notebooks. This will have no effect if ACPI
4423 IRQ routing is enabled.
c0115606 4424 noacpi [X86] Do not use ACPI for IRQ routing
a9913044 4425 or for PCI scanning.
7bc5e3f2
BH
4426 use_crs [X86] Use PCI host bridge window information
4427 from ACPI. On BIOSes from 2008 or later, this
4428 is enabled by default. If you need to use this,
4429 please report a bug.
4430 nocrs [X86] Ignore PCI host bridge windows from ACPI.
6dddd7a7 4431 If you need to use this, please report a bug.
fa6dae5d
HG
4432 use_e820 [X86] Use E820 reservations to exclude parts of
4433 PCI host bridge windows. This is a workaround
4434 for BIOS defects in host bridge _CRS methods.
4435 If you need to use this, please report a bug to
4436 <linux-pci@vger.kernel.org>.
4437 no_e820 [X86] Ignore E820 reservations for PCI host
4438 bridge windows. This is the default on modern
4439 hardware. If you need to use this, please report
4440 a bug to <linux-pci@vger.kernel.org>.
a9913044
RD
4441 routeirq Do IRQ routing for all PCI devices.
4442 This is normally done in pci_enable_device(),
4443 so this option is a temporary workaround
4444 for broken drivers that don't call it.
13a6ddb0
YL
4445 skip_isa_align [X86] do not align io start addr, so can
4446 handle more pci cards
0637a70a
AK
4447 noearly [X86] Don't do any early type 1 scanning.
4448 This might help on some broken boards which
4449 machine check when some devices' config space
4450 is read. But various workarounds are disabled
4451 and some IOMMU drivers will not work.
6b4b78fe
MD
4452 bfsort Sort PCI devices into breadth-first order.
4453 This sorting is done to get a device
4454 order compatible with older (<= 2.4) kernels.
4455 nobfsort Don't sort PCI devices into breadth-first order.
fa238712
YW
4456 pcie_bus_tune_off Disable PCIe MPS (Max Payload Size)
4457 tuning and use the BIOS-configured MPS defaults.
4458 pcie_bus_safe Set every device's MPS to the largest value
4459 supported by all devices below the root complex.
4460 pcie_bus_perf Set device MPS to the largest allowable MPS
4461 based on its parent bus. Also set MRRS (Max
4462 Read Request Size) to the largest supported
4463 value (no larger than the MPS that the device
4464 or bus can support) for best performance.
4465 pcie_bus_peer2peer Set every device's MPS to 128B, which
4466 every device is guaranteed to support. This
4467 configuration allows peer-to-peer DMA between
4468 any pair of devices, possibly at the cost of
4469 reduced performance. This also guarantees
4470 that hot-added devices will work.
4516a618
AN
4471 cbiosize=nn[KMG] The fixed amount of bus space which is
4472 reserved for the CardBus bridge's IO window.
4473 The default value is 256 bytes.
4474 cbmemsize=nn[KMG] The fixed amount of bus space which is
4475 reserved for the CardBus bridge's memory
4476 window. The default value is 64 megabytes.
32a9a682
YS
4477 resource_alignment=
4478 Format:
07d8d7e5 4479 [<order of align>@]<pci_dev>[; ...]
32a9a682 4480 Specifies alignment and device to reassign
07d8d7e5
LG
4481 aligned memory resources. How to
4482 specify the device is described above.
32a9a682
YS
4483 If <order of align> is not specified,
4484 PAGE_SIZE is used as alignment.
3b1b1ce3 4485 A PCI-PCI bridge can be specified if resource
32a9a682 4486 windows need to be expanded.
8b078c60
MK
4487 To specify the alignment for several
4488 instances of a device, the PCI vendor,
4489 device, subvendor, and subdevice may be
3b1b1ce3
AK
4490 specified, e.g., 12@pci:8086:9c22:103c:198f
4491 for 4096-byte alignment.
43c16408 4492 ecrc= Enable/disable PCIe ECRC (transaction layer
bba50659
VS
4493 end-to-end CRC checking). Only effective if
4494 OS has native AER control (either granted by
4495 ACPI _OSC or forced via "pcie_ports=native")
43c16408
AP
4496 bios: Use BIOS/firmware settings. This is the
4497 the default.
4498 off: Turn ECRC off
4499 on: Turn ECRC on.
8c8803c5
YW
4500 hpiosize=nn[KMG] The fixed amount of bus space which is
4501 reserved for hotplug bridge's IO window.
4502 Default size is 256 bytes.
d7b8a217
NJ
4503 hpmmiosize=nn[KMG] The fixed amount of bus space which is
4504 reserved for hotplug bridge's MMIO window.
4505 Default size is 2 megabytes.
4506 hpmmioprefsize=nn[KMG] The fixed amount of bus space which is
4507 reserved for hotplug bridge's MMIO_PREF window.
4508 Default size is 2 megabytes.
8c8803c5 4509 hpmemsize=nn[KMG] The fixed amount of bus space which is
d7b8a217
NJ
4510 reserved for hotplug bridge's MMIO and
4511 MMIO_PREF window.
8c8803c5 4512 Default size is 2 megabytes.
e16b4660
KB
4513 hpbussize=nn The minimum amount of additional bus numbers
4514 reserved for buses below a hotplug bridge.
4515 Default is 1.
b55438fd
YL
4516 realloc= Enable/disable reallocating PCI bridge resources
4517 if allocations done by BIOS are too small to
4518 accommodate resources required by all child
4519 devices.
4520 off: Turn realloc off
4521 on: Turn realloc on
4522 realloc same as realloc=on
6748dcc2 4523 noari do not use PCIe ARI.
cef74409
GK
4524 noats [PCIE, Intel-IOMMU, AMD-IOMMU]
4525 do not use PCIe ATS (and IOMMU device IOTLB).
284f5f9d
BH
4526 pcie_scan_all Scan all possible PCIe devices. Otherwise we
4527 only look for one device below a PCIe downstream
4528 port.
f32ab754
UCCB
4529 big_root_window Try to add a big 64bit memory window to the PCIe
4530 root complex on AMD CPUs. Some GFX hardware
4531 can resize a BAR to allow access to all VRAM.
4532 Adding the window is slightly risky (it may
4533 conflict with unreported devices), so this
4534 taints the kernel.
aaca43fd
LG
4535 disable_acs_redir=<pci_dev>[; ...]
4536 Specify one or more PCI devices (in the format
4537 specified above) separated by semicolons.
4538 Each device specified will have the PCI ACS
4539 redirect capabilities forced off which will
4540 allow P2P traffic between devices through
4541 bridges without forcing it upstream. Note:
4542 this removes isolation between devices and
4543 may put more devices in an IOMMU group.
fbfe07d4 4544 force_floating [S390] Force usage of floating interrupts.
56271303 4545 nomio [S390] Do not use MIO instructions.
de267a7c
PM
4546 norid [S390] ignore the RID field and force use of
4547 one PCI domain per PCI function
6b4b78fe 4548
e5665a45
CE
4549 pcie_aspm= [PCIE] Forcibly enable or disable PCIe Active State Power
4550 Management.
4551 off Disable ASPM.
4552 force Enable ASPM even on devices that claim not to support it.
4553 WARNING: Forcing ASPM on may cause system lockups.
4554
4c0fd764
BH
4555 pcie_ports= [PCIE] PCIe port services handling:
4556 native Use native PCIe services (PME, AER, DPC, PCIe hotplug)
4557 even if the platform doesn't give the OS permission to
4558 use them. This may cause conflicts if the platform
4559 also tries to use these services.
35a0b237
OJ
4560 dpc-native Use native PCIe service for DPC only. May
4561 cause conflicts if firmware uses AER or DPC.
4c0fd764
BH
4562 compat Disable native PCIe services (PME, AER, DPC, PCIe
4563 hotplug).
79dd9182 4564
9d26d3a8
MW
4565 pcie_port_pm= [PCIE] PCIe port power management handling:
4566 off Disable power management of all PCIe ports
4567 force Forcibly enable power management of all PCIe ports
4568
c7f48656 4569 pcie_pme= [PCIE,PM] Native PCIe PME signaling options:
c39fae14 4570 nomsi Do not use MSI for native PCIe PME signaling (this makes
28eb5f27 4571 all PCIe root ports use INTx for all services).
c7f48656 4572
1da177e4
LT
4573 pcmv= [HW,PCMCIA] BadgePAD 4
4574
39ac5ba5
TB
4575 pd_ignore_unused
4576 [PM]
4577 Keep all power-domains already enabled by bootloader on,
4578 even if no driver has claimed them. This is useful
4579 for debug and development, but should not be
4580 needed on a platform with proper driver support.
4581
1da177e4
LT
4582 pdcchassis= [PARISC,HW] Disable/Enable PDC Chassis Status codes at
4583 boot time.
4584 Format: { 0 | 1 }
4585 See arch/parisc/kernel/pdc_chassis.c
4586
60071659
PM
4587 percpu_alloc= [MM,EARLY]
4588 Select which percpu first chunk allocator to use.
e933a73f
TH
4589 Currently supported values are "embed" and "page".
4590 Archs may support subset or none of the selections.
4591 See comments in mm/percpu.c for details on each
4592 allocator. This parameter is primarily for debugging
4593 and performance comparison.
fa8a7094 4594
1da177e4 4595 pirq= [SMP,APIC] Manual mp-table setup
ff61f079 4596 See Documentation/arch/x86/i386/IO-APIC.rst.
1da177e4
LT
4597
4598 plip= [PPT,NET] Parallel port network link
4599 Format: { parport<nr> | timid | 0 }
3ba9b1b8 4600 See also Documentation/admin-guide/parport.rst.
1da177e4 4601
16290246 4602 pmtmr= [X86] Manual setup of pmtmr I/O Port.
de32a243
TG
4603 Override pmtimer IOPort with a hex value.
4604 e.g. pmtmr=0x508
4605
0a4b4327
NP
4606 pmu_override= [PPC] Override the PMU.
4607 This option takes over the PMU facility, so it is no
4608 longer usable by perf. Setting this option starts the
4609 PMU counters by setting MMCR0 to 0 (the FC bit is
4610 cleared). If a number is given, then MMCR1 is set to
4611 that number, otherwise (e.g., 'pmu_override=on'), MMCR1
4612 remains 0.
4613
db96a759
CY
4614 pm_debug_messages [SUSPEND,KNL]
4615 Enable suspend/resume debug messages during boot up.
4616
96242116
BH
4617 pnp.debug=1 [PNP]
4618 Enable PNP debug messages (depends on the
4619 CONFIG_PNP_DEBUG_MESSAGES option). Change at run-time
4620 via /sys/module/pnp/parameters/debug. We always show
4621 current resource usage; turning this on also shows
4622 possible settings and some assignment information.
97ef062b 4623
1da177e4
LT
4624 pnpacpi= [ACPI]
4625 { off }
4626
4627 pnpbios= [ISAPNP]
4628 { on | off | curr | res | no-curr | no-res }
4629
4630 pnp_reserve_irq=
4631 [ISAPNP] Exclude IRQs for the autoconfiguration
4632
4633 pnp_reserve_dma=
4634 [ISAPNP] Exclude DMAs for the autoconfiguration
4635
4636 pnp_reserve_io= [ISAPNP] Exclude I/O ports for the autoconfiguration
a9913044 4637 Ranges are in pairs (I/O port base and size).
1da177e4
LT
4638
4639 pnp_reserve_mem=
a9913044
RD
4640 [ISAPNP] Exclude memory regions for the
4641 autoconfiguration.
1da177e4
LT
4642 Ranges are in pairs (memory base and size).
4643
4af94f39
RD
4644 ports= [IP_VS_FTP] IPVS ftp helper module
4645 Default is 21.
4646 Up to 8 (IP_VS_APP_MAX_PORTS) ports
4647 may be specified.
4648 Format: <port>,<port>....
4649
c3cbd075
BS
4650 powersave=off [PPC] This option disables power saving features.
4651 It specifically disables cpuidle and sets the
4652 platform machine description specific power_save
4653 function to NULL. On Idle the CPU just reduces
4654 execution priority.
4655
3eb5d588 4656 ppc_strict_facility_enable
60071659 4657 [PPC,ENABLE] This option catches any kernel floating point,
3eb5d588
AB
4658 Altivec, VSX and SPE outside of regions specifically
4659 allowed (eg kernel_enable_fpu()/kernel_disable_fpu()).
4660 There is some performance impact when enabling this.
4661
60071659 4662 ppc_tm= [PPC,EARLY]
07fd1761
CB
4663 Format: {"off"}
4664 Disable Hardware Transactional Memory
4665
6ef869e0
MH
4666 preempt= [KNL]
4667 Select preemption mode if you have CONFIG_PREEMPT_DYNAMIC
4668 none - Limited to cond_resched() calls
4669 voluntary - Limited to cond_resched() and might_sleep() calls
4670 full - Any section that isn't explicitly preempt disabled
4671 can be preempted anytime.
4672
45807a1d
IM
4673 print-fatal-signals=
4674 [KNL] debug: print fatal signals
f84d49b2
NO
4675
4676 If enabled, warn about various signal handling
4677 related application anomalies: too many signals,
4678 too many POSIX.1 timers, fatal signals causing a
4679 coredump - etc.
4680
4681 If you hit the warning due to signal overflow,
4682 you might want to try "ulimit -i unlimited".
4683
45807a1d
IM
4684 default: off.
4685
c22ab332
MG
4686 printk.always_kmsg_dump=
4687 Trigger kmsg_dump for cases other than kernel oops or
4688 panics
4689 Format: <bool> (1/Y/y=enable, 0/N/n=disable)
4690 default: disabled
4691
10102a89
DS
4692 printk.console_no_auto_verbose=
4693 Disable console loglevel raise on oops, panic
4694 or lockdep-detected issues (only if lock debug is on).
4695 With an exception to setups with low baudrate on
4696 serial console, keeping this 0 is a good choice
4697 in order to provide more debug information.
4698 Format: <bool>
4699 default: 0 (auto_verbose is enabled)
4700
750afe7b
BP
4701 printk.devkmsg={on,off,ratelimit}
4702 Control writing to /dev/kmsg.
4703 on - unlimited logging to /dev/kmsg from userspace
4704 off - logging to /dev/kmsg disabled
4705 ratelimit - ratelimit the logging
4706 Default: ratelimit
4707
e84845c4
RD
4708 printk.time= Show timing data prefixed to each printk message line
4709 Format: <bool> (1/Y/y=enable, 0/N/n=disable)
4710
0cb55ad2
RD
4711 processor.max_cstate= [HW,ACPI]
4712 Limit processor to maximum C-state
4713 max_cstate=9 overrides any DMI blacklist limit.
4714
4715 processor.nocst [HW,ACPI]
4716 Ignore the _CST method to determine C-states,
4717 instead using the legacy FADT method
4718
1da177e4 4719 profile= [KNL] Enable kernel profiling via /proc/profile
e7e61fc0
RD
4720 Format: [<profiletype>,]<number>
4721 Param: <profiletype>: "schedule", "sleep", or "kvm"
4722 [defaults to kernel profiling]
a9913044 4723 Param: "schedule" - profile schedule points.
b3da2a73
MG
4724 Param: "sleep" - profile D-state sleeping (millisecs).
4725 Requires CONFIG_SCHEDSTATS
c0fe2e69 4726 Param: "kvm" - profile VM exits.
e7e61fc0
RD
4727 Param: <number> - step/bucket size as a power of 2 for
4728 statistical time based profiling.
1da177e4 4729
6b99e6e6 4730 prompt_ramdisk= [RAM] [Deprecated]
1da177e4 4731
ecdc5d84
VG
4732 prot_virt= [S390] enable hosting protected virtual machines
4733 isolated from the hypervisor (if hardware supports
4734 that).
4735 Format: <bool>
4736
e0c27447
JW
4737 psi= [KNL] Enable or disable pressure stall information
4738 tracking.
4739 Format: <bool>
4740
a9913044
RD
4741 psmouse.proto= [HW,MOUSE] Highest PS2 mouse protocol extension to
4742 probe for; one of (bare|imps|exps|lifebook|any).
1da177e4
LT
4743 psmouse.rate= [HW,MOUSE] Set desired mouse report rate, in reports
4744 per second.
a9913044
RD
4745 psmouse.resetafter= [HW,MOUSE]
4746 Try to reset the device after so many bad packets
1da177e4
LT
4747 (0 = never).
4748 psmouse.resolution=
4749 [HW,MOUSE] Set desired mouse resolution, in dpi.
4750 psmouse.smartscroll=
a9913044 4751 [HW,MOUSE] Controls Logitech smartscroll autorepeat.
1da177e4
LT
4752 0 = disabled, 1 = enabled (default).
4753
dee28e72
MG
4754 pstore.backend= Specify the name of the pstore backend to use
4755
be3a5b0e 4756 pti= [X86-64] Control Page Table Isolation of user and
01c9b17b
DH
4757 kernel address spaces. Disabling this feature
4758 removes hardening, but improves performance of
4759 system calls and interrupts.
4760
4761 on - unconditionally enable
4762 off - unconditionally disable
4763 auto - kernel detects whether your CPU model is
4764 vulnerable to issues that PTI mitigates
4765
4766 Not specifying this option is equivalent to pti=auto.
4767
dc8c8587
KS
4768 pty.legacy_count=
4769 [KNL] Number of legacy pty's. Overwrites compiled-in
4770 default number.
4771
60071659 4772 quiet [KNL,EARLY] Disable most log messages
a9913044 4773
1da177e4
LT
4774 r128= [HW,DRM]
4775
42551b8d
RD
4776 radix_hcall_invalidate=on [PPC/PSERIES]
4777 Disable RADIX GTSE feature and use hcall for TLB
4778 invalidate.
4779
1da177e4 4780 raid= [HW,RAID]
e52347bd 4781 See Documentation/admin-guide/md.rst.
1da177e4 4782
1da177e4 4783 ramdisk_size= [RAM] Sizes of RAM disks in kilobytes
e7751617 4784 See Documentation/admin-guide/blockdev/ramdisk.rst.
1da177e4 4785
6b99e6e6
RD
4786 ramdisk_start= [RAM] RAM disk image start address
4787
b9b01a56 4788 random.trust_cpu=off
60071659 4789 [KNL,EARLY] Disable trusting the use of the CPU's
b9b01a56
JD
4790 random number generator (if available) to
4791 initialize the kernel's RNG.
4792
4793 random.trust_bootloader=off
60071659 4794 [KNL,EARLY] Disable trusting the use of the a seed
b9b01a56
JD
4795 passed by the bootloader (if available) to
4796 initialize the kernel's RNG.
d97c68d1 4797
39218ff4 4798 randomize_kstack_offset=
60071659 4799 [KNL,EARLY] Enable or disable kernel stack offset
39218ff4
KC
4800 randomization, which provides roughly 5 bits of
4801 entropy, frustrating memory corruption attacks
4802 that depend on stack address determinism or
4803 cross-syscall address exposures. This is only
4804 available on architectures that have defined
4805 CONFIG_HAVE_ARCH_RANDOMIZE_KSTACK_OFFSET.
4806 Format: <bool> (1/Y/y=enable, 0/N/n=disable)
4807 Default is CONFIG_RANDOMIZE_KSTACK_OFFSET_DEFAULT.
4808
011d8261
BP
4809 ras=option[,option,...] [KNL] RAS-specific options
4810
4811 cec_disable [X86]
4812 Disable the Correctable Errors Collector,
4813 see CONFIG_RAS_CEC help text.
4814
d2cf0854
FW
4815 rcu_nocbs[=cpu-list]
4816 [KNL] The optional argument is a cpu list,
4817 as described above.
4818
4819 In kernels built with CONFIG_RCU_NOCB_CPU=y,
4820 enable the no-callback CPU mode, which prevents
4821 such CPUs' callbacks from being invoked in
4822 softirq context. Invocation of such CPUs' RCU
4823 callbacks will instead be offloaded to "rcuox/N"
4824 kthreads created for that purpose, where "x" is
4825 "p" for RCU-preempt, "s" for RCU-sched, and "g"
4826 for the kthreads that mediate grace periods; and
4827 "N" is the CPU number. This reduces OS jitter on
4828 the offloaded CPUs, which can be useful for HPC
4829 and real-time workloads. It can also improve
4830 energy efficiency for asymmetric multiprocessors.
4831
4832 If a cpulist is passed as an argument, the specified
4833 list of CPUs is set to no-callback mode from boot.
4834
4835 Otherwise, if the '=' sign and the cpulist
4836 arguments are omitted, no CPU will be set to
4837 no-callback mode from boot but the mode may be
4838 toggled at runtime via cpusets.
3fbfbf7a 4839
b37a667c
JF
4840 Note that this argument takes precedence over
4841 the CONFIG_RCU_NOCB_CPU_DEFAULT_ALL option.
4842
4102adab 4843 rcu_nocb_poll [KNL]
3fbfbf7a
PM
4844 Rather than requiring that offloaded CPUs
4845 (specified by rcu_nocbs= above) explicitly
4846 awaken the corresponding "rcuoN" kthreads,
4847 make these kthreads poll for callbacks.
4848 This improves the real-time response for the
4849 offloaded CPUs by relieving them of the need to
4850 wake up the corresponding kthread, but degrades
4851 energy efficiency by requiring that the kthreads
4852 periodically wake up to do the polling.
4853
4102adab 4854 rcutree.blimit= [KNL]
97e63f0c
PM
4855 Set maximum number of finished RCU callbacks to
4856 process in one batch.
21a1ea9e 4857
16128b1f
PM
4858 rcutree.do_rcu_barrier= [KNL]
4859 Request a call to rcu_barrier(). This is
4860 throttled so that userspace tests can safely
4861 hammer on the sysfs variable if they so choose.
4862 If triggered before the RCU grace-period machinery
4863 is fully active, this will error out with EAGAIN.
4864
a3dc2948
PM
4865 rcutree.dump_tree= [KNL]
4866 Dump the structure of the rcu_node combining tree
4867 out at early boot. This is used for diagnostic
4868 purposes, to verify correct tree setup.
4869
0f41c0dd
PM
4870 rcutree.gp_cleanup_delay= [KNL]
4871 Set the number of jiffies to delay each step of
90040c9e 4872 RCU grace-period cleanup.
0f41c0dd 4873
37745d28
PM
4874 rcutree.gp_init_delay= [KNL]
4875 Set the number of jiffies to delay each step of
90040c9e 4876 RCU grace-period initialization.
0f41c0dd
PM
4877
4878 rcutree.gp_preinit_delay= [KNL]
4879 Set the number of jiffies to delay each step of
4880 RCU grace-period pre-initialization, that is,
4881 the propagation of recent CPU-hotplug changes up
90040c9e 4882 the rcu_node combining tree.
37745d28 4883
4102adab 4884 rcutree.jiffies_till_first_fqs= [KNL]
c0f4dfd4
PM
4885 Set delay from grace-period initialization to
4886 first attempt to force quiescent states.
4887 Units are jiffies, minimum value is zero,
4888 and maximum value is HZ.
4889
4102adab 4890 rcutree.jiffies_till_next_fqs= [KNL]
c0f4dfd4
PM
4891 Set delay between subsequent attempts to force
4892 quiescent states. Units are jiffies, minimum
4893 value is one, and maximum value is HZ.
4894
1a4762b9
PM
4895 rcutree.jiffies_till_sched_qs= [KNL]
4896 Set required age in jiffies for a
4897 given grace period before RCU starts
4898 soliciting quiescent-state help from
4899 rcu_note_context_switch() and cond_resched().
4900 If not specified, the kernel will calculate
4901 a value based on the most recent settings
4902 of rcutree.jiffies_till_first_fqs
4903 and rcutree.jiffies_till_next_fqs.
4904 This calculated value may be viewed in
4905 rcutree.jiffies_to_sched_qs. Any attempt to set
4906 rcutree.jiffies_to_sched_qs will be cheerfully
4907 overwritten.
4908
21871d7e 4909 rcutree.kthread_prio= [KNL,BOOT]
d2af1ad7
PM
4910 Set the SCHED_FIFO priority of the RCU per-CPU
4911 kthreads (rcuc/N). This value is also used for
4912 the priority of the RCU boost threads (rcub/N)
4913 and for the RCU grace-period kthreads (rcu_bh,
4914 rcu_preempt, and rcu_sched). If RCU_BOOST is
4915 set, valid values are 1-99 and the default is 1
4916 (the least-favored priority). Otherwise, when
4917 RCU_BOOST is not set, valid values are 0-99 and
4918 the default is zero (non-realtime operation).
a469948b
AC
4919 When RCU_NOCB_CPU is set, also adjust the
4920 priority of NOCB callback kthreads.
21871d7e 4921
89f7f291
PM
4922 rcutree.nocb_nobypass_lim_per_jiffy= [KNL]
4923 On callback-offloaded (rcu_nocbs) CPUs,
4924 RCU reduces the lock contention that would
4925 otherwise be caused by callback floods through
4926 use of the ->nocb_bypass list. However, in the
4927 common non-flooded case, RCU queues directly to
4928 the main ->cblist in order to avoid the extra
4929 overhead of the ->nocb_bypass list and its lock.
4930 But if there are too many callbacks queued during
4931 a single jiffy, RCU pre-queues the callbacks into
4932 the ->nocb_bypass queue. The definition of "too
4933 many" is supplied by this kernel boot parameter.
4934
4102adab 4935 rcutree.qhimark= [KNL]
97e63f0c
PM
4936 Set threshold of queued RCU callbacks beyond which
4937 batch limiting is disabled.
21a1ea9e 4938
4102adab 4939 rcutree.qlowmark= [KNL]
24aaef8d
RD
4940 Set threshold of queued RCU callbacks below which
4941 batch limiting is re-enabled.
21a1ea9e 4942
b2b00ddf
PM
4943 rcutree.qovld= [KNL]
4944 Set threshold of queued RCU callbacks beyond which
4945 RCU's force-quiescent-state scan will aggressively
4946 enlist help from cond_resched() and sched IPIs to
4947 help CPUs more quickly reach quiescent states.
4948 Set to less than zero to make this be set based
4949 on rcutree.qhimark at boot time and to zero to
4950 disable more aggressive help enlistment.
4951
51823ca6
PM
4952 rcutree.rcu_delay_page_cache_fill_msec= [KNL]
4953 Set the page-cache refill delay (in milliseconds)
4954 in response to low-memory conditions. The range
4955 of permitted values is in the range 0:100000.
4956
4957 rcutree.rcu_divisor= [KNL]
4958 Set the shift-right count to use to compute
4959 the callback-invocation batch limit bl from
4960 the number of callbacks queued on this CPU.
4961 The result will be bounded below by the value of
4962 the rcutree.blimit kernel parameter. Every bl
4963 callbacks, the softirq handler will exit in
4964 order to allow the CPU to do other work.
4965
4966 Please note that this callback-invocation batch
4967 limit applies only to non-offloaded callback
4968 invocation. Offloaded callbacks are instead
4969 invoked in the context of an rcuoc kthread, which
4970 scheduler will preempt as it does any other task.
4971
4972 rcutree.rcu_fanout_exact= [KNL]
4973 Disable autobalancing of the rcu_node combining
4974 tree. This is used by rcutorture, and might
4975 possibly be useful for architectures having high
4976 cache-to-cache transfer latencies.
4977
4978 rcutree.rcu_fanout_leaf= [KNL]
4979 Change the number of CPUs assigned to each
4980 leaf rcu_node structure. Useful for very
4981 large systems, which will choose the value 64,
4982 and for NUMA systems with large remote-access
4983 latencies, which will choose a value aligned
4984 with the appropriate hardware boundaries.
4985
4986 rcutree.rcu_min_cached_objs= [KNL]
4987 Minimum number of objects which are cached and
4988 maintained per one CPU. Object size is equal
4989 to PAGE_SIZE. The cache allows to reduce the
4990 pressure to page allocator, also it makes the
4991 whole algorithm to behave better in low memory
4992 condition.
4993
4994 rcutree.rcu_nocb_gp_stride= [KNL]
4995 Set the number of NOCB callback kthreads in
4996 each group, which defaults to the square root
4997 of the number of CPUs. Larger numbers reduce
4998 the wakeup overhead on the global grace-period
4999 kthread, but increases that same overhead on
5000 each group's NOCB grace-period kthread.
5001
e3c50dfb
PM
5002 rcutree.rcu_kick_kthreads= [KNL]
5003 Cause the grace-period kthread to get an extra
5004 wake_up() if it sleeps three times longer than
5005 it should at force-quiescent-state time.
5006 This wake_up() will be accompanied by a
5007 WARN_ONCE() splat and an ftrace_dump().
5008
fb611249
PM
5009 rcutree.rcu_resched_ns= [KNL]
5010 Limit the time spend invoking a batch of RCU
5011 callbacks to the specified number of nanoseconds.
5012 By default, this limit is checked only once
5013 every 32 callbacks in order to limit the pain
5014 inflicted by local_clock() overhead.
5015
3d29aaf1
PM
5016 rcutree.rcu_unlock_delay= [KNL]
5017 In CONFIG_RCU_STRICT_GRACE_PERIOD=y kernels,
5018 this specifies an rcu_read_unlock()-time delay
5019 in microseconds. This defaults to zero.
5020 Larger delays increase the probability of
5021 catching RCU pointer leaks, that is, buggy use
5022 of RCU-protected pointers after the relevant
5023 rcu_read_unlock() has completed.
5024
2ccaff10
PM
5025 rcutree.sysrq_rcu= [KNL]
5026 Commandeer a sysrq key to dump out Tree RCU's
5027 rcu_node tree with an eye towards determining
5028 why a new grace period has not yet started.
5029
51823ca6
PM
5030 rcutree.use_softirq= [KNL]
5031 If set to zero, move all RCU_SOFTIRQ processing to
5032 per-CPU rcuc kthreads. Defaults to a non-zero
5033 value, meaning that RCU_SOFTIRQ is used by default.
5034 Specify rcutree.use_softirq=0 to use rcuc kthreads.
5035
5036 But note that CONFIG_PREEMPT_RT=y kernels disable
5037 this kernel boot parameter, forcibly setting it
5038 to zero.
5039
7f66f099
QY
5040 rcutree.enable_rcu_lazy= [KNL]
5041 To save power, batch RCU callbacks and flush after
5042 delay, memory pressure or callback list growing too
5043 big.
5044
4e88ec4a 5045 rcuscale.gp_async= [KNL]
881ed593
PM
5046 Measure performance of asynchronous
5047 grace-period primitives such as call_rcu().
5048
4e88ec4a 5049 rcuscale.gp_async_max= [KNL]
881ed593
PM
5050 Specify the maximum number of outstanding
5051 callbacks per writer thread. When a writer
5052 thread exceeds this limit, it invokes the
5053 corresponding flavor of rcu_barrier() to allow
5054 previously posted callbacks to drain.
5055
4e88ec4a 5056 rcuscale.gp_exp= [KNL]
bdea9e34
PM
5057 Measure performance of expedited synchronous
5058 grace-period primitives.
5059
4e88ec4a 5060 rcuscale.holdoff= [KNL]
df37e66b
PM
5061 Set test-start holdoff period. The purpose of
5062 this parameter is to delay the start of the
5063 test until boot completes in order to avoid
5064 interference.
5065
2d7b2b34
PM
5066 rcuscale.kfree_by_call_rcu= [KNL]
5067 In kernels built with CONFIG_RCU_LAZY=y, test
5068 call_rcu() instead of kfree_rcu().
5069
5070 rcuscale.kfree_mult= [KNL]
5071 Instead of allocating an object of size kfree_obj,
5072 allocate one of kfree_mult * sizeof(kfree_obj).
5073 Defaults to 1.
5074
4e88ec4a 5075 rcuscale.kfree_rcu_test= [KNL]
e6e78b00
JFG
5076 Set to measure performance of kfree_rcu() flooding.
5077
686fe1bf
URS
5078 rcuscale.kfree_rcu_test_double= [KNL]
5079 Test the double-argument variant of kfree_rcu().
5080 If this parameter has the same value as
5081 rcuscale.kfree_rcu_test_single, both the single-
5082 and double-argument variants are tested.
5083
5084 rcuscale.kfree_rcu_test_single= [KNL]
5085 Test the single-argument variant of kfree_rcu().
5086 If this parameter has the same value as
5087 rcuscale.kfree_rcu_test_double, both the single-
5088 and double-argument variants are tested.
5089
4e88ec4a 5090 rcuscale.kfree_nthreads= [KNL]
e6e78b00
JFG
5091 The number of threads running loops of kfree_rcu().
5092
4e88ec4a 5093 rcuscale.kfree_alloc_num= [KNL]
e6e78b00
JFG
5094 Number of allocations and frees done in an iteration.
5095
4e88ec4a
PM
5096 rcuscale.kfree_loops= [KNL]
5097 Number of loops doing rcuscale.kfree_alloc_num number
e6e78b00
JFG
5098 of allocations and frees.
5099
7221f493
PM
5100 rcuscale.minruntime= [KNL]
5101 Set the minimum test run time in seconds. This
5102 does not affect the data-collection interval,
5103 but instead allows better measurement of things
5104 like CPU consumption.
5105
4e88ec4a 5106 rcuscale.nreaders= [KNL]
bdea9e34
PM
5107 Set number of RCU readers. The value -1 selects
5108 N, where N is the number of CPUs. A value
5109 "n" less than -1 selects N-n+1, where N is again
5110 the number of CPUs. For example, -2 selects N
5111 (the number of CPUs), -3 selects N+1, and so on.
5112 A value of "n" less than or equal to -N selects
5113 a single reader.
5114
4e88ec4a 5115 rcuscale.nwriters= [KNL]
bdea9e34 5116 Set number of RCU writers. The values operate
4e88ec4a 5117 the same as for rcuscale.nreaders.
bdea9e34
PM
5118 N, where N is the number of CPUs
5119
2d7b2b34 5120 rcuscale.scale_type= [KNL]
820687a7
PM
5121 Specify the RCU implementation to test.
5122
4e88ec4a 5123 rcuscale.shutdown= [KNL]
bdea9e34
PM
5124 Shut the system down after performance tests
5125 complete. This is useful for hands-off automated
5126 testing.
5127
4e88ec4a 5128 rcuscale.verbose= [KNL]
bdea9e34
PM
5129 Enable additional printk() statements.
5130
4e88ec4a 5131 rcuscale.writer_holdoff= [KNL]
820687a7
PM
5132 Write-side holdoff between grace periods,
5133 in microseconds. The default of zero says
5134 no holdoff.
5135
2226f3dc
PM
5136 rcuscale.writer_holdoff_jiffies= [KNL]
5137 Additional write-side holdoff between grace
5138 periods, but in jiffies. The default of zero
5139 says no holdoff.
5140
4102adab 5141 rcutorture.fqs_duration= [KNL]
21b05de4
PM
5142 Set duration of force_quiescent_state bursts
5143 in microseconds.
dabb8aa9 5144
4102adab 5145 rcutorture.fqs_holdoff= [KNL]
21b05de4
PM
5146 Set holdoff time within force_quiescent_state bursts
5147 in microseconds.
dabb8aa9 5148
4102adab 5149 rcutorture.fqs_stutter= [KNL]
21b05de4
PM
5150 Set wait time between force_quiescent_state bursts
5151 in seconds.
5152
ed8f6fb2 5153 rcutorture.fwd_progress= [KNL]
82e31003
PM
5154 Specifies the number of kthreads to be used
5155 for RCU grace-period forward-progress testing
ed8f6fb2 5156 for the types of RCU supporting this notion.
82e31003
PM
5157 Defaults to 1 kthread, values less than zero or
5158 greater than the number of CPUs cause the number
5159 of CPUs to be used.
ed8f6fb2
PM
5160
5161 rcutorture.fwd_progress_div= [KNL]
5162 Specify the fraction of a CPU-stall-warning
5163 period to do tight-loop forward-progress testing.
5164
5165 rcutorture.fwd_progress_holdoff= [KNL]
5166 Number of seconds to wait between successive
5167 forward-progress tests.
5168
5169 rcutorture.fwd_progress_need_resched= [KNL]
5170 Enclose cond_resched() calls within checks for
5171 need_resched() during tight-loop forward-progress
5172 testing.
5173
21b05de4
PM
5174 rcutorture.gp_cond= [KNL]
5175 Use conditional/asynchronous update-side
5176 primitives, if available.
dabb8aa9 5177
4102adab 5178 rcutorture.gp_exp= [KNL]
21b05de4 5179 Use expedited update-side primitives, if available.
4102adab
PM
5180
5181 rcutorture.gp_normal= [KNL]
21b05de4
PM
5182 Use normal (non-expedited) asynchronous
5183 update-side primitives, if available.
5184
5185 rcutorture.gp_sync= [KNL]
5186 Use normal (non-expedited) synchronous
5187 update-side primitives, if available. If all
5188 of rcutorture.gp_cond=, rcutorture.gp_exp=,
5189 rcutorture.gp_normal=, and rcutorture.gp_sync=
5190 are zero, rcutorture acts as if is interpreted
5191 they are all non-zero.
dabb8aa9 5192
d6855142
PM
5193 rcutorture.irqreader= [KNL]
5194 Run RCU readers from irq handlers, or, more
5195 accurately, from a timer handler. Not all RCU
5196 flavors take kindly to this sort of thing.
5197
5198 rcutorture.leakpointer= [KNL]
5199 Leak an RCU-protected pointer out of the reader.
5200 This can of course result in splats, and is
5201 intended to test the ability of things like
5202 CONFIG_RCU_STRICT_GRACE_PERIOD=y to detect
5203 such leaks.
5204
4102adab 5205 rcutorture.n_barrier_cbs= [KNL]
dabb8aa9
PM
5206 Set callbacks/threads for rcu_barrier() testing.
5207
4102adab 5208 rcutorture.nfakewriters= [KNL]
dabb8aa9
PM
5209 Set number of concurrent RCU writers. These just
5210 stress RCU, they don't participate in the actual
5211 test, hence the "fake".
5212
2c4319bd
PM
5213 rcutorture.nocbs_nthreads= [KNL]
5214 Set number of RCU callback-offload togglers.
5215 Zero (the default) disables toggling.
5216
5217 rcutorture.nocbs_toggle= [KNL]
5218 Set the delay in milliseconds between successive
5219 callback-offload toggling attempts.
5220
4102adab 5221 rcutorture.nreaders= [KNL]
3838cc18
PM
5222 Set number of RCU readers. The value -1 selects
5223 N-1, where N is the number of CPUs. A value
5224 "n" less than -1 selects N-n-2, where N is again
5225 the number of CPUs. For example, -2 selects N
5226 (the number of CPUs), -3 selects N+1, and so on.
dabb8aa9 5227
4102adab
PM
5228 rcutorture.object_debug= [KNL]
5229 Enable debug-object double-call_rcu() testing.
5230
5231 rcutorture.onoff_holdoff= [KNL]
dabb8aa9
PM
5232 Set time (s) after boot for CPU-hotplug testing.
5233
4102adab 5234 rcutorture.onoff_interval= [KNL]
028be12b
PM
5235 Set time (jiffies) between CPU-hotplug operations,
5236 or zero to disable CPU-hotplug testing.
dabb8aa9 5237
4a5f133c
PM
5238 rcutorture.read_exit= [KNL]
5239 Set the number of read-then-exit kthreads used
5240 to test the interaction of RCU updaters and
5241 task-exit processing.
5242
5243 rcutorture.read_exit_burst= [KNL]
5244 The number of times in a given read-then-exit
5245 episode that a set of read-then-exit kthreads
5246 is spawned.
5247
5248 rcutorture.read_exit_delay= [KNL]
5249 The delay, in seconds, between successive
5250 read-then-exit testing episodes.
5251
4102adab 5252 rcutorture.shuffle_interval= [KNL]
dabb8aa9
PM
5253 Set task-shuffle interval (s). Shuffling tasks
5254 allows some CPUs to go into dyntick-idle mode
5255 during the rcutorture test.
5256
4102adab 5257 rcutorture.shutdown_secs= [KNL]
dabb8aa9
PM
5258 Set time (s) after boot system shutdown. This
5259 is useful for hands-off automated testing.
5260
4102adab 5261 rcutorture.stall_cpu= [KNL]
dabb8aa9
PM
5262 Duration of CPU stall (s) to test RCU CPU stall
5263 warnings, zero to disable.
5264
19a8ff95
PM
5265 rcutorture.stall_cpu_block= [KNL]
5266 Sleep while stalling if set. This will result
9e5d61c0
Z
5267 in warnings from preemptible RCU in addition to
5268 any other stall-related activity. Note that
5269 in kernels built with CONFIG_PREEMPTION=n and
5270 CONFIG_PREEMPT_COUNT=y, this parameter will
5271 cause the CPU to pass through a quiescent state.
5272 Given CONFIG_PREEMPTION=n, this will suppress
5273 RCU CPU stall warnings, but will instead result
5274 in scheduling-while-atomic splats.
5275
5276 Use of this module parameter results in splats.
5277
19a8ff95 5278
4102adab 5279 rcutorture.stall_cpu_holdoff= [KNL]
dabb8aa9
PM
5280 Time to wait (s) after boot before inducing stall.
5281
2b1516e5
PM
5282 rcutorture.stall_cpu_irqsoff= [KNL]
5283 Disable interrupts while stalling if set.
5284
55b2dcf5
PM
5285 rcutorture.stall_gp_kthread= [KNL]
5286 Duration (s) of forced sleep within RCU
5287 grace-period kthread to test RCU CPU stall
5288 warnings, zero to disable. If both stall_cpu
5289 and stall_gp_kthread are specified, the
5290 kthread is starved first, then the CPU.
5291
4102adab 5292 rcutorture.stat_interval= [KNL]
dabb8aa9
PM
5293 Time (s) between statistics printk()s.
5294
4102adab 5295 rcutorture.stutter= [KNL]
dabb8aa9
PM
5296 Time (s) to stutter testing, for example, specifying
5297 five seconds causes the test to run for five seconds,
5298 wait for five seconds, and so on. This tests RCU's
5299 ability to transition abruptly to and from idle.
5300
4102adab 5301 rcutorture.test_boost= [KNL]
dabb8aa9
PM
5302 Test RCU priority boosting? 0=no, 1=maybe, 2=yes.
5303 "Maybe" means test if the RCU implementation
5304 under test support RCU priority boosting.
5305
4102adab 5306 rcutorture.test_boost_duration= [KNL]
dabb8aa9
PM
5307 Duration (s) of each individual boost test.
5308
4102adab 5309 rcutorture.test_boost_interval= [KNL]
dabb8aa9
PM
5310 Interval (s) between each boost test.
5311
4102adab 5312 rcutorture.test_no_idle_hz= [KNL]
dabb8aa9
PM
5313 Test RCU's dyntick-idle handling. See also the
5314 rcutorture.shuffle_interval parameter.
5315
4102adab 5316 rcutorture.torture_type= [KNL]
dabb8aa9
PM
5317 Specify the RCU implementation to test.
5318
4102adab 5319 rcutorture.verbose= [KNL]
dabb8aa9
PM
5320 Enable additional printk() statements.
5321
cdc694b2
PM
5322 rcupdate.rcu_cpu_stall_ftrace_dump= [KNL]
5323 Dump ftrace buffer after reporting RCU CPU
5324 stall warning.
5325
4e58aaee
PM
5326 rcupdate.rcu_cpu_stall_notifiers= [KNL]
5327 Provide RCU CPU stall notifiers, but see the
5328 warnings in the RCU_CPU_STALL_NOTIFIER Kconfig
5329 option's help text. TL;DR: You almost certainly
5330 do not want rcupdate.rcu_cpu_stall_notifiers.
5331
5a9be7c6
PM
5332 rcupdate.rcu_cpu_stall_suppress= [KNL]
5333 Suppress RCU CPU stall warning messages.
5334
58c53360
PM
5335 rcupdate.rcu_cpu_stall_suppress_at_boot= [KNL]
5336 Suppress RCU CPU stall warning messages and
5337 rcutorture writer stall warnings that occur
5338 during early boot, that is, during the time
5339 before the init task is spawned.
5340
5a9be7c6
PM
5341 rcupdate.rcu_cpu_stall_timeout= [KNL]
5342 Set timeout for RCU CPU stall warning messages.
28b3ae42
UR
5343 The value is in seconds and the maximum allowed
5344 value is 300 seconds.
5345
5346 rcupdate.rcu_exp_cpu_stall_timeout= [KNL]
5347 Set timeout for expedited RCU CPU stall warning
5348 messages. The value is in milliseconds
5349 and the maximum allowed value is 21000
5350 milliseconds. Please note that this value is
5351 adjusted to an arch timer tick resolution.
5352 Setting this to zero causes the value from
5353 rcupdate.rcu_cpu_stall_timeout to be used (after
5354 conversion from seconds to milliseconds).
5a9be7c6 5355
be42f00b
ZL
5356 rcupdate.rcu_cpu_stall_cputime= [KNL]
5357 Provide statistics on the cputime and count of
5358 interrupts and tasks during the sampling period. For
5359 multiple continuous RCU stalls, all sampling periods
5360 begin at half of the first RCU stall timeout.
5361
92987fe8
PM
5362 rcupdate.rcu_exp_stall_task_details= [KNL]
5363 Print stack dumps of any tasks blocking the
5364 current expedited RCU grace period during an
5365 expedited RCU CPU stall warning.
5366
4102adab
PM
5367 rcupdate.rcu_expedited= [KNL]
5368 Use expedited grace-period primitives, for
5369 example, synchronize_rcu_expedited() instead
5370 of synchronize_rcu(). This reduces latency,
5371 but can increase CPU utilization, degrade
5372 real-time latency, and degrade energy efficiency.
79cfea02 5373 No effect on CONFIG_TINY_RCU kernels.
4102adab 5374
5a9be7c6
PM
5375 rcupdate.rcu_normal= [KNL]
5376 Use only normal grace-period primitives,
5377 for example, synchronize_rcu() instead of
5378 synchronize_rcu_expedited(). This improves
79cfea02
PM
5379 real-time latency, CPU utilization, and
5380 energy efficiency, but can expose users to
5381 increased grace-period latency. This parameter
5382 overrides rcupdate.rcu_expedited. No effect on
5383 CONFIG_TINY_RCU kernels.
4102adab 5384
3e42ec1a
PM
5385 rcupdate.rcu_normal_after_boot= [KNL]
5386 Once boot has completed (that is, after
5387 rcu_end_inkernel_boot() has been invoked), use
79cfea02
PM
5388 only normal grace-period primitives. No effect
5389 on CONFIG_TINY_RCU kernels.
3e42ec1a 5390
36221e10
JC
5391 But note that CONFIG_PREEMPT_RT=y kernels enables
5392 this kernel boot parameter, forcibly setting
5393 it to the value one, that is, converting any
5394 post-boot attempt at an expedited RCU grace
5395 period to instead use normal non-expedited
5396 grace-period processing.
5397
fd796e41
PM
5398 rcupdate.rcu_task_collapse_lim= [KNL]
5399 Set the maximum number of callbacks present
5400 at the beginning of a grace period that allows
5401 the RCU Tasks flavors to collapse back to using
5402 a single callback queue. This switching only
5403 occurs when rcupdate.rcu_task_enqueue_lim is
5404 set to the default value of -1.
5405
ab97152f
PM
5406 rcupdate.rcu_task_contend_lim= [KNL]
5407 Set the minimum number of callback-queuing-time
5408 lock-contention events per jiffy required to
5409 cause the RCU Tasks flavors to switch to per-CPU
5410 callback queuing. This switching only occurs
5411 when rcupdate.rcu_task_enqueue_lim is set to
5412 the default value of -1.
5413
8610b656
PM
5414 rcupdate.rcu_task_enqueue_lim= [KNL]
5415 Set the number of callback queues to use for the
5416 RCU Tasks family of RCU flavors. The default
5417 of -1 allows this to be automatically (and
5418 dynamically) adjusted. This parameter is intended
5419 for use in testing.
5420
b0afa0f0
PM
5421 rcupdate.rcu_task_ipi_delay= [KNL]
5422 Set time in jiffies during which RCU tasks will
5423 avoid sending IPIs, starting with the beginning
5424 of a given grace period. Setting a large
5425 number avoids disturbing real-time workloads,
5426 but lengthens grace periods.
5427
db13710a
PM
5428 rcupdate.rcu_task_lazy_lim= [KNL]
5429 Number of callbacks on a given CPU that will
5430 cancel laziness on that CPU. Use -1 to disable
5431 cancellation of laziness, but be advised that
5432 doing so increases the danger of OOM due to
5433 callback flooding.
5434
f2539003
PM
5435 rcupdate.rcu_task_stall_info= [KNL]
5436 Set initial timeout in jiffies for RCU task stall
5437 informational messages, which give some indication
5438 of the problem for those not patient enough to
5439 wait for ten minutes. Informational messages are
5440 only printed prior to the stall-warning message
5441 for a given grace period. Disable with a value
5442 less than or equal to zero. Defaults to ten
5443 seconds. A change in value does not take effect
5444 until the beginning of the next grace period.
5445
5446 rcupdate.rcu_task_stall_info_mult= [KNL]
5447 Multiplier for time interval between successive
5448 RCU task stall informational messages for a given
5449 RCU tasks grace period. This value is clamped
5450 to one through ten, inclusive. It defaults to
5451 the value three, so that the first informational
5452 message is printed 10 seconds into the grace
5453 period, the second at 40 seconds, the third at
5454 160 seconds, and then the stall warning at 600
5455 seconds would prevent a fourth at 640 seconds.
5456
52db30ab 5457 rcupdate.rcu_task_stall_timeout= [KNL]
f2539003
PM
5458 Set timeout in jiffies for RCU task stall
5459 warning messages. Disable with a value less
5460 than or equal to zero. Defaults to ten minutes.
5461 A change in value does not take effect until
5462 the beginning of the next grace period.
52db30ab 5463
450d461a
PM
5464 rcupdate.rcu_tasks_lazy_ms= [KNL]
5465 Set timeout in milliseconds RCU Tasks asynchronous
5466 callback batching for call_rcu_tasks().
5467 A negative value will take the default. A value
5468 of zero will disable batching. Batching is
5469 always disabled for synchronize_rcu_tasks().
5470
5471 rcupdate.rcu_tasks_rude_lazy_ms= [KNL]
5472 Set timeout in milliseconds RCU Tasks
5473 Rude asynchronous callback batching for
5474 call_rcu_tasks_rude(). A negative value
5475 will take the default. A value of zero will
5476 disable batching. Batching is always disabled
5477 for synchronize_rcu_tasks_rude().
5478
5479 rcupdate.rcu_tasks_trace_lazy_ms= [KNL]
5480 Set timeout in milliseconds RCU Tasks
5481 Trace asynchronous callback batching for
5482 call_rcu_tasks_trace(). A negative value
5483 will take the default. A value of zero will
5484 disable batching. Batching is always disabled
5485 for synchronize_rcu_tasks_trace().
5486
74860fee
PK
5487 rcupdate.rcu_self_test= [KNL]
5488 Run the RCU early boot self tests
5489
ffdfc409
OJ
5490 rdinit= [KNL]
5491 Format: <full_path>
5492 Run specified binary instead of /init from the ramdisk,
5493 used for early userspace startup. See initrd.
5494
60071659 5495 rdrand= [X86,EARLY]
c49a0a80
TL
5496 force - Override the decision by the kernel to hide the
5497 advertisement of RDRAND support (this affects
5498 certain AMD processors because of buggy BIOS
5499 support, specifically around the suspend/resume
5500 path).
5501
1d9807fc
TL
5502 rdt= [HW,X86,RDT]
5503 Turn on/off individual RDT features. List is:
31516de3 5504 cmt, mbmtotal, mbmlocal, l3cat, l3cdp, l2cat, l2cdp,
a76f65c8 5505 mba, smba, bmec.
1d9807fc
TL
5506 E.g. to turn on cmt and turn off mba use:
5507 rdt=cmt,!mba
5508
1b3a5d02
RH
5509 reboot= [KNL]
5510 Format (x86 or x86_64):
12febc18 5511 [w[arm] | c[old] | h[ard] | s[oft] | g[pio]] | d[efault] \
1b3a5d02
RH
5512 [[,]s[mp]#### \
5513 [[,]b[ios] | a[cpi] | k[bd] | t[riple] | e[fi] | p[ci]] \
5514 [[,]f[orce]
b287a25a
AK
5515 Where reboot_mode is one of warm (soft) or cold (hard) or gpio
5516 (prefix with 'panic_' to set mode for panic
5517 reboot only),
1b3a5d02
RH
5518 reboot_type is one of bios, acpi, kbd, triple, efi, or pci,
5519 reboot_force is either force or not specified,
5520 reboot_cpu is s[mp]#### with #### being the processor
5521 to be used for rebooting.
1da177e4 5522
1fbeb3a8 5523 refscale.holdoff= [KNL]
847dd70a
PM
5524 Set test-start holdoff period. The purpose of
5525 this parameter is to delay the start of the
5526 test until boot completes in order to avoid
5527 interference.
5528
8a4c0c90
PM
5529 refscale.lookup_instances= [KNL]
5530 Number of data elements to use for the forms of
5531 SLAB_TYPESAFE_BY_RCU testing. A negative number
5532 is negated and multiplied by nr_cpu_ids, while
5533 zero specifies nr_cpu_ids.
5534
1fbeb3a8 5535 refscale.loops= [KNL]
847dd70a
PM
5536 Set the number of loops over the synchronization
5537 primitive under test. Increasing this number
5538 reduces noise due to loop start/end overhead,
5539 but the default has already reduced the per-pass
5540 noise to a handful of picoseconds on ca. 2020
5541 x86 laptops.
5542
1fbeb3a8 5543 refscale.nreaders= [KNL]
847dd70a
PM
5544 Set number of readers. The default value of -1
5545 selects N, where N is roughly 75% of the number
5546 of CPUs. A value of zero is an interesting choice.
5547
1fbeb3a8 5548 refscale.nruns= [KNL]
847dd70a
PM
5549 Set number of runs, each of which is dumped onto
5550 the console log.
5551
1fbeb3a8 5552 refscale.readdelay= [KNL]
847dd70a
PM
5553 Set the read-side critical-section duration,
5554 measured in microseconds.
5555
1fbeb3a8
PM
5556 refscale.scale_type= [KNL]
5557 Specify the read-protection implementation to test.
5558
5559 refscale.shutdown= [KNL]
847dd70a
PM
5560 Shut down the system at the end of the performance
5561 test. This defaults to 1 (shut it down) when
4e88ec4a
PM
5562 refscale is built into the kernel and to 0 (leave
5563 it running) when refscale is built as a module.
847dd70a 5564
1fbeb3a8 5565 refscale.verbose= [KNL]
847dd70a
PM
5566 Enable additional printk() statements.
5567
e76506f0
PM
5568 refscale.verbose_batched= [KNL]
5569 Batch the additional printk() statements. If zero
5570 (the default) or negative, print everything. Otherwise,
5571 print every Nth verbose statement, where N is the value
5572 specified.
5573
c986968f
JMC
5574 regulator_ignore_unused
5575 [REGULATOR]
5576 Prevents regulator framework from disabling regulators
5577 that are unused, due no driver claiming them. This may
5578 be useful for debug and development, but should not be
5579 needed on a platform with proper driver support.
5580
46b6d94e
PJ
5581 relax_domain_level=
5582 [KNL, SMP] Set scheduler's default relax_domain_level.
da82c92f 5583 See Documentation/admin-guide/cgroup-v1/cpusets.rst.
46b6d94e 5584
ffd2e8df
BH
5585 reserve= [KNL,BUGS] Force kernel to ignore I/O ports or memory
5586 Format: <base1>,<size1>[,<base2>,<size2>,...]
5587 Reserve I/O ports or memory so the kernel won't use
5588 them. If <base> is less than 0x10000, the region
5589 is assumed to be I/O ports; otherwise it is memory.
1da177e4 5590
60071659 5591 reservetop= [X86-32,EARLY]
461a9aff
ZA
5592 Format: nn[KMG]
5593 Reserves a hole at the top of the kernel virtual
5594 address space.
5595
7e96287d
VG
5596 reset_devices [KNL] Force drivers to reset the underlying device
5597 during initialization.
5598
a9913044
RD
5599 resume= [SWSUSP]
5600 Specify the partition device for software suspend
2df83fa4
MB
5601 Format:
5602 {/dev/<dev> | PARTUUID=<uuid> | <int>:<int> | <hex>}
1da177e4 5603
ecbd0da1
RW
5604 resume_offset= [SWSUSP]
5605 Specify the offset from the beginning of the partition
5606 given by "resume=" at which the swap header is located,
5607 in <PAGE_SIZE> units (needed only for swap files).
151f4e2b 5608 See Documentation/power/swsusp-and-swap-files.rst
ecbd0da1 5609
f126f733
BS
5610 resumedelay= [HIBERNATION] Delay (in seconds) to pause before attempting to
5611 read the resume files
5612
6f8d7022
BS
5613 resumewait [HIBERNATION] Wait (indefinitely) for resume device to show up.
5614 Useful for devices that are detected asynchronously
5615 (e.g. USB and MMC devices).
5616
2678fd2f
AG
5617 retain_initrd [RAM] Keep initrd memory after extraction. After boot, it will
5618 be accessible via /sys/firmware/initrd.
0a7b35cb 5619
7fbf47c7
AC
5620 retbleed= [X86] Control mitigation of RETBleed (Arbitrary
5621 Speculative Code Execution with Return Instructions)
5622 vulnerability.
5623
e6cfcdda
KP
5624 AMD-based UNRET and IBPB mitigations alone do not stop
5625 sibling threads from influencing the predictions of other
5626 sibling threads. For that reason, STIBP is used on pro-
5627 cessors that support it, and mitigate SMT on processors
5628 that don't.
5629
e8ec1b6e
KP
5630 off - no mitigation
5631 auto - automatically select a migitation
5632 auto,nosmt - automatically select a mitigation,
5633 disabling SMT if necessary for
5634 the full mitigation (only on Zen1
5635 and older without STIBP).
e6cfcdda
KP
5636 ibpb - On AMD, mitigate short speculation
5637 windows on basic block boundaries too.
5638 Safe, highest perf impact. It also
5639 enables STIBP if present. Not suitable
5640 on Intel.
5641 ibpb,nosmt - Like "ibpb" above but will disable SMT
5642 when STIBP is not available. This is
5643 the alternative for systems which do not
5644 have STIBP.
5645 unret - Force enable untrained return thunks,
5646 only effective on AMD f15h-f17h based
5647 systems.
5648 unret,nosmt - Like unret, but will disable SMT when STIBP
5649 is not available. This is the alternative for
5650 systems which do not have STIBP.
7fbf47c7
AC
5651
5652 Selecting 'auto' will choose a mitigation method at run
5653 time according to the CPU.
5654
5655 Not specifying this option is equivalent to retbleed=auto.
5656
0efbb786
AC
5657 rfkill.default_state=
5658 0 "airplane mode". All wifi, bluetooth, wimax, gps, fm,
5659 etc. communication is blocked by default.
5660 1 Unblocked.
5661
5662 rfkill.master_switch_mode=
5663 0 The "airplane mode" button does nothing.
5664 1 The "airplane mode" button toggles between everything
5665 blocked and the previous configuration.
5666 2 The "airplane mode" button toggles between everything
5667 blocked and everything unblocked.
5668
1da177e4
LT
5669 rhash_entries= [KNL,NET]
5670 Set number of hash buckets for route cache
5671
e16fd002
GA
5672 ring3mwait=disable
5673 [KNL] Disable ring 3 MONITOR/MWAIT feature on supported
5674 CPUs.
5675
60071659 5676 riscv_isa_fallback [RISCV,EARLY]
496ea826
CD
5677 When CONFIG_RISCV_ISA_FALLBACK is not enabled, permit
5678 falling back to detecting extension support by parsing
5679 "riscv,isa" property on devicetree systems when the
5680 replacement properties are not found. See the Kconfig
5681 entry for RISCV_ISA_FALLBACK.
5682
1da177e4
LT
5683 ro [KNL] Mount root device read-only on boot
5684
60071659 5685 rodata= [KNL,EARLY]
d2aa1aca
KC
5686 on Mark read-only kernel memory as read-only (default).
5687 off Leave read-only kernel memory writable for debugging.
2e8cff0a
MR
5688 full Mark read-only kernel memory and aliases as read-only
5689 [arm64]
d2aa1aca 5690
605df8af 5691 rockchip.usb_uart
60071659 5692 [EARLY]
605df8af
HS
5693 Enable the uart passthrough on the designated usb port
5694 on Rockchip SoCs. When active, the signals of the
5695 debug-uart get routed to the D+ and D- pins of the usb
5696 port and the regular usb controller gets disabled.
5697
1da177e4 5698 root= [KNL] Root filesystem
c0c1a7dc 5699 Usually this a a block device specifier of some kind,
702f3189
CH
5700 see the early_lookup_bdev comment in
5701 block/early-lookup.c for details.
c0c1a7dc
CH
5702 Alternatively this can be "ram" for the legacy initial
5703 ramdisk, "nfs" and "cifs" for root on a network file
5704 system, or "mtd" and "ubi" for mounting from raw flash.
1da177e4
LT
5705
5706 rootdelay= [KNL] Delay (in seconds) to pause before attempting to
5707 mount the root filesystem
5708
5709 rootflags= [KNL] Set root filesystem mount option string
5710
5711 rootfstype= [KNL] Set root filesystem type
5712
cc1ed754
PO
5713 rootwait [KNL] Wait (indefinitely) for root device to show up.
5714 Useful for devices that are detected asynchronously
5715 (e.g. USB and MMC devices).
5716
45071e1c
LP
5717 rootwait= [KNL] Maximum time (in seconds) to wait for root device
5718 to show up before attempting to mount the root
5719 filesystem.
5720
5c71d618
RT
5721 rproc_mem=nn[KMG][@address]
5722 [KNL,ARM,CMA] Remoteproc physical memory block.
5723 Memory area to be used by remote processor image,
5724 managed by CMA.
5725
1da177e4
LT
5726 rw [KNL] Mount root device read-write on boot
5727
5728 S [KNL] Run init in single mode
5729
c60d1ae4
GS
5730 s390_iommu= [HW,S390]
5731 Set s390 IOTLB flushing mode
5732 strict
c76c067e
NS
5733 With strict flushing every unmap operation will result
5734 in an IOTLB flush. Default is lazy flushing before
5735 reuse, which is faster. Deprecated, equivalent to
5736 iommu.strict=1.
c60d1ae4 5737
6aefbf1c
NS
5738 s390_iommu_aperture= [KNL,S390]
5739 Specifies the size of the per device DMA address space
5740 accessible through the DMA and IOMMU APIs as a decimal
5741 factor of the size of main memory.
5742 The default is 1 meaning that one can concurrently use
5743 as many DMA addresses as physical memory is installed,
5744 if supported by hardware, and thus map all of memory
5745 once. With a value of 2 one can map all of memory twice
5746 and so on. As a special case a factor of 0 imposes no
5747 restrictions other than those given by hardware at the
5748 cost of significant additional memory use for tables.
5749
1da177e4
LT
5750 sa1100ir [NET]
5751 See drivers/net/irda/sa1100_ir.c.
5752
60071659 5753 sched_verbose [KNL,EARLY] Enables verbose scheduler debug messages.
f6630114 5754
cb251765
MG
5755 schedstats= [KNL,X86] Enable or disable scheduled statistics.
5756 Allowed values are enable and disable. This feature
5757 incurs a small amount of overhead in the scheduler
5758 but is useful for debugging and performance tuning.
f6630114 5759
05289b90
TG
5760 sched_thermal_decay_shift=
5761 [KNL, SMP] Set a decay shift for scheduler thermal
5762 pressure signal. Thermal pressure signal follows the
5763 default decay period of other scheduler pelt
5764 signals(usually 32 ms but configurable). Setting
5765 sched_thermal_decay_shift will left shift the decay
5766 period for the thermal pressure signal by the shift
5767 value.
5768 i.e. with the default pelt decay period of 32 ms
5769 sched_thermal_decay_shift thermal pressure decay pr
5770 1 64 ms
5771 2 128 ms
5772 and so on.
5773 Format: integer between 0 and 10
5774 Default is 0.
5775
e9d338a0
PM
5776 scftorture.holdoff= [KNL]
5777 Number of seconds to hold off before starting
5778 test. Defaults to zero for module insertion and
5779 to 10 seconds for built-in smp_call_function()
5780 tests.
5781
5782 scftorture.longwait= [KNL]
5783 Request ridiculously long waits randomly selected
5784 up to the chosen limit in seconds. Zero (the
5785 default) disables this feature. Please note
5786 that requesting even small non-zero numbers of
5787 seconds can result in RCU CPU stall warnings,
5788 softlockup complaints, and so on.
5789
5790 scftorture.nthreads= [KNL]
5791 Number of kthreads to spawn to invoke the
5792 smp_call_function() family of functions.
5793 The default of -1 specifies a number of kthreads
5794 equal to the number of CPUs.
5795
5796 scftorture.onoff_holdoff= [KNL]
5797 Number seconds to wait after the start of the
5798 test before initiating CPU-hotplug operations.
5799
5800 scftorture.onoff_interval= [KNL]
5801 Number seconds to wait between successive
5802 CPU-hotplug operations. Specifying zero (which
5803 is the default) disables CPU-hotplug operations.
5804
5805 scftorture.shutdown_secs= [KNL]
5806 The number of seconds following the start of the
5807 test after which to shut down the system. The
5808 default of zero avoids shutting down the system.
5809 Non-zero values are useful for automated tests.
5810
5811 scftorture.stat_interval= [KNL]
5812 The number of seconds between outputting the
5813 current test statistics to the console. A value
5814 of zero disables statistics output.
5815
5816 scftorture.stutter_cpus= [KNL]
5817 The number of jiffies to wait between each change
5818 to the set of CPUs under test.
5819
5820 scftorture.use_cpus_read_lock= [KNL]
5821 Use use_cpus_read_lock() instead of the default
5822 preempt_disable() to disable CPU hotplug
5823 while invoking one of the smp_call_function*()
5824 functions.
5825
5826 scftorture.verbose= [KNL]
5827 Enable additional printk() statements.
5828
5829 scftorture.weight_single= [KNL]
5830 The probability weighting to use for the
5831 smp_call_function_single() function with a zero
5832 "wait" parameter. A value of -1 selects the
5833 default if all other weights are -1. However,
5834 if at least one weight has some other value, a
5835 value of -1 will instead select a weight of zero.
5836
5837 scftorture.weight_single_wait= [KNL]
5838 The probability weighting to use for the
5839 smp_call_function_single() function with a
5840 non-zero "wait" parameter. See weight_single.
5841
5842 scftorture.weight_many= [KNL]
5843 The probability weighting to use for the
5844 smp_call_function_many() function with a zero
5845 "wait" parameter. See weight_single.
5846 Note well that setting a high probability for
5847 this weighting can place serious IPI load
5848 on the system.
5849
5850 scftorture.weight_many_wait= [KNL]
5851 The probability weighting to use for the
5852 smp_call_function_many() function with a
5853 non-zero "wait" parameter. See weight_single
5854 and weight_many.
5855
5856 scftorture.weight_all= [KNL]
5857 The probability weighting to use for the
5858 smp_call_function_all() function with a zero
5859 "wait" parameter. See weight_single and
5860 weight_many.
5861
5862 scftorture.weight_all_wait= [KNL]
5863 The probability weighting to use for the
5864 smp_call_function_all() function with a
5865 non-zero "wait" parameter. See weight_single
5866 and weight_many.
5867
60071659 5868 skew_tick= [KNL,EARLY] Offset the periodic timer tick per cpu to mitigate
5307c955
MG
5869 xtime_lock contention on larger systems, and/or RCU lock
5870 contention on all systems with CONFIG_MAXSMP set.
5871 Format: { "0" | "1" }
5872 0 -- disable. (may be 1 via CONFIG_CMDLINE="skew_tick=1"
5873 1 -- enable.
5874 Note: increases power consumption, thus should only be
5875 enabled if running jitter sensitive (HPC/RT) workloads.
5876
89a9684e
KC
5877 security= [SECURITY] Choose a legacy "major" security module to
5878 enable at boot. This has been deprecated by the
5879 "lsm=" parameter.
0cb55ad2
RD
5880
5881 selinux= [SELINUX] Disable or enable SELinux at boot time.
1da177e4
LT
5882 Format: { "0" | "1" }
5883 See security/selinux/Kconfig help text.
5884 0 -- disable.
5885 1 -- enable.
d41415eb 5886 Default value is 1.
1da177e4 5887
cd4f0ef7 5888 serialnumber [BUGS=X86-32]
1da177e4 5889
ff61f079 5890 sev=option[,option...] [X86-64] See Documentation/arch/x86/x86_64/boot-options.rst
ba37a143 5891
1da177e4
LT
5892 shapers= [NET]
5893 Maximal number of shapers.
a9913044 5894
42551b8d
RD
5895 show_lapic= [APIC,X86] Advanced Programmable Interrupt Controller
5896 Limit apic dumping. The parameter defines the maximal
5897 number of local apics being dumped. Also it is possible
5898 to set it to "all" by meaning -- no limit here.
5899 Format: { 1 (default) | 2 | ... | all }.
5900 The parameter valid if only apic=debug or
5901 apic=verbose is specified.
5902 Example: apic=debug show_lapic=all
5903
1da177e4
LT
5904 simeth= [IA-64]
5905 simscsi=
a9913044 5906
1da177e4
LT
5907 slram= [HW,MTD]
5908
82edd9d5
RA
5909 slab_merge [MM]
5910 Enable merging of slabs with similar size when the
5911 kernel is built without CONFIG_SLAB_MERGE_DEFAULT.
5912
423c929c
JK
5913 slab_nomerge [MM]
5914 Disable merging of slabs with similar size. May be
5915 necessary if there is some reason to distinguish
7660a6fd
KC
5916 allocs to different slabs, especially in hardened
5917 environments where the risk of heap overflows and
5918 layout control by attackers can usually be
5919 frustrated by disabling merging. This will reduce
5920 most of the exposure of a heap attack to a single
5921 cache (risks via metadata attacks are mostly
5922 unchanged). Debug options disable merging on their
5923 own.
ee65728e 5924 For more information see Documentation/mm/slub.rst.
423c929c 5925
3df1cccd
DR
5926 slab_max_order= [MM, SLAB]
5927 Determines the maximum allowed order for slabs.
5928 A high setting may cause OOMs due to memory
5929 fragmentation. Defaults to 1 for systems with
5930 more than 32MB of RAM, 0 otherwise.
5931
e17f1dfb 5932 slub_debug[=options[,slabs][;[options[,slabs]]...] [MM, SLUB]
f0630fff
CL
5933 Enabling slub_debug allows one to determine the
5934 culprit if slab objects become corrupted. Enabling
5935 slub_debug can create guard zones around objects and
5936 may poison objects when not in use. Also tracks the
5937 last alloc / free. For more information see
ee65728e 5938 Documentation/mm/slub.rst.
c1aee215
CL
5939
5940 slub_max_order= [MM, SLUB]
f0630fff
CL
5941 Determines the maximum allowed order for slabs.
5942 A high setting may cause OOMs due to memory
5943 fragmentation. For more information see
ee65728e 5944 Documentation/mm/slub.rst.
c1aee215
CL
5945
5946 slub_min_objects= [MM, SLUB]
f0630fff
CL
5947 The minimum number of objects per slab. SLUB will
5948 increase the slab order up to slub_max_order to
5949 generate a sufficiently large slab able to contain
5950 the number of objects indicated. The higher the number
5951 of objects the smaller the overhead of tracking slabs
5952 and the less frequently locks need to be acquired.
ee65728e 5953 For more information see Documentation/mm/slub.rst.
c1aee215
CL
5954
5955 slub_min_order= [MM, SLUB]
24775d65 5956 Determines the minimum page order for slabs. Must be
f0630fff 5957 lower than slub_max_order.
ee65728e 5958 For more information see Documentation/mm/slub.rst.
c1aee215 5959
82edd9d5
RA
5960 slub_merge [MM, SLUB]
5961 Same with slab_merge.
5962
c1aee215 5963 slub_nomerge [MM, SLUB]
423c929c
JK
5964 Same with slab_nomerge. This is supported for legacy.
5965 See slab_nomerge for more information.
c1aee215 5966
1da177e4
LT
5967 smart2= [HW]
5968 Format: <io1>[,<io2>[,...,<io8>]]
5969
3791a223
PM
5970 smp.csd_lock_timeout= [KNL]
5971 Specify the period of time in milliseconds
5972 that smp_call_function() and friends will wait
5973 for a CPU to release the CSD lock. This is
5974 useful when diagnosing bugs involving CPUs
5975 disabling interrupts for extended periods
5976 of time. Defaults to 5,000 milliseconds, and
5977 setting a value of zero disables this feature.
5978 This feature may be more efficiently disabled
5979 using the csdlock_debug- kernel parameter.
5980
94b3f0b5
RR
5981 smp.panic_on_ipistall= [KNL]
5982 If a csd_lock_timeout extends for more than
5983 the specified number of milliseconds, panic the
5984 system. By default, let CSD-lock acquisition
5985 take as long as they take. Specifying 300,000
5986 for this value provides a 5-minute timeout.
5987
d0d4f69b
BH
5988 smsc-ircc2.nopnp [HW] Don't use PNP to discover SMC devices
5989 smsc-ircc2.ircc_cfg= [HW] Device configuration I/O port
5990 smsc-ircc2.ircc_sir= [HW] SIR base I/O port
5991 smsc-ircc2.ircc_fir= [HW] FIR base I/O port
5992 smsc-ircc2.ircc_irq= [HW] IRQ line
5993 smsc-ircc2.ircc_dma= [HW] DMA channel
5994 smsc-ircc2.ircc_transceiver= [HW] Transceiver type:
5995 0: Toshiba Satellite 1800 (GP data pin select)
5996 1: Fast pin select (default)
5997 2: ATC IRMode
5998
60071659
PM
5999 smt= [KNL,MIPS,S390,EARLY] Set the maximum number of threads
6000 (logical CPUs) to use per physical CPU on systems
6001 capable of symmetric multithreading (SMT). Will
6002 be capped to the actual hardware limit.
52c48c51
SS
6003 Format: <integer>
6004 Default: -1 (no limit)
6005
9c44bc03
IM
6006 softlockup_panic=
6007 [KNL] Should the soft-lockup detector generate panics.
f117955a 6008 Format: 0 | 1
9c44bc03 6009
f117955a 6010 A value of 1 instructs the soft-lockup detector
0a07bef6
GP
6011 to panic the machine when a soft-lockup occurs. It is
6012 also controlled by the kernel.softlockup_panic sysctl
6013 and CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC, which is the
6014 respective build-time switch to that functionality.
3ce62385 6015
ed235875
AT
6016 softlockup_all_cpu_backtrace=
6017 [KNL] Should the soft-lockup detector generate
6018 backtraces on all cpus.
f117955a 6019 Format: 0 | 1
ed235875 6020
1da177e4 6021 sonypi.*= [HW] Sony Programmable I/O Control Device driver
9e1cbede 6022 See Documentation/admin-guide/laptops/sonypi.rst
1da177e4 6023
60071659 6024 spectre_v2= [X86,EARLY] Control mitigation of Spectre variant 2
da285121 6025 (indirect branch speculation) vulnerability.
fa1202ef
TG
6026 The default operation protects the kernel from
6027 user space attacks.
da285121 6028
fa1202ef
TG
6029 on - unconditionally enable, implies
6030 spectre_v2_user=on
6031 off - unconditionally disable, implies
6032 spectre_v2_user=off
da285121
DW
6033 auto - kernel detects whether your CPU model is
6034 vulnerable
6035
6036 Selecting 'on' will, and 'auto' may, choose a
6037 mitigation method at run time according to the
6038 CPU, the available microcode, the setting of the
6039 CONFIG_RETPOLINE configuration option, and the
6040 compiler with which the kernel was built.
6041
fa1202ef
TG
6042 Selecting 'on' will also enable the mitigation
6043 against user space to user space task attacks.
6044
6045 Selecting 'off' will disable both the kernel and
6046 the user space protections.
6047
da285121
DW
6048 Specific mitigations can also be selected manually:
6049
6050 retpoline - replace indirect branches
5ad3eb11
PZ
6051 retpoline,generic - Retpolines
6052 retpoline,lfence - LFENCE; indirect branch
6053 retpoline,amd - alias for retpoline,lfence
e7862eda
KP
6054 eibrs - Enhanced/Auto IBRS
6055 eibrs,retpoline - Enhanced/Auto IBRS + Retpolines
6056 eibrs,lfence - Enhanced/Auto IBRS + LFENCE
7c693f54 6057 ibrs - use IBRS to protect kernel
da285121
DW
6058
6059 Not specifying this option is equivalent to
6060 spectre_v2=auto.
6061
fa1202ef
TG
6062 spectre_v2_user=
6063 [X86] Control mitigation of Spectre variant 2
6064 (indirect branch speculation) vulnerability between
6065 user space tasks
6066
6067 on - Unconditionally enable mitigations. Is
6068 enforced by spectre_v2=on
6069
6070 off - Unconditionally disable mitigations. Is
6071 enforced by spectre_v2=off
6072
7cc765a6
TG
6073 prctl - Indirect branch speculation is enabled,
6074 but mitigation can be enabled via prctl
6075 per thread. The mitigation control state
6076 is inherited on fork.
6077
55a97402
TG
6078 prctl,ibpb
6079 - Like "prctl" above, but only STIBP is
6080 controlled per thread. IBPB is issued
6081 always when switching between different user
6082 space processes.
6083
6b3e64c2
TG
6084 seccomp
6085 - Same as "prctl" above, but all seccomp
6086 threads will enable the mitigation unless
6087 they explicitly opt out.
6088
55a97402
TG
6089 seccomp,ibpb
6090 - Like "seccomp" above, but only STIBP is
6091 controlled per thread. IBPB is issued
6092 always when switching between different
6093 user space processes.
6094
fa1202ef
TG
6095 auto - Kernel selects the mitigation depending on
6096 the available CPU features and vulnerability.
6b3e64c2 6097
2f46993d 6098 Default mitigation: "prctl"
fa1202ef
TG
6099
6100 Not specifying this option is equivalent to
6101 spectre_v2_user=auto.
6102
fb3bd914 6103 spec_rstack_overflow=
60071659 6104 [X86,EARLY] Control RAS overflow mitigation on AMD Zen CPUs
fb3bd914
BPA
6105
6106 off - Disable mitigation
6107 microcode - Enable microcode mitigation only
6108 safe-ret - Enable sw-only safe RET mitigation (default)
6109 ibpb - Enable mitigation by issuing IBPB on
6110 kernel entry
6111 ibpb-vmexit - Issue IBPB only on VMEXIT
6112 (cloud-specific mitigation)
6113
24f7fc83 6114 spec_store_bypass_disable=
60071659 6115 [HW,EARLY] Control Speculative Store Bypass (SSB) Disable mitigation
24f7fc83
KRW
6116 (Speculative Store Bypass vulnerability)
6117
6118 Certain CPUs are vulnerable to an exploit against a
6119 a common industry wide performance optimization known
6120 as "Speculative Store Bypass" in which recent stores
6121 to the same memory location may not be observed by
6122 later loads during speculative execution. The idea
6123 is that such stores are unlikely and that they can
6124 be detected prior to instruction retirement at the
6125 end of a particular speculation execution window.
6126
6127 In vulnerable processors, the speculatively forwarded
6128 store can be used in a cache side channel attack, for
6129 example to read memory to which the attacker does not
6130 directly have access (e.g. inside sandboxed code).
6131
6132 This parameter controls whether the Speculative Store
6133 Bypass optimization is used.
6134
6b4c1360
ME
6135 On x86 the options are:
6136
f21b53b2
KC
6137 on - Unconditionally disable Speculative Store Bypass
6138 off - Unconditionally enable Speculative Store Bypass
6139 auto - Kernel detects whether the CPU model contains an
6140 implementation of Speculative Store Bypass and
6141 picks the most appropriate mitigation. If the
6142 CPU is not vulnerable, "off" is selected. If the
6143 CPU is vulnerable the default mitigation is
6144 architecture and Kconfig dependent. See below.
6145 prctl - Control Speculative Store Bypass per thread
6146 via prctl. Speculative Store Bypass is enabled
6147 for a process by default. The state of the control
6148 is inherited on fork.
6149 seccomp - Same as "prctl" above, but all seccomp threads
6150 will disable SSB unless they explicitly opt out.
24f7fc83 6151
f21b53b2 6152 Default mitigations:
2f46993d 6153 X86: "prctl"
f21b53b2 6154
6b4c1360
ME
6155 On powerpc the options are:
6156
6157 on,auto - On Power8 and Power9 insert a store-forwarding
6158 barrier on kernel entry and exit. On Power7
6159 perform a software flush on kernel entry and
6160 exit.
6161 off - No action.
6162
6163 Not specifying this option is equivalent to
6164 spec_store_bypass_disable=auto.
6165
1da177e4
LT
6166 spia_io_base= [HW,MTD]
6167 spia_fio_base=
6168 spia_pedr=
6169 spia_peddr=
6170
6650cdd9 6171 split_lock_detect=
ebca1770 6172 [X86] Enable split lock detection or bus lock detection
6650cdd9
PZI
6173
6174 When enabled (and if hardware support is present), atomic
6175 instructions that access data across cache line
ebca1770
FY
6176 boundaries will result in an alignment check exception
6177 for split lock detection or a debug exception for
6178 bus lock detection.
6650cdd9
PZI
6179
6180 off - not enabled
6181
ebca1770 6182 warn - the kernel will emit rate-limited warnings
6650cdd9 6183 about applications triggering the #AC
ebca1770
FY
6184 exception or the #DB exception. This mode is
6185 the default on CPUs that support split lock
6186 detection or bus lock detection. Default
6187 behavior is by #AC if both features are
6188 enabled in hardware.
6650cdd9
PZI
6189
6190 fatal - the kernel will send SIGBUS to applications
ebca1770
FY
6191 that trigger the #AC exception or the #DB
6192 exception. Default behavior is by #AC if
6193 both features are enabled in hardware.
6650cdd9 6194
9d839c28
FY
6195 ratelimit:N -
6196 Set system wide rate limit to N bus locks
6197 per second for bus lock detection.
6198 0 < N <= 1000.
6199
6200 N/A for split lock detection.
6201
6202
6650cdd9
PZI
6203 If an #AC exception is hit in the kernel or in
6204 firmware (i.e. not while executing in user mode)
6205 the kernel will oops in either "warn" or "fatal"
6206 mode.
6207
ebca1770
FY
6208 #DB exception for bus lock is triggered only when
6209 CPL > 0.
6210
60071659 6211 srbds= [X86,INTEL,EARLY]
7e5b3c26
MG
6212 Control the Special Register Buffer Data Sampling
6213 (SRBDS) mitigation.
6214
6215 Certain CPUs are vulnerable to an MDS-like
6216 exploit which can leak bits from the random
6217 number generator.
6218
6219 By default, this issue is mitigated by
6220 microcode. However, the microcode fix can cause
6221 the RDRAND and RDSEED instructions to become
6222 much slower. Among other effects, this will
6223 result in reduced throughput from /dev/urandom.
6224
6225 The microcode mitigation can be disabled with
6226 the following option:
6227
6228 off: Disable mitigation and remove
6229 performance impact to RDRAND and RDSEED
6230
a57ffb3c
PM
6231 srcutree.big_cpu_lim [KNL]
6232 Specifies the number of CPUs constituting a
6233 large system, such that srcu_struct structures
6234 should immediately allocate an srcu_node array.
6235 This kernel-boot parameter defaults to 128,
6236 but takes effect only when the low-order four
6237 bits of srcutree.convert_to_big is equal to 3
6238 (decide at boot).
6239
c69a00a1
PM
6240 srcutree.convert_to_big [KNL]
6241 Specifies under what conditions an SRCU tree
6242 srcu_struct structure will be converted to big
6243 form, that is, with an rcu_node tree:
6244
6245 0: Never.
6246 1: At init_srcu_struct() time.
6247 2: When rcutorture decides to.
a57ffb3c 6248 3: Decide at boot time (default).
9f2e91d9 6249 0x1X: Above plus if high contention.
c69a00a1
PM
6250
6251 Either way, the srcu_node tree will be sized based
6252 on the actual runtime number of CPUs (nr_cpu_ids)
6253 instead of the compile-time CONFIG_NR_CPUS.
6254
c350c008
PM
6255 srcutree.counter_wrap_check [KNL]
6256 Specifies how frequently to check for
6257 grace-period sequence counter wrap for the
6258 srcu_data structure's ->srcu_gp_seq_needed field.
6259 The greater the number of bits set in this kernel
6260 parameter, the less frequently counter wrap will
6261 be checked for. Note that the bottom two bits
6262 are ignored.
6263
22607d66
PM
6264 srcutree.exp_holdoff [KNL]
6265 Specifies how many nanoseconds must elapse
6266 since the end of the last SRCU grace period for
6267 a given srcu_struct until the next normal SRCU
6268 grace period will be considered for automatic
6269 expediting. Set to zero to disable automatic
6270 expediting.
6271
4f2bfd94
NU
6272 srcutree.srcu_max_nodelay [KNL]
6273 Specifies the number of no-delay instances
6274 per jiffy for which the SRCU grace period
6275 worker thread will be rescheduled with zero
6276 delay. Beyond this limit, worker thread will
6277 be rescheduled with a sleep delay of one jiffy.
6278
6279 srcutree.srcu_max_nodelay_phase [KNL]
6280 Specifies the per-grace-period phase, number of
6281 non-sleeping polls of readers. Beyond this limit,
6282 grace period worker thread will be rescheduled
6283 with a sleep delay of one jiffy, between each
6284 rescan of the readers, for a grace period phase.
6285
6286 srcutree.srcu_retry_check_delay [KNL]
6287 Specifies number of microseconds of non-sleeping
6288 delay between each non-sleeping poll of readers.
6289
9f2e91d9
PM
6290 srcutree.small_contention_lim [KNL]
6291 Specifies the number of update-side contention
6292 events per jiffy will be tolerated before
6293 initiating a conversion of an srcu_struct
6294 structure to big form. Note that the value of
6295 srcutree.convert_to_big must have the 0x10 bit
6296 set for contention-based conversions to occur.
6297
60071659 6298 ssbd= [ARM64,HW,EARLY]
a43ae4df
MZ
6299 Speculative Store Bypass Disable control
6300
6301 On CPUs that are vulnerable to the Speculative
6302 Store Bypass vulnerability and offer a
6303 firmware based mitigation, this parameter
6304 indicates how the mitigation should be used:
6305
6306 force-on: Unconditionally enable mitigation for
6307 for both kernel and userspace
6308 force-off: Unconditionally disable mitigation for
6309 for both kernel and userspace
6310 kernel: Always enable mitigation in the
6311 kernel, and offer a prctl interface
6312 to allow userspace to register its
6313 interest in being mitigated too.
6314
1be7107f
HD
6315 stack_guard_gap= [MM]
6316 override the default stack gap protection. The value
6317 is in page units and it defines how many pages prior
6318 to (for stacks growing down) resp. after (for stacks
6319 growing up) the main stack are reserved for no other
6320 mapping. Default value is 256 pages.
6321
60071659 6322 stack_depot_disable= [KNL,EARLY]
e1fdc403
VJ
6323 Setting this to true through kernel command line will
6324 disable the stack depot thereby saving the static memory
6325 consumed by the stack hash table. By default this is set
6326 to false.
6327
f38f1d2a
SR
6328 stacktrace [FTRACE]
6329 Enabled the stack tracer on boot up.
6330
762e1207
SR
6331 stacktrace_filter=[function-list]
6332 [FTRACE] Limit the functions that the stack tracer
25942e5e 6333 will trace at boot up. function-list is a comma-separated
762e1207
SR
6334 list of functions. This list can be changed at run
6335 time by the stack_trace_filter file in the debugfs
6336 tracing directory. Note, this enables stack tracing
6337 and the stacktrace above is not needed.
6338
1da177e4
LT
6339 sti= [PARISC,HW]
6340 Format: <num>
6341 Set the STI (builtin display/keyboard on the HP-PARISC
6342 machines) console (graphic card) which should be used
6343 as the initial boot-console.
6344 See also comment in drivers/video/console/sticore.c.
6345
6346 sti_font= [HW]
6347 See comment in drivers/video/console/sticore.c.
6348
6349 stifb= [HW]
6350 Format: bpp:<bpp1>[:<bpp2>[:<bpp3>...]]
6351
3aac3ebe
TG
6352 strict_sas_size=
6353 [X86]
6354 Format: <bool>
6355 Enable or disable strict sigaltstack size checks
6356 against the required signal frame size which
6357 depends on the supported FPU features. This can
6358 be used to filter out binaries which have
6359 not yet been made aware of AT_MINSIGSTKSZ.
6360
60071659 6361 stress_hpt [PPC,EARLY]
42551b8d
RD
6362 Limits the number of kernel HPT entries in the hash
6363 page table to increase the rate of hash page table
6364 faults on kernel addresses.
6365
60071659 6366 stress_slb [PPC,EARLY]
42551b8d
RD
6367 Limits the number of kernel SLB entries, and flushes
6368 them frequently to increase the rate of SLB faults
6369 on kernel addresses.
6370
cbf11071
TM
6371 sunrpc.min_resvport=
6372 sunrpc.max_resvport=
6373 [NFS,SUNRPC]
6374 SunRPC servers often require that client requests
6375 originate from a privileged port (i.e. a port in the
6376 range 0 < portnr < 1024).
6377 An administrator who wishes to reserve some of these
6378 ports for other uses may adjust the range that the
6379 kernel's sunrpc client considers to be privileged
6380 using these two parameters to set the minimum and
6381 maximum port values.
6382
ff3ac5c3
TM
6383 sunrpc.svc_rpc_per_connection_limit=
6384 [NFS,SUNRPC]
6385 Limit the number of requests that the server will
6386 process in parallel from a single connection.
6387 The default value is 0 (no limit).
6388
42a7fc4a
GB
6389 sunrpc.pool_mode=
6390 [NFS]
6391 Control how the NFS server code allocates CPUs to
6392 service thread pools. Depending on how many NICs
6393 you have and where their interrupts are bound, this
6394 option will affect which CPUs will do NFS serving.
6395 Note: this parameter cannot be changed while the
6396 NFS server is running.
6397
6398 auto the server chooses an appropriate mode
6399 automatically using heuristics
6400 global a single global pool contains all CPUs
6401 percpu one pool for each CPU
6402 pernode one pool for each NUMA node (equivalent
6403 to global on non-NUMA machines)
6404
cbf11071
TM
6405 sunrpc.tcp_slot_table_entries=
6406 sunrpc.udp_slot_table_entries=
6407 [NFS,SUNRPC]
6408 Sets the upper limit on the number of simultaneous
6409 RPC calls that can be sent from the client to a
6410 server. Increasing these values may allow you to
6411 improve throughput, but will also increase the
6412 amount of memory reserved for use by the client.
6413
1d4a9c17
BN
6414 suspend.pm_test_delay=
6415 [SUSPEND]
6416 Sets the number of seconds to remain in a suspend test
6417 mode before resuming the system (see
6418 /sys/power/pm_test). Only available when CONFIG_PM_DEBUG
6419 is set. Default value is 5.
6420
6a9c930b
RP
6421 svm= [PPC]
6422 Format: { on | off | y | n | 1 | 0 }
6423 This parameter controls use of the Protected
6424 Execution Facility on pSeries.
6425
60071659 6426 swiotlb= [ARM,IA-64,PPC,MIPS,X86,EARLY]
20347fca 6427 Format: { <int> [,<int>] | force | noforce }
91fec0f5 6428 <int> -- Number of I/O TLB slabs
20347fca 6429 <int> -- Second integer after comma. Number of swiotlb
72311809
TL
6430 areas with their own lock. Will be rounded up
6431 to a power of 2.
91fec0f5
JK
6432 force -- force using of bounce buffers even if they
6433 wouldn't be automatically used by the kernel
fff5d992 6434 noforce -- Never use bounce buffers (for debugging)
a9913044 6435
60071659 6436 switches= [HW,M68k,EARLY]
1da177e4 6437
3db978d4
VB
6438 sysctl.*= [KNL]
6439 Set a sysctl parameter, right before loading the init
6440 process, as if the value was written to the respective
6441 /proc/sys/... file. Both '.' and '/' are recognized as
6442 separators. Unrecognized parameters and invalid values
6443 are reported in the kernel log. Sysctls registered
6444 later by a loaded module cannot be set this way.
6445 Example: sysctl.vm.swappiness=40
6446
5d6f647f
IM
6447 sysrq_always_enabled
6448 [KNL]
6449 Ignore sysrq setting - this boot parameter will
6450 neutralize any effect of /proc/sys/kernel/sysrq.
6451 Useful for debugging.
6452
747029a5
FF
6453 tcpmhash_entries= [KNL,NET]
6454 Set the number of tcp_metrics_hash slots.
6455 Default value is 8192 or 16384 depending on total
6456 ram pages. This is used to specify the TCP metrics
1cec2cac 6457 cache size. See Documentation/networking/ip-sysctl.rst
747029a5
FF
6458 "tcp_no_metrics_save" section for more details.
6459
1da177e4
LT
6460 tdfx= [HW,DRM]
6461
59bdbbd5
RD
6462 test_suspend= [SUSPEND]
6463 Format: { "mem" | "standby" | "freeze" }[,N]
77437fd4 6464 Specify "mem" (for Suspend-to-RAM) or "standby" (for
acc82342
SP
6465 standby suspend) or "freeze" (for suspend type freeze)
6466 as the system sleep state during system startup with
6467 the optional capability to repeat N number of times.
6468 The system is woken from this state using a
6469 wakeup-capable RTC alarm.
77437fd4 6470
1da177e4
LT
6471 thash_entries= [KNL,NET]
6472 Set number of hash buckets for TCP connection
6473
f8707ec9
LB
6474 thermal.act= [HW,ACPI]
6475 -1: disable all active trip points in all thermal zones
6476 <degrees C>: override all lowest active trip points
6477
c52a7419
LB
6478 thermal.crt= [HW,ACPI]
6479 -1: disable all critical trip points in all thermal zones
22a94d79 6480 <degrees C>: override all critical trip points
c52a7419 6481
72b33ef8
LB
6482 thermal.off= [HW,ACPI]
6483 1: disable ACPI thermal control
6484
a70cdc52
LB
6485 thermal.psv= [HW,ACPI]
6486 -1: disable all passive trip points
ada9cfdd
RD
6487 <degrees C>: override all passive trip points to this
6488 value
a70cdc52 6489
730ff34d
LB
6490 thermal.tzp= [HW,ACPI]
6491 Specify global default ACPI thermal zone polling rate
6492 <deci-seconds>: poll all this frequency
6493 0: no polling (default)
6494
60071659 6495 threadirqs [KNL,EARLY]
8d32a307 6496 Force threading of all interrupt handlers except those
24775d65 6497 marked explicitly IRQF_NO_THREAD.
8d32a307 6498
60071659 6499 topology= [S390,EARLY]
2b1a61f0
HC
6500 Format: {off | on}
6501 Specify if the kernel should make use of the cpu
f65e51d7
SL
6502 topology information if the hardware supports this.
6503 The scheduler will make use of this information and
2b1a61f0 6504 e.g. base its process migration decisions on it.
c9af3fa9 6505 Default is on.
2b1a61f0 6506
2d73bae1
NA
6507 topology_updates= [KNL, PPC, NUMA]
6508 Format: {off}
6509 Specify if the kernel should ignore (off)
6510 topology updates sent by the hypervisor to this
6511 LPAR.
6512
8171d3e0
PM
6513 torture.disable_onoff_at_boot= [KNL]
6514 Prevent the CPU-hotplug component of torturing
6515 until after init has spawned.
6516
2102ad29
PM
6517 torture.ftrace_dump_at_shutdown= [KNL]
6518 Dump the ftrace buffer at torture-test shutdown,
6519 even if there were no errors. This can be a
6520 very costly operation when many torture tests
6521 are running concurrently, especially on systems
6522 with rotating-rust storage.
6523
8a67a20b
PM
6524 torture.verbose_sleep_frequency= [KNL]
6525 Specifies how many verbose printk()s should be
6526 emitted between each sleep. The default of zero
6527 disables verbose-printk() sleeping.
6528
6529 torture.verbose_sleep_duration= [KNL]
6530 Duration of each verbose-printk() sleep in jiffies.
6531
1da177e4
LT
6532 tp720= [HW,PS2]
6533
225a9be2
RA
6534 tpm_suspend_pcr=[HW,TPM]
6535 Format: integer pcr id
6536 Specify that at suspend time, the tpm driver
6537 should extend the specified pcr with zeros,
6538 as a workaround for some chips which fail to
6539 flush the last written pcr on TPM_SaveState.
6540 This will guarantee that all the other pcrs
6541 are saved.
6542
bff24699
JS
6543 tpm_tis.interrupts= [HW,TPM]
6544 Enable interrupts for the MMIO based physical layer
6545 for the FIFO interface. By default it is set to false
6546 (0). For more information about TPM hardware interfaces
6547 defined by Trusted Computing Group (TCG) see
6548 https://trustedcomputinggroup.org/resource/pc-client-platform-tpm-profile-ptp-specification/
6549
389cfd96 6550 tp_printk [FTRACE]
0daa2302
SRRH
6551 Have the tracepoints sent to printk as well as the
6552 tracing ring buffer. This is useful for early boot up
6553 where the system hangs or reboots and does not give the
6554 option for reading the tracing buffer or performing a
6555 ftrace_dump_on_oops.
6556
6557 To turn off having tracepoints sent to printk,
6558 echo 0 > /proc/sys/kernel/tracepoint_printk
6559 Note, echoing 1 into this file without the
6560 tracepoint_printk kernel cmdline option has no effect.
6561
f3860136
SRV
6562 The tp_printk_stop_on_boot (see below) can also be used
6563 to stop the printing of events to console at
6564 late_initcall_sync.
6565
0daa2302
SRRH
6566 ** CAUTION **
6567
6568 Having tracepoints sent to printk() and activating high
6569 frequency tracepoints such as irq or sched, can cause
6570 the system to live lock.
6571
389cfd96 6572 tp_printk_stop_on_boot [FTRACE]
f3860136
SRV
6573 When tp_printk (above) is set, it can cause a lot of noise
6574 on the console. It may be useful to only include the
6575 printing of events during boot up, as user space may
6576 make the system inoperable.
6577
6578 This command line option will stop the printing of events
6579 to console at the late_initcall_sync() time frame.
6580
9d612bef 6581 trace_buf_size=nn[KMG]
3e6fb8e9 6582 [FTRACE] will set tracing buffer size on each cpu.
631595fb 6583
59bdbbd5
RD
6584 trace_clock= [FTRACE] Set the clock used for tracing events
6585 at boot up.
6586 local - Use the per CPU time stamp counter
6587 (converted into nanoseconds). Fast, but
6588 depending on the architecture, may not be
6589 in sync between CPUs.
6590 global - Event time stamps are synchronize across
6591 CPUs. May be slower than the local clock,
6592 but better for some race conditions.
6593 counter - Simple counting of events (1, 2, ..)
6594 note, some counts may be skipped due to the
6595 infrastructure grabbing the clock more than
6596 once per event.
6597 uptime - Use jiffies as the time stamp.
6598 perf - Use the same clock that perf uses.
6599 mono - Use ktime_get_mono_fast_ns() for time stamps.
6600 mono_raw - Use ktime_get_raw_fast_ns() for time
6601 stamps.
6602 boot - Use ktime_get_boot_fast_ns() for time stamps.
6603 Architectures may add more clocks. See
6604 Documentation/trace/ftrace.rst for more details.
6605
020e5f85
LZ
6606 trace_event=[event-list]
6607 [FTRACE] Set and start specified trace events in order
d81749ea 6608 to facilitate early boot debugging. The event-list is a
25942e5e 6609 comma-separated list of trace events to enable. See
5fb94e9c 6610 also Documentation/trace/events.rst
020e5f85 6611
cb1f98c5
SRG
6612 trace_instance=[instance-info]
6613 [FTRACE] Create a ring buffer instance early in boot up.
6614 This will be listed in:
6615
6616 /sys/kernel/tracing/instances
6617
c4846480
SRG
6618 Events can be enabled at the time the instance is created
6619 via:
6620
6621 trace_instance=<name>,<system1>:<event1>,<system2>:<event2>
6622
6623 Note, the "<system*>:" portion is optional if the event is
6624 unique.
6625
6626 trace_instance=foo,sched:sched_switch,irq_handler_entry,initcall
6627
6628 will enable the "sched_switch" event (note, the "sched:" is optional, and
6629 the same thing would happen if it was left off). The irq_handler_entry
6630 event, and all events under the "initcall" system.
6631
7bcfaf54
SR
6632 trace_options=[option-list]
6633 [FTRACE] Enable or disable tracer options at boot.
6634 The option-list is a comma delimited list of options
6635 that can be enabled or disabled just as if you were
6636 to echo the option name into
6637
2abfcd29 6638 /sys/kernel/tracing/trace_options
7bcfaf54
SR
6639
6640 For example, to enable stacktrace option (to dump the
6641 stack trace of each event), add to the command line:
6642
6643 trace_options=stacktrace
6644
5fb94e9c 6645 See also Documentation/trace/ftrace.rst "trace options"
7bcfaf54
SR
6646 section.
6647
a01fdc89
SRG
6648 trace_trigger=[trigger-list]
6649 [FTRACE] Add a event trigger on specific events.
6650 Set a trigger on top of a specific event, with an optional
6651 filter.
6652
6653 The format is is "trace_trigger=<event>.<trigger>[ if <filter>],..."
6654 Where more than one trigger may be specified that are comma deliminated.
6655
6656 For example:
6657
6658 trace_trigger="sched_switch.stacktrace if prev_state == 2"
6659
6660 The above will enable the "stacktrace" trigger on the "sched_switch"
6661 event but only trigger it if the "prev_state" of the "sched_switch"
6662 event is "2" (TASK_UNINTERUPTIBLE).
6663
6664 See also "Event triggers" in Documentation/trace/events.rst
6665
6666
de7edd31
SRRH
6667 traceoff_on_warning
6668 [FTRACE] enable this option to disable tracing when a
6669 warning is hit. This turns off "tracing_on". Tracing can
6670 be enabled again by echoing '1' into the "tracing_on"
2abfcd29 6671 file located in /sys/kernel/tracing/
de7edd31
SRRH
6672
6673 This option is useful, as it disables the trace before
6674 the WARNING dump is called, which prevents the trace to
6675 be filled with content caused by the warning output.
6676
6677 This option can also be set at run time via the sysctl
6678 option: kernel/traceoff_on_warning
6679
fcf4d821
JK
6680 transparent_hugepage=
6681 [KNL]
6682 Format: [always|madvise|never]
6683 Can be used to control the default behavior of the system
6684 with respect to transparent hugepages.
45c9a74f
MR
6685 See Documentation/admin-guide/mm/transhuge.rst
6686 for more details.
fcf4d821 6687
5d0682be
SG
6688 trusted.source= [KEYS]
6689 Format: <string>
6690 This parameter identifies the trust source as a backend
6691 for trusted keys implementation. Supported trust
6692 sources:
6693 - "tpm"
6694 - "tee"
e9c5048c 6695 - "caam"
5d0682be
SG
6696 If not specified then it defaults to iterating through
6697 the trust source list starting with TPM and assigns the
6698 first trust source as a backend which is initialized
6699 successfully during iteration.
6700
fcd7c269
AF
6701 trusted.rng= [KEYS]
6702 Format: <string>
6703 The RNG used to generate key material for trusted keys.
6704 Can be one of:
6705 - "kernel"
6706 - the same value as trusted.source: "tpm" or "tee"
6707 - "default"
6708 If not specified, "default" is used. In this case,
6709 the RNG's choice is left to each individual trust source.
6710
d3b8f889 6711 tsc= Disable clocksource stability checks for TSC.
395628ef
AK
6712 Format: <string>
6713 [x86] reliable: mark tsc clocksource as reliable, this
d3b8f889 6714 disables clocksource verification at runtime, as well
6715 as the stability checks done at bootup. Used to enable
6716 high-resolution timer mode on older hardware, and in
6717 virtualized environment.
e82b8e4e
VP
6718 [x86] noirqtime: Do not use TSC to do irq accounting.
6719 Used to run time disable IRQ_TIME_ACCOUNTING on any
6720 platforms where RDTSC is slow and this accounting
6721 can add overhead.
6be53520
DL
6722 [x86] unstable: mark the TSC clocksource as unstable, this
6723 marks the TSC unconditionally unstable at bootup and
6724 avoids any further wobbles once the TSC watchdog notices.
0f0b7e1c
JL
6725 [x86] nowatchdog: disable clocksource watchdog. Used
6726 in situations with strict latency requirements (where
6727 interruptions from clocksource watchdog are not
6728 acceptable).
a7ec817d
FT
6729 [x86] recalibrate: force recalibration against a HW timer
6730 (HPET or PM timer) on systems whose TSC frequency was
6731 obtained from HW or FW using either an MSR or CPUID(0x15).
6732 Warn if the difference is more than 500 ppm.
0051293c
PM
6733 [x86] watchdog: Use TSC as the watchdog clocksource with
6734 which to check other HW timers (HPET or PM timer), but
6735 only on systems where TSC has been deemed trustworthy.
6736 This will be suppressed by an earlier tsc=nowatchdog and
6737 can be overridden by a later tsc=nowatchdog. A console
6738 message will flag any such suppression or overriding.
395628ef 6739
60071659 6740 tsc_early_khz= [X86,EARLY] Skip early TSC calibration and use the given
bd35c77e
KP
6741 value instead. Useful when the early TSC frequency discovery
6742 procedure is not reliable, such as on overclocked systems
6743 with CPUID.16h support and partial CPUID.15h support.
6744 Format: <unsigned int>
6745
95c5824f
PG
6746 tsx= [X86] Control Transactional Synchronization
6747 Extensions (TSX) feature in Intel processors that
6748 support TSX control.
6749
6750 This parameter controls the TSX feature. The options are:
6751
6752 on - Enable TSX on the system. Although there are
6753 mitigations for all known security vulnerabilities,
6754 TSX has been known to be an accelerator for
6755 several previous speculation-related CVEs, and
6756 so there may be unknown security risks associated
6757 with leaving it enabled.
6758
6759 off - Disable TSX on the system. (Note that this
6760 option takes effect only on newer CPUs which are
6761 not vulnerable to MDS, i.e., have
6762 MSR_IA32_ARCH_CAPABILITIES.MDS_NO=1 and which get
6763 the new IA32_TSX_CTRL MSR through a microcode
6764 update. This new MSR allows for the reliable
6765 deactivation of the TSX functionality.)
6766
7531a359
PG
6767 auto - Disable TSX if X86_BUG_TAA is present,
6768 otherwise enable TSX on the system.
6769
95c5824f
PG
6770 Not specifying this option is equivalent to tsx=off.
6771
6772 See Documentation/admin-guide/hw-vuln/tsx_async_abort.rst
6773 for more details.
6774
60071659 6775 tsx_async_abort= [X86,INTEL,EARLY] Control mitigation for the TSX Async
a7a248c5
PG
6776 Abort (TAA) vulnerability.
6777
6778 Similar to Micro-architectural Data Sampling (MDS)
6779 certain CPUs that support Transactional
6780 Synchronization Extensions (TSX) are vulnerable to an
6781 exploit against CPU internal buffers which can forward
6782 information to a disclosure gadget under certain
6783 conditions.
6784
6785 In vulnerable processors, the speculatively forwarded
6786 data can be used in a cache side channel attack, to
6787 access data to which the attacker does not have direct
6788 access.
6789
6790 This parameter controls the TAA mitigation. The
6791 options are:
6792
6793 full - Enable TAA mitigation on vulnerable CPUs
6794 if TSX is enabled.
6795
6796 full,nosmt - Enable TAA mitigation and disable SMT on
6797 vulnerable CPUs. If TSX is disabled, SMT
6798 is not disabled because CPU is not
6799 vulnerable to cross-thread TAA attacks.
6800 off - Unconditionally disable TAA mitigation
6801
64870ed1
WL
6802 On MDS-affected machines, tsx_async_abort=off can be
6803 prevented by an active MDS mitigation as both vulnerabilities
6804 are mitigated with the same mechanism so in order to disable
6805 this mitigation, you need to specify mds=off too.
6806
a7a248c5
PG
6807 Not specifying this option is equivalent to
6808 tsx_async_abort=full. On CPUs which are MDS affected
6809 and deploy MDS mitigation, TAA mitigation is not
6810 required and doesn't provide any additional
6811 mitigation.
6812
6813 For details see:
6814 Documentation/admin-guide/hw-vuln/tsx_async_abort.rst
6815
a9913044
RD
6816 turbografx.map[2|3]= [HW,JOY]
6817 TurboGraFX parallel port interface
6818 Format:
6819 <port#>,<js1>,<js2>,<js3>,<js4>,<js5>,<js6>,<js7>
1752118d 6820 See also Documentation/input/devices/joystick-parport.rst
1da177e4 6821
b6935f8c 6822 udbg-immortal [PPC] When debugging early kernel crashes that
e52347bd 6823 happen after console_init() and before a proper
b6935f8c
CK
6824 console driver takes over, this boot options might
6825 help "seeing" what's going on.
6826
f86dcc5a
ED
6827 uhash_entries= [KNL,NET]
6828 Set number of hash buckets for UDP/UDP-Lite connections
6829
5f8364b7
AS
6830 uhci-hcd.ignore_oc=
6831 [USB] Ignore overcurrent events (default N).
6832 Some badly-designed motherboards generate lots of
6833 bogus events, for ports that aren't wired to
6834 anything. Set this parameter to avoid log spamming.
6835 Note that genuine overcurrent events won't be
6836 reported either.
6837
e3a61b0a 6838 unknown_nmi_panic
44a4dcf7 6839 [X86] Cause panic on unknown NMI.
e3a61b0a 6840
60071659 6841 unwind_debug [X86-64,EARLY]
89da5a69
JP
6842 Enable unwinder debug output. This can be
6843 useful for debugging certain unwinder error
6844 conditions, including corrupt stacks and
6845 bad/missing unwinder metadata.
6846
c4fc2342
CDH
6847 usbcore.authorized_default=
6848 [USB] Default USB device authorization:
f176638a 6849 (default -1 = authorized (same as 1),
7bae0432
DT
6850 0 = not authorized, 1 = authorized, 2 = authorized
6851 if device connected to internal port)
c4fc2342 6852
b5e795f8
AS
6853 usbcore.autosuspend=
6854 [USB] The autosuspend time delay (in seconds) used
6855 for newly-detected USB devices (default 2). This
6856 is the time required before an idle device will be
6857 autosuspended. Devices for which the delay is set
eaafbc3a 6858 to a negative value won't be autosuspended at all.
b5e795f8 6859
fd7c519d
JK
6860 usbcore.usbfs_snoop=
6861 [USB] Set to log all usbfs traffic (default 0 = off).
6862
0290cc9f
AS
6863 usbcore.usbfs_snoop_max=
6864 [USB] Maximum number of bytes to snoop in each URB
6865 (default = 65536).
6866
fd7c519d
JK
6867 usbcore.blinkenlights=
6868 [USB] Set to cycle leds on hubs (default 0 = off).
6869
6870 usbcore.old_scheme_first=
6871 [USB] Start with the old device initialization
3155f4f4 6872 scheme (default 0 = off).
fd7c519d 6873
3f5eb8d5
AS
6874 usbcore.usbfs_memory_mb=
6875 [USB] Memory limit (in MB) for buffers allocated by
6876 usbfs (default = 16, 0 = max = 2047).
6877
fd7c519d
JK
6878 usbcore.use_both_schemes=
6879 [USB] Try the other device initialization scheme
6880 if the first one fails (default 1 = enabled).
6881
6882 usbcore.initial_descriptor_timeout=
6883 [USB] Specifies timeout for the initial 64-byte
6dddd7a7 6884 USB_REQ_GET_DESCRIPTOR request in milliseconds
fd7c519d
JK
6885 (default 5000 = 5.0 seconds).
6886
40d58148
ON
6887 usbcore.nousb [USB] Disable the USB subsystem
6888
027bd6ca
KHF
6889 usbcore.quirks=
6890 [USB] A list of quirk entries to augment the built-in
6891 usb core quirk list. List entries are separated by
6892 commas. Each entry has the form
6893 VendorID:ProductID:Flags. The IDs are 4-digit hex
6894 numbers and Flags is a set of letters. Each letter
6895 will change the built-in quirk; setting it if it is
6896 clear and clearing it if it is set. The letters have
6897 the following meanings:
6898 a = USB_QUIRK_STRING_FETCH_255 (string
6899 descriptors must not be fetched using
6900 a 255-byte read);
6901 b = USB_QUIRK_RESET_RESUME (device can't resume
6902 correctly so reset it instead);
6903 c = USB_QUIRK_NO_SET_INTF (device can't handle
6904 Set-Interface requests);
6905 d = USB_QUIRK_CONFIG_INTF_STRINGS (device can't
6906 handle its Configuration or Interface
6907 strings);
6908 e = USB_QUIRK_RESET (device can't be reset
6909 (e.g morph devices), don't use reset);
6910 f = USB_QUIRK_HONOR_BNUMINTERFACES (device has
6911 more interface descriptions than the
6912 bNumInterfaces count, and can't handle
6913 talking to these interfaces);
6914 g = USB_QUIRK_DELAY_INIT (device needs a pause
6915 during initialization, after we read
6916 the device descriptor);
6917 h = USB_QUIRK_LINEAR_UFRAME_INTR_BINTERVAL (For
6918 high speed and super speed interrupt
6919 endpoints, the USB 2.0 and USB 3.0 spec
6920 require the interval in microframes (1
6921 microframe = 125 microseconds) to be
6922 calculated as interval = 2 ^
6923 (bInterval-1).
6924 Devices with this quirk report their
6925 bInterval as the result of this
6926 calculation instead of the exponent
6927 variable used in the calculation);
6928 i = USB_QUIRK_DEVICE_QUALIFIER (device can't
6929 handle device_qualifier descriptor
6930 requests);
6931 j = USB_QUIRK_IGNORE_REMOTE_WAKEUP (device
6932 generates spurious wakeup, ignore
6933 remote wakeup capability);
6934 k = USB_QUIRK_NO_LPM (device can't handle Link
6935 Power Management);
6936 l = USB_QUIRK_LINEAR_FRAME_INTR_BINTERVAL
6937 (Device reports its bInterval as linear
6938 frames instead of the USB 2.0
6939 calculation);
6940 m = USB_QUIRK_DISCONNECT_SUSPEND (Device needs
6941 to be disconnected before suspend to
4d8d5a39
KHF
6942 prevent spurious wakeup);
6943 n = USB_QUIRK_DELAY_CTRL_MSG (Device needs a
6944 pause after every control message);
781f0766
KHF
6945 o = USB_QUIRK_HUB_SLOW_RESET (Hub needs extra
6946 delay after resetting its port);
5a1ccf0c
HG
6947 p = USB_QUIRK_SHORT_SET_ADDRESS_REQ_TIMEOUT
6948 (Reduce timeout of the SET_ADDRESS
6949 request from 5000 ms to 500 ms);
027bd6ca
KHF
6950 Example: quirks=0781:5580:bk,0a5c:5834:gij
6951
1da177e4
LT
6952 usbhid.mousepoll=
6953 [USBHID] The interval which mice are to be polled at.
a9913044 6954
933bfe4d
TJ
6955 usbhid.jspoll=
6956 [USBHID] The interval which joysticks are to be polled at.
6957
2ddc8e2d
FA
6958 usbhid.kbpoll=
6959 [USBHID] The interval which keyboards are to be polled at.
6960
d4f373e5
AS
6961 usb-storage.delay_use=
6962 [UMS] The delay in seconds before a new device is
19101954 6963 scanned for Logical Units (default 1).
d4f373e5
AS
6964
6965 usb-storage.quirks=
6966 [UMS] A list of quirks entries to supplement or
6967 override the built-in unusual_devs list. List
6968 entries are separated by commas. Each entry has
6969 the form VID:PID:Flags where VID and PID are Vendor
6970 and Product ID values (4-digit hex numbers) and
6971 Flags is a set of characters, each corresponding
6972 to a common usb-storage quirk flag as follows:
c838ea46 6973 a = SANE_SENSE (collect more than 18 bytes
65cc8bf9 6974 of sense data, not on uas);
a0bb1081 6975 b = BAD_SENSE (don't collect more than 18
65cc8bf9 6976 bytes of sense data, not on uas);
d4f373e5
AS
6977 c = FIX_CAPACITY (decrease the reported
6978 device capacity by one sector);
5116901d 6979 d = NO_READ_DISC_INFO (don't use
65cc8bf9 6980 READ_DISC_INFO command, not on uas);
5116901d
KR
6981 e = NO_READ_CAPACITY_16 (don't use
6982 READ_CAPACITY_16 command);
734016b0
HG
6983 f = NO_REPORT_OPCODES (don't use report opcodes
6984 command, uas only);
ee136af4
HG
6985 g = MAX_SECTORS_240 (don't transfer more than
6986 240 sectors at a time, uas only);
c838ea46
AS
6987 h = CAPACITY_HEURISTICS (decrease the
6988 reported device capacity by one
6989 sector if the number is odd);
d4f373e5
AS
6990 i = IGNORE_DEVICE (don't bind to this
6991 device);
13630746
HG
6992 j = NO_REPORT_LUNS (don't use report luns
6993 command, uas only);
8010622c 6994 k = NO_SAME (do not use WRITE_SAME, uas only)
d4f373e5 6995 l = NOT_LOCKABLE (don't try to lock and
65cc8bf9 6996 unlock ejectable media, not on uas);
d4f373e5 6997 m = MAX_SECTORS_64 (don't transfer more
65cc8bf9
ON
6998 than 64 sectors = 32 KB at a time,
6999 not on uas);
21c13a4f 7000 n = INITIAL_READ10 (force a retry of the
65cc8bf9 7001 initial READ(10) command, not on uas);
c838ea46 7002 o = CAPACITY_OK (accept the capacity
65cc8bf9 7003 reported by the device, not on uas);
eaa05dfc 7004 p = WRITE_CACHE (the device cache is ON
65cc8bf9 7005 by default, not on uas);
d4f373e5 7006 r = IGNORE_RESIDUE (the device reports
65cc8bf9 7007 bogus residue values, not on uas);
d4f373e5
AS
7008 s = SINGLE_LUN (the device has only one
7009 Logical Unit);
59307852
HG
7010 t = NO_ATA_1X (don't allow ATA(12) and ATA(16)
7011 commands, uas only);
b6089f19 7012 u = IGNORE_UAS (don't bind to the uas driver);
d4f373e5
AS
7013 w = NO_WP_DETECT (don't test whether the
7014 medium is write-protected).
050bc4e8 7015 y = ALWAYS_SYNC (issue a SYNCHRONIZE_CACHE
65cc8bf9
ON
7016 even if the device claims no cache,
7017 not on uas)
d4f373e5
AS
7018 Example: quirks=0419:aaf5:rl,0421:0433:rc
7019
ac1667db
SB
7020 user_debug= [KNL,ARM]
7021 Format: <int>
7022 See arch/arm/Kconfig.debug help text.
7023 1 - undefined instruction events
7024 2 - system calls
7025 4 - invalid data aborts
7026 8 - SIGSEGV faults
7027 16 - SIGBUS faults
7028 Example: user_debug=31
7029
14315592 7030 userpte=
60071659 7031 [X86,EARLY] Flags controlling user PTE allocations.
14315592
IC
7032
7033 nohigh = do not allocate PTE pages in
7034 HIGHMEM regardless of setting
7035 of CONFIG_HIGHPTE.
7036
59bdbbd5 7037 vdso= [X86,SH,SPARC]
b0b49f26
AL
7038 On X86_32, this is an alias for vdso32=. Otherwise:
7039
7040 vdso=1: enable VDSO (the default)
e6e5494c
IM
7041 vdso=0: disable VDSO mapping
7042
b0b49f26
AL
7043 vdso32= [X86] Control the 32-bit vDSO
7044 vdso32=1: enable 32-bit VDSO
7045 vdso32=0 or vdso32=2: disable 32-bit VDSO
7046
7047 See the help text for CONFIG_COMPAT_VDSO for more
7048 details. If CONFIG_COMPAT_VDSO is set, the default is
7049 vdso32=0; otherwise, the default is vdso32=1.
7050
7051 For compatibility with older kernels, vdso32=2 is an
7052 alias for vdso32=0.
7053
7054 Try vdso32=0 if you encounter an error that says:
7055 dl_main: Assertion `(void *) ph->p_vaddr == _rtld_local._dl_sysinfo_dso' failed!
af65d648 7056
d080d397
YI
7057 vector= [IA-64,SMP]
7058 vector=percpu: enable percpu vector domain
7059
60071659 7060 video= [FB,EARLY] Frame buffer configuration
ab42b818 7061 See Documentation/fb/modedb.rst.
1da177e4 7062
59bdbbd5
RD
7063 video.brightness_switch_enabled= [ACPI]
7064 Format: [0|1]
3afe6dab
AL
7065 If set to 1, on receiving an ACPI notify event
7066 generated by hotkey, video driver will adjust brightness
7067 level and then send out the event to user space through
59bdbbd5 7068 the allocated input device. If set to 0, video driver
3afe6dab
AL
7069 will only send out the event without touching backlight
7070 brightness level.
2843768b 7071 default: 1
3afe6dab 7072
81a054ce
PM
7073 virtio_mmio.device=
7074 [VMMIO] Memory mapped virtio (platform) device.
7075
7076 <size>@<baseaddr>:<irq>[:<id>]
7077 where:
7078 <size> := size (can use standard suffixes
7079 like K, M and G)
7080 <baseaddr> := physical base address
7081 <irq> := interrupt number (as passed to
7082 request_irq())
7083 <id> := (optional) platform device id
7084 example:
7085 virtio_mmio.device=1K@0x100b0000:48:7
7086
7087 Can be used multiple times for multiple devices.
7088
cd4f0ef7 7089 vga= [BOOT,X86-32] Select a particular video mode
ff61f079 7090 See Documentation/arch/x86/boot.rst and
4f4cfa6c 7091 Documentation/admin-guide/svga.rst.
1da177e4
LT
7092 Use vga=ask for menu.
7093 This is actually a boot loader parameter; the value is
7094 passed to the kernel using a special protocol.
7095
f682a97a
AD
7096 vm_debug[=options] [KNL] Available with CONFIG_DEBUG_VM=y.
7097 May slow down system boot speed, especially when
7098 enabled on systems with a large amount of memory.
7099 All options are enabled by default, and this
7100 interface is meant to allow for selectively
7101 enabling or disabling specific virtual memory
7102 debugging features.
7103
7104 Available options are:
7105 P Enable page structure init time poisoning
7106 - Disable all of the above options
7107
60071659
PM
7108 vmalloc=nn[KMG] [KNL,BOOT,EARLY] Forces the vmalloc area to have an
7109 exact size of <nn>. This can be used to increase
7110 the minimum size (128MB on x86). It can also be
7111 used to decrease the size and leave more room
7112 for directly mapped kernel RAM.
1da177e4 7113
60071659 7114 vmcp_cma=nn[MG] [KNL,S390,EARLY]
3f429842
HC
7115 Sets the memory size reserved for contiguous memory
7116 allocations for the vmcp device driver.
7117
585c3047
PO
7118 vmhalt= [KNL,S390] Perform z/VM CP command after system halt.
7119 Format: <command>
1da177e4 7120
585c3047
PO
7121 vmpanic= [KNL,S390] Perform z/VM CP command after kernel panic.
7122 Format: <command>
7123
7124 vmpoff= [KNL,S390] Perform z/VM CP command after power off.
7125 Format: <command>
a9913044 7126
60071659 7127 vsyscall= [X86-64,EARLY]
3ae36655
AL
7128 Controls the behavior of vsyscalls (i.e. calls to
7129 fixed addresses of 0xffffffffff600x00 from legacy
7130 code). Most statically-linked binaries and older
7131 versions of glibc use these calls. Because these
7132 functions are at fixed addresses, they make nice
7133 targets for exploits that can control RIP.
7134
17f0669c
SM
7135 emulate Vsyscalls turn into traps and are emulated
7136 reasonably safely. The vsyscall page is
7137 readable.
3ae36655 7138
17f0669c 7139 xonly [default] Vsyscalls turn into traps and are
bd49e16e
AL
7140 emulated reasonably safely. The vsyscall
7141 page is not readable.
3ae36655
AL
7142
7143 none Vsyscalls don't work at all. This makes
7144 them quite hard to use for exploits but
7145 might break your system.
7146
3855ae1c
CL
7147 vt.color= [VT] Default text color.
7148 Format: 0xYX, X = foreground, Y = background.
7149 Default: 0x07 = light gray on black.
7150
9ea9a886
CL
7151 vt.cur_default= [VT] Default cursor shape.
7152 Format: 0xCCBBAA, where AA, BB, and CC are the same as
7153 the parameters of the <Esc>[?A;B;Cc escape sequence;
7154 see VGA-softcursor.txt. Default: 2 = underline.
7155
0cb55ad2
RD
7156 vt.default_blu= [VT]
7157 Format: <blue0>,<blue1>,<blue2>,...,<blue15>
7158 Change the default blue palette of the console.
7159 This is a 16-member array composed of values
7160 ranging from 0-255.
7161
7162 vt.default_grn= [VT]
7163 Format: <green0>,<green1>,<green2>,...,<green15>
7164 Change the default green palette of the console.
7165 This is a 16-member array composed of values
7166 ranging from 0-255.
7167
7168 vt.default_red= [VT]
7169 Format: <red0>,<red1>,<red2>,...,<red15>
7170 Change the default red palette of the console.
7171 This is a 16-member array composed of values
7172 ranging from 0-255.
7173
7174 vt.default_utf8=
7175 [VT]
7176 Format=<0|1>
7177 Set system-wide default UTF-8 mode for all tty's.
7178 Default is 1, i.e. UTF-8 mode is enabled for all
7179 newly opened terminals.
7180
f6c06b68
MG
7181 vt.global_cursor_default=
7182 [VT]
7183 Format=<-1|0|1>
7184 Set system-wide default for whether a cursor
7185 is shown on new VTs. Default is -1,
7186 i.e. cursors will be created by default unless
7187 overridden by individual drivers. 0 will hide
7188 cursors, 1 will display them.
7189
3855ae1c
CL
7190 vt.italic= [VT] Default color for italic text; 0-15.
7191 Default: 2 = green.
7192
7193 vt.underline= [VT] Default color for underlined text; 0-15.
7194 Default: 3 = cyan.
7195
4724ba57 7196 watchdog timers [HW,WDT] For information on watchdog timers,
cc2a2d19 7197 see Documentation/watchdog/watchdog-parameters.rst
4724ba57
RD
7198 or other driver-specific files in the
7199 Documentation/watchdog/ directory.
1da177e4 7200
11295055
LO
7201 watchdog_thresh=
7202 [KNL]
7203 Set the hard lockup detector stall duration
7204 threshold in seconds. The soft lockup detector
7205 threshold is set to twice the value. A value of 0
7206 disables both lockup detectors. Default is 10
7207 seconds.
7208
ace3c549 7209 workqueue.unbound_cpus=
7210 [KNL,SMP] Specify to constrain one or some CPUs
7211 to use in unbound workqueues.
7212 Format: <cpu-list>
7213 By default, all online CPUs are available for
7214 unbound workqueues.
7215
82607adc
TH
7216 workqueue.watchdog_thresh=
7217 If CONFIG_WQ_WATCHDOG is configured, workqueue can
7218 warn stall conditions and dump internal state to
7219 help debugging. 0 disables workqueue stall
7220 detection; otherwise, it's the stall threshold
7221 duration in seconds. The default value is 30 and
7222 it can be updated at runtime by writing to the
7223 corresponding sysfs file.
7224
616db877
TH
7225 workqueue.cpu_intensive_thresh_us=
7226 Per-cpu work items which run for longer than this
7227 threshold are automatically considered CPU intensive
7228 and excluded from concurrency management to prevent
7229 them from noticeably delaying other per-cpu work
7230 items. Default is 10000 (10ms).
7231
63638450
TH
7232 If CONFIG_WQ_CPU_INTENSIVE_REPORT is set, the kernel
7233 will report the work functions which violate this
7234 threshold repeatedly. They are likely good
7235 candidates for using WQ_UNBOUND workqueues instead.
7236
ccdec921
XY
7237 workqueue.cpu_intensive_warning_thresh=<uint>
7238 If CONFIG_WQ_CPU_INTENSIVE_REPORT is set, the kernel
7239 will report the work functions which violate the
7240 intensive_threshold_us repeatedly. In order to prevent
7241 spurious warnings, start printing only after a work
7242 function has violated this threshold number of times.
7243
7244 The default is 4 times. 0 disables the warning.
7245
cee22a15
VK
7246 workqueue.power_efficient
7247 Per-cpu workqueues are generally preferred because
7248 they show better performance thanks to cache
7249 locality; unfortunately, per-cpu workqueues tend to
7250 be more power hungry than unbound workqueues.
7251
7252 Enabling this makes the per-cpu workqueues which
7253 were observed to contribute significantly to power
7254 consumption unbound, leading to measurably lower
7255 power usage at the cost of small performance
7256 overhead.
7257
7258 The default value of this parameter is determined by
7259 the config option CONFIG_WQ_POWER_EFFICIENT_DEFAULT.
7260
63c5484e
TH
7261 workqueue.default_affinity_scope=
7262 Select the default affinity scope to use for unbound
7263 workqueues. Can be one of "cpu", "smt", "cache",
7264 "numa" and "system". Default is "cache". For more
7265 information, see the Affinity Scopes section in
7266 Documentation/core-api/workqueue.rst.
7267
523a301e
TH
7268 This can be changed after boot by writing to the
7269 matching /sys/module/workqueue/parameters file. All
7270 workqueues with the "default" affinity scope will be
7271 updated accordignly.
63c5484e 7272
f303fccb
TH
7273 workqueue.debug_force_rr_cpu
7274 Workqueue used to implicitly guarantee that work
7275 items queued without explicit CPU specified are put
7276 on the local CPU. This guarantee is no longer true
7277 and while local CPU is still preferred work items
7278 may be put on foreign CPUs. This debug option
7279 forces round-robin CPU selection to flush out
7280 usages which depend on the now broken guarantee.
7281 When enabled, memory and cache locality will be
7282 impacted.
7283
60071659
PM
7284 writecombine= [LOONGARCH,EARLY] Control the MAT (Memory Access
7285 Type) of ioremap_wc().
16c52e50
HC
7286
7287 on - Enable writecombine, use WUC for ioremap_wc()
7288 off - Disable writecombine, use SUC for ioremap_wc()
7289
60071659 7290 x2apic_phys [X86-64,APIC,EARLY] Use x2apic physical mode instead of
0cb55ad2
RD
7291 default x2apic cluster mode on platforms
7292 supporting x2apic.
7293
c70727a5
JG
7294 xen_512gb_limit [KNL,X86-64,XEN]
7295 Restricts the kernel running paravirtualized under Xen
7296 to use only up to 512 GB of RAM. The reason to do so is
7297 crash analysis tools and Xen tools for doing domain
7298 save/restore/migration must be enabled to handle larger
7299 domains.
7300
60071659 7301 xen_emul_unplug= [HW,X86,XEN,EARLY]
c1c5413a
SS
7302 Unplug Xen emulated devices
7303 Format: [unplug0,][unplug1]
7304 ide-disks -- unplug primary master IDE devices
7305 aux-ide-disks -- unplug non-primary-master IDE devices
7306 nics -- unplug network devices
7307 all -- unplug all emulated devices (NICs and IDE disks)
1dc7ce99
IC
7308 unnecessary -- unplugging emulated devices is
7309 unnecessary even if the host did not respond to
7310 the unplug protocol
c93a4dfb 7311 never -- do not unplug even if version check succeeds
c1c5413a 7312
60071659 7313 xen_legacy_crash [X86,XEN,EARLY]
c6875f3a
BO
7314 Crash from Xen panic notifier, without executing late
7315 panic() code such as dumping handler.
7316
60071659 7317 xen_msr_safe= [X86,XEN,EARLY]
3fac3734
JG
7318 Format: <bool>
7319 Select whether to always use non-faulting (safe) MSR
7320 access functions when running as Xen PV guest. The
7321 default value is controlled by CONFIG_XEN_PV_MSR_SAFE.
7322
60071659 7323 xen_nopvspin [X86,XEN,EARLY]
9a3c05e6
ZD
7324 Disables the qspinlock slowpath using Xen PV optimizations.
7325 This parameter is obsoleted by "nopvspin" parameter, which
7326 has equivalent effect for XEN platform.
15a3eac0 7327
8d693b91
KRW
7328 xen_nopv [X86]
7329 Disables the PV optimizations forcing the HVM guest to
7330 run as generic HVM guest with no PV drivers.
b39b0497
ZD
7331 This option is obsoleted by the "nopv" option, which
7332 has equivalent effect for XEN platform.
8d693b91 7333
b36b0fe9 7334 xen_no_vector_callback
60071659 7335 [KNL,X86,XEN,EARLY] Disable the vector callback for Xen
b36b0fe9
DW
7336 event channel interrupts.
7337
197ecb38
MMG
7338 xen_scrub_pages= [XEN]
7339 Boolean option to control scrubbing pages before giving them back
7340 to Xen, for use by other domains. Can be also changed at runtime
7341 with /sys/devices/system/xen_memory/xen_memory0/scrub_pages.
7342 Default value controlled with CONFIG_XEN_SCRUB_PAGES_DEFAULT.
7343
60071659 7344 xen_timer_slop= [X86-64,XEN,EARLY]
2ec16bc0
RT
7345 Set the timer slop (in nanoseconds) for the virtual Xen
7346 timers (default is 100000). This adjusts the minimum
7347 delta of virtualized Xen timers, where lower values
7348 improve timer resolution at the expense of processing
7349 more timer interrupts.
7350
40fdea02
JG
7351 xen.balloon_boot_timeout= [XEN]
7352 The time (in seconds) to wait before giving up to boot
7353 in case initial ballooning fails to free enough memory.
7354 Applies only when running as HVM or PVH guest and
7355 started with less memory configured than allowed at
7356 max. Default is 180.
7357
e99502f7
JG
7358 xen.event_eoi_delay= [XEN]
7359 How long to delay EOI handling in case of event
7360 storms (jiffies). Default is 10.
7361
7362 xen.event_loop_timeout= [XEN]
7363 After which time (jiffies) the event handling loop
7364 should start to delay EOI handling. Default is 2.
7365
1a89c1dc
JG
7366 xen.fifo_events= [XEN]
7367 Boolean parameter to disable using fifo event handling
7368 even if available. Normally fifo event handling is
7369 preferred over the 2-level event handling, as it is
7370 fairer and the number of possible event channels is
7371 much higher. Default is on (use fifo events).
7372
1da177e4 7373 xirc2ps_cs= [NET,PCMCIA]
a9913044
RD
7374 Format:
7375 <irq>,<irq_mask>,<io>,<full_duplex>,<do_sound>,<lockup_hack>[,<irq2>[,<irq3>[,<irq4>]]]
c0addc9a 7376
ba45cff6
MN
7377 xive= [PPC]
7378 By default on POWER9 and above, the kernel will
7379 natively use the XIVE interrupt controller. This option
7380 allows the fallback firmware mode to be used:
7381
7382 off Fallback to firmware control of XIVE interrupt
7383 controller on both pseries and powernv
7384 platforms. Only useful on POWER9 and above.
7385
c21ee04f
CLG
7386 xive.store-eoi=off [PPC]
7387 By default on POWER10 and above, the kernel will use
7388 stores for EOI handling when the XIVE interrupt mode
7389 is active. This option allows the XIVE driver to use
7390 loads instead, as on POWER9.
7391
c0addc9a
LT
7392 xhci-hcd.quirks [USB,KNL]
7393 A hex value specifying bitmask with supplemental xhci
7394 host controller quirks. Meaning of each bit can be
7395 consulted in header drivers/usb/host/xhci.h.
6278f55b 7396
60071659 7397 xmon [PPC,EARLY]
6278f55b
GR
7398 Format: { early | on | rw | ro | off }
7399 Controls if xmon debugger is enabled. Default is off.
7400 Passing only "xmon" is equivalent to "xmon=early".
7401 early Call xmon as early as possible on boot; xmon
7402 debugger is called from setup_arch().
7403 on xmon debugger hooks will be installed so xmon
7404 is only called on a kernel crash. Default mode,
7405 i.e. either "ro" or "rw" mode, is controlled
7406 with CONFIG_XMON_DEFAULT_RO_MODE.
7407 rw xmon debugger hooks will be installed so xmon
7408 is called only on a kernel crash, mode is write,
7409 meaning SPR registers, memory and, other data
7410 can be written using xmon commands.
7411 ro same as "rw" option above but SPR registers,
7412 memory, and other data can't be written using
7413 xmon commands.
7414 off xmon is disabled.
1056d314 7415