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