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