Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Docs/admin: alphabetize some kernel-parameters (part 1)

Move some out-of-place kernel parameters into their correct
locations.

Move one out-of-order keyword/legend in kernel-parameters.rst.

Add some missing keyword legends in kernel-parameters.rst:
HIBERNATION HYPER_V
and drop some obsolete/removed keyword legends:
EIDE IOSCHED OSS TS XT

Correct the location of the setup.h file.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: linux-doc@vger.kernel.org
Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Cc: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>

authored by

Randy Dunlap and committed by
Jonathan Corbet
d2fc83c1 59bdbbd5

+61 -63
+4 -7
Documentation/admin-guide/kernel-parameters.rst
··· 99 99 ALSA ALSA sound support is enabled. 100 100 APIC APIC support is enabled. 101 101 APM Advanced Power Management support is enabled. 102 + APPARMOR AppArmor support is enabled. 102 103 ARM ARM architecture is enabled. 103 104 ARM64 ARM64 architecture is enabled. 104 105 AX25 Appropriate AX.25 support is enabled. ··· 109 108 DYNAMIC_DEBUG Build in debug messages and enable them at runtime 110 109 EDD BIOS Enhanced Disk Drive Services (EDD) is enabled 111 110 EFI EFI Partitioning (GPT) is enabled 112 - EIDE EIDE/ATAPI support is enabled. 113 111 EVM Extended Verification Module 114 112 FB The frame buffer device is enabled. 115 113 FTRACE Function tracing enabled. 116 114 GCOV GCOV profiling is enabled. 115 + HIBERNATION HIBERNATION is enabled. 117 116 HW Appropriate hardware is enabled. 117 + HYPER_V HYPERV support is enabled. 118 118 IA-64 IA-64 architecture is enabled. 119 119 IMA Integrity measurement architecture is enabled. 120 - IOSCHED More than one I/O scheduler is enabled. 121 120 IP_PNP IP DHCP, BOOTP, or RARP is enabled. 122 121 IPV6 IPv6 support is enabled. 123 122 ISAPNP ISA PnP code is enabled. ··· 141 140 NUMA NUMA support is enabled. 142 141 NFS Appropriate NFS support is enabled. 143 142 OF Devicetree is enabled. 144 - OSS OSS sound support is enabled. 145 143 PV_OPS A paravirtualized kernel is enabled. 146 144 PARIDE The ParIDE (parallel port IDE) subsystem is enabled. 147 145 PARISC The PA-RISC architecture is enabled. ··· 160 160 the Documentation/scsi/ sub-directory. 161 161 SECURITY Different security models are enabled. 162 162 SELINUX SELinux support is enabled. 163 - APPARMOR AppArmor support is enabled. 164 163 SERIAL Serial support is enabled. 165 164 SH SuperH architecture is enabled. 166 165 SMP The kernel is an SMP kernel. ··· 167 168 SWSUSP Software suspend (hibernation) is enabled. 168 169 SUSPEND System suspend states are enabled. 169 170 TPM TPM drivers are enabled. 170 - TS Appropriate touchscreen support is enabled. 171 171 UMS USB Mass Storage support is enabled. 172 172 USB USB support is enabled. 173 173 USBHID USB Human Interface Device support is enabled. ··· 175 177 VGA The VGA console has been enabled. 176 178 VT Virtual terminal support is enabled. 177 179 WDT Watchdog support is enabled. 178 - XT IBM PC/XT MFM hard disk support is enabled. 179 180 X86-32 X86-32, aka i386 architecture is enabled. 180 181 X86-64 X86-64 architecture is enabled. 181 182 More X86-64 boot options can be found in ··· 208 211 complete command line (parameters including spaces etc.) is limited to 209 212 a fixed number of characters. This limit depends on the architecture 210 213 and is between 256 and 4096 characters. It is defined in the file 211 - ./include/asm/setup.h as COMMAND_LINE_SIZE. 214 + ./include/uapi/asm-generic/setup.h as COMMAND_LINE_SIZE. 212 215 213 216 Finally, the [KMG] suffix is commonly described after a number of kernel 214 217 parameter values. These 'K', 'M', and 'G' letters represent the _binary_
+57 -56
Documentation/admin-guide/kernel-parameters.txt
··· 563 563 564 564 cio_ignore= [S390] 565 565 See Documentation/s390/common_io.rst for details. 566 + 567 + clearcpuid=BITNUM[,BITNUM...] [X86] 568 + Disable CPUID feature X for the kernel. See 569 + arch/x86/include/asm/cpufeatures.h for the valid bit 570 + numbers. Note the Linux specific bits are not necessarily 571 + stable over kernel options, but the vendor specific 572 + ones should be. 573 + Also note that user programs calling CPUID directly 574 + or using the feature without checking anything 575 + will still see it. This just prevents it from 576 + being used by the kernel or shown in /proc/cpuinfo. 577 + Also note the kernel might malfunction if you disable 578 + some critical bits. 579 + 566 580 clk_ignore_unused 567 581 [CLK] 568 582 Prevents the clock framework from automatically gating ··· 644 630 watchdog test waits before commencing its tests. 645 631 Defaults to zero when built as a module and to 646 632 10 seconds when built into the kernel. 647 - 648 - clearcpuid=BITNUM[,BITNUM...] [X86] 649 - Disable CPUID feature X for the kernel. See 650 - arch/x86/include/asm/cpufeatures.h for the valid bit 651 - numbers. Note the Linux specific bits are not necessarily 652 - stable over kernel options, but the vendor specific 653 - ones should be. 654 - Also note that user programs calling CPUID directly 655 - or using the feature without checking anything 656 - will still see it. This just prevents it from 657 - being used by the kernel or shown in /proc/cpuinfo. 658 - Also note the kernel might malfunction if you disable 659 - some critical bits. 660 633 661 634 cma=nn[MG]@[start[MG][-end[MG]]] 662 635 [KNL,CMA] ··· 951 950 dump out devices still on the deferred probe list after 952 951 retrying. 953 952 953 + delayacct [KNL] Enable per-task delay accounting 954 + 954 955 dell_smm_hwmon.ignore_dmi= 955 956 [HW] Continue probing hardware even if DMI data 956 957 indicates that the driver is running on unsupported ··· 1005 1002 1006 1003 disable= [IPV6] 1007 1004 See Documentation/networking/ipv6.rst. 1008 - 1009 - hardened_usercopy= 1010 - [KNL] Under CONFIG_HARDENED_USERCOPY, whether 1011 - hardening is enabled for this boot. Hardened 1012 - usercopy checking is used to protect the kernel 1013 - from reading or writing beyond known memory 1014 - allocation boundaries as a proactive defense 1015 - against bounds-checking flaws in the kernel's 1016 - copy_to_user()/copy_from_user() interface. 1017 - on Perform hardened usercopy checks (default). 1018 - off Disable hardened usercopy checks. 1019 1005 1020 1006 disable_radix [PPC] 1021 1007 Disable RADIX MMU mode on POWER9 ··· 1308 1316 force: enforce the use of EDAC to report H/W event. 1309 1317 default: on. 1310 1318 1311 - ekgdboc= [X86,KGDB] Allow early kernel console debugging 1312 - ekgdboc=kbd 1313 - 1314 - This is designed to be used in conjunction with 1315 - the boot argument: earlyprintk=vga 1316 - 1317 - This parameter works in place of the kgdboc parameter 1318 - but can only be used if the backing tty is available 1319 - very early in the boot process. For early debugging 1320 - via a serial port see kgdboc_earlycon instead. 1321 - 1322 1319 edd= [EDD] 1323 1320 Format: {"off" | "on" | "skip[mbr]"} 1324 1321 ··· 1368 1387 1369 1388 eisa_irq_edge= [PARISC,HW] 1370 1389 See header of drivers/parisc/eisa.c. 1390 + 1391 + ekgdboc= [X86,KGDB] Allow early kernel console debugging 1392 + Format: ekgdboc=kbd 1393 + 1394 + This is designed to be used in conjunction with 1395 + the boot argument: earlyprintk=vga 1396 + 1397 + This parameter works in place of the kgdboc parameter 1398 + but can only be used if the backing tty is available 1399 + very early in the boot process. For early debugging 1400 + via a serial port see kgdboc_earlycon instead. 1371 1401 1372 1402 elanfreq= [X86-32] 1373 1403 See comment before function elanfreq_setup() in ··· 1578 1586 Format: <unsigned int> such that (rxsize & ~0x1fffc0) == 0. 1579 1587 Default: 1024 1580 1588 1589 + hardened_usercopy= 1590 + [KNL] Under CONFIG_HARDENED_USERCOPY, whether 1591 + hardening is enabled for this boot. Hardened 1592 + usercopy checking is used to protect the kernel 1593 + from reading or writing beyond known memory 1594 + allocation boundaries as a proactive defense 1595 + against bounds-checking flaws in the kernel's 1596 + copy_to_user()/copy_from_user() interface. 1597 + on Perform hardened usercopy checks (default). 1598 + off Disable hardened usercopy checks. 1599 + 1581 1600 hardlockup_all_cpu_backtrace= 1582 1601 [KNL] Should the hard-lockup detector generate 1583 1602 backtraces on all cpus. ··· 1608 1605 Disable Hardware Error Source Table (HEST) support; 1609 1606 corresponding firmware-first mode error processing 1610 1607 logic will be disabled. 1608 + 1609 + hibernate= [HIBERNATION] 1610 + noresume Don't check if there's a hibernation image 1611 + present during boot. 1612 + nocompress Don't compress/decompress hibernation images. 1613 + no Disable hibernation and resume. 1614 + protect_image Turn on image protection during restoration 1615 + (that will set all pages holding image data 1616 + during restoration read-only). 1611 1617 1612 1618 highmem=nn[KMG] [KNL,BOOT] forces the highmem zone to have an exact 1613 1619 size of <nn>. This works even on boxes that have no ··· 3197 3185 firmware feature for updating multiple TCE entries 3198 3186 at a time. 3199 3187 3200 - onenand.bdry= [HW,MTD] Flex-OneNAND Boundary Configuration 3201 - 3202 - Format: [die0_boundary][,die0_lock][,die1_boundary][,die1_lock] 3203 - 3204 - boundary - index of last SLC block on Flex-OneNAND. 3205 - The remaining blocks are configured as MLC blocks. 3206 - lock - Configure if Flex-OneNAND boundary should be locked. 3207 - Once locked, the boundary cannot be changed. 3208 - 1 indicates lock status, 0 indicates unlock status. 3209 - 3210 3188 mtdset= [ARM] 3211 3189 ARM/S3C2412 JIVE boot control 3212 3190 ··· 3442 3440 nocache [ARM] 3443 3441 3444 3442 noclflush [BUGS=X86] Don't use the CLFLUSH instruction 3445 - 3446 - delayacct [KNL] Enable per-task delay accounting 3447 3443 3448 3444 nodsp [SH] Disable hardware DSP at boot time. 3449 3445 ··· 3743 3743 Format: <mux_mode0.mode_name=value>... 3744 3744 For example, to override I2C bus2: 3745 3745 omap_mux=i2c2_scl.i2c2_scl=0x100,i2c2_sda.i2c2_sda=0x100 3746 + 3747 + onenand.bdry= [HW,MTD] Flex-OneNAND Boundary Configuration 3748 + 3749 + Format: [die0_boundary][,die0_lock][,die1_boundary][,die1_lock] 3750 + 3751 + boundary - index of last SLC block on Flex-OneNAND. 3752 + The remaining blocks are configured as MLC blocks. 3753 + lock - Configure if Flex-OneNAND boundary should be locked. 3754 + Once locked, the boundary cannot be changed. 3755 + 1 indicates lock status, 0 indicates unlock status. 3746 3756 3747 3757 oops=panic Always panic on oopses. Default is to just kill the 3748 3758 process, but there is a small probability of ··· 5086 5076 resumewait [HIBERNATION] Wait (indefinitely) for resume device to show up. 5087 5077 Useful for devices that are detected asynchronously 5088 5078 (e.g. USB and MMC devices). 5089 - 5090 - hibernate= [HIBERNATION] 5091 - noresume Don't check if there's a hibernation image 5092 - present during boot. 5093 - nocompress Don't compress/decompress hibernation images. 5094 - no Disable hibernation and resume. 5095 - protect_image Turn on image protection during restoration 5096 - (that will set all pages holding image data 5097 - during restoration read-only). 5098 5079 5099 5080 retain_initrd [RAM] Keep initrd memory after extraction 5100 5081