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