kernel-parameters.txt 198.9 KB
Newer Older
1
	acpi=		[HW,ACPI,X86,ARM64]
2
			Advanced Configuration and Power Interface
3
			Format: { force | on | off | strict | noirq | rsdt |
4
				  copy_dsdt }
L
Linus Torvalds 已提交
5
			force -- enable ACPI if default was off
6
			on -- enable ACPI but allow fallback to DT [arm64]
L
Linus Torvalds 已提交
7 8
			off -- disable ACPI if default was on
			noirq -- do not use ACPI for IRQ routing
R
Randy Dunlap 已提交
9
			strict -- Be less tolerant of platforms that are not
L
Linus Torvalds 已提交
10
				strictly ACPI specification compliant.
11
			rsdt -- prefer RSDT over (default) XSDT
12
			copy_dsdt -- copy DSDT to memory
13 14
			For ARM64, ONLY "acpi=off", "acpi=on" or "acpi=force"
			are available
L
Linus Torvalds 已提交
15

16
			See also Documentation/power/runtime_pm.rst, pci=noacpi
L
Linus Torvalds 已提交
17

L
Len Brown 已提交
18 19 20 21
	acpi_apic_instance=	[ACPI, IOAPIC]
			Format: <int>
			2: use 2nd APIC table, if available
			1,0: use 1st APIC table
22
			default: 0
L
Len Brown 已提交
23

24
	acpi_backlight=	[HW,ACPI]
25 26
			{ vendor | video | native | none }
			If set to vendor, prefer vendor-specific driver
27 28
			(e.g. thinkpad_acpi, sony_acpi, etc.) instead
			of the ACPI video.ko driver.
29 30 31
			If set to video, use the ACPI video.ko driver.
			If set to native, use the device's native backlight mode.
			If set to none, disable the ACPI backlight interface.
32

33 34 35 36 37 38
	acpi_force_32bit_fadt_addr
			force FADT to use 32 bit addresses rather than the
			64 bit X_* addresses. Some firmware have broken 64
			bit addresses for force ACPI ignore these and use
			the older legacy 32 bit addresses.

39 40 41 42 43 44 45 46
	acpica_no_return_repair [HW, ACPI]
			Disable AML predefined validation mechanism
			This mechanism can repair the evaluation result to make
			the return objects more ACPI specification compliant.
			This option is useful for developers to identify the
			root cause of an AML interpreter issue when the issue
			has something to do with the repair mechanism.

47 48
	acpi.debug_layer=	[HW,ACPI,ACPI_DEBUG]
	acpi.debug_level=	[HW,ACPI,ACPI_DEBUG]
L
Linus Torvalds 已提交
49
			Format: <int>
50 51 52 53 54 55 56
			CONFIG_ACPI_DEBUG must be enabled to produce any ACPI
			debug output.  Bits in debug_layer correspond to a
			_COMPONENT in an ACPI source file, e.g.,
			    #define _COMPONENT ACPI_PCI_COMPONENT
			Bits in debug_level correspond to a level in
			ACPI_DEBUG_PRINT statements, e.g.,
			    ACPI_DEBUG_PRINT((ACPI_DB_INFO, ...
57
			The debug_level mask defaults to "info".  See
58
			Documentation/firmware-guide/acpi/debug.rst for more information about
59
			debug layers and levels.
60

61 62 63 64
			Enable processor driver info messages:
			    acpi.debug_layer=0x20000000
			Enable PCI/PCI interrupt routing info messages:
			    acpi.debug_layer=0x400000
65 66 67 68 69 70 71 72 73
			Enable AML "Debug" output, i.e., stores to the Debug
			object while interpreting AML:
			    acpi.debug_layer=0xffffffff acpi.debug_level=0x2
			Enable all messages related to ACPI hardware:
			    acpi.debug_layer=0x2 acpi.debug_level=0xffffffff

			Some values produce so much output that the system is
			unusable.  The "log_buf_len" parameter may be useful
			if you need to capture more output.
74

75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
	acpi_enforce_resources=	[ACPI]
			{ strict | lax | no }
			Check for resource conflicts between native drivers
			and ACPI OperationRegions (SystemIO and SystemMemory
			only). IO ports and memory declared in ACPI might be
			used by the ACPI subsystem in arbitrary AML code and
			can interfere with legacy drivers.
			strict (default): access to resources claimed by ACPI
			is denied; legacy drivers trying to access reserved
			resources will fail to bind to device using them.
			lax: access to resources claimed by ACPI is allowed;
			legacy drivers trying to access reserved resources
			will bind successfully but a warning message is logged.
			no: ACPI OperationRegions are not marked as reserved,
			no further checks are performed.

91 92 93 94 95
	acpi_force_table_verification	[HW,ACPI]
			Enable table checksum verification during early stage.
			By default, this is disabled due to x86 early mapping
			size limitation.

96 97 98 99 100 101 102 103 104 105 106 107 108 109 110
	acpi_irq_balance [HW,ACPI]
			ACPI will balance active IRQs
			default in APIC mode

	acpi_irq_nobalance [HW,ACPI]
			ACPI will not move active IRQs (default)
			default in PIC mode

	acpi_irq_isa=	[HW,ACPI] If irq_balance, mark listed IRQs used by ISA
			Format: <irq>,<irq>...

	acpi_irq_pci=	[HW,ACPI] If irq_balance, clear listed IRQs for
			use by PCI
			Format: <irq>,<irq>...

111
	acpi_mask_gpe=	[HW,ACPI]
112 113
			Due to the existence of _Lxx/_Exx, some GPEs triggered
			by unsupported hardware/firmware features can result in
114 115
			GPE floodings that cannot be automatically disabled by
			the GPE dispatcher.
116 117
			This facility can be used to prevent such uncontrolled
			GPE floodings.
118
			Format: <byte>
119

120 121
	acpi_no_auto_serialize	[HW,ACPI]
			Disable auto-serialization of AML methods
122 123 124
			AML control methods that contain the opcodes to create
			named objects will be marked as "Serialized" by the
			auto-serialization feature.
125 126
			This feature is enabled by default.
			This option allows to turn off the feature.
127

128 129 130
	acpi_no_memhotplug [ACPI] Disable memory hotplug.  Useful for kdump
			   kernels.

131 132 133 134 135 136 137 138 139
	acpi_no_static_ssdt	[HW,ACPI]
			Disable installation of static SSDTs at early boot time
			By default, SSDTs contained in the RSDT/XSDT will be
			installed automatically and they will appear under
			/sys/firmware/acpi/tables.
			This option turns off this feature.
			Note that specifying this option does not affect
			dynamic table installation which will install SSDT
			tables to /sys/firmware/acpi/tables/dynamic.
140

141 142 143 144
	acpi_no_watchdog	[HW,ACPI,WDT]
			Ignore the ACPI-based watchdog interface (WDAT) and let
			a native driver control the watchdog device instead.

145 146 147 148
	acpi_rsdp=	[ACPI,EFI,KEXEC]
			Pass the RSDP address to the kernel, mostly used
			on machines running EFI runtime service to boot the
			second kernel for kdump.
149

150 151 152
	acpi_os_name=	[HW,ACPI] Tell ACPI BIOS the name of the OS
			Format: To spoof as Windows 98: ="Microsoft Windows"

153 154 155 156 157 158
	acpi_rev_override [ACPI] Override the _REV object to return 5 (instead
			of 2 which is mandated by ACPI 6) as the supported ACPI
			specification revision (when using this switch, it may
			be necessary to carry out a cold reboot _twice_ in a
			row to make it take effect on the platform firmware).

159
	acpi_osi=	[HW,ACPI] Modify list of supported OS interface strings
160 161
			acpi_osi="string1"	# add string1
			acpi_osi="!string2"	# remove string2
162
			acpi_osi=!*		# remove all strings
163 164
			acpi_osi=!		# disable all built-in OS vendor
						  strings
165 166
			acpi_osi=!!		# enable all built-in OS vendor
						  strings
167 168
			acpi_osi=		# disable all strings

169 170 171 172 173 174 175
			'acpi_osi=!' can be used in combination with single or
			multiple 'acpi_osi="string1"' to support specific OS
			vendor string(s).  Note that such command can only
			affect the default state of the OS vendor strings, thus
			it cannot affect the default state of the feature group
			strings and the current state of the OS vendor strings,
			specifying it multiple times through kernel command line
176 177 178
			is meaningless.  This command is useful when one do not
			care about the state of the feature group strings which
			should be controlled by the OSPM.
179 180 181 182 183 184 185 186 187 188 189 190 191 192 193
			Examples:
			  1. 'acpi_osi=! acpi_osi="Windows 2000"' is equivalent
			     to 'acpi_osi="Windows 2000" acpi_osi=!', they all
			     can make '_OSI("Windows 2000")' TRUE.

			'acpi_osi=' cannot be used in combination with other
			'acpi_osi=' command lines, the _OSI method will not
			exist in the ACPI namespace.  NOTE that such command can
			only affect the _OSI support state, thus specifying it
			multiple times through kernel command line is also
			meaningless.
			Examples:
			  1. 'acpi_osi=' can make 'CondRefOf(_OSI, Local1)'
			     FALSE.

194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216
			'acpi_osi=!*' can be used in combination with single or
			multiple 'acpi_osi="string1"' to support specific
			string(s).  Note that such command can affect the
			current state of both the OS vendor strings and the
			feature group strings, thus specifying it multiple times
			through kernel command line is meaningful.  But it may
			still not able to affect the final state of a string if
			there are quirks related to this string.  This command
			is useful when one want to control the state of the
			feature group strings to debug BIOS issues related to
			the OSPM features.
			Examples:
			  1. 'acpi_osi="Module Device" acpi_osi=!*' can make
			     '_OSI("Module Device")' FALSE.
			  2. 'acpi_osi=!* acpi_osi="Module Device"' can make
			     '_OSI("Module Device")' TRUE.
			  3. 'acpi_osi=! acpi_osi=!* acpi_osi="Windows 2000"' is
			     equivalent to
			     'acpi_osi=!* acpi_osi=! acpi_osi="Windows 2000"'
			     and
			     'acpi_osi=!* acpi_osi="Windows 2000" acpi_osi=!',
			     they all will make '_OSI("Windows 2000")' TRUE.

217
	acpi_pm_good	[X86]
218 219 220 221
			Override the pmtimer bug detection: force the kernel
			to assume that this machine's pmtimer latches its value
			and always returns good values.

222 223 224 225 226 227 228 229 230
	acpi_sci=	[HW,ACPI] ACPI System Control Interrupt trigger mode
			Format: { level | edge | high | low }

	acpi_skip_timer_override [HW,ACPI]
			Recognize and ignore IRQ0/pin2 Interrupt Override.
			For broken nForce2 BIOS resulting in XT-PIC timer.

	acpi_sleep=	[HW,ACPI] Sleep options
			Format: { s3_bios, s3_mode, s3_beep, s4_nohwsig,
231
				  old_ordering, nonvs, sci_force_enable, nobl }
232
			See Documentation/power/video.rst for information on
233 234 235 236 237 238 239 240 241
			s3_bios and s3_mode.
			s3_beep is for debugging; it makes the PC's speaker beep
			as soon as the kernel's real-mode entry point is called.
			s4_nohwsig prevents ACPI hardware signature from being
			used during resume from hibernation.
			old_ordering causes the ACPI 1.0 ordering of the _PTS
			control method, with respect to putting devices into
			low power states, to be enforced (the ACPI 2.0 ordering
			of _PTS is used by default).
242 243
			nonvs prevents the kernel from saving/restoring the
			ACPI NVS memory during suspend/hibernation and resume.
244 245 246
			sci_force_enable causes the kernel to set SCI_EN directly
			on resume from S1/S3 (which is against the ACPI spec,
			but some broken systems don't work without it).
247 248 249
			nobl causes the internal blacklist of systems known to
			behave incorrectly in some ways with respect to system
			suspend and resume to be ignored (use wisely).
250 251 252 253 254 255 256 257

	acpi_use_timer_override [HW,ACPI]
			Use timer override. For some broken Nvidia NF5 boards
			that require a timer override, but don't have HPET

	add_efi_memmap	[EFI; X86] Include EFI memory map in
			kernel's map of available physical RAM.

258 259 260 261 262 263
	agp=		[AGP]
			{ off | try_unsupported }
			off: disable AGP support
			try_unsupported: try to drive unsupported chipsets
				(may crash computer or cause data corruption)

264
	ALSA		[HW,ALSA]
265
			See Documentation/sound/alsa-configuration.rst
266

267 268 269 270 271
	alignment=	[KNL,ARM]
			Allow the default userspace alignment fault handler
			behaviour to be specified.  Bit 0 enables warnings,
			bit 1 enables fixups, and bit 2 sends a segfault.

272 273 274 275 276 277 278 279
	align_va_addr=	[X86-64]
			Align virtual addresses by clearing slice [14:12] when
			allocating a VMA at process creation time. This option
			gives you up to 3% performance improvement on AMD F15h
			machines (where it is enabled by default) for a
			CPU-intensive style benchmark, and it can vary highly in
			a microbenchmark depending on workload and compiler.

280 281
			32: only for 32-bit processes
			64: only for 64-bit processes
282 283 284
			on: enable for both 32- and 64-bit processes
			off: disable for both 32- and 64-bit processes

285 286 287 288 289 290 291
	alloc_snapshot	[FTRACE]
			Allocate the ftrace snapshot buffer on boot up when the
			main buffer is allocated. This is handy if debugging
			and you need to use tracing_snapshot() on boot up, and
			do not want to use tracing_snapshot_alloc() as it needs
			to be done where GFP_KERNEL allocations are allowed.

292
	amd_iommu=	[HW,X86-64]
293 294
			Pass parameters to the AMD IOMMU driver in the system.
			Possible values are:
295 296 297 298
			fullflush - enable flushing of IO/TLB entries when
				    they are unmapped. Otherwise they are
				    flushed before they will be reused, which
				    is a lot of faster
299 300
			off	  - do not initialize any AMD IOMMU found in
				    the system
301 302 303 304 305
			force_isolation - Force device isolation for all
					  devices. The IOMMU driver is not
					  allowed anymore to lift isolation
					  requirements as needed. This option
					  does not override iommu=pt
306

307 308 309 310 311 312
	amd_iommu_dump=	[HW,X86-64]
			Enable AMD IOMMU driver option to dump the ACPI table
			for AMD IOMMU. With this option enabled, AMD IOMMU
			driver will print ACPI tables for AMD IOMMU during
			IOMMU initialization.

313 314 315 316 317 318 319 320 321
	amd_iommu_intr=	[HW,X86-64]
			Specifies one of the following AMD IOMMU interrupt
			remapping modes:
			legacy     - Use legacy interrupt remapping mode.
			vapic      - Use virtual APIC mode, which allows IOMMU
			             to inject interrupts directly into guest.
			             This mode requires kvm-amd.avic=1.
			             (Default when IOMMU HW support is present.)

L
Linus Torvalds 已提交
322 323 324
	amijoy.map=	[HW,JOY] Amiga joystick support
			Map of devices attached to JOY0DAT and JOY1DAT
			Format: <a>,<b>
325
			See also Documentation/input/joydev/joystick.rst
L
Linus Torvalds 已提交
326 327 328 329 330 331

	analog.map=	[HW,JOY] Analog joystick and gamepad support
			Specifies type or capabilities of an analog joystick
			connected to one of 16 gameports
			Format: <type1>,<type2>,..<type16>

R
Randy Dunlap 已提交
332 333
	apc=		[HW,SPARC]
			Power management functions (SPARCstation-4/5 + deriv.)
L
Linus Torvalds 已提交
334 335 336 337 338
			Format: noidle
			Disable APC CPU standby support. SPARCstation-Fox does
			not play well with APC CPU idle - disable it if you have
			APC and your system crashes randomly.

339
	apic=		[APIC,X86] Advanced Programmable Interrupt Controller
340
			Change the output verbosity while booting
L
Linus Torvalds 已提交
341 342 343
			Format: { quiet (default) | verbose | debug }
			Change the amount of debugging information output
			when initialising the APIC and IO-APIC components.
344 345 346 347
			For X86-32, this can also be used to specify an APIC
			driver name.
			Format: apic=driver_name
			Examples: apic=bigsmp
R
Randy Dunlap 已提交
348

349 350 351 352 353 354 355 356 357
	apic_extnmi=	[APIC,X86] External NMI delivery setting
			Format: { bsp (default) | all | none }
			bsp:  External NMI is delivered only to CPU 0
			all:  External NMIs are broadcast to all CPUs as a
			      backup of CPU 0
			none: External NMI is masked for all CPUs. This is
			      useful so that a dump capture kernel won't be
			      shot down by NMI

B
Brian Haley 已提交
358 359 360
	autoconf=	[IPV6]
			See Documentation/networking/ipv6.txt.

361 362 363 364 365 366 367 368 369
	show_lapic=	[APIC,X86] Advanced Programmable Interrupt Controller
			Limit apic dumping. The parameter defines the maximal
			number of local apics being dumped. Also it is possible
			to set it to "all" by meaning -- no limit here.
			Format: { 1 (default) | 2 | ... | all }.
			The parameter valid if only apic=debug or
			apic=verbose is specified.
			Example: apic=debug show_lapic=all

L
Linus Torvalds 已提交
370
	apm=		[APM] Advanced Power Management
371
			See header of arch/x86/kernel/apm_32.c.
L
Linus Torvalds 已提交
372 373 374 375 376 377 378 379 380 381 382 383 384

	arcrimi=	[HW,NET] ARCnet - "RIM I" (entirely mem-mapped) cards
			Format: <io>,<irq>,<nodeID>

	ataflop=	[HW,M68k]

	atarimouse=	[HW,MOUSE] Atari Mouse

	atkbd.extra=	[HW] Enable extra LEDs and keys on IBM RapidAccess,
			EzKey and similar keyboards

	atkbd.reset=	[HW] Reset keyboard during initialization

R
Randy Dunlap 已提交
385 386
	atkbd.set=	[HW] Select keyboard code set
			Format: <int> (2 = AT (default), 3 = PS/2)
L
Linus Torvalds 已提交
387 388 389 390 391 392

	atkbd.scroll=	[HW] Enable scroll wheel on MS Office and similar
			keyboards

	atkbd.softraw=	[HW] Choose between synthetic and real raw mode
			Format: <bool> (0 = real, 1 = synthetic (default))
R
Randy Dunlap 已提交
393 394 395

	atkbd.softrepeat= [HW]
			Use software keyboard repeat
L
Linus Torvalds 已提交
396

397
	audit=		[KNL] Enable the audit sub-system
398 399 400
			Format: { "0" | "1" | "off" | "on" }
			0 | off - kernel audit is disabled and can not be
			    enabled until the next reboot
401 402
			unset - kernel audit is initialized but disabled and
			    will be fully enabled by the userspace auditd.
403 404 405 406
			1 | on - kernel audit is initialized and partially
			    enabled, storing at most audit_backlog_limit
			    messages in RAM until it is fully enabled by the
			    userspace auditd.
407
			Default: unset
408

409 410 411 412
	audit_backlog_limit= [KNL] Set the audit queue size limit.
			Format: <int> (must be >=0)
			Default: 64

413 414 415 416 417 418 419
	bau=		[X86_UV] Enable the BAU on SGI UV.  The default
			behavior is to disable the BAU (i.e. bau=0).
			Format: { "0" | "1" }
			0 - Disable the BAU.
			1 - Enable the BAU.
			unset - Disable the BAU.

L
Linus Torvalds 已提交
420 421
	baycom_epp=	[HW,AX25]
			Format: <io>,<mode>
R
Randy Dunlap 已提交
422

L
Linus Torvalds 已提交
423 424 425 426
	baycom_par=	[HW,AX25] BayCom Parallel Port AX.25 Modem
			Format: <io>,<mode>
			See header of drivers/net/hamradio/baycom_par.c.

R
Randy Dunlap 已提交
427 428
	baycom_ser_fdx=	[HW,AX25]
			BayCom Serial Port AX.25 Modem (Full Duplex Mode)
L
Linus Torvalds 已提交
429 430 431
			Format: <io>,<irq>,<mode>[,<baud>]
			See header of drivers/net/hamradio/baycom_ser_fdx.c.

R
Randy Dunlap 已提交
432 433
	baycom_ser_hdx=	[HW,AX25]
			BayCom Serial Port AX.25 Modem (Half Duplex Mode)
L
Linus Torvalds 已提交
434 435 436
			Format: <io>,<irq>,<mode>
			See header of drivers/net/hamradio/baycom_ser_hdx.c.

437 438
	blkdevparts=	Manual partition parsing of block device(s) for
			embedded devices based on command line input.
439
			See Documentation/block/cmdline-partition.rst
440

R
Randy Dunlap 已提交
441 442 443 444 445
	boot_delay=	Milliseconds to delay each printk during boot.
			Values larger than 10 seconds (10000) are changed to
			no delay (0).
			Format: integer

446 447 448 449 450 451
	bootconfig	[KNL]
			Extended command line options can be added to an initrd
			and this will cause the kernel to look for it.

			See Documentation/admin-guide/bootconfig.rst

452 453 454
	bert_disable	[ACPI]
			Disable BERT OS support on buggy BIOSes.

455 456 457
	bgrt_disable	[ACPI][X86]
			Disable BGRT to avoid flickering OEM logo.

L
Linus Torvalds 已提交
458
	bttv.card=	[HW,V4L] bttv (bt848 + bt878 based grabber cards)
R
Randy Dunlap 已提交
459 460
	bttv.radio=	Most important insmod options are available as
			kernel args too.
461
	bttv.pll=	See Documentation/media/v4l-drivers/bttv.rst
P
Paul Bolle 已提交
462
	bttv.tuner=
L
Linus Torvalds 已提交
463

464 465 466 467
	bulk_remove=off	[PPC]  This parameter disables the use of the pSeries
			firmware feature for flushing multiple hpte entries
			at a time.

L
Linus Torvalds 已提交
468 469
	c101=		[NET] Moxa C101 synchronous serial card

470
	cachesize=	[BUGS=X86-32] Override level 2 CPU cache size detection.
L
Linus Torvalds 已提交
471 472 473 474 475 476
			Sometimes CPU hardware bugs make them report the cache
			size incorrectly. The kernel will attempt work arounds
			to fix known problems, but for some CPUs it is not
			possible to determine what the correct size should be.
			This option provides an override for these situations.

477 478 479 480 481
	carrier_timeout=
			[NET] Specifies amount of time (in seconds) that
			the kernel should wait for a network carrier. By default
			it waits 120 seconds.

482 483 484
	ca_keys=	[KEYS] This parameter identifies a specific key(s) on
			the system trusted keyring to be used for certificate
			trust validation.
485
			format: { id:<keyid> | builtin }
486

487 488 489 490 491 492
	cca=		[MIPS] Override the kernel pages' cache coherency
			algorithm.  Accepted values range from 0 to 7
			inclusive. See arch/mips/include/asm/pgtable-bits.h
			for platform specific values (SB1, Loongson3 and
			others).

493
	ccw_timeout_log	[S390]
494
			See Documentation/s390/common_io.rst for details.
L
Linus Torvalds 已提交
495

496
	cgroup_disable=	[KNL] Disable a particular controller
497
			Format: {name of the controller(s) to disable}
498 499 500 501 502 503 504 505
			The effects of cgroup_disable=foo are:
			- foo isn't auto-mounted if you mount all cgroups in
			  a single hierarchy
			- foo isn't visible as an individually mountable
			  subsystem
			{Currently only "memory" controller deal with this and
			cut the overhead, others just disable the usage. So
			only cgroup_disable=memory is actually worthy}
506

507 508 509
	cgroup_no_v1=	[KNL] Disable cgroup controllers and named hierarchies in v1
			Format: { { controller | "all" | "named" }
			          [,{ controller | "all" | "named" }...] }
J
Johannes Weiner 已提交
510 511
			Like cgroup_disable, but only applies to cgroup v1;
			the blacklisted controllers remain available in cgroup2.
512 513 514
			"all" blacklists all controllers and "named" disables
			named mounts. Specifying both "all" and "named" disables
			all v1 hierarchies.
J
Johannes Weiner 已提交
515

516 517 518
	cgroup.memory=	[KNL] Pass options to the cgroup memory controller.
			Format: <string>
			nosocket -- Disable socket memory accounting.
519
			nokmem -- Disable kernel memory accounting.
520

L
Linus Torvalds 已提交
521 522 523
	checkreqprot	[SELINUX] Set initial checkreqprot flag value.
			Format: { "0" | "1" }
			See security/selinux/Kconfig help text.
R
Randy Dunlap 已提交
524 525
			0 -- check protection applied by kernel (includes
				any implied execute protection).
L
Linus Torvalds 已提交
526 527
			1 -- check protection requested by application.
			Default value is set via a kernel config option.
R
Randy Dunlap 已提交
528
			Value can be changed at runtime via
529
				/sys/fs/selinux/checkreqprot.
530
			Setting checkreqprot to 1 is deprecated.
R
Randy Dunlap 已提交
531

532
	cio_ignore=	[S390]
533
			See Documentation/s390/common_io.rst for details.
534 535
	clk_ignore_unused
			[CLK]
536 537 538 539 540 541 542 543
			Prevents the clock framework from automatically gating
			clocks that have not been explicitly enabled by a Linux
			device driver but are enabled in hardware at reset or
			by the bootloader/firmware. Note that this does not
			force such clocks to be always-on nor does it reserve
			those clocks in any way. This parameter is useful for
			debug and development, but should not be needed on a
			platform with proper driver support.  For more
544
			information, see Documentation/driver-api/clk.rst.
545

546
	clock=		[BUGS=X86-32, HW] gettimeofday clocksource override.
547
			[Deprecated]
548
			Forces specified clocksource (if available) to be used
549
			when calculating gettimeofday(). If specified
550
			clocksource is not available, it defaults to PIT.
L
Linus Torvalds 已提交
551 552
			Format: { pit | tsc | cyclone | pmtmr }

J
John Stultz 已提交
553
	clocksource=	Override the default clocksource
R
Randy Dunlap 已提交
554 555 556 557 558 559 560 561 562
			Format: <string>
			Override the default clocksource and use the clocksource
			with the name specified.
			Some clocksource names to choose from, depending on
			the platform:
			[all] jiffies (this is the base, fallback clocksource)
			[ACPI] acpi_pm
			[ARM] imx_timer1,OSTS,netx_timer,mpu_timer2,
				pxa_timer,timer3,32k_counter,timer0_1
563
			[X86-32] pit,hpet,tsc;
R
Randy Dunlap 已提交
564 565 566 567 568 569 570 571
				scx200_hrt on Geode; cyclone on IBM x440
			[MIPS] MIPS
			[PARISC] cr16
			[S390] tod
			[SH] SuperH
			[SPARC64] tick
			[X86-64] hpet,tsc

572 573 574 575 576 577 578 579
	clocksource.arm_arch_timer.evtstrm=
			[ARM,ARM64]
			Format: <bool>
			Enable/disable the eventstream feature of the ARM
			architected timer so that code using WFE-based polling
			loops can be debugged more effectively on production
			systems.

580 581
	clearcpuid=BITNUM [X86]
			Disable CPUID feature X for the kernel. See
582
			arch/x86/include/asm/cpufeatures.h for the valid bit
583
			numbers. Note the Linux specific bits are not necessarily
584 585 586 587 588 589 590 591 592
			stable over kernel options, but the vendor specific
			ones should be.
			Also note that user programs calling CPUID directly
			or using the feature without checking anything
			will still see it. This just prevents it from
			being used by the kernel or shown in /proc/cpuinfo.
			Also note the kernel might malfunction if you disable
			some critical bits.

593 594 595 596 597
	cma=nn[MG]@[start[MG][-end[MG]]]
			[ARM,X86,KNL]
			Sets the size of kernel global memory area for
			contiguous memory allocations and optionally the
			placement constraint by the physical address range of
J
Jean Delvare 已提交
598 599
			memory allocations. A value of 0 disables CMA
			altogether. For more information, see
600 601
			include/linux/dma-contiguous.h

602 603 604 605 606 607 608
	cmo_free_hint=	[PPC] Format: { yes | no }
			Specify whether pages are marked as being inactive
			when they are freed.  This is used in CMO environments
			to determine OS memory pressure for page stealing by
			a hypervisor.
			Default: yes

609 610
	coherent_pool=nn[KMG]	[ARM,KNL]
			Sets the size of memory pool for coherent, atomic dma
611
			allocations, by default set to 256K.
612

L
Linus Torvalds 已提交
613
	com20020=	[HW,NET] ARCnet - COM20020 chipset
R
Randy Dunlap 已提交
614 615
			Format:
			<io>[,<irq>[,<nodeID>[,<backplane>[,<ckp>[,<timeout>]]]]]
L
Linus Torvalds 已提交
616 617 618 619

	com90io=	[HW,NET] ARCnet - COM90xx chipset (IO-mapped buffers)
			Format: <io>[,<irq>]

R
Randy Dunlap 已提交
620 621
	com90xx=	[HW,NET]
			ARCnet - COM90xx chipset (memory-mapped buffers)
L
Linus Torvalds 已提交
622 623 624 625
			Format: <io>[,<irq>[,<memstart>]]

	condev=		[HW,S390] console device
	conmode=
R
Randy Dunlap 已提交
626

L
Linus Torvalds 已提交
627 628 629 630 631
	console=	[KNL] Output console device and options.

		tty<n>	Use the virtual console device <n>.

		ttyS<n>[,options]
632
		ttyUSB0[,options]
L
Linus Torvalds 已提交
633
			Use the specified serial port.  The options are of
634 635 636 637 638
			the form "bbbbpnf", where "bbbb" is the baud rate,
			"p" is parity ("n", "o", or "e"), "n" is number of
			bits, and "f" is flow control ("r" for RTS or
			omit it).  Default is "9600n8".

639
			See Documentation/admin-guide/serial-console.rst for more
640 641 642
			information.  See
			Documentation/networking/netconsole.txt for an
			alternative.
L
Linus Torvalds 已提交
643

644 645
		uart[8250],io,<addr>[,options]
		uart[8250],mmio,<addr>[,options]
646
		uart[8250],mmio16,<addr>[,options]
647 648
		uart[8250],mmio32,<addr>[,options]
		uart[8250],0x<addr>[,options]
L
Linus Torvalds 已提交
649 650
			Start an early, polled-mode console on the 8250/16550
			UART at the specified I/O port or MMIO address,
651 652
			switching to the matching ttyS device later.
			MMIO inter-register address stride is either 8-bit
653 654 655 656
			(mmio), 16-bit (mmio16), or 32-bit (mmio32).
			If none of [io|mmio|mmio16|mmio32], <addr> is assumed
			to be equivalent to 'mmio'. 'options' are specified in
			the same format described for ttyS above; if unspecified,
657 658
			the h/w is not re-initialized.

659 660
		hvc<n>	Use the hypervisor console device <n>. This is for
			both Xen and PowerPC hypervisors.
L
Linus Torvalds 已提交
661

662 663
		If the device connected to the port is not a TTY but a braille
		device, prepend "brl," before the device type, for instance
664 665 666
			console=brl,ttyS0
		For now, only VisioBraille is supported.

667 668 669 670 671 672 673 674 675 676 677 678 679 680
	console_msg_format=
			[KNL] Change console messages format
		default
			By default we print messages on consoles in
			"[time stamp] text\n" format (time stamp may not be
			printed, depending on CONFIG_PRINTK_TIME or
			`printk_time' param).
		syslog
			Switch to syslog format: "<%u>[time stamp] text\n"
			IOW, each message will have a facility and loglevel
			prefix. The format is similar to one used by syslog()
			syscall, or to executing "dmesg -S --raw" or to reading
			from /proc/kmsg.

681
	consoleblank=	[KNL] The console blank (screen saver) timeout in
682
			seconds. A value of 0 disables the blank timer.
683
			Defaults to 0.
684

685 686 687
	coredump_filter=
			[KNL] Change the default value for
			/proc/<pid>/coredump_filter.
688
			See also Documentation/filesystems/proc.rst.
689

690 691 692 693 694 695 696
	coresight_cpu_debug.enable
			[ARM,ARM64]
			Format: <bool>
			Enable/disable the CPU sampling based debugging.
			0: default value, disable debugging
			1: enable debugging at boot time

697 698 699
	cpuidle.off=1	[CPU_IDLE]
			disable the cpuidle sub-system

700 701 702
	cpuidle.governor=
			[CPU_IDLE] Name of the cpuidle governor to use.

703 704 705
	cpufreq.off=1	[CPU_FREQ]
			disable the cpufreq sub-system

706 707 708 709 710 711
	cpu_init_udelay=N
			[X86] Delay for N microsec between assert and de-assert
			of APIC INIT to start processors.  This delay occurs
			on every CPU online, such as boot, and resume from suspend.
			Default: 10000

L
Linus Torvalds 已提交
712
	cpcihp_generic=	[HW,PCI] Generic port I/O CompactPCI driver
R
Randy Dunlap 已提交
713 714
			Format:
			<first_slot>,<last_slot>,<port>,<enum_bit>[,<debug>]
L
Linus Torvalds 已提交
715

716 717 718 719 720
	crashkernel=size[KMG][@offset[KMG]]
			[KNL] Using kexec, Linux can switch to a 'crash kernel'
			upon panic. This parameter reserves the physical
			memory region [offset, offset + size] for that kernel
			image. If '@offset' is omitted, then a suitable offset
721 722 723 724
			is selected automatically.
			[KNL, x86_64] select a region under 4G first, and
			fall back to reserve region above 4G when '@offset'
			hasn't been specified.
725
			See Documentation/admin-guide/kdump/kdump.rst for further details.
726

727 728 729 730 731
	crashkernel=range1:size1[,range2:size2,...][@offset]
			[KNL] Same as above, but depends on the memory
			in the running system. The syntax of range is
			start-[end] where start and end are both
			a memory unit (amount[KMG]). See also
732
			Documentation/admin-guide/kdump/kdump.rst for an example.
733

734
	crashkernel=size[KMG],high
735 736 737 738 739 740
			[KNL, x86_64] range could be above 4G. Allow kernel
			to allocate physical memory region from top, so could
			be above 4G if system have more than 4G ram installed.
			Otherwise memory region will be allocated below 4G, if
			available.
			It will be ignored if crashkernel=X is specified.
741 742 743
	crashkernel=size[KMG],low
			[KNL, x86_64] range under 4G. When crashkernel=X,high
			is passed, kernel could allocate physical memory region
744 745
			above 4G, that cause second kernel crash on system
			that require some amount of low memory, e.g. swiotlb
746 747 748 749
			requires at least 64M+32K low memory, also enough extra
			low memory is needed to make sure DMA buffers for 32-bit
			devices won't run out. Kernel would try to allocate at
			at least 256M below 4G automatically.
750 751 752
			This one let user to specify own low range under 4G
			for second kernel instead.
			0: to disable low allocation.
753
			It will be ignored when crashkernel=X,high is not used
754
			or memory reserved is below 4G.
755

756
	cryptomgr.notests
757
			[KNL] Disable crypto self-tests
758

L
Linus Torvalds 已提交
759 760 761 762 763
	cs89x0_dma=	[HW,NET]
			Format: <dma>

	cs89x0_media=	[HW,NET]
			Format: { rj45 | aui | bnc }
R
Randy Dunlap 已提交
764 765

	dasd=		[HW,NET]
L
Linus Torvalds 已提交
766 767 768 769 770
			See header of drivers/s390/block/dasd_devmap.c.

	db9.dev[2|3]=	[HW,JOY] Multisystem joystick support via parallel port
			(one device per port)
			Format: <port#>,<type>
771
			See also Documentation/input/devices/joystick-parport.rst
L
Linus Torvalds 已提交
772

773
	ddebug_query=	[KNL,DYNAMIC_DEBUG] Enable debug messages at early boot
774 775
			time. See
			Documentation/admin-guide/dynamic-debug-howto.rst for
776
			details.  Deprecated, see dyndbg.
777

L
Linus Torvalds 已提交
778 779
	debug		[KNL] Enable kernel debugging (events log level).

780 781 782 783 784 785 786 787
	debug_boot_weak_hash
			[KNL] Enable printing [hashed] pointers early in the
			boot sequence.  If enabled, we use a weak hash instead
			of siphash to hash pointers.  Use this option if you are
			seeing instances of '(___ptrval___)') and need to see a
			value (hashed pointer) instead. Cryptographically
			insecure, please do not use on production kernels.

788 789 790 791 792 793 794 795 796
	debug_locks_verbose=
			[KNL] verbose self-tests
			Format=<0|1>
			Print debugging info while doing the locking API
			self-tests.
			We default to 0 (no extra messages), setting it to
			1 will print _a lot_ more information - normally
			only useful to kernel developers.

797 798
	debug_objects	[KNL] Enable object debugging

799 800 801
	no_debug_objects
			[KNL] Disable object debugging

802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820
	debug_guardpage_minorder=
			[KNL] When CONFIG_DEBUG_PAGEALLOC is set, this
			parameter allows control of the order of pages that will
			be intentionally kept free (and hence protected) by the
			buddy allocator. Bigger value increase the probability
			of catching random memory corruption, but reduce the
			amount of memory for normal system use. The maximum
			possible value is MAX_ORDER/2.  Setting this parameter
			to 1 or 2 should be enough to identify most random
			memory corruption problems caused by bugs in kernel or
			driver code when a CPU writes to (or reads from) a
			random memory location. Note that there exists a class
			of memory corruptions problems caused by buggy H/W or
			F/W or by drivers badly programing DMA (basically when
			memory is written at bus level and the CPU MMU is
			bypassed) which are not detectable by
			CONFIG_DEBUG_PAGEALLOC, hence this option will not help
			tracking down these problems.

821
	debug_pagealloc=
822 823 824 825
			[KNL] When CONFIG_DEBUG_PAGEALLOC is set, this parameter
			enables the feature at boot time. By default, it is
			disabled and the system will work mostly the same as a
			kernel built without CONFIG_DEBUG_PAGEALLOC.
826 827
			Note: to get most of debug_pagealloc error reports, it's
			useful to also enable the page_owner functionality.
828 829
			on: enable the feature

830 831
	debugpat	[X86] Enable PAT debugging

832
	decnet.addr=	[HW,NET]
L
Linus Torvalds 已提交
833 834 835
			Format: <area>[,<node>]
			See also Documentation/networking/decnet.txt.

836 837 838 839 840 841 842
	default_hugepagesz=
			[same as hugepagesz=] The size of the default
			HugeTLB page size. This is the size represented by
			the legacy /proc/ hugepages APIs, used for SHM, and
			default size when mounting hugetlbfs filesystems.
			Defaults to the default architecture's huge page size
			if not specified.
843

844 845 846 847 848 849 850 851 852
	deferred_probe_timeout=
			[KNL] Debugging option to set a timeout in seconds for
			deferred probe to give up waiting on dependencies to
			probe. Only specific dependencies (subsystems or
			drivers) that have opted in will be ignored. A timeout of 0
			will timeout at the end of initcalls. This option will also
			dump out devices still on the deferred probe list after
			retrying.

853 854 855 856 857 858 859 860 861 862 863 864
	dfltcc=		[HW,S390]
			Format: { on | off | def_only | inf_only | always }
			on:       s390 zlib hardware support for compression on
			          level 1 and decompression (default)
			off:      No s390 zlib hardware support
			def_only: s390 zlib hardware support for deflate
			          only (compression on level 1)
			inf_only: s390 zlib hardware support for inflate
			          only (decompression)
			always:   Same as 'on' but ignores the selected compression
			          level always using hardware support (used for debugging)

L
Linus Torvalds 已提交
865 866
	dhash_entries=	[KNL]
			Set number of hash buckets for dentry cache.
R
Randy Dunlap 已提交
867

868 869 870 871 872 873
	disable_1tb_segments [PPC]
			Disables the use of 1TB hash page table segments. This
			causes the kernel to fall back to 256MB segments which
			can be useful when debugging issues that require an SLB
			miss to occur.

B
Brian Haley 已提交
874 875 876
	disable=	[IPV6]
			See Documentation/networking/ipv6.txt.

877 878 879 880 881 882 883 884 885 886 887
	hardened_usercopy=
                        [KNL] Under CONFIG_HARDENED_USERCOPY, whether
                        hardening is enabled for this boot. Hardened
                        usercopy checking is used to protect the kernel
                        from reading or writing beyond known memory
                        allocation boundaries as a proactive defense
                        against bounds-checking flaws in the kernel's
                        copy_to_user()/copy_from_user() interface.
                on      Perform hardened usercopy checks (default).
                off     Disable hardened usercopy checks.

888 889 890
	disable_radix	[PPC]
			Disable RADIX MMU mode on POWER9

891 892 893 894
	disable_tlbie	[PPC]
			Disable TLBIE instruction. Currently does not work
			with KVM, with HASH MMU, or with coherent accelerators.

895 896 897 898 899 900 901 902 903
	disable_cpu_apicid= [X86,APIC,SMP]
			Format: <int>
			The number of initial APIC ID for the
			corresponding CPU to be disabled at boot,
			mostly used for the kdump 2nd kernel to
			disable BSP to wake up multiple CPUs without
			causing system reset or hang due to sending
			INIT from AP to BSP.

904 905
	perf_v4_pmi=	[X86,INTEL]
			Format: <bool>
906 907 908 909
			Disable Intel PMU counter freezing feature.
			The feature only exists starting from
			Arch Perfmon v4 (Skylake and newer).

910
	disable_ddw	[PPC/PSERIES]
911 912 913
			Disable Dynamic DMA Window support. Use this if
			to workaround buggy firmware.

B
Brian Haley 已提交
914 915 916
	disable_ipv6=	[IPV6]
			See Documentation/networking/ipv6.txt.

917 918 919
	disable_mtrr_cleanup [X86]
			The kernel tries to adjust MTRR layout from continuous
			to discrete, to make X server driver able to add WB
920
			entry later. This parameter disables that.
921

922
	disable_mtrr_trim [X86, Intel and AMD only]
923 924 925 926 927
			By default the kernel will trim any uncacheable
			memory out of your available memory pool based on
			MTRR settings.  This parameter disables that behavior,
			possibly causing your machine to run very slowly.

928
	disable_timer_pin_1 [X86]
929 930 931
			Disable PIN 1 of APIC timer
			Can be useful to work around chipset bugs.

932 933
	dis_ucode_ldr	[X86] Disable the microcode loader.

934 935 936 937 938 939 940 941 942 943
	dma_debug=off	If the kernel is compiled with DMA_API_DEBUG support,
			this option disables the debugging code at boot.

	dma_debug_entries=<number>
			This option allows to tune the number of preallocated
			entries for DMA-API debugging code. One entry is
			required per DMA-API allocation. Use this if the
			DMA-API debugging code disables itself because the
			architectural default is too low.

944 945 946 947 948 949 950
	dma_debug_driver=<driver_name>
			With this option the DMA-API debugging driver
			filter feature can be enabled at boot time. Just
			pass the driver to filter for as the parameter.
			The filter can be disabled or changed to another
			driver later using sysfs.

951 952 953 954
	driver_async_probe=  [KNL]
			List of driver names to be probed asynchronously.
			Format: <driver_name1>,<driver_name2>...

955
	drm.edid_firmware=[<connector>:]<file>[,[<connector>:]<file>]
956 957 958 959
			Broken monitors, graphic adapters, KVMs and EDIDless
			panels may send no or incorrect EDID data sets.
			This parameter allows to specify an EDID data sets
			in the /lib/firmware directory that are used instead.
960 961 962 963 964
			Generic built-in EDID data sets are used, if one of
			edid/1024x768.bin, edid/1280x1024.bin,
			edid/1680x1050.bin, or edid/1920x1080.bin is given
			and no file with the same name exists. Details and
			instructions how to build your own EDID data are
965
			available in Documentation/admin-guide/edid.rst. An EDID
966 967
			data set will only be used for a particular connector,
			if its name and a colon are prepended to the EDID
968 969 970 971
			name. Each connector may use a unique EDID data
			set by separating the files with a comma.  An EDID
			data set with no connector name will be used for
			any connectors not explicitly specified.
972

L
Linus Torvalds 已提交
973 974
	dscc4.setup=	[NET]

975 976 977 978 979 980 981 982 983
	dt_cpu_ftrs=	[PPC]
			Format: {"off" | "known"}
			Control how the dt_cpu_ftrs device-tree binding is
			used for CPU feature discovery and setup (if it
			exists).
			off: Do not use it, fall back to legacy cpu table.
			known: Do not pass through unknown features to guests
			or userspace, only those that the kernel is aware of.

984 985 986 987 988
	dump_apple_properties	[X86]
			Dump name and content of EFI device properties on
			x86 Macs.  Useful for driver authors to determine
			what data is available or for reverse-engineering.

989 990 991
	dyndbg[="val"]		[KNL,DYNAMIC_DEBUG]
	module.dyndbg[="val"]
			Enable debug messages at boot time.  See
992 993
			Documentation/admin-guide/dynamic-debug-howto.rst
			for details.
994

995 996 997
	nopku		[X86] Disable Memory Protection Keys CPU feature found
			in some Intel CPUs.

998 999 1000
	module.async_probe [KNL]
			Enable asynchronous probe on this module.

1001 1002 1003 1004 1005
	early_ioremap_debug [KNL]
			Enable debug messages in early_ioremap support. This
			is useful for tracking down temporary early mappings
			which are not unmapped.

1006
	earlycon=	[KNL] Output early console device and options.
1007

1008 1009 1010 1011
			When used with no options, the early console is
			determined by stdout-path property in device tree's
			chosen node or the ACPI SPCR table if supported by
			the platform.
1012

1013 1014 1015 1016 1017 1018
		cdns,<addr>[,options]
			Start an early, polled-mode console on a Cadence
			(xuartps) serial port at the specified address. Only
			supported option is baud rate. If baud rate is not
			specified, the serial port must already be setup and
			configured.
1019

1020 1021
		uart[8250],io,<addr>[,options]
		uart[8250],mmio,<addr>[,options]
1022
		uart[8250],mmio32,<addr>[,options]
1023
		uart[8250],mmio32be,<addr>[,options]
1024
		uart[8250],0x<addr>[,options]
1025 1026
			Start an early, polled-mode console on the 8250/16550
			UART at the specified I/O port or MMIO address.
1027
			MMIO inter-register address stride is either 8-bit
1028 1029 1030 1031
			(mmio) or 32-bit (mmio32 or mmio32be).
			If none of [io|mmio|mmio32|mmio32be], <addr> is assumed
			to be equivalent to 'mmio'. 'options' are specified
			in the same format described for "console=ttyS<n>"; if
1032
			unspecified, the h/w is not initialized.
1033

1034
		pl011,<addr>
1035
		pl011,mmio32,<addr>
1036 1037 1038
			Start an early, polled-mode console on a pl011 serial
			port at the specified address. The pl011 serial port
			must already be setup and configured. Options are not
1039 1040 1041
			yet supported.  If 'mmio32' is specified, then only
			the driver will use only 32-bit accessors to read/write
			the device registers.
1042

1043 1044 1045 1046 1047 1048
		meson,<addr>
			Start an early, polled-mode console on a meson serial
			port at the specified address. The serial port must
			already be setup and configured. Options are not yet
			supported.

1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060
		msm_serial,<addr>
			Start an early, polled-mode console on an msm serial
			port at the specified address. The serial port
			must already be setup and configured. Options are not
			yet supported.

		msm_serial_dm,<addr>
			Start an early, polled-mode console on an msm serial
			dm port at the specified address. The serial port
			must already be setup and configured. Options are not
			yet supported.

1061 1062 1063 1064 1065 1066
		owl,<addr>
			Start an early, polled-mode console on a serial port
			of an Actions Semi SoC, such as S500 or S900, at the
			specified address. The serial port must already be
			setup and configured. Options are not yet supported.

1067 1068 1069 1070
		rda,<addr>
			Start an early, polled-mode console on a serial port
			of an RDA Micro SoC, such as RDA8810PL, at the
			specified address. The serial port must already be
1071 1072
			setup and configured. Options are not yet supported.

1073 1074 1075 1076
		sbi
			Use RISC-V SBI (Supervisor Binary Interface) for early
			console.

1077 1078
		smh	Use ARM semihosting calls for early console.

1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090
		s3c2410,<addr>
		s3c2412,<addr>
		s3c2440,<addr>
		s3c6400,<addr>
		s5pv210,<addr>
		exynos4210,<addr>
			Use early console provided by serial driver available
			on Samsung SoCs, requires selecting proper type and
			a correct base address of the selected UART port. The
			serial port must already be setup and configured.
			Options are not yet supported.

1091 1092 1093 1094 1095 1096
		lantiq,<addr>
			Start an early, polled-mode console on a lantiq serial
			(lqasc) port at the specified address. The serial port
			must already be setup and configured. Options are not
			yet supported.

1097 1098 1099 1100 1101 1102 1103
		lpuart,<addr>
		lpuart32,<addr>
			Use early console provided by Freescale LP UART driver
			found on Freescale Vybrid and QorIQ LS1021A processors.
			A valid base address must be provided, and the serial
			port must already be setup and configured.

1104 1105 1106 1107 1108 1109
		ec_imx21,<addr>
		ec_imx6q,<addr>
			Start an early, polled-mode, output-only console on the
			Freescale i.MX UART at the specified address. The UART
			must already be setup and configured.

1110
		ar3700_uart,<addr>
1111 1112 1113 1114 1115
			Start an early, polled-mode console on the
			Armada 3700 serial port at the specified
			address. The serial port must already be setup
			and configured. Options are not yet supported.

1116 1117 1118 1119 1120 1121
		qcom_geni,<addr>
			Start an early, polled-mode console on a Qualcomm
			Generic Interface (GENI) based serial port at the
			specified address. The serial port must already be
			setup and configured. Options are not yet supported.

1122 1123 1124 1125 1126 1127 1128
		efifb,[options]
			Start an early, unaccelerated console on the EFI
			memory mapped framebuffer (if available). On cache
			coherent non-x86 systems that use system memory for
			the framebuffer, pass the 'ram' option so that it is
			mapped with the correct attributes.

1129
		linflex,<addr>
1130
			Use early console provided by Freescale LINFlexD UART
1131 1132 1133 1134
			serial driver for NXP S32V234 SoCs. A valid base
			address must be provided, and the serial port must
			already be setup and configured.

A
Arnd Bergmann 已提交
1135
	earlyprintk=	[X86,SH,ARM,M68k,S390]
L
Linus Torvalds 已提交
1136
			earlyprintk=vga
1137
			earlyprintk=sclp
1138
			earlyprintk=xen
L
Linus Torvalds 已提交
1139
			earlyprintk=serial[,ttySn[,baudrate]]
1140
			earlyprintk=serial[,0x...[,baudrate]]
1141
			earlyprintk=ttySn[,baudrate]
1142
			earlyprintk=dbgp[debugController#]
1143
			earlyprintk=pciserial[,force],bus:device.function[,baudrate]
1144
			earlyprintk=xdbc[xhciController#]
L
Linus Torvalds 已提交
1145

1146 1147 1148 1149
			earlyprintk is useful when the kernel crashes before
			the normal console is initialized. It is not enabled by
			default because it has some cosmetic problems.

R
Randy Dunlap 已提交
1150
			Append ",keep" to not disable it when the real console
L
Linus Torvalds 已提交
1151 1152
			takes over.

1153 1154
			Only one of vga, efi, serial, or usb debug port can
			be used at a time.
L
Linus Torvalds 已提交
1155

1156 1157 1158 1159 1160 1161 1162 1163
			Currently only ttyS0 and ttyS1 may be specified by
			name.  Other I/O ports may be explicitly specified
			on some architectures (x86 and arm at least) by
			replacing ttySn with an I/O port address, like this:
				earlyprintk=serial,0x1008,115200
			You can find the port for a given device in
			/proc/tty/driver/serial:
				2: uart:ST16650V2 port:00001008 irq:18 ...
L
Linus Torvalds 已提交
1164 1165 1166 1167

			Interaction with the standard serial driver is not
			very good.

1168 1169
			The VGA and EFI output is eventually overwritten by
			the real console.
L
Linus Torvalds 已提交
1170

1171 1172
			The xen output can only be used by Xen PV guests.

1173 1174
			The sclp output can only be used on s390.

1175 1176 1177 1178
			The optional "force" to "pciserial" enables use of a
			PCI device even when its classcode is not of the
			UART class.

1179 1180 1181 1182 1183 1184 1185 1186
	edac_report=	[HW,EDAC] Control how to report EDAC event
			Format: {"on" | "off" | "force"}
			on: enable EDAC to report H/W event. May be overridden
			by other higher priority error reporting module.
			off: disable H/W event reporting through EDAC.
			force: enforce the use of EDAC to report H/W event.
			default: on.

1187 1188 1189
	ekgdboc=	[X86,KGDB] Allow early kernel console debugging
			ekgdboc=kbd

L
Lucas De Marchi 已提交
1190
			This is designed to be used in conjunction with
1191 1192
			the boot argument: earlyprintk=vga

L
Linus Torvalds 已提交
1193
	edd=		[EDD]
1194
			Format: {"off" | "on" | "skip[mbr]"}
L
Linus Torvalds 已提交
1195

1196
	efi=		[EFI]
1197
			Format: { "old_map", "nochunk", "noruntime", "debug",
1198 1199
				  "nosoftreserve", "disable_early_pci_dma",
				  "no_disable_early_pci_dma" }
1200
			old_map [X86-64]: switch to the old ioremap-based EFI
1201
			runtime services mapping. [Needs CONFIG_X86_UV=y]
1202 1203 1204
			nochunk: disable reading files in "chunks" in the EFI
			boot stub, as chunking can cause problems with some
			firmware implementations.
D
Dave Young 已提交
1205
			noruntime : disable EFI runtime services support
1206
			debug: enable misc debug output
1207 1208 1209 1210 1211 1212
			nosoftreserve: The EFI_MEMORY_SP (Specific Purpose)
			attribute may cause the kernel to reserve the
			memory range for a memory mapping driver to
			claim. Specify efi=nosoftreserve to disable this
			reservation and treat the memory by its base type
			(i.e. EFI_CONVENTIONAL_MEMORY / "System RAM").
1213 1214 1215 1216
			disable_early_pci_dma: Disable the busmaster bit on all
			PCI bridges while in the EFI boot stub
			no_disable_early_pci_dma: Leave the busmaster bit set
			on all PCI bridges while in the EFI boot stub
1217

1218 1219 1220 1221 1222 1223
	efi_no_storage_paranoia [EFI; X86]
			Using this parameter you can use more than 50% of
			your efi variable storage. Use this parameter only if
			you are really sure that your UEFI does sane gc and
			fulfills the spec otherwise your board may brick.

T
Taku Izumi 已提交
1224 1225 1226 1227 1228
	efi_fake_mem=	nn[KMG]@ss[KMG]:aa[,nn[KMG]@ss[KMG]:aa,..] [EFI; X86]
			Add arbitrary attribute to specific memory range by
			updating original EFI memory map.
			Region of memory which aa attribute is added to is
			from ss to ss+nn.
1229

T
Taku Izumi 已提交
1230 1231 1232 1233 1234
			If efi_fake_mem=2G@4G:0x10000,2G@0x10a0000000:0x10000
			is specified, EFI_MEMORY_MORE_RELIABLE(0x10000)
			attribute is added to range 0x100000000-0x180000000 and
			0x10a0000000-0x1120000000.

1235 1236 1237 1238
			If efi_fake_mem=8G@9G:0x40000 is specified, the
			EFI_MEMORY_SP(0x40000) attribute is added to
			range 0x240000000-0x43fffffff.

T
Taku Izumi 已提交
1239
			Using this parameter you can do debugging of EFI memmap
1240
			related features. For example, you can do debugging of
T
Taku Izumi 已提交
1241
			Address Range Mirroring feature even if your box
1242 1243
			doesn't support it, or mark specific memory as
			"soft reserved".
T
Taku Izumi 已提交
1244

1245 1246 1247 1248
	efivar_ssdt=	[EFI; X86] Name of an EFI variable that contains an SSDT
			that is to be dynamically loaded by Linux. If there are
			multiple variables with the same name but with different
			vendor GUIDs, all of them will be loaded. See
1249
			Documentation/admin-guide/acpi/ssdt-overlays.rst for details.
1250 1251


L
Linus Torvalds 已提交
1252 1253 1254
	eisa_irq_edge=	[PARISC,HW]
			See header of drivers/parisc/eisa.c.

1255
	elanfreq=	[X86-32]
L
Linus Torvalds 已提交
1256
			See comment before function elanfreq_setup() in
1257
			arch/x86/kernel/cpu/cpufreq/elanfreq.c.
L
Linus Torvalds 已提交
1258

1259
	elfcorehdr=[size[KMG]@]offset[KMG] [IA64,PPC,SH,X86,S390]
R
Randy Dunlap 已提交
1260
			Specifies physical address of start of kernel core
1261 1262
			image elf header and optionally the size. Generally
			kexec loader will pass this option to capture kernel.
1263
			See Documentation/admin-guide/kdump/kdump.rst for details.
L
Linus Torvalds 已提交
1264

1265 1266 1267 1268 1269
	enable_mtrr_cleanup [X86]
			The kernel tries to adjust MTRR layout from continuous
			to discrete, to make X server driver able to add WB
			entry later. This parameter enables that.

1270
	enable_timer_pin_1 [X86]
1271 1272 1273 1274 1275
			Enable PIN 1 of APIC timer
			Can be useful to work around chipset bugs
			(in particular on some ATI chipsets).
			The kernel tries to set a reasonable default.

L
Linus Torvalds 已提交
1276 1277 1278 1279 1280 1281
	enforcing	[SELINUX] Set initial enforcing status.
			Format: {"0" | "1"}
			See security/selinux/Kconfig help text.
			0 -- permissive (log only, no denials).
			1 -- enforcing (deny and log).
			Default value is 0.
1282 1283
			Value can be changed at runtime via
			/sys/fs/selinux/enforce.
L
Linus Torvalds 已提交
1284

1285 1286 1287 1288
	erst_disable	[ACPI]
			Disable Error Record Serialization Table (ERST)
			support.

L
Linus Torvalds 已提交
1289 1290 1291 1292
	ether=		[HW,NET] Ethernet cards parameters
			This option is obsoleted by the "netdev=" option, which
			has equivalent usage. See its documentation for details.

1293 1294 1295 1296 1297
	evm=		[EVM]
			Format: { "fix" }
			Permit 'security.evm' to be updated regardless of
			current integrity status.

1298 1299 1300 1301 1302
	failslab=
	fail_page_alloc=
	fail_make_request=[KNL]
			General fault injection mechanism.
			Format: <interval>,<probability>,<space>,<times>
P
Paul Bolle 已提交
1303
			See also Documentation/fault-injection/.
1304

L
Linus Torvalds 已提交
1305
	floppy=		[HW]
1306
			See Documentation/admin-guide/blockdev/floppy.rst.
L
Linus Torvalds 已提交
1307

1308 1309 1310 1311 1312 1313
	force_pal_cache_flush
			[IA-64] Avoid check_sal_cache_flush which may hang on
			buggy SAL_CACHE_FLUSH implementations. Using this
			parameter will force ia64_sal_cache_flush to call
			ia64_pal_cache_flush instead of SAL_CACHE_FLUSH.

1314
	forcepae	[X86-32]
1315 1316 1317 1318 1319 1320
			Forcefully enable Physical Address Extension (PAE).
			Many Pentium M systems disable PAE but may have a
			functionally usable PAE implementation.
			Warning: use of this parameter will taint the kernel
			and may cause unknown problems.

1321
	ftrace=[tracer]
1322
			[FTRACE] will set and start the specified tracer
1323 1324 1325
			as early as possible in order to facilitate early
			boot debugging.

1326
	ftrace_dump_on_oops[=orig_cpu]
1327
			[FTRACE] will dump the trace buffers on oops.
1328 1329 1330 1331
			If no parameter is passed, ftrace will dump
			buffers of all CPUs, but if you pass orig_cpu, it will
			dump only the buffer of the CPU that triggered the
			oops.
1332 1333 1334 1335 1336 1337

	ftrace_filter=[function-list]
			[FTRACE] Limit the functions traced by the function
			tracer at boot up. function-list is a comma separated
			list of functions. This list can be changed at run
			time by the set_ftrace_filter file in the debugfs
1338
			tracing directory.
1339 1340 1341 1342 1343 1344

	ftrace_notrace=[function-list]
			[FTRACE] Do not trace the functions specified in
			function-list. This list can be changed at run time
			by the set_ftrace_notrace file in the debugfs
			tracing directory.
1345

1346 1347 1348 1349 1350 1351 1352
	ftrace_graph_filter=[function-list]
			[FTRACE] Limit the top level callers functions traced
			by the function graph tracer at boot up.
			function-list is a comma separated list of functions
			that can be changed at run time by the
			set_graph_function file in the debugfs tracing directory.

1353 1354 1355 1356 1357 1358
	ftrace_graph_notrace=[function-list]
			[FTRACE] Do not trace from the functions specified in
			function-list.  This list is a comma separated list of
			functions that can be changed at run time by the
			set_graph_notrace file in the debugfs tracing directory.

1359 1360 1361 1362 1363 1364
	ftrace_graph_max_depth=<uint>
			[FTRACE] Used with the function graph tracer. This is
			the max depth it will trace into a function. This value
			can be changed at run time by the max_graph_depth file
			in the tracefs tracing directory. default: 0 (no limit)

1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382
	fw_devlink=	[KNL] Create device links between consumer and supplier
			devices by scanning the firmware to infer the
			consumer/supplier relationships. This feature is
			especially useful when drivers are loaded as modules as
			it ensures proper ordering of tasks like device probing
			(suppliers first, then consumers), supplier boot state
			clean up (only after all consumers have probed),
			suspend/resume & runtime PM (consumers first, then
			suppliers).
			Format: { off | permissive | on | rpm }
			off --	Don't create device links from firmware info.
			permissive -- Create device links from firmware info
				but use it only for ordering boot state clean
				up (sync_state() calls).
			on -- 	Create device links from firmware info and use it
				to enforce probe and suspend/resume ordering.
			rpm --	Like "on", but also use to order runtime PM.

L
Linus Torvalds 已提交
1383 1384 1385 1386
	gamecon.map[2|3]=
			[HW,JOY] Multisystem joystick and NES/SNES/PSX pad
			support via parallel port (up to 5 devices per port)
			Format: <port#>,<pad1>,<pad2>,<pad3>,<pad4>,<pad5>
1387
			See also Documentation/input/devices/joystick-parport.rst
L
Linus Torvalds 已提交
1388 1389 1390

	gamma=		[HW,DRM]

1391
	gart_fix_e820=	[X86_64] disable the fix e820 for K8 GART
Y
Yinghai Lu 已提交
1392 1393 1394
			Format: off | on
			default: on

1395 1396 1397 1398 1399 1400
	gcov_persist=	[GCOV] When non-zero (default), profiling data for
			kernel modules is saved and remains accessible via
			debugfs, even when the module is unloaded/reloaded.
			When zero, profiling data is discarded and associated
			debugfs files are removed at module unload time.

1401 1402 1403 1404
	goldfish	[X86] Enable the goldfish android emulator platform.
			Don't use this when you are not running on the
			android emulator

L
Linus Torvalds 已提交
1405
	gpt		[EFI] Forces disk with valid GPT signature but
1406 1407 1408
			invalid Protective MBR to be treated as GPT. If the
			primary GPT is corrupted, it enables the backup/alternate
			GPT to be used instead.
L
Linus Torvalds 已提交
1409

1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427
	grcan.enable0=	[HW] Configuration of physical interface 0. Determines
			the "Enable 0" bit of the configuration register.
			Format: 0 | 1
			Default: 0
	grcan.enable1=	[HW] Configuration of physical interface 1. Determines
			the "Enable 0" bit of the configuration register.
			Format: 0 | 1
			Default: 0
	grcan.select=	[HW] Select which physical interface to use.
			Format: 0 | 1
			Default: 0
	grcan.txsize=	[HW] Sets the size of the tx buffer.
			Format: <unsigned int> such that (txsize & ~0x1fffc0) == 0.
			Default: 1024
	grcan.rxsize=	[HW] Sets the size of the rx buffer.
			Format: <unsigned int> such that (rxsize & ~0x1fffc0) == 0.
			Default: 1024

1428 1429 1430 1431
	gpio-mockup.gpio_mockup_ranges
			[HW] Sets the ranges of gpiochip of for this device.
			Format: <start1>,<end1>,<start2>,<end2>...

1432 1433 1434 1435 1436
	hardlockup_all_cpu_backtrace=
			[KNL] Should the hard-lockup detector generate
			backtraces on all cpus.
			Format: <integer>

L
Linus Torvalds 已提交
1437 1438
	hashdist=	[KNL,NUMA] Large hashes allocated during boot
			are distributed across NUMA nodes.  Defaults on
1439
			for 64-bit NUMA, off otherwise.
R
Randy Dunlap 已提交
1440
			Format: 0 | 1 (for off | on)
L
Linus Torvalds 已提交
1441 1442 1443 1444 1445 1446

	hcl=		[IA-64] SGI's Hardware Graph compatibility layer

	hd=		[EIDE] (E)IDE hard drive subsystem geometry
			Format: <cyl>,<head>,<sect>

H
Huang Ying 已提交
1447 1448 1449 1450 1451
	hest_disable	[ACPI]
			Disable Hardware Error Source Table (HEST) support;
			corresponding firmware-first mode error processing
			logic will be disabled.

L
Linus Torvalds 已提交
1452 1453 1454 1455 1456
	highmem=nn[KMG]	[KNL,BOOT] forces the highmem zone to have an exact
			size of <nn>. This works even on boxes that have no
			highmem otherwise. This also works to reduce highmem
			size on bigger boxes.

1457 1458 1459 1460
	highres=	[KNL] Enable/disable high resolution timer mode.
			Valid parameters: "on", "off"
			Default: "on"

1461 1462 1463 1464 1465 1466 1467 1468 1469 1470
	hlt		[BUGS=ARM,SH]

	hpet=		[X86-32,HPET] option to control HPET usage
			Format: { enable (default) | disable | force |
				verbose }
			disable: disable HPET and use PIT instead
			force: allow force enabled of undocumented chips (ICH4,
				VIA, nVidia)
			verbose: show contents of HPET registers during setup

1471 1472 1473
	hpet_mmap=	[X86, HPET_MMAP] Allow userspace to mmap HPET
			registers.  Default set by CONFIG_HPET_MMAP_DEFAULT.

1474 1475 1476 1477 1478 1479 1480 1481
	hugetlb_cma=	[HW] The size of a cma area used for allocation
			of gigantic hugepages.
			Format: nn[KMGTPE]

			Reserve a cma area of given size and allocate gigantic
			hugepages using the cma allocator. If enabled, the
			boot-time allocation of gigantic hugepages is skipped.

1482 1483
	hugepages=	[HW,X86-32,IA-64] HugeTLB pages to allocate at boot.
	hugepagesz=	[HW,IA-64,PPC,X86-64] The size of the HugeTLB pages.
1484 1485 1486 1487
			On x86-64 and powerpc, this option can be specified
			multiple times interleaved with hugepages= to reserve
			huge pages of different sizes. Valid pages sizes on
			x86-64 are 2M (when the CPU supports "pse") and 1G
1488
			(when the CPU supports the "pdpe1gb" cpuinfo flag).
1489

1490 1491 1492
	hung_task_panic=
			[KNL] Should the hung task detector generate panics.
			Format: <integer>
1493

1494 1495 1496 1497 1498 1499
			A nonzero value instructs the kernel to panic when a
			hung task is detected. The default value is controlled
			by the CONFIG_BOOTPARAM_HUNG_TASK_PANIC build-time
			option. The value selected by this boot parameter can
			be changed later by the kernel.hung_task_panic sysctl.

1500 1501 1502 1503 1504
	hvc_iucv=	[S390]	Number of z/VM IUCV hypervisor console (HVC)
				terminal devices. Valid values: 0..8
	hvc_iucv_allow=	[S390]	Comma-separated list of z/VM user IDs.
				If specified, z/VM IUCV HVC accepts connections
				from listed z/VM user IDs only.
1505 1506 1507 1508 1509

	hv_nopvspin	[X86,HYPER_V] Disables the paravirt spinlock optimizations
				      which allow the hypervisor to 'idle' the
				      guest on lock contention.

1510 1511 1512 1513 1514 1515
	keep_bootcon	[KNL]
			Do not unregister boot console at start. This is only
			useful for debugging when something happens in the window
			between unregistering the boot console and initializing
			the real console.

1516 1517 1518 1519 1520
	i2c_bus=	[HW]	Override the default board specific I2C bus speed
				or register an additional I2C bus that is not
				registered from board initialization code.
				Format:
				<bus_id>,<clkrate>
1521

1522
	i8042.debug	[HW] Toggle i8042 debug mode
1523 1524 1525 1526
	i8042.unmask_kbd_data
			[HW] Enable printing of interrupt data from the KBD port
			     (disabled by default, and as a pre-condition
			     requires that i8042.debug=1 be enabled)
L
Linus Torvalds 已提交
1527
	i8042.direct	[HW] Put keyboard port into non-translated mode
1528 1529
	i8042.dumbkbd	[HW] Pretend that controller can only read data from
			     keyboard and cannot control its state
L
Linus Torvalds 已提交
1530 1531
			     (Don't attempt to blink the leds)
	i8042.noaux	[HW] Don't check for auxiliary (== mouse) port
1532
	i8042.nokbd	[HW] Don't check/create keyboard port
J
Jiri Kosina 已提交
1533 1534
	i8042.noloop	[HW] Disable the AUX Loopback command while probing
			     for the AUX port
L
Linus Torvalds 已提交
1535
	i8042.nomux	[HW] Don't check presence of an active multiplexing
1536
			     controller
L
Linus Torvalds 已提交
1537 1538
	i8042.nopnp	[HW] Don't use ACPIPnP / PnPBIOS to discover KBD/AUX
			     controllers
1539
	i8042.notimeout	[HW] Ignore timeout condition signalled by controller
1540 1541 1542 1543 1544 1545 1546 1547
	i8042.reset	[HW] Reset the controller during init, cleanup and
			     suspend-to-ram transitions, only during s2r
			     transitions, or never reset
			Format: { 1 | Y | y | 0 | N | n }
			1, Y, y: always reset controller
			0, N, n: don't ever reset controller
			Default: only on s2r transitions on x86; most other
			architectures force reset to be always executed
L
Linus Torvalds 已提交
1548
	i8042.unlock	[HW] Unlock (ignore) the keylock
1549
	i8042.kbdreset	[HW] Reset device connected to KBD port
L
Linus Torvalds 已提交
1550 1551 1552

	i810=		[HW,DRM]

1553 1554 1555
	i8k.ignore_dmi	[HW] Continue probing hardware even if DMI data
			indicates that the driver is running on unsupported
			hardware.
L
Linus Torvalds 已提交
1556 1557 1558 1559 1560 1561 1562 1563
	i8k.force	[HW] Activate i8k driver even if SMM BIOS signature
			does not match list of supported models.
	i8k.power_status
			[HW] Report power status in /proc/i8k
			(disabled by default)
	i8k.restricted	[HW] Allow controlling fans only if SYS_ADMIN
			capability is set.

1564
	i915.invert_brightness=
1565 1566
			[DRM] Invert the sense of the variable that is used to
			set the brightness of the panel backlight. Normally a
1567 1568 1569 1570 1571 1572 1573 1574 1575 1576
			brightness value of 0 indicates backlight switched off,
			and the maximum of the brightness value sets the backlight
			to maximum brightness. If this parameter is set to 0
			(default) and the machine requires it, or this parameter
			is set to 1, a brightness value of 0 sets the backlight
			to maximum brightness, and the maximum of the brightness
			value switches the backlight off.
			-1 -- never invert brightness
			 0 -- machine default
			 1 -- force brightness inversion
1577

L
Linus Torvalds 已提交
1578 1579 1580
	icn=		[HW,ISDN]
			Format: <io>[,<membase>[,<icn_id>[,<icn_id2>]]]

1581 1582
	ide-core.nodma=	[HW] (E)IDE subsystem
			Format: =0.0 to prevent dma on hda, =0.1 hdb =1.0 hdc
1583 1584
			.vlb_clock .pci_clock .noflush .nohpa .noprobe .nowerr
			.cdrom .chs .ignore_cable are additional options
1585
			See Documentation/ide/ide.rst.
L
Linus Torvalds 已提交
1586

1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598
	ide-generic.probe-mask= [HW] (E)IDE subsystem
			Format: <int>
			Probe mask for legacy ISA IDE ports.  Depending on
			platform up to 6 ports are supported, enabled by
			setting corresponding bits in the mask to 1.  The
			default value is 0x0, which has a special meaning.
			On systems that have PCI, it triggers scanning the
			PCI bus for the first and the second port, which
			are then probed.  On systems without PCI the value
			of 0x0 enables probing the two first ports as if it
			was 0x3.

1599 1600 1601
	ide-pci-generic.all-generic-ide [HW] (E)IDE subsystem
			Claim all unknown PCI IDE storage controllers.

1602
	idle=		[X86]
1603
			Format: idle=poll, idle=halt, idle=nomwait
1604 1605 1606 1607 1608
			Poll forces a polling idle loop that can slightly
			improve the performance of waking up a idle CPU, but
			will use a lot of power and make the system run hot.
			Not recommended.
			idle=halt: Halt is forced to be used for CPU idle.
Z
Zhao Yakui 已提交
1609
			In such case C2/C3 won't be used again.
1610
			idle=nomwait: Disable mwait for CPU C-states
R
Randy Dunlap 已提交
1611

1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646
	ieee754=	[MIPS] Select IEEE Std 754 conformance mode
			Format: { strict | legacy | 2008 | relaxed }
			Default: strict

			Choose which programs will be accepted for execution
			based on the IEEE 754 NaN encoding(s) supported by
			the FPU and the NaN encoding requested with the value
			of an ELF file header flag individually set by each
			binary.  Hardware implementations are permitted to
			support either or both of the legacy and the 2008 NaN
			encoding mode.

			Available settings are as follows:
			strict	accept binaries that request a NaN encoding
				supported by the FPU
			legacy	only accept legacy-NaN binaries, if supported
				by the FPU
			2008	only accept 2008-NaN binaries, if supported
				by the FPU
			relaxed	accept any binaries regardless of whether
				supported by the FPU

			The FPU emulator is always able to support both NaN
			encodings, so if no FPU hardware is present or it has
			been disabled with 'nofpu', then the settings of
			'legacy' and '2008' strap the emulator accordingly,
			'relaxed' straps the emulator for both legacy-NaN and
			2008-NaN, whereas 'strict' enables legacy-NaN only on
			legacy processors and both NaN encodings on MIPS32 or
			MIPS64 CPUs.

			The setting for ABS.fmt/NEG.fmt instruction execution
			mode generally follows that for the NaN encoding,
			except where unsupported by hardware.

1647 1648 1649
	ignore_loglevel	[KNL]
			Ignore loglevel setting - this will print /all/
			kernel messages to the console. Useful for debugging.
1650 1651 1652
			We also add it as printk module parameter, so users
			could change it dynamically, usually by
			/sys/module/printk/parameters/ignore_loglevel.
1653

1654 1655 1656 1657 1658
	ignore_rlimit_data
			Ignore RLIMIT_DATA setting for data mappings,
			print warning at first misuse.  Can be changed via
			/sys/module/kernel/parameters/ignore_rlimit_data.

L
Linus Torvalds 已提交
1659 1660 1661
	ihash_entries=	[KNL]
			Set number of hash buckets for inode cache.

M
Mimi Zohar 已提交
1662
	ima_appraise=	[IMA] appraise integrity measurements
1663
			Format: { "off" | "enforce" | "fix" | "log" }
M
Mimi Zohar 已提交
1664 1665
			default: "enforce"

1666
	ima_appraise_tcb [IMA] Deprecated.  Use ima_policy= instead.
1667 1668 1669
			The builtin appraise policy appraises all files
			owned by uid=0.

1670 1671 1672 1673
	ima_canonical_fmt [IMA]
			Use the canonical format for the binary runtime
			measurements, instead of host native format.

1674
	ima_hash=	[IMA]
1675 1676
			Format: { md5 | sha1 | rmd160 | sha256 | sha384
				   | sha512 | ... }
1677 1678
			default: "sha1"

1679 1680 1681
			The list of supported hash algorithms is defined
			in crypto/hash_info.h.

M
Mimi Zohar 已提交
1682
	ima_policy=	[IMA]
1683
			The builtin policies to load during IMA setup.
1684 1685
			Format: "tcb | appraise_tcb | secure_boot |
				 fail_securely"
1686 1687 1688 1689 1690 1691 1692

			The "tcb" policy measures all programs exec'd, files
			mmap'd for exec, and all files opened with the read
			mode bit set by either the effective uid (euid=0) or
			uid=0.

			The "appraise_tcb" policy appraises the integrity of
1693
			all files owned by root.
M
Mimi Zohar 已提交
1694

1695 1696 1697
			The "secure_boot" policy appraises the integrity
			of files (eg. kexec kernel image, kernel modules,
			firmware, policy, etc) based on file signatures.
M
Mimi Zohar 已提交
1698

1699 1700 1701 1702 1703
			The "fail_securely" policy forces file signature
			verification failure also on privileged mounted
			filesystems with the SB_I_UNVERIFIABLE_SIGNATURE
			flag.

M
Mimi Zohar 已提交
1704
	ima_tcb		[IMA] Deprecated.  Use ima_policy= instead.
1705 1706 1707 1708 1709
			Load a policy which meets the needs of the Trusted
			Computing Base.  This means IMA will measure all
			programs exec'd, files mmap'd for exec, and all files
			opened for read by uid=0.

1710
	ima_template=	[IMA]
1711
			Select one of defined IMA measurements template formats.
1712
			Formats: { "ima" | "ima-ng" | "ima-sig" }
1713 1714
			Default: "ima-ng"

1715
	ima_template_fmt=
1716
			[IMA] Define a custom template format.
1717 1718
			Format: { "field1|...|fieldN" }

1719 1720 1721 1722 1723 1724 1725 1726 1727
	ima.ahash_minsize= [IMA] Minimum file size for asynchronous hash usage
			Format: <min_file_size>
			Set the minimal file size for using asynchronous hash.
			If left unspecified, ahash usage is disabled.

			ahash performance varies for different data sizes on
			different crypto accelerators. This option can be used
			to achieve the best performance for a particular HW.

1728 1729 1730 1731 1732 1733 1734 1735
	ima.ahash_bufsize= [IMA] Asynchronous hash buffer size
			Format: <bufsize>
			Set hashing buffer size. Default: 4k.

			ahash performance varies for different chunk sizes on
			different crypto accelerators. This option can be used
			to achieve best performance for particular HW.

L
Linus Torvalds 已提交
1736 1737 1738 1739 1740 1741 1742 1743 1744
	init=		[KNL]
			Format: <full_path>
			Run specified binary instead of /sbin/init as init
			process.

	initcall_debug	[KNL] Trace initcalls as they are executed.  Useful
			for working out where the kernel is dying during
			startup.

1745 1746 1747 1748
	initcall_blacklist=  [KNL] Do not execute a comma-separated list of
			initcall functions.  Useful for debugging built-in
			modules and initcalls.

L
Linus Torvalds 已提交
1749 1750
	initrd=		[BOOT] Specify the location of the initial ramdisk

1751 1752 1753 1754 1755 1756 1757 1758 1759
	init_on_alloc=	[MM] Fill newly allocated pages and heap objects with
			zeroes.
			Format: 0 | 1
			Default set by CONFIG_INIT_ON_ALLOC_DEFAULT_ON.

	init_on_free=	[MM] Fill freed pages and heap objects with zeroes.
			Format: 0 | 1
			Default set by CONFIG_INIT_ON_FREE_DEFAULT_ON.

1760 1761 1762 1763 1764
	init_pkru=	[x86] Specify the default memory protection keys rights
			register contents for all processes.  0x55555554 by
			default (disallow access to all but pkey 0).  Can
			override in debugfs after boot.

L
Linus Torvalds 已提交
1765 1766 1767
	inport.irq=	[HW] Inport (ATI XL and Microsoft) busmouse driver
			Format: <irq>

1768
	int_pln_enable	[x86] Enable power limit notification interrupt
1769

1770 1771 1772 1773 1774
	integrity_audit=[IMA]
			Format: { "0" | "1" }
			0 -- basic integrity auditing messages. (Default)
			1 -- additional integrity auditing messages.

1775
	intel_iommu=	[DMAR] Intel IOMMU driver (DMAR) option
1776 1777
		on
			Enable intel iommu driver.
1778 1779 1780 1781 1782 1783 1784 1785
		off
			Disable intel iommu driver.
		igfx_off [Default Off]
			By default, gfx is mapped as normal device. If a gfx
			device has a dedicated DMAR unit, the DMAR unit is
			bypassed by not enabling DMAR with this option. In
			this case, gfx device will use physical address for
			DMA.
1786 1787
		forcedac [x86_64]
			With this option iommu will not optimize to look
1788
			for io virtual address below 32-bit forcing dual
1789
			address cycle on pci bus for cards supporting greater
1790 1791
			than 32-bit addressing. The default is to look
			for translation below 32-bit and if not available
1792
			then look in the higher range.
M
mark gross 已提交
1793 1794 1795 1796
		strict [Default Off]
			With this option on every unmap_single operation will
			result in a hardware IOTLB flush operation as opposed
			to batching them for performance.
1797 1798 1799 1800
		sp_off [Default Off]
			By default, super page will be supported if Intel IOMMU
			has the capability. With this option, super page will
			not be supported.
1801 1802
		sm_on [Default Off]
			By default, scalable mode will be disabled even if the
1803 1804
			hardware advertises that it has support for the scalable
			mode translation. With this option set, scalable mode
1805
			will be used on hardware which claims to support it.
1806 1807 1808 1809 1810 1811 1812 1813 1814
		tboot_noforce [Default Off]
			Do not force the Intel IOMMU enabled under tboot.
			By default, tboot will force Intel IOMMU on, which
			could harm performance of some high-throughput
			devices like 40GBit network cards, even if identity
			mapping is enabled.
			Note that using this option lowers the security
			provided by tboot because it makes the system
			vulnerable to DMA attacks.
1815
		nobounce [Default off]
1816
			Disable bounce buffer for untrusted devices such as
1817 1818 1819
			the Thunderbolt devices. This will treat the untrusted
			devices as the trusted ones, hence might expose security
			risks of DMA attacks.
1820 1821 1822

	intel_idle.max_cstate=	[KNL,HW,ACPI,X86]
			0	disables intel_idle and fall back on acpi_idle.
1823
			1 to 9	specify maximum depth of C-state.
1824

1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857
	intel_pstate=	[X86]
			disable
			  Do not enable intel_pstate as the default
			  scaling driver for the supported processors
			passive
			  Use intel_pstate as a scaling driver, but configure it
			  to work with generic cpufreq governors (instead of
			  enabling its internal governor).  This mode cannot be
			  used along with the hardware-managed P-states (HWP)
			  feature.
			force
			  Enable intel_pstate on systems that prohibit it by default
			  in favor of acpi-cpufreq. Forcing the intel_pstate driver
			  instead of acpi-cpufreq may disable platform features, such
			  as thermal controls and power capping, that rely on ACPI
			  P-States information being indicated to OSPM and therefore
			  should be used with caution. This option does not work with
			  processors that aren't supported by the intel_pstate driver
			  or on platforms that use pcc-cpufreq instead of acpi-cpufreq.
			no_hwp
			  Do not enable hardware P state control (HWP)
			  if available.
			hwp_only
			  Only load intel_pstate on systems which support
			  hardware P state control (HWP) if available.
			support_acpi_ppc
			  Enforce ACPI _PPC performance limits. If the Fixed ACPI
			  Description Table, specifies preferred power management
			  profile as "Enterprise Server" or "Performance Server",
			  then this feature is turned on by default.
			per_cpu_perf_limits
			  Allow per-logical-CPU P-State performance control limits using
			  cpufreq sysfs interface
1858

1859 1860 1861 1862
	intremap=	[X86-64, Intel-IOMMU]
			on	enable Interrupt Remapping (default)
			off	disable Interrupt Remapping
			nosid	disable Source ID checking
1863 1864
			no_x2apic_optout
				BIOS x2APIC opt-out request will be ignored
1865
			nopost	disable Interrupt Posting
1866

1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880
	iomem=		Disable strict checking of access to MMIO memory
		strict	regions from userspace.
		relaxed

	iommu=		[x86]
		off
		force
		noforce
		biomerge
		panic
		nopanic
		merge
		nomerge
		soft
1881 1882
		pt		[x86]
		nopt		[x86]
1883 1884
		nobypass	[PPC/POWERNV]
			Disable IOMMU bypass, using IOMMU for PCI devices.
1885

1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897
	iommu.strict=	[ARM64] Configure TLB invalidation behaviour
			Format: { "0" | "1" }
			0 - Lazy mode.
			  Request that DMA unmap operations use deferred
			  invalidation of hardware TLBs, for increased
			  throughput at the cost of reduced device isolation.
			  Will fall back to strict mode if not supported by
			  the relevant IOMMU driver.
			1 - Strict mode (default).
			  DMA unmap operations invalidate IOMMU hardware TLBs
			  synchronously.

1898
	iommu.passthrough=
1899
			[ARM64, X86] Configure DMA to bypass the IOMMU by default.
1900 1901 1902
			Format: { "0" | "1" }
			0 - Use IOMMU translation for DMA.
			1 - Bypass the IOMMU for DMA.
1903
			unset - Use value of CONFIG_IOMMU_DEFAULT_PASSTHROUGH.
1904 1905 1906 1907 1908

	io7=		[HW] IO7 for Marvel based alpha systems
			See comment before marvel_specify_io7 in
			arch/alpha/kernel/core_marvel.c.

1909
	io_delay=	[X86] I/O delay method
1910 1911 1912 1913
		0x80
			Standard port 0x80 based delay
		0xed
			Alternate port 0xed based delay (needed on some systems)
1914
		udelay
1915 1916 1917
			Simple two microseconds delay
		none
			No delay
1918

L
Linus Torvalds 已提交
1919
	ip=		[IP_PNP]
1920
			See Documentation/admin-guide/nfs/nfsroot.rst.
L
Linus Torvalds 已提交
1921

1922 1923 1924
	ipcmni_extend	[KNL] Extend the maximum number of unique System V
			IPC identifiers from 32,768 to 16,777,216.

1925
	irqaffinity=	[SMP] Set the default irq affinity mask
N
Noam Camus 已提交
1926
			The argument is a cpu list, as described above.
1927

1928 1929 1930 1931 1932 1933 1934
	irqchip.gicv2_force_probe=
			[ARM, ARM64]
			Format: <bool>
			Force the kernel to look for the second 4kB page
			of a GICv2 controller even if the memory range
			exposed by the device tree is too small.

1935 1936 1937 1938 1939 1940 1941 1942
	irqchip.gicv3_nolpi=
			[ARM, ARM64]
			Force the kernel to ignore the availability of
			LPIs (and by consequence ITSs). Intended for system
			that use the kernel as a bootloader, and thus want
			to let secondary kernels in charge of setting up
			LPIs.

1943 1944 1945 1946 1947
	irqchip.gicv3_pseudo_nmi= [ARM64]
			Enables support for pseudo-NMIs in the kernel. This
			requires the kernel to be built with
			CONFIG_ARM64_PSEUDO_NMI.

A
Alan Cox 已提交
1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958
	irqfixup	[HW]
			When an interrupt is not handled search all handlers
			for it. Intended to get systems with badly broken
			firmware running.

	irqpoll		[HW]
			When an interrupt is not handled search all handlers
			for it. Also check all handlers each timer
			interrupt. Intended to get systems with badly broken
			firmware running.

L
Linus Torvalds 已提交
1959
	isapnp=		[ISAPNP]
R
Randy Dunlap 已提交
1960
			Format: <RDP>,<reset>,<pci_scan>,<verbosity>
L
Linus Torvalds 已提交
1961

1962
	isolcpus=	[KNL,SMP,ISOL] Isolate a given set of CPUs from disturbance.
1963 1964 1965 1966 1967 1968 1969 1970
			[Deprecated - use cpusets instead]
			Format: [flag-list,]<cpu-list>

			Specify one or more CPUs to isolate from disturbances
			specified in the flag list (default: domain):

			nohz
			  Disable the tick when a single task runs.
1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981

			  A residual 1Hz tick is offloaded to workqueues, which you
			  need to affine to housekeeping through the global
			  workqueue's affinity configured via the
			  /sys/devices/virtual/workqueue/cpumask sysfs file, or
			  by using the 'domain' flag described below.

			  NOTE: by default the global workqueue runs on all CPUs,
			  so to protect individual CPUs the 'cpumask' file has to
			  be configured manually after bootup.

1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996
			domain
			  Isolate from the general SMP balancing and scheduling
			  algorithms. Note that performing domain isolation this way
			  is irreversible: it's not possible to bring back a CPU to
			  the domains once isolated through isolcpus. It's strongly
			  advised to use cpusets instead to disable scheduler load
			  balancing through the "cpuset.sched_load_balance" file.
			  It offers a much more flexible interface where CPUs can
			  move in and out of an isolated set anytime.

			  You can move a process onto or off an "isolated" CPU via
			  the CPU affinity syscalls or cpuset.
			  <cpu number> begins at 0 and the maximum value is
			  "number of CPUs in system - 1".

1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019
			managed_irq

			  Isolate from being targeted by managed interrupts
			  which have an interrupt mask containing isolated
			  CPUs. The affinity of managed interrupts is
			  handled by the kernel and cannot be changed via
			  the /proc/irq/* interfaces.

			  This isolation is best effort and only effective
			  if the automatically assigned interrupt mask of a
			  device queue contains isolated and housekeeping
			  CPUs. If housekeeping CPUs are online then such
			  interrupts are directed to the housekeeping CPU
			  so that IO submitted on the housekeeping CPU
			  cannot disturb the isolated CPU.

			  If a queue's affinity mask contains only isolated
			  CPUs then this parameter has no effect on the
			  interrupt routing decision, though interrupts are
			  only delivered when tasks running on those
			  isolated CPUs submit IO. IO submitted on
			  housekeeping CPUs has no influence on those
			  queues.
L
Linus Torvalds 已提交
2020

2021
			The format of <cpu-list> is described above.
L
Linus Torvalds 已提交
2022

R
Randy Dunlap 已提交
2023
	iucv=		[HW,NET]
L
Linus Torvalds 已提交
2024

2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038
	ivrs_ioapic	[HW,X86_64]
			Provide an override to the IOAPIC-ID<->DEVICE-ID
			mapping provided in the IVRS ACPI table. For
			example, to map IOAPIC-ID decimal 10 to
			PCI device 00:14.0 write the parameter as:
				ivrs_ioapic[10]=00:14.0

	ivrs_hpet	[HW,X86_64]
			Provide an override to the HPET-ID<->DEVICE-ID
			mapping provided in the IVRS ACPI table. For
			example, to map HPET-ID decimal 0 to
			PCI device 00:14.0 write the parameter as:
				ivrs_hpet[0]=00:14.0

2039 2040 2041 2042 2043 2044 2045
	ivrs_acpihid	[HW,X86_64]
			Provide an override to the ACPI-HID:UID<->DEVICE-ID
			mapping provided in the IVRS ACPI table. For
			example, to map UART-HID:UID AMD0020:0 to
			PCI device 00:14.5 write the parameter as:
				ivrs_acpihid[00:14.5]=AMD0020:0

L
Linus Torvalds 已提交
2046
	js=		[HW,JOY] Analog joystick
2047
			See Documentation/input/joydev/joystick.rst.
L
Linus Torvalds 已提交
2048

2049 2050 2051 2052
	nokaslr		[KNL]
			When CONFIG_RANDOMIZE_BASE is set, this disables
			kernel and module base offset ASLR (Address Space
			Layout Randomization).
2053

2054 2055 2056 2057 2058 2059
	kasan_multi_shot
			[KNL] Enforce KASAN (Kernel Address Sanitizer) to print
			report on every invalid memory access. Without this
			parameter KASAN will print report only for the first
			invalid access.

2060 2061
	keepinitrd	[HW,ARM]

2062
	kernelcore=	[KNL,X86,IA-64,PPC]
2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076
			Format: nn[KMGTPE] | nn% | "mirror"
			This parameter specifies the amount of memory usable by
			the kernel for non-movable allocations.  The requested
			amount is spread evenly throughout all nodes in the
			system as ZONE_NORMAL.  The remaining memory is used for
			movable memory in its own zone, ZONE_MOVABLE.  In the
			event, a node is too small to have both ZONE_NORMAL and
			ZONE_MOVABLE, kernelcore memory will take priority and
			other nodes will have a larger ZONE_MOVABLE.

			ZONE_MOVABLE is used for the allocation of pages that
			may be reclaimed or moved by the page migration
			subsystem.  Note that allocations like PTEs-from-HighMem
			still use the HighMem zone if it exists, and the Normal
M
Mel Gorman 已提交
2077 2078
			zone if it does not.

2079 2080 2081
			It is possible to specify the exact amount of memory in
			the form of "nn[KMGTPE]", a percentage of total system
			memory in the form of "nn%", or "mirror".  If "mirror"
2082 2083
			option is specified, mirrored (reliable) memory is used
			for non-movable allocations and remaining memory is used
2084 2085
			for Movable pages.  "nn[KMGTPE]", "nn%", and "mirror"
			are exclusive, so you cannot specify multiple forms.
M
Mel Gorman 已提交
2086

2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097
	kgdbdbgp=	[KGDB,HW] kgdb over EHCI usb debug port.
			Format: <Controller#>[,poll interval]
			The controller # is the number of the ehci usb debug
			port as it is probed via PCI.  The poll interval is
			optional and is the number seconds in between
			each poll cycle to the debug port in case you need
			the functionality for interrupting the kernel with
			gdb or control-c on the dbgp connection.  When
			not using this parameter you use sysrq-g to break into
			the kernel debugger.

2098
	kgdboc=		[KGDB,HW] kgdb over consoles.
2099 2100
			Requires a tty driver that supports console polling,
			or a supported polling keyboard driver (non-usb).
2101 2102 2103 2104 2105 2106
			 Serial only format: <serial_device>[,baud]
			 keyboard only format: kbd
			 keyboard and serial format: kbd,<serial_device>[,baud]
			Optional Kernel mode setting:
			 kms, kbd format: kms,kbd
			 kms, kbd and serial format: kms,kbd,<ser_dev>[,baud]
J
Jason Wessel 已提交
2107

2108 2109 2110
	kgdbwait	[KGDB] Stop kernel execution and enter the
			kernel debugger at the earliest opportunity.

2111 2112 2113 2114
	kmac=		[MIPS] korina ethernet MAC address.
			Configure the RouterBoard 532 series on-chip
			Ethernet adapter MAC address.

2115 2116 2117
	kmemleak=	[KNL] Boot-time kmemleak enable/disable
			Valid arguments: on, off
			Default: on
2118 2119
			Built with CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=y,
			the default is off.
2120

2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133
	kprobe_event=[probe-list]
			[FTRACE] Add kprobe events and enable at boot time.
			The probe-list is a semicolon delimited list of probe
			definitions. Each definition is same as kprobe_events
			interface, but the parameters are comma delimited.
			For example, to add a kprobe event on vfs_read with
			arg1 and arg2, add to the command line;

			      kprobe_event=p,vfs_read,$arg1,$arg2

			See also Documentation/trace/kprobetrace.rst "Kernel
			Boot Parameter" section.

2134 2135 2136 2137 2138 2139
	kpti=		[ARM64] Control page table isolation of user
			and kernel address spaces.
			Default: enabled on cores which need mitigation.
			0: force disabled
			1: force enabled

2140 2141 2142
	kvm.ignore_msrs=[KVM] Ignore guest accesses to unhandled MSRs.
			Default is 0 (don't ignore, but inject #GP)

2143 2144 2145
	kvm.enable_vmware_backdoor=[KVM] Support VMware backdoor PV interface.
				   Default is false (don't support).

2146 2147
	kvm.mmu_audit=	[KVM] This is a R/W parameter which allows audit
			KVM MMU at runtime.
2148 2149
			Default is 0 (off)

P
Paolo Bonzini 已提交
2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162
	kvm.nx_huge_pages=
			[KVM] Controls the software workaround for the
			X86_BUG_ITLB_MULTIHIT bug.
			force	: Always deploy workaround.
			off	: Never deploy workaround.
			auto    : Deploy workaround based on the presence of
				  X86_BUG_ITLB_MULTIHIT.

			Default is 'auto'.

			If the software workaround is enabled for the host,
			guests do need not to enable it for nested guests.

2163 2164 2165 2166 2167 2168
	kvm.nx_huge_pages_recovery_ratio=
			[KVM] Controls how many 4KiB pages are periodically zapped
			back to huge pages.  0 disables the recovery, otherwise if
			the value is N KVM will zap 1/Nth of the 4KiB pages every
			minute.  The default is 60.

2169
	kvm-amd.nested=	[KVM,AMD] Allow nested virtualization in KVM/SVM.
2170
			Default is 1 (enabled)
2171 2172 2173

	kvm-amd.npt=	[KVM,AMD] Disable nested paging (virtualized MMU)
			for all guests.
2174
			Default is 1 (enabled) if in 64-bit or 32-bit PAE mode.
2175

2176 2177 2178 2179
	kvm-arm.vgic_v3_group0_trap=
			[KVM,ARM] Trap guest accesses to GICv3 group-0
			system registers

2180 2181 2182 2183
	kvm-arm.vgic_v3_group1_trap=
			[KVM,ARM] Trap guest accesses to GICv3 group-1
			system registers

2184 2185 2186 2187
	kvm-arm.vgic_v3_common_trap=
			[KVM,ARM] Trap guest accesses to GICv3 common
			system registers

2188 2189 2190 2191
	kvm-arm.vgic_v4_enable=
			[KVM,ARM] Allow use of GICv4 for direct injection of
			LPIs.

2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203
	kvm-intel.ept=	[KVM,Intel] Disable extended page tables
			(virtualized MMU) support on capable Intel chips.
			Default is 1 (enabled)

	kvm-intel.emulate_invalid_guest_state=
			[KVM,Intel] Enable emulation of invalid guest states
			Default is 0 (disabled)

	kvm-intel.flexpriority=
			[KVM,Intel] Disable FlexPriority feature (TPR shadow).
			Default is 1 (enabled)

2204 2205 2206 2207
	kvm-intel.nested=
			[KVM,Intel] Enable VMX nesting (nVMX).
			Default is 0 (disabled)

2208 2209 2210 2211 2212
	kvm-intel.unrestricted_guest=
			[KVM,Intel] Disable unrestricted guest feature
			(virtualized real and unpaged mode) on capable
			Intel chips. Default is 1 (enabled)

2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224
	kvm-intel.vmentry_l1d_flush=[KVM,Intel] Mitigation for L1 Terminal Fault
			CVE-2018-3620.

			Valid arguments: never, cond, always

			always: L1D cache flush on every VMENTER.
			cond:	Flush L1D on VMENTER only when the code between
				VMEXIT and VMENTER can leak host memory.
			never:	Disables the mitigation

			Default is cond (do L1 cache flush in specific instances)

2225 2226 2227 2228
	kvm-intel.vpid=	[KVM,Intel] Disable Virtual Processor Identification
			feature (tagged TLBs) on capable Intel chips.
			Default is 1 (enabled)

2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285
	l1tf=           [X86] Control mitigation of the L1TF vulnerability on
			      affected CPUs

			The kernel PTE inversion protection is unconditionally
			enabled and cannot be disabled.

			full
				Provides all available mitigations for the
				L1TF vulnerability. Disables SMT and
				enables all mitigations in the
				hypervisors, i.e. unconditional L1D flush.

				SMT control and L1D flush control via the
				sysfs interface is still possible after
				boot.  Hypervisors will issue a warning
				when the first VM is started in a
				potentially insecure configuration,
				i.e. SMT enabled or L1D flush disabled.

			full,force
				Same as 'full', but disables SMT and L1D
				flush runtime control. Implies the
				'nosmt=force' command line option.
				(i.e. sysfs control of SMT is disabled.)

			flush
				Leaves SMT enabled and enables the default
				hypervisor mitigation, i.e. conditional
				L1D flush.

				SMT control and L1D flush control via the
				sysfs interface is still possible after
				boot.  Hypervisors will issue a warning
				when the first VM is started in a
				potentially insecure configuration,
				i.e. SMT enabled or L1D flush disabled.

			flush,nosmt

				Disables SMT and enables the default
				hypervisor mitigation.

				SMT control and L1D flush control via the
				sysfs interface is still possible after
				boot.  Hypervisors will issue a warning
				when the first VM is started in a
				potentially insecure configuration,
				i.e. SMT enabled or L1D flush disabled.

			flush,nowarn
				Same as 'flush', but hypervisors will not
				warn when a VM is started in a potentially
				insecure configuration.

			off
				Disables hypervisor mitigations and doesn't
				emit any warnings.
2286 2287 2288
				It also drops the swap size and available
				RAM limit restriction on both hypervisor and
				bare metal.
2289 2290 2291

			Default is 'flush'.

2292
			For details see: Documentation/admin-guide/hw-vuln/l1tf.rst
2293

L
Linus Torvalds 已提交
2294 2295
	l2cr=		[PPC]

2296 2297
	l3cr=		[PPC]

2298
	lapic		[X86-32,APIC] Enable the local APIC even if BIOS
R
Randy Dunlap 已提交
2299
			disabled it.
L
Linus Torvalds 已提交
2300

2301 2302 2303 2304
	lapic=		[x86,APIC] "notscdeadline" Do not use TSC deadline
			value for LAPIC timer one-shot implementation. Default
			back to the programmable timer unit in the LAPIC.

2305
	lapic_timer_c2_ok	[X86,APIC] trust the local apic timer
2306
			in C2 power state.
2307

2308 2309 2310 2311
	libata.dma=	[LIBATA] DMA control
			libata.dma=0	  Disable all PATA and SATA DMA
			libata.dma=1	  PATA and SATA Disk DMA only
			libata.dma=2	  ATAPI (CDROM) DMA only
2312
			libata.dma=4	  Compact Flash DMA only
2313 2314
			Combinations also work, so libata.dma=3 enables DMA
			for disks and CDROMs, but not CFs.
2315

2316 2317 2318
	libata.ignore_hpa=	[LIBATA] Ignore HPA limit
			libata.ignore_hpa=0	  keep BIOS limits (default)
			libata.ignore_hpa=1	  ignore limits, using full disk
2319

2320 2321 2322 2323
	libata.noacpi	[LIBATA] Disables use of ACPI in libata suspend/resume
			when set.
			Format: <int>

2324 2325
	libata.force=	[LIBATA] Force configurations.  The format is comma
			separated list of "[ID:]VAL" where ID is
2326
			PORT[.DEVICE].  PORT and DEVICE are decimal numbers
2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355
			matching port, link or device.  Basically, it matches
			the ATA ID string printed on console by libata.  If
			the whole ID part is omitted, the last PORT and DEVICE
			values are used.  If ID hasn't been specified yet, the
			configuration applies to all ports, links and devices.

			If only DEVICE is omitted, the parameter applies to
			the port and all links and devices behind it.  DEVICE
			number of 0 either selects the first device or the
			first fan-out link behind PMP device.  It does not
			select the host link.  DEVICE number of 15 selects the
			host link and device attached to it.

			The VAL specifies the configuration to force.  As long
			as there's no ambiguity shortcut notation is allowed.
			For example, both 1.5 and 1.5G would work for 1.5Gbps.
			The following configurations can be forced.

			* Cable type: 40c, 80c, short40c, unk, ign or sata.
			  Any ID with matching PORT is used.

			* SATA link speed limit: 1.5Gbps or 3.0Gbps.

			* Transfer mode: pio[0-7], mwdma[0-4] and udma[0-7].
			  udma[/][16,25,33,44,66,100,133] notation is also
			  allowed.

			* [no]ncq: Turn on or off NCQ.

2356 2357
			* [no]ncqtrim: Turn off queued DSM TRIM.

2358
			* nohrst, nosrst, norst: suppress hard, soft
2359
			  and both resets.
2360

D
Dan Williams 已提交
2361 2362 2363
			* rstonce: only attempt one reset during
			  hot-unplug link recovery

2364 2365
			* dump_id: dump IDENTIFY data.

2366 2367
			* atapi_dmadir: Enable ATAPI DMADIR bridge support

2368 2369
			* disable: Disable this device.

2370 2371 2372
			If there are multiple matching configurations changing
			the same attribute, the last one is used.

Y
Yinghai Lu 已提交
2373
	memblock=debug	[KNL] Enable memblock debug messages.
2374

L
Linus Torvalds 已提交
2375
	load_ramdisk=	[RAM] List of ramdisks to load from floppy
2376
			See Documentation/admin-guide/blockdev/ramdisk.rst.
L
Linus Torvalds 已提交
2377

2378 2379
	lockd.nlm_grace_period=P  [NFS] Assign grace period.
			Format: <integer>
L
Linus Torvalds 已提交
2380

2381 2382 2383 2384 2385 2386 2387 2388
	lockd.nlm_tcpport=N	[NFS] Assign TCP port.
			Format: <integer>

	lockd.nlm_timeout=T	[NFS] Assign timeout value.
			Format: <integer>

	lockd.nlm_udpport=M	[NFS] Assign UDP port.
			Format: <integer>
L
Linus Torvalds 已提交
2389

2390 2391 2392 2393 2394 2395 2396 2397 2398
	lockdown=	[SECURITY]
			{ integrity | confidentiality }
			Enable the kernel lockdown feature. If set to
			integrity, kernel features that allow userland to
			modify the running kernel are disabled. If set to
			confidentiality, kernel features that allow userland
			to extract confidential information from the kernel
			are also disabled.

2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438
	locktorture.nreaders_stress= [KNL]
			Set the number of locking read-acquisition kthreads.
			Defaults to being automatically set based on the
			number of online CPUs.

	locktorture.nwriters_stress= [KNL]
			Set the number of locking write-acquisition kthreads.

	locktorture.onoff_holdoff= [KNL]
			Set time (s) after boot for CPU-hotplug testing.

	locktorture.onoff_interval= [KNL]
			Set time (s) between CPU-hotplug operations, or
			zero to disable CPU-hotplug testing.

	locktorture.shuffle_interval= [KNL]
			Set task-shuffle interval (jiffies).  Shuffling
			tasks allows some CPUs to go into dyntick-idle
			mode during the locktorture test.

	locktorture.shutdown_secs= [KNL]
			Set time (s) after boot system shutdown.  This
			is useful for hands-off automated testing.

	locktorture.stat_interval= [KNL]
			Time (s) between statistics printk()s.

	locktorture.stutter= [KNL]
			Time (s) to stutter testing, for example,
			specifying five seconds causes the test to run for
			five seconds, wait for five seconds, and so on.
			This tests the locking primitive's ability to
			transition abruptly to and from idle.

	locktorture.torture_type= [KNL]
			Specify the locking implementation to test.

	locktorture.verbose= [KNL]
			Enable additional printk() statements.

L
Linus Torvalds 已提交
2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455
	logibm.irq=	[HW,MOUSE] Logitech Bus Mouse Driver
			Format: <irq>

	loglevel=	All Kernel Messages with a loglevel smaller than the
			console loglevel will be printed to the console. It can
			also be changed with klogd or other programs. The
			loglevels are defined as follows:

			0 (KERN_EMERG)		system is unusable
			1 (KERN_ALERT)		action must be taken immediately
			2 (KERN_CRIT)		critical conditions
			3 (KERN_ERR)		error conditions
			4 (KERN_WARNING)	warning conditions
			5 (KERN_NOTICE)		normal but significant condition
			6 (KERN_INFO)		informational
			7 (KERN_DEBUG)		debug-level messages

2456
	log_buf_len=n[KMG]	Sets the size of the printk ring buffer,
2457 2458 2459 2460 2461 2462
			in bytes.  n must be a power of two and greater
			than the minimal size. The minimal size is defined
			by LOG_BUF_SHIFT kernel config parameter. There is
			also CONFIG_LOG_CPU_MAX_BUF_SHIFT config parameter
			that allows to increase the default size depending on
			the number of CPUs. See init/Kconfig for more details.
L
Linus Torvalds 已提交
2463

R
Randy Dunlap 已提交
2464 2465 2466 2467 2468
	logo.nologo	[FB] Disables display of the built-in Linux logo.
			This may be used to provide more screen space for
			kernel log messages and is useful when debugging
			kernel boot problems.

L
Linus Torvalds 已提交
2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502
	lp=0		[LP]	Specify parallel ports to use, e.g,
	lp=port[,port...]	lp=none,parport0 (lp0 not configured, lp1 uses
	lp=reset		first parallel port). 'lp=0' disables the
	lp=auto			printer driver. 'lp=reset' (which can be
				specified in addition to the ports) causes
				attached printers to be reset. Using
				lp=port1,port2,... specifies the parallel ports
				to associate lp devices with, starting with
				lp0. A port specification may be 'none' to skip
				that lp device, or a parport name such as
				'parport0'. Specifying 'lp=auto' instead of a
				port specification list means that device IDs
				from each port should be examined, to see if
				an IEEE 1284-compliant printer is attached; if
				so, the driver will manage that printer.
				See also header of drivers/char/lp.c.

	lpj=n		[KNL]
			Sets loops_per_jiffy to given constant, thus avoiding
			time-consuming boot-time autodetection (up to 250 ms per
			CPU). 0 enables autodetection (default). To determine
			the correct value for your kernel, boot with normal
			autodetection and see what value is printed. Note that
			on SMP systems the preset will be applied to all CPUs,
			which is likely to cause problems if your CPUs need
			significantly divergent settings. An incorrect value
			will cause delays in the kernel to be wrong, leading to
			unpredictable I/O errors and other breakage. Although
			unlikely, in the extreme case this might damage your
			hardware.

	ltpc=		[NET]
			Format: <io>,<irq>,<dma>

2503 2504
	lsm.debug	[SECURITY] Enable LSM initialization debugging output.

2505 2506
	lsm=lsm1,...,lsmN
			[SECURITY] Choose order of LSM initialization. This
2507
			overrides CONFIG_LSM, and the "security=" parameter.
2508

2509
	machvec=	[IA-64] Force the use of a particular machine-vector
R
Randy Dunlap 已提交
2510
			(machvec) in a generic kernel.
2511
			Example: machvec=hpzx1
L
Linus Torvalds 已提交
2512

2513 2514 2515 2516
	machtype=	[Loongson] Share the same kernel image file between different
			 yeeloong laptop.
			Example: machtype=lemote-yeeloong-2f-7inch

2517 2518
	max_addr=nn[KMG]	[KNL,BOOT,ia64] All physical memory greater
			than or equal to this physical address is ignored.
L
Linus Torvalds 已提交
2519 2520

	maxcpus=	[SMP] Maximum number of processors that	an SMP kernel
2521 2522 2523 2524 2525 2526 2527
			will bring up during bootup.  maxcpus=n : n >= 0 limits
			the kernel to bring up 'n' processors. Surely after
			bootup you can bring up the other plugged cpu by executing
			"echo 1 > /sys/devices/system/cpu/cpuX/online". So maxcpus
			only takes effect during system bootup.
			While n=0 is a special case, it is equivalent to "nosmp",
			which also disables the IO APIC.
L
Linus Torvalds 已提交
2528

2529 2530 2531 2532 2533 2534
	max_loop=	[LOOP] The number of loop block devices that get
	(loop.max_loop)	unconditionally pre-created at init time. The default
			number is configured by BLK_DEV_LOOP_MIN_COUNT. Instead
			of statically allocating a predefined number, loop
			devices can be requested on-demand with the
			/dev/loop-control interface.
B
Bob Picco 已提交
2535

2536
	mce		[X86-32] Machine Check Exception
L
Linus Torvalds 已提交
2537

2538
	mce=option	[X86-64] See Documentation/x86/x86_64/boot-options.rst
2539

L
Linus Torvalds 已提交
2540
	md=		[HW] RAID subsystems devices and level
2541
			See Documentation/admin-guide/md.rst.
R
Randy Dunlap 已提交
2542

L
Linus Torvalds 已提交
2543 2544 2545
	mdacon=		[MDA]
			Format: <first>,<last>
			Specifies range of consoles to be captured by the MDA.
R
Randy Dunlap 已提交
2546

2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562
	mds=		[X86,INTEL]
			Control mitigation for the Micro-architectural Data
			Sampling (MDS) vulnerability.

			Certain CPUs are vulnerable to an exploit against CPU
			internal buffers which can forward information to a
			disclosure gadget under certain conditions.

			In vulnerable processors, the speculatively
			forwarded data can be used in a cache side channel
			attack, to access data to which the attacker does
			not have direct access.

			This parameter controls the MDS mitigation. The
			options are:

2563 2564 2565 2566
			full       - Enable MDS mitigation on vulnerable CPUs
			full,nosmt - Enable MDS mitigation and disable
				     SMT on vulnerable CPUs
			off        - Unconditionally disable MDS mitigation
2567

2568 2569 2570 2571 2572 2573
			On TAA-affected machines, mds=off can be prevented by
			an active TAA mitigation as both vulnerabilities are
			mitigated with the same mechanism so in order to disable
			this mitigation, you need to specify tsx_async_abort=off
			too.

2574 2575 2576
			Not specifying this option is equivalent to
			mds=full.

2577 2578
			For details see: Documentation/admin-guide/hw-vuln/mds.rst

L
Linus Torvalds 已提交
2579
	mem=nn[KMG]	[KNL,BOOT] Force usage of a specific amount of memory
2580 2581 2582 2583 2584 2585 2586
			Amount of memory to be used in cases as follows:

			1 for test;
			2 when the kernel is not able to see the whole system memory;
			3 memory that lies after 'mem=' boundary is excluded from
			 the hypervisor, then assigned to KVM guests.

2587 2588 2589 2590
			[X86] Work as limiting max address. Use together
			with memmap= to avoid physical address space collisions.
			Without memmap= PCI devices could be placed at addresses
			belonging to unused RAM.
L
Linus Torvalds 已提交
2591

2592 2593 2594 2595
			Note that this only takes effects during boot time since
			in above case 3, memory may need be hot added after boot
			if system memory of hypervisor is not sufficient.

2596
	mem=nopentium	[BUGS=X86-32] Disable usage of 4MB pages for kernel
L
Linus Torvalds 已提交
2597 2598
			memory.

2599 2600 2601 2602
	memchunk=nn[KMG]
			[KNL,SH] Allow user to override the default size for
			per-device physically contiguous DMA buffers.

2603
	memhp_default_state=online/offline
2604 2605 2606 2607 2608
			[KNL] Set the initial state for the memory hotplug
			onlining policy. If not specified, the default value is
			set according to the
			CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE kernel config
			option.
2609
			See Documentation/admin-guide/mm/memory-hotplug.rst.
2610

2611
	memmap=exactmap	[KNL,X86] Enable setting of an exact
L
Linus Torvalds 已提交
2612 2613 2614 2615 2616 2617
			E820 memory map, as specified by the user.
			Such memmap=exactmap lines can be constructed based on
			BIOS output or other requirements. See the memmap=nn@ss
			option description.

	memmap=nn[KMG]@ss[KMG]
2618 2619
			[KNL] Force usage of a specific region of memory.
			Region of memory to be used is from ss to ss+nn.
2620 2621 2622 2623 2624 2625
			If @ss[KMG] is omitted, it is equivalent to mem=nn[KMG],
			which limits max address to nn[KMG].
			Multiple different regions can be specified,
			comma delimited.
			Example:
				memmap=100M@2G,100M#3G,1G!1024G
L
Linus Torvalds 已提交
2626 2627 2628

	memmap=nn[KMG]#ss[KMG]
			[KNL,ACPI] Mark specific memory as ACPI data.
2629
			Region of memory to be marked is from ss to ss+nn.
L
Linus Torvalds 已提交
2630 2631 2632

	memmap=nn[KMG]$ss[KMG]
			[KNL,ACPI] Mark specific memory as reserved.
2633
			Region of memory to be reserved is from ss to ss+nn.
2634 2635 2636 2637
			Example: Exclude memory from 0x18690000-0x1869ffff
			         memmap=64K$0x18690000
			         or
			         memmap=0x10000$0x18690000
2638 2639 2640
			Some bootloaders may need an escape character before '$',
			like Grub2, otherwise '$' and the following number
			will be eaten.
L
Linus Torvalds 已提交
2641

2642 2643 2644 2645 2646 2647
	memmap=nn[KMG]!ss[KMG]
			[KNL,X86] Mark specific memory as protected.
			Region of memory to be used, from ss to ss+nn.
			The memory region may be marked as e820 type 12 (0xc)
			and is NVDIMM or ADR memory.

2648 2649 2650 2651 2652 2653 2654 2655 2656
	memmap=<size>%<offset>-<oldtype>+<newtype>
			[KNL,ACPI] Convert memory within the specified region
			from <oldtype> to <newtype>. If "-<oldtype>" is left
			out, the whole region will be marked as <newtype>,
			even if previously unavailable. If "+<newtype>" is left
			out, matching memory will be removed. Types are
			specified as e820 types, e.g., 1 = RAM, 2 = reserved,
			3 = ACPI, 12 = PRAM.

2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679
	memory_corruption_check=0/1 [X86]
			Some BIOSes seem to corrupt the first 64k of
			memory when doing things like suspend/resume.
			Setting this option will scan the memory
			looking for corruption.  Enabling this will
			both detect corruption and prevent the kernel
			from using the memory being corrupted.
			However, its intended as a diagnostic tool; if
			repeatable BIOS-originated corruption always
			affects the same memory, you can use memmap=
			to prevent the kernel from using that memory.

	memory_corruption_check_size=size [X86]
			By default it checks for corruption in the low
			64k, making this memory unavailable for normal
			use.  Use this parameter to scan for
			corruption in more or less memory.

	memory_corruption_check_period=seconds [X86]
			By default it checks for corruption every 60
			seconds.  Use this parameter to check at some
			other rate.  0 disables periodic checking.

C
Christophe Leroy 已提交
2680
	memtest=	[KNL,X86,ARM,PPC] Enable memtest
Y
Yinghai Lu 已提交
2681 2682
			Format: <integer>
			default : 0 <disable>
2683 2684 2685 2686 2687 2688
			Specifies the number of memtest passes to be
			performed. Each pass selects another test
			pattern from a given set of patterns. Memtest
			fills the memory with this pattern, validates
			memory contents and reserves bad memory
			regions that are detected.
Y
Yinghai Lu 已提交
2689

2690 2691 2692 2693 2694 2695 2696 2697
	mem_encrypt=	[X86-64] AMD Secure Memory Encryption (SME) control
			Valid arguments: on, off
			Default (depends on kernel configuration option):
			  on  (CONFIG_AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT=y)
			  off (CONFIG_AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT=n)
			mem_encrypt=on:		Activate SME
			mem_encrypt=off:	Do not activate SME

2698
			Refer to Documentation/virt/kvm/amd-memory-encryption.rst
2699 2700
			for details on when memory encryption can be activated.

2701 2702 2703 2704
	mem_sleep_default=	[SUSPEND] Default system suspend mode:
			s2idle  - Suspend-To-Idle
			shallow - Power-On Suspend or equivalent (if supported)
			deep    - Suspend-To-RAM or equivalent (if supported)
2705
			See Documentation/admin-guide/pm/sleep-states.rst.
2706

L
Linus Torvalds 已提交
2707
	meye.*=		[HW] Set MotionEye Camera parameters
2708
			See Documentation/media/v4l-drivers/meye.rst.
L
Linus Torvalds 已提交
2709

2710 2711 2712 2713
	mfgpt_irq=	[IA-32] Specify the IRQ to use for the
			Multi-Function General Purpose Timers on AMD Geode
			platforms.

2714 2715 2716 2717 2718
	mfgptfix	[X86-32] Fix MFGPT timers on AMD Geode platforms when
			the BIOS has incorrectly applied a workaround. TinyBIOS
			version 0.98 is known to be affected, 0.99 fixes the
			problem by letting the user disable the workaround.

L
Linus Torvalds 已提交
2719 2720
	mga=		[HW,DRM]

2721 2722 2723
	min_addr=nn[KMG]	[KNL,BOOT,ia64] All physical memory below this
			physical address is ignored.

2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744
	mini2440=	[ARM,HW,KNL]
			Format:[0..2][b][c][t]
			Default: "0tb"
			MINI2440 configuration specification:
			0 - The attached screen is the 3.5" TFT
			1 - The attached screen is the 7" TFT
			2 - The VGA Shield is attached (1024x768)
			Leaving out the screen size parameter will not load
			the TFT driver, and the framebuffer will be left
			unconfigured.
			b - Enable backlight. The TFT backlight pin will be
			linked to the kernel VESA blanking code and a GPIO
			LED. This parameter is not necessary when using the
			VGA shield.
			c - Enable the s3c camera interface.
			t - Reserved for enabling touchscreen support. The
			touchscreen support is not enabled in the mainstream
			kernel as of 2.6.30, a preliminary port can be found
			in the "bleeding edge" mini2440 support kernel at
			http://repo.or.cz/w/linux-2.6/mini2440.git

2745
	mitigations=
2746 2747
			[X86,PPC,S390,ARM64] Control optional mitigations for
			CPU vulnerabilities.  This is a set of curated,
2748 2749
			arch-independent options, each of which is an
			aggregation of existing arch-specific options.
2750 2751 2752 2753 2754

			off
				Disable all optional CPU mitigations.  This
				improves system performance, but it may also
				expose users to several CPU vulnerabilities.
2755
				Equivalent to: nopti [X86,PPC]
2756
					       kpti=0 [ARM64]
2757
					       nospectre_v1 [X86,PPC]
2758
					       nobp=0 [S390]
2759
					       nospectre_v2 [X86,PPC,S390,ARM64]
2760
					       spectre_v2_user=off [X86]
2761
					       spec_store_bypass_disable=off [X86,PPC]
2762
					       ssbd=force-off [ARM64]
2763
					       l1tf=off [X86]
2764
					       mds=off [X86]
2765
					       tsx_async_abort=off [X86]
P
Paolo Bonzini 已提交
2766 2767 2768 2769 2770 2771
					       kvm.nx_huge_pages=off [X86]

				Exceptions:
					       This does not have any effect on
					       kvm.nx_huge_pages when
					       kvm.nx_huge_pages=force.
2772 2773 2774 2775 2776 2777 2778

			auto (default)
				Mitigate all CPU vulnerabilities, but leave SMT
				enabled, even if it's vulnerable.  This is for
				users who don't want to be surprised by SMT
				getting disabled across kernel upgrades, or who
				have other ways of avoiding SMT-based attacks.
2779
				Equivalent to: (default behavior)
2780 2781 2782 2783 2784

			auto,nosmt
				Mitigate all CPU vulnerabilities, disabling SMT
				if needed.  This is for users who always want to
				be fully mitigated, even if it means losing SMT.
2785
				Equivalent to: l1tf=flush,nosmt [X86]
2786
					       mds=full,nosmt [X86]
2787
					       tsx_async_abort=full,nosmt [X86]
2788

2789 2790 2791 2792 2793 2794 2795 2796
	mminit_loglevel=
			[KNL] When CONFIG_DEBUG_MEMORY_INIT is set, this
			parameter allows control of the logging verbosity for
			the additional memory initialisation checks. A value
			of 0 disables mminit logging and a level of 4 will
			log everything. Information is printed at KERN_DEBUG
			so loglevel=8 may also need to be specified.

R
Rusty Russell 已提交
2797 2798 2799
	module.sig_enforce
			[KNL] When CONFIG_MODULE_SIG is set, this means that
			modules without (valid) signatures will fail to load.
2800
			Note that if CONFIG_MODULE_SIG_FORCE is set, that
R
Rusty Russell 已提交
2801 2802
			is always true, so this option does nothing.

2803 2804 2805
	module_blacklist=  [KNL] Do not load a comma-separated list of
			modules.  Useful for debugging problem modules.

L
Linus Torvalds 已提交
2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816
	mousedev.tap_time=
			[MOUSE] Maximum time between finger touching and
			leaving touchpad surface for touch to be considered
			a tap and be reported as a left button click (for
			touchpads working in absolute mode only).
			Format: <msecs>
	mousedev.xres=	[MOUSE] Horizontal screen resolution, used for devices
			reporting absolute coordinates, such as tablets
	mousedev.yres=	[MOUSE] Vertical screen resolution, used for devices
			reporting absolute coordinates, such as tablets

2817 2818 2819 2820 2821 2822 2823 2824
	movablecore=	[KNL,X86,IA-64,PPC]
			Format: nn[KMGTPE] | nn%
			This parameter is the complement to kernelcore=, it
			specifies the amount of memory used for migratable
			allocations.  If both kernelcore and movablecore is
			specified, then kernelcore will be at *least* the
			specified value but may be more.  If movablecore on its
			own is specified, the administrator must be careful
2825 2826 2827
			that the amount of memory usable for all allocations
			is not too small.

2828 2829 2830 2831 2832
	movable_node	[KNL] Boot-time switch to make hotplugable memory
			NUMA nodes to be movable. This means that the memory
			of such nodes will be usable only for movable
			allocations which rules out almost all kernel
			allocations. Use with caution!
2833

L
Linus Torvalds 已提交
2834 2835 2836
	MTD_Partition=	[MTD]
			Format: <name>,<region-number>,<size>,<offset>

R
Randy Dunlap 已提交
2837 2838
	MTD_Region=	[MTD] Format:
			<name>,<region-number>[,<base>,<size>,<buswidth>,<altbuswidth>]
L
Linus Torvalds 已提交
2839 2840

	mtdparts=	[MTD]
2841
			See drivers/mtd/parsers/cmdlinepart.c
L
Linus Torvalds 已提交
2842

2843 2844 2845 2846
	multitce=off	[PPC]  This parameter disables the use of the pSeries
			firmware feature for updating multiple TCE entries
			at a time.

R
Rohit Hagargundgi 已提交
2847 2848 2849 2850 2851 2852 2853 2854 2855 2856
	onenand.bdry=	[HW,MTD] Flex-OneNAND Boundary Configuration

			Format: [die0_boundary][,die0_lock][,die1_boundary][,die1_lock]

			boundary - index of last SLC block on Flex-OneNAND.
				   The remaining blocks are configured as MLC blocks.
			lock	 - Configure if Flex-OneNAND boundary should be locked.
				   Once locked, the boundary cannot be changed.
				   1 indicates lock status, 0 indicates unlock status.

2857 2858 2859 2860 2861
	mtdset=		[ARM]
			ARM/S3C2412 JIVE boot control

			See arch/arm/mach-s3c2412/mach-jive.c

L
Linus Torvalds 已提交
2862
	mtouchusb.raw_coordinates=
R
Randy Dunlap 已提交
2863 2864
			[HW] Make the MicroTouch USB driver use raw coordinates
			('y', default) or cooked coordinates ('n')
L
Linus Torvalds 已提交
2865

2866
	mtrr_chunk_size=nn[KMG] [X86]
2867
			used for mtrr cleanup. It is largest continuous chunk
2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882
			that could hold holes aka. UC entries.

	mtrr_gran_size=nn[KMG] [X86]
			Used for mtrr cleanup. It is granularity of mtrr block.
			Default is 1.
			Large value could prevent small alignment from
			using up MTRRs.

	mtrr_spare_reg_nr=n [X86]
			Format: <integer>
			Range: 0,7 : spare reg number
			Default : 1
			Used for mtrr cleanup. It is spare mtrr entries number.
			Set to 2 or more if your graphical card needs more.

L
Linus Torvalds 已提交
2883 2884 2885 2886 2887 2888
	n2=		[NET] SDL Inc. RISCom/N2 synchronous serial card

	netdev=		[NET] Network devices parameters
			Format: <irq>,<io>,<mem_start>,<mem_end>,<name>
			Note that mem_start is often overloaded to mean
			something different and driver-specific.
R
Randy Dunlap 已提交
2889 2890 2891
			This usage is only documented in each driver source
			file if at all.

2892 2893 2894 2895
	nf_conntrack.acct=
			[NETFILTER] Enable connection tracking flow accounting
			0 to disable accounting
			1 to enable accounting
2896
			Default value is 0.
2897

2898
	nfsaddrs=	[NFS] Deprecated.  Use ip= instead.
2899
			See Documentation/admin-guide/nfs/nfsroot.rst.
L
Linus Torvalds 已提交
2900 2901

	nfsroot=	[NFS] nfs root filesystem for disk-less boxes.
2902
			See Documentation/admin-guide/nfs/nfsroot.rst.
L
Linus Torvalds 已提交
2903

2904
	nfsrootdebug	[NFS] enable nfsroot debugging messages.
2905
			See Documentation/admin-guide/nfs/nfsroot.rst.
2906

2907 2908 2909 2910 2911
	nfs.callback_nr_threads=
			[NFSv4] set the total number of threads that the
			NFS client will assign to service NFSv4 callback
			requests.

2912 2913 2914 2915
	nfs.callback_tcpport=
			[NFS] set the TCP port on which the NFSv4 callback
			channel should listen.

2916 2917 2918 2919 2920 2921 2922 2923
	nfs.cache_getent=
			[NFS] sets the pathname to the program which is used
			to update the NFS client cache entries.

	nfs.cache_getent_timeout=
			[NFS] sets the timeout after which an attempt to
			update a cache entry is deemed to have failed.

2924 2925 2926 2927
	nfs.idmap_cache_timeout=
			[NFS] set the maximum lifetime for idmapper cache
			entries.

2928 2929 2930 2931 2932 2933 2934
	nfs.enable_ino64=
			[NFS] enable 64-bit inode numbers.
			If zero, the NFS client will fake up a 32-bit inode
			number for the readdir() and stat() syscalls instead
			of returning the full 64-bit number.
			The default is to return 64-bit inode numbers.

2935 2936 2937 2938 2939 2940 2941
	nfs.max_session_cb_slots=
			[NFSv4.1] Sets the maximum number of session
			slots the client will assign to the callback
			channel. This determines the maximum number of
			callbacks the client will process in parallel for
			a particular server.

2942 2943 2944 2945 2946 2947 2948 2949
	nfs.max_session_slots=
			[NFSv4.1] Sets the maximum number of session slots
			the client will attempt to negotiate with the server.
			This limits the number of simultaneous RPC requests
			that the client can send to the NFSv4.1 server.
			Note that there is little point in setting this
			value higher than the max_tcp_slot_table_limit.

2950
	nfs.nfs4_disable_idmapping=
2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961
			[NFSv4] When set to the default of '1', this option
			ensures that both the RPC level authentication
			scheme and the NFS level operations agree to use
			numeric uids/gids if the mount is using the
			'sec=sys' security flavour. In effect it is
			disabling idmapping, which can make migration from
			legacy NFSv2/v3 systems to NFSv4 easier.
			Servers that do not support this mode of operation
			will be autodetected by the client, and it will fall
			back to using the idmapper.
			To turn off this behaviour, set the value to '0'.
2962 2963 2964 2965 2966
	nfs.nfs4_unique_id=
			[NFS4] Specify an additional fixed unique ident-
			ification string that NFSv4 clients can insert into
			their nfs_client_id4 string.  This is typically a
			UUID that is generated at system install time.
2967

2968 2969 2970 2971 2972 2973 2974
	nfs.send_implementation_id =
			[NFSv4.1] Send client implementation identification
			information in exchange_id requests.
			If zero, no implementation identification information
			will be sent.
			The default is to send the implementation identification
			information.
2975

2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986
	nfs.recover_lost_locks =
			[NFSv4] Attempt to recover locks that were lost due
			to a lease timeout on the server. Please note that
			doing this risks data corruption, since there are
			no guarantees that the file will remain unchanged
			after the locks are lost.
			If you want to enable the kernel legacy behaviour of
			attempting to recover these locks, then set this
			parameter to '1'.
			The default parameter value of '0' causes the kernel
			not to attempt recovery of lost locks.
2987

2988 2989 2990 2991 2992 2993 2994 2995 2996
	nfs4.layoutstats_timer =
			[NFSv4.2] Change the rate at which the kernel sends
			layoutstats to the pNFS metadata server.

			Setting this to value to 0 causes the kernel to use
			whatever value is the default set by the layout
			driver. A non-zero value sets the minimum interval
			in seconds between layoutstats transmissions.

J
J. Bruce Fields 已提交
2997 2998 2999 3000 3001 3002
	nfsd.nfs4_disable_idmapping=
			[NFSv4] When set to the default of '1', the NFSv4
			server will return only numeric uids and gids to
			clients using auth_sys, and will accept numeric uids
			and gids from such clients.  This is intended to ease
			migration from NFSv2/v3.
3003

3004
	nmi_debug=	[KNL,SH] Specify one or more actions to take
H
Haavard Skinnemoen 已提交
3005 3006 3007
			when a NMI is triggered.
			Format: [state][,regs][,debounce][,die]

3008
	nmi_watchdog=	[KNL,BUGS=X86] Debugging features for SMP kernels
3009
			Format: [panic,][nopanic,][num]
3010
			Valid num: 0 or 1
3011 3012
			0 - turn hardlockup detector in nmi_watchdog off
			1 - turn hardlockup detector in nmi_watchdog on
3013
			When panic is specified, panic when an NMI watchdog
3014 3015 3016
			timeout occurs (or 'nopanic' to not panic on an NMI
			watchdog, if CONFIG_BOOTPARAM_HARDLOCKUP_PANIC is set)
			To disable both hard and soft lockup detectors,
3017
			please see 'nowatchdog'.
3018 3019
			This is useful when you use a panic=... timeout and
			need the box quickly up again.
L
Linus Torvalds 已提交
3020

3021 3022 3023
			These settings can be accessed at runtime via
			the nmi_watchdog and hardlockup_panic sysctls.

3024 3025 3026 3027 3028
	netpoll.carrier_timeout=
			[NET] Specifies amount of time (in seconds) that
			netpoll should wait for a carrier. By default netpoll
			waits 4 seconds.

3029
	no387		[BUGS=X86-32] Tells the kernel to use the 387 maths
L
Linus Torvalds 已提交
3030 3031 3032
			emulation library even if a 387 maths coprocessor
			is present.

3033 3034 3035
	no5lvl		[X86-64] Disable 5-level paging mode. Forces
			kernel to use 4-level paging instead.

3036 3037 3038 3039 3040 3041 3042 3043 3044
	no_console_suspend
			[HW] Never suspend the console
			Disable suspending of consoles during suspend and
			hibernate operations.  Once disabled, debugging
			messages can reach various consoles while the rest
			of the system is being put to sleep (ie, while
			debugging driver suspend/resume hooks).  This may
			not work reliably with all consoles, but is known
			to work with serial and VGA consoles.
3045 3046 3047 3048 3049
			To facilitate more flexible debugging, we also add
			console_suspend, a printk module parameter to control
			it. Users could use console_suspend (usually
			/sys/module/printk/parameters/console_suspend) to
			turn on/off it dynamically.
3050

3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061
	novmcoredd	[KNL,KDUMP]
			Disable device dump. Device dump allows drivers to
			append dump data to vmcore so you can collect driver
			specified debug info.  Drivers can append the data
			without any limit and this data is stored in memory,
			so this may cause significant memory stress.  Disabling
			device dump can help save memory but the driver debug
			data will be no longer available.  This parameter
			is only available when CONFIG_PROC_VMCORE_DEVICE_DUMP
			is set.

C
Christoph Lameter 已提交
3062 3063 3064
	noaliencache	[MM, NUMA, SLAB] Disables the allocation of alien
			caches in the slab allocator.  Saves per-node memory,
			but will impact performance.
3065

R
Randy Dunlap 已提交
3066 3067
	noalign		[KNL,ARM]

V
Vasily Gorbik 已提交
3068 3069 3070
	noaltinstr	[S390] Disables alternative instructions patching
			(CPU alternatives feature).

L
Linus Torvalds 已提交
3071 3072 3073
	noapic		[SMP,APIC] Tells the kernel to not make use of any
			IOAPICs that may be present in the system.

3074 3075
	noautogroup	Disable scheduler automatic task group creation.

L
Linus Torvalds 已提交
3076 3077 3078 3079
	nobats		[PPC] Do not use BATs for mapping kernel lowmem
			on "Classic" PPC cores.

	nocache		[ARM]
R
Randy Dunlap 已提交
3080

3081 3082
	noclflush	[BUGS=X86] Don't use the CLFLUSH instruction

3083 3084
	nodelayacct	[KNL] Disable per-task delay accounting

3085 3086
	nodsp		[SH] Disable hardware DSP at boot time.

3087
	noefi		Disable EFI runtime services support.
3088

L
Linus Torvalds 已提交
3089 3090
	noexec		[IA-64]

3091
	noexec		[X86]
J
Jiri Slaby 已提交
3092
			On X86-32 available only on PAE configured kernels.
L
Linus Torvalds 已提交
3093
			noexec=on: enable non-executable mappings (default)
J
Jiri Slaby 已提交
3094 3095
			noexec=off: disable non-executable mappings

3096
	nosmap		[X86,PPC]
3097 3098 3099
			Disable SMAP (Supervisor Mode Access Prevention)
			even if it is supported by processor.

3100
	nosmep		[X86,PPC]
3101
			Disable SMEP (Supervisor Mode Execution Prevention)
3102 3103
			even if it is supported by processor.

J
Jiri Slaby 已提交
3104 3105 3106 3107 3108 3109
	noexec32	[X86-64]
			This affects only 32-bit executables.
			noexec32=on: enable non-executable mappings (default)
				read doesn't imply executable mappings
			noexec32=off: disable non-executable mappings
				read implies executable mappings
L
Linus Torvalds 已提交
3110

3111
	nofpu		[MIPS,SH] Disable hardware FPU at boot time.
3112

3113
	nofxsr		[BUGS=X86-32] Disables x86 floating point extended
3114 3115
			register save and restore. The kernel will only save
			legacy floating-point registers on task switch.
L
Linus Torvalds 已提交
3116

3117
	nohugeiomap	[KNL,x86,PPC] Disable kernel huge I/O mappings.
3118

3119 3120 3121
	nosmt		[KNL,S390] Disable symmetric multithreading (SMT).
			Equivalent to smt=1.

3122
			[KNL,x86] Disable symmetric multithreading (SMT).
3123 3124
			nosmt=force: Force disable SMT, cannot be undone
				     via the sysfs control file.
3125

3126 3127 3128
	nospectre_v1	[X86,PPC] Disable mitigations for Spectre Variant 1
			(bounds check bypass). With this option data leaks are
			possible in the system.
3129

3130 3131 3132 3133
	nospectre_v2	[X86,PPC_FSL_BOOK3E,ARM64] Disable all mitigations for
			the Spectre variant 2 (indirect branch prediction)
			vulnerability. System may allow data leaks with this
			option.
3134

3135 3136 3137
	nospec_store_bypass_disable
			[HW] Disable all mitigations for the Speculative Store Bypass vulnerability

3138 3139 3140 3141
	noxsave		[BUGS=X86] Disables x86 extended register state save
			and restore using xsave. The kernel will fallback to
			enabling legacy floating-point and sse state.

3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156
	noxsaveopt	[X86] Disables xsaveopt used in saving x86 extended
			register states. The kernel will fall back to use
			xsave to save the states. By using this parameter,
			performance of saving the states is degraded because
			xsave doesn't support modified optimization while
			xsaveopt supports it on xsaveopt enabled systems.

	noxsaves	[X86] Disables xsaves and xrstors used in saving and
			restoring x86 extended register state in compacted
			form of xsave area. The kernel will fall back to use
			xsaveopt and xrstor to save and restore the states
			in standard form of xsave area. By using this
			parameter, xsave area per process might occupy more
			memory on xsaves enabled systems.

3157 3158 3159
	nohlt		[BUGS=ARM,SH] Tells the kernel that the sleep(SH) or
			wfi(ARM) instruction doesn't work correctly and not to
			use it. This is also useful when using JTAG debugger.
R
Randy Dunlap 已提交
3160

3161 3162 3163 3164
	no_file_caps	Tells the kernel not to honor file capabilities.  The
			only way then for a file to be executed with privilege
			is to be setuid root or executed by root.

L
Linus Torvalds 已提交
3165 3166 3167 3168 3169 3170 3171
	nohalt		[IA-64] Tells the kernel not to use the power saving
			function PAL_HALT_LIGHT when idle. This increases
			power-consumption. On the positive side, it reduces
			interrupt wake-up latency, which may improve performance
			in certain environments such as networked servers or
			real-time systems.

3172 3173
	nohibernate	[HIBERNATION] Disable hibernation and resume.

3174 3175 3176 3177
	nohz=		[KNL] Boottime enable/disable dynamic ticks
			Valid arguments: on, off
			Default: on

3178
	nohz_full=	[KNL,BOOT,SMP,ISOL]
N
Noam Camus 已提交
3179
			The argument is a cpu list, as described above.
3180
			In kernels built with CONFIG_NO_HZ_FULL=y, set
3181
			the specified list of CPUs whose tick will be stopped
3182
			whenever possible. The boot CPU will be forced outside
3183 3184 3185 3186
			the range to maintain the timekeeping.  Any CPUs
			in this list will have their RCU callbacks offloaded,
			just as if they had also been called out in the
			rcu_nocbs= boot parameter.
3187

3188 3189
	noiotrap	[SH] Disables trapped I/O port accesses.

3190
	noirqdebug	[X86-32] Disables the code which attempts to detect and
L
Linus Torvalds 已提交
3191 3192
			disable unhandled interrupt sources.

3193
	no_timer_check	[X86,APIC] Disables the code which tests for
3194 3195
			broken timer IRQ sources.

L
Linus Torvalds 已提交
3196 3197 3198 3199 3200
	noisapnp	[ISAPNP] Disables ISA PnP code.

	noinitrd	[RAM] Tells the kernel not to load any configured
			initial RAM disk.

3201 3202
	nointremap	[X86-64, Intel-IOMMU] Do not enable interrupt
			remapping.
3203
			[Deprecated - use intremap=off]
3204

L
Linus Torvalds 已提交
3205 3206
	nointroute	[IA-64]

3207 3208
	noinvpcid	[X86] Disable the INVPCID cpu feature.

3209
	nojitter	[IA-64] Disables jitter checking for ITC timers.
3210

3211 3212
	no-kvmclock	[X86,KVM] Disable paravirtualized KVM clock driver

3213 3214 3215
	no-kvmapf	[X86,KVM] Disable paravirtualized asynchronous page
			fault handling.

3216 3217 3218 3219
	no-vmw-sched-clock
			[X86,PV_OPS] Disable paravirtualized VMware scheduler
			clock and use the default one.

3220
	no-steal-acc	[X86,PV_OPS,ARM64] Disable paravirtualized steal time
3221 3222
			accounting. steal time is computed, but won't
			influence scheduler behaviour
3223

3224
	nolapic		[X86-32,APIC] Do not enable or use the local APIC.
L
Linus Torvalds 已提交
3225

3226
	nolapic_timer	[X86-32,APIC] Do not use the local APIC timer.
3227

L
Linus Torvalds 已提交
3228
	noltlbs		[PPC] Do not use large page/tlb entries for kernel
3229
			lowmem mapping on PPC40x and PPC8xx
L
Linus Torvalds 已提交
3230

3231 3232
	nomca		[IA-64] Disable machine check abort handling

3233
	nomce		[X86-32] Disable Machine Check Exception
3234

3235 3236 3237
	nomfgpt		[X86-32] Disable Multi-Function General Purpose
			Timer usage (for AMD Geode machines).

3238 3239 3240 3241
	nonmi_ipi	[X86] Disable using NMI IPIs during panic/reboot to
			shutdown the other cpus.  Instead use the REBOOT_VECTOR
			irq.

3242 3243
	nomodule	Disable module load

3244 3245 3246
	nopat		[X86] Disable PAT (page attribute table extension of
			pagetables) support.

3247 3248
	nopcid		[X86-64] Disable the PCID cpu feature.

3249 3250 3251
	norandmaps	Don't use address space randomization.  Equivalent to
			echo 0 > /proc/sys/kernel/randomize_va_space

3252
	noreplace-smp	[X86-32,SMP] Don't replace SMP instructions
3253 3254
			with UP alternatives

3255 3256 3257 3258
	nordrand	[X86] Disable kernel use of the RDRAND and
			RDSEED instructions even if they are supported
			by the processor.  RDRAND and RDSEED are still
			available to user space applications.
3259

R
Randy Dunlap 已提交
3260 3261 3262
	noresume	[SWSUSP] Disables resume and restores original swap
			space.

L
Linus Torvalds 已提交
3263 3264 3265 3266 3267 3268
	no-scroll	[VGA] Disables scrollback.
			This is required for the Braillex ib80-piezo Braille
			reader made by F.H. Papenmeier (Germany).

	nosbagart	[IA-64]

3269
	nosep		[BUGS=X86-32] Disables x86 SYSENTER/SYSEXIT support.
3270

3271 3272
	nosmp		[SMP] Tells an SMP kernel to act as a UP kernel,
			and disable the IO APIC.  legacy for "maxcpus=0".
L
Linus Torvalds 已提交
3273

3274 3275
	nosoftlockup	[KNL] Disable the soft-lockup detector.

L
Linus Torvalds 已提交
3276 3277
	nosync		[HW,M68K] Disables sync negotiation for all devices.

3278
	nowatchdog	[KNL] Disable both lockup detectors, i.e.
3279
			soft-lockup and NMI watchdog (hard-lockup).
3280

L
Linus Torvalds 已提交
3281
	nowb		[ARM]
R
Randy Dunlap 已提交
3282

3283 3284
	nox2apic	[X86-64,APIC] Do not enable x2APIC mode.

3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298
	cpu0_hotplug	[X86] Turn on CPU0 hotplug feature when
			CONFIG_BOOTPARAM_HOTPLUG_CPU0 is off.
			Some features depend on CPU0. Known dependencies are:
			1. Resume from suspend/hibernate depends on CPU0.
			Suspend/hibernate will fail if CPU0 is offline and you
			need to online CPU0 before suspend/hibernate.
			2. PIC interrupts also depend on CPU0. CPU0 can't be
			removed if a PIC interrupt is detected.
			It's said poweroff/reboot may depend on CPU0 on some
			machines although I haven't seen such issues so far
			after CPU0 is offline on a few tested machines.
			If the dependencies are under your control, you can
			turn on cpu0_hotplug.

3299
	nps_mtm_hs_ctr=	[KNL,ARC]
3300 3301 3302 3303 3304 3305 3306 3307
			This parameter sets the maximum duration, in
			cycles, each HW thread of the CTOP can run
			without interruptions, before HW switches it.
			The actual maximum duration is 16 times this
			parameter's value.
			Format: integer between 1 and 255
			Default: 255

3308
	nptcg=		[IA-64] Override max number of concurrent global TLB
3309 3310 3311
			purges which is reported from either PAL_VM_SUMMARY or
			SAL PALO.

3312 3313
	nr_cpus=	[SMP] Maximum number of processors that	an SMP kernel
			could support.  nr_cpus=n : n >= 1 limits the kernel to
3314 3315 3316 3317 3318 3319
			support 'n' processors. It could be larger than the
			number of already plugged CPU during bootup, later in
			runtime you can physically add extra cpu until it reaches
			n. So during boot up some boot time memory for per-cpu
			variables need be pre-allocated for later physical cpu
			hot plugging.
3320

3321 3322
	nr_uarts=	[SERIAL] maximum number of UARTs to be registered.

3323 3324 3325
	numa_balancing=	[KNL,X86] Enable or disable automatic NUMA balancing.
			Allowed values are enable and disable

3326
	numa_zonelist_order= [KNL, BOOT] Select zonelist order for NUMA.
3327
			'node', 'default' can be specified
3328
			This can be set from sysctl after boot.
3329
			See Documentation/admin-guide/sysctl/vm.rst for details.
3330

3331 3332 3333 3334
	ohci1394_dma=early	[HW] enable debugging via the ohci1394 driver.
			See Documentation/debugging-via-ohci1394.txt for more
			info.

3335 3336 3337 3338 3339 3340 3341
	olpc_ec_timeout= [OLPC] ms delay when issuing EC commands
			Rather than timing out after 20 ms if an EC
			command is not properly ACKed, override the length
			of the timeout.  We have interrupts disabled while
			waiting for the ACK, so if this is set too high
			interrupts *may* be lost!

3342 3343 3344 3345 3346
	omap_mux=	[OMAP] Override bootloader pin multiplexing.
			Format: <mux_mode0.mode_name=value>...
			For example, to override I2C bus2:
			omap_mux=i2c2_scl.i2c2_scl=0x100,i2c2_sda.i2c2_sda=0x100

L
Linus Torvalds 已提交
3347 3348 3349
	oprofile.timer=	[HW]
			Use timer interrupt instead of performance counters

3350 3351 3352
	oprofile.cpu_type=	Force an oprofile cpu type
			This might be useful if you have an older oprofile
			userland or if you want common events.
3353 3354
			Format: { arch_perfmon }
			arch_perfmon: [X86] Force use of architectural
3355 3356
				perfmon on Intel CPUs instead of the
				CPU specific event set.
3357 3358 3359
			timer: [X86] Force use of architectural NMI
				timer mode (see also oprofile.timer
				for generic hr timer mode)
3360

3361 3362 3363
	oops=panic	Always panic on oopses. Default is to just kill the
			process, but there is a small probability of
			deadlocking the machine.
3364 3365 3366
			This will also cause panics on machine check exceptions.
			Useful together with panic=30 to trigger a reboot.

3367 3368 3369 3370 3371 3372 3373 3374 3375 3376
	page_alloc.shuffle=
			[KNL] Boolean flag to control whether the page allocator
			should randomize its free lists. The randomization may
			be automatically enabled if the kernel detects it is
			running on a platform with a direct-mapped memory-side
			cache, and this parameter can be used to
			override/disable that behavior. The state of the flag
			can be read from sysfs at:
			/sys/module/page_alloc/parameters/shuffle.

3377 3378 3379 3380 3381 3382
	page_owner=	[KNL] Boot-time page_owner enabling option.
			Storage of the information about who allocated
			each page is disabled in default. With this switch,
			we can turn it on.
			on: enable the feature

3383
	page_poison=	[KNL] Boot-time parameter changing the state of
3384 3385 3386
			poisoning on the buddy allocator, available with
			CONFIG_PAGE_POISONING=y.
			off: turn off poisoning (default)
3387 3388
			on: turn on poisoning

3389
	panic=		[KNL] Kernel behaviour on panic: delay <timeout>
3390 3391 3392
			timeout > 0: seconds before rebooting
			timeout = 0: wait forever
			timeout < 0: reboot immediately
L
Linus Torvalds 已提交
3393 3394
			Format: <timeout>

3395 3396 3397 3398 3399 3400 3401
	panic_print=	Bitmask for printing system info when panic happens.
			User can chose combination of the following bits:
			bit 0: print all tasks info
			bit 1: print system memory info
			bit 2: print timer info
			bit 3: print locks info if CONFIG_LOCKDEP is on
			bit 4: print ftrace buffer
3402
			bit 5: print all printk messages in buffer
3403

P
Prarit Bhargava 已提交
3404 3405 3406
	panic_on_warn	panic() instead of WARN().  Useful to cause kdump
			on a WARN().

3407 3408 3409 3410 3411 3412 3413 3414
	crash_kexec_post_notifiers
			Run kdump after running panic-notifiers and dumping
			kmsg. This only for the users who doubt kdump always
			succeeds in any situation.
			Note that this also increases risks of kdump failure,
			because some panic notifiers can make the crashed
			kernel more unstable.

L
Linus Torvalds 已提交
3415 3416 3417 3418 3419
	parkbd.port=	[HW] Parallel port number the keyboard adapter is
			connected to, default is 0.
			Format: <parport#>
	parkbd.mode=	[HW] Parallel port keyboard adapter mode of operation,
			0 for XT, 1 for AT (default is AT).
R
Randy Dunlap 已提交
3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441
			Format: <mode>

	parport=	[HW,PPT] Specify parallel ports. 0 disables.
			Format: { 0 | auto | 0xBBB[,IRQ[,DMA]] }
			Use 'auto' to force the driver to use any
			IRQ/DMA settings detected (the default is to
			ignore detected IRQ/DMA settings because of
			possible conflicts). You can specify the base
			address, IRQ, and DMA settings; IRQ and DMA
			should be numbers, or 'auto' (for using detected
			settings on that particular port), or 'nofifo'
			(to avoid using a FIFO even if it is detected).
			Parallel ports are assigned in the order they
			are specified on the command line, starting
			with parport0.

	parport_init_mode=	[HW,PPT]
			Configure VIA parallel port to operate in
			a specific mode. This is necessary on Pegasos
			computer where firmware has no options for setting
			up parallel port mode and sets it to spp.
			Currently this function knows 686a and 8231 chips.
L
Linus Torvalds 已提交
3442 3443
			Format: [spp|ps2|epp|ecp|ecpepp]

3444 3445 3446 3447 3448
	pause_on_oops=
			Halt all CPUs after the first oops has been printed for
			the specified number of seconds.  This is to be used if
			your oopses keep scrolling off the screen.

L
Linus Torvalds 已提交
3449 3450 3451 3452
	pcbit=		[HW,ISDN]

	pcd.		[PARIDE]
			See header of drivers/block/paride/pcd.c.
3453
			See also Documentation/admin-guide/blockdev/paride.rst.
L
Linus Torvalds 已提交
3454

3455 3456 3457 3458 3459 3460
	pci=option[,option...]	[PCI] various PCI subsystem options.

				Some options herein operate on a specific device
				or a set of devices (<pci_dev>). These are
				specified in one of the following formats:

3461
				[<domain>:]<bus>:<dev>.<func>[/<dev>.<func>]*
3462 3463 3464 3465 3466 3467 3468 3469
				pci:<vendor>:<device>[:<subvendor>:<subdevice>]

				Note: the first format specifies a PCI
				bus/device/function address which may change
				if new hardware is inserted, if motherboard
				firmware changes, or due to changes caused
				by other kernel parameters. If the
				domain is left unspecified, it is
3470 3471 3472 3473 3474
				taken to be zero. Optionally, a path
				to a device through multiple device/function
				addresses can be specified after the base
				address (this is more robust against
				renumbering issues).  The second format
3475 3476 3477 3478
				selects devices using IDs from the
				configuration space which may match multiple
				devices in the system.

3479
		earlydump	dump PCI config space before the kernel
3480
				changes anything
3481
		off		[X86] don't probe for the PCI bus
3482
		bios		[X86-32] force use of PCI BIOS, don't access
R
Randy Dunlap 已提交
3483 3484
				the hardware directly. Use this if your machine
				has a non-standard PCI host bridge.
3485
		nobios		[X86-32] disallow use of PCI BIOS, only direct
R
Randy Dunlap 已提交
3486 3487 3488
				hardware access methods are allowed. Use this
				if you experience crashes upon bootup and you
				suspect they are caused by the BIOS.
3489 3490 3491 3492 3493 3494 3495 3496 3497 3498
		conf1		[X86] Force use of PCI Configuration Access
				Mechanism 1 (config address in IO port 0xCF8,
				data in IO port 0xCFC, both 32-bit).
		conf2		[X86] Force use of PCI Configuration Access
				Mechanism 2 (IO port 0xCF8 is an 8-bit port for
				the function, IO port 0xCFA, also 8-bit, sets
				bus number. The config space is then accessed
				through ports 0xC000-0xCFFF).
				See http://wiki.osdev.org/PCI for more info
				on the configuration access mechanisms.
R
Randy Dunlap 已提交
3499 3500 3501
		noaer		[PCIE] If the PCIEAER kernel config parameter is
				enabled, this kernel boot option can be used to
				disable the use of PCIE advanced error reporting.
3502 3503
		nodomains	[PCI] Disable support for multiple PCI
				root domains (aka PCI segments, in ACPI-speak).
3504
		nommconf	[X86] Disable use of MMCONFIG for PCI
3505
				Configuration
3506 3507 3508
		check_enable_amd_mmconf [X86] check for and enable
				properly configured MMIO access to PCI
				config space on AMD family 10h CPU
3509 3510 3511
		nomsi		[MSI] If the PCI_MSI kernel config parameter is
				enabled, this kernel boot option can be used to
				disable the use of MSI interrupts system-wide.
3512 3513 3514
		noioapicquirk	[APIC] Disable all boot interrupt quirks.
				Safety option to keep boot IRQs enabled. This
				should never be necessary.
3515 3516 3517 3518
		ioapicreroute	[APIC] Enable rerouting of boot IRQs to the
				primary IO-APIC for bridges that cannot disable
				boot IRQs. This fixes a source of spurious IRQs
				when the system masks IRQs.
3519 3520 3521 3522
		noioapicreroute	[APIC] Disable workaround that uses the
				boot IRQ equivalent of an IRQ that connects to
				a chipset where boot IRQs cannot be disabled.
				The opposite of ioapicreroute.
3523
		biosirq		[X86-32] Use PCI BIOS calls to get the interrupt
R
Randy Dunlap 已提交
3524 3525 3526 3527 3528 3529 3530
				routing table. These calls are known to be buggy
				on several machines and they hang the machine
				when used, but on other computers it's the only
				way to get the interrupt routing table. Try
				this option if the kernel is unable to allocate
				IRQs or discover secondary PCI buses on your
				motherboard.
3531
		rom		[X86] Assign address space to expansion ROMs.
R
Randy Dunlap 已提交
3532 3533 3534
				Use with caution as certain devices share
				address decoders between ROMs and other
				resources.
3535
		norom		[X86] Do not assign address space to
3536 3537
				expansion ROMs that do not already have
				BIOS assigned address ranges.
3538 3539
		nobar		[X86] Do not assign address space to the
				BARs that weren't assigned by the BIOS.
3540
		irqmask=0xMMMM	[X86] Set a bit mask of IRQs allowed to be
R
Randy Dunlap 已提交
3541 3542 3543
				assigned automatically to PCI devices. You can
				make the kernel exclude IRQs of your ISA cards
				this way.
3544
		pirqaddr=0xAAAAA	[X86] Specify the physical address
R
Randy Dunlap 已提交
3545 3546 3547
				of the PIRQ table (normally generated
				by the BIOS) if it is outside the
				F0000h-100000h range.
3548
		lastbus=N	[X86] Scan all buses thru bus #N. Can be
R
Randy Dunlap 已提交
3549 3550 3551
				useful if the kernel is unable to find your
				secondary buses and you want to tell it
				explicitly which ones they are.
3552
		assign-busses	[X86] Always assign all PCI bus
R
Randy Dunlap 已提交
3553 3554
				numbers ourselves, overriding
				whatever the firmware may have done.
3555
		usepirqmask	[X86] Honor the possible IRQ mask stored
R
Randy Dunlap 已提交
3556 3557 3558 3559 3560
				in the BIOS $PIR table. This is needed on
				some systems with broken BIOSes, notably
				some HP Pavilion N5400 and Omnibook XE3
				notebooks. This will have no effect if ACPI
				IRQ routing is enabled.
3561
		noacpi		[X86] Do not use ACPI for IRQ routing
R
Randy Dunlap 已提交
3562
				or for PCI scanning.
3563 3564 3565 3566 3567
		use_crs		[X86] Use PCI host bridge window information
				from ACPI.  On BIOSes from 2008 or later, this
				is enabled by default.  If you need to use this,
				please report a bug.
		nocrs		[X86] Ignore PCI host bridge windows from ACPI.
3568
				If you need to use this, please report a bug.
R
Randy Dunlap 已提交
3569 3570 3571 3572
		routeirq	Do IRQ routing for all PCI devices.
				This is normally done in pci_enable_device(),
				so this option is a temporary workaround
				for broken drivers that don't call it.
3573 3574
		skip_isa_align	[X86] do not align io start addr, so can
				handle more pci cards
3575 3576 3577 3578 3579
		noearly		[X86] Don't do any early type 1 scanning.
				This might help on some broken boards which
				machine check when some devices' config space
				is read. But various workarounds are disabled
				and some IOMMU drivers will not work.
3580 3581 3582 3583
		bfsort		Sort PCI devices into breadth-first order.
				This sorting is done to get a device
				order compatible with older (<= 2.4) kernels.
		nobfsort	Don't sort PCI devices into breadth-first order.
3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598
		pcie_bus_tune_off	Disable PCIe MPS (Max Payload Size)
				tuning and use the BIOS-configured MPS defaults.
		pcie_bus_safe	Set every device's MPS to the largest value
				supported by all devices below the root complex.
		pcie_bus_perf	Set device MPS to the largest allowable MPS
				based on its parent bus. Also set MRRS (Max
				Read Request Size) to the largest supported
				value (no larger than the MPS that the device
				or bus can support) for best performance.
		pcie_bus_peer2peer	Set every device's MPS to 128B, which
				every device is guaranteed to support. This
				configuration allows peer-to-peer DMA between
				any pair of devices, possibly at the cost of
				reduced performance.  This also guarantees
				that hot-added devices will work.
3599 3600 3601 3602 3603 3604
		cbiosize=nn[KMG]	The fixed amount of bus space which is
				reserved for the CardBus bridge's IO window.
				The default value is 256 bytes.
		cbmemsize=nn[KMG]	The fixed amount of bus space which is
				reserved for the CardBus bridge's memory
				window. The default value is 64 megabytes.
3605 3606
		resource_alignment=
				Format:
3607
				[<order of align>@]<pci_dev>[; ...]
3608
				Specifies alignment and device to reassign
3609 3610
				aligned memory resources. How to
				specify the device is described above.
3611 3612
				If <order of align> is not specified,
				PAGE_SIZE is used as alignment.
3613
				A PCI-PCI bridge can be specified if resource
3614
				windows need to be expanded.
3615 3616 3617
				To specify the alignment for several
				instances of a device, the PCI vendor,
				device, subvendor, and subdevice may be
3618 3619
				specified, e.g., 12@pci:8086:9c22:103c:198f
				for 4096-byte alignment.
3620 3621 3622 3623 3624 3625
		ecrc=		Enable/disable PCIe ECRC (transaction layer
				end-to-end CRC checking).
				bios: Use BIOS/firmware settings. This is the
				the default.
				off: Turn ECRC off
				on: Turn ECRC on.
3626 3627 3628
		hpiosize=nn[KMG]	The fixed amount of bus space which is
				reserved for hotplug bridge's IO window.
				Default size is 256 bytes.
3629 3630 3631 3632 3633 3634
		hpmmiosize=nn[KMG]	The fixed amount of bus space which is
				reserved for hotplug bridge's MMIO window.
				Default size is 2 megabytes.
		hpmmioprefsize=nn[KMG]	The fixed amount of bus space which is
				reserved for hotplug bridge's MMIO_PREF window.
				Default size is 2 megabytes.
3635
		hpmemsize=nn[KMG]	The fixed amount of bus space which is
3636 3637
				reserved for hotplug bridge's MMIO and
				MMIO_PREF window.
3638
				Default size is 2 megabytes.
3639 3640 3641
		hpbussize=nn	The minimum amount of additional bus numbers
				reserved for buses below a hotplug bridge.
				Default is 1.
3642 3643 3644 3645 3646 3647 3648
		realloc=	Enable/disable reallocating PCI bridge resources
				if allocations done by BIOS are too small to
				accommodate resources required by all child
				devices.
				off: Turn realloc off
				on: Turn realloc on
		realloc		same as realloc=on
3649
		noari		do not use PCIe ARI.
G
Gil Kupfer 已提交
3650 3651
		noats		[PCIE, Intel-IOMMU, AMD-IOMMU]
				do not use PCIe ATS (and IOMMU device IOTLB).
3652 3653 3654
		pcie_scan_all	Scan all possible PCIe devices.  Otherwise we
				only look for one device below a PCIe downstream
				port.
3655 3656 3657 3658 3659 3660
		big_root_window	Try to add a big 64bit memory window to the PCIe
				root complex on AMD CPUs. Some GFX hardware
				can resize a BAR to allow access to all VRAM.
				Adding the window is slightly risky (it may
				conflict with unreported devices), so this
				taints the kernel.
3661 3662 3663 3664 3665 3666 3667 3668 3669
		disable_acs_redir=<pci_dev>[; ...]
				Specify one or more PCI devices (in the format
				specified above) separated by semicolons.
				Each device specified will have the PCI ACS
				redirect capabilities forced off which will
				allow P2P traffic between devices through
				bridges without forcing it upstream. Note:
				this removes isolation between devices and
				may put more devices in an IOMMU group.
3670
		force_floating	[S390] Force usage of floating interrupts.
3671
		nomio		[S390] Do not use MIO instructions.
3672

3673 3674 3675 3676 3677 3678
	pcie_aspm=	[PCIE] Forcibly enable or disable PCIe Active State Power
			Management.
		off	Disable ASPM.
		force	Enable ASPM even on devices that claim not to support it.
			WARNING: Forcing ASPM on may cause system lockups.

3679 3680 3681 3682 3683
	pcie_ports=	[PCIE] PCIe port services handling:
		native	Use native PCIe services (PME, AER, DPC, PCIe hotplug)
			even if the platform doesn't give the OS permission to
			use them.  This may cause conflicts if the platform
			also tries to use these services.
3684 3685
		dpc-native	Use native PCIe service for DPC only.  May
				cause conflicts if firmware uses AER or DPC.
3686 3687
		compat	Disable native PCIe services (PME, AER, DPC, PCIe
			hotplug).
3688

3689 3690 3691 3692
	pcie_port_pm=	[PCIE] PCIe port power management handling:
		off	Disable power management of all PCIe ports
		force	Forcibly enable power management of all PCIe ports

3693
	pcie_pme=	[PCIE,PM] Native PCIe PME signaling options:
3694
		nomsi	Do not use MSI for native PCIe PME signaling (this makes
3695
			all PCIe root ports use INTx for all services).
3696

L
Linus Torvalds 已提交
3697 3698
	pcmv=		[HW,PCMCIA] BadgePAD 4

3699 3700 3701 3702 3703 3704 3705
	pd_ignore_unused
			[PM]
			Keep all power-domains already enabled by bootloader on,
			even if no driver has claimed them. This is useful
			for debug and development, but should not be
			needed on a platform with proper driver support.

L
Linus Torvalds 已提交
3706
	pd.		[PARIDE]
3707
			See Documentation/admin-guide/blockdev/paride.rst.
L
Linus Torvalds 已提交
3708 3709 3710 3711 3712 3713

	pdcchassis=	[PARISC,HW] Disable/Enable PDC Chassis Status codes at
			boot time.
			Format: { 0 | 1 }
			See arch/parisc/kernel/pdc_chassis.c

3714
	percpu_alloc=	Select which percpu first chunk allocator to use.
3715 3716 3717 3718 3719
			Currently supported values are "embed" and "page".
			Archs may support subset or none of the	selections.
			See comments in mm/percpu.c for details on each
			allocator.  This parameter is primarily	for debugging
			and performance comparison.
3720

L
Linus Torvalds 已提交
3721
	pf.		[PARIDE]
3722
			See Documentation/admin-guide/blockdev/paride.rst.
L
Linus Torvalds 已提交
3723 3724

	pg.		[PARIDE]
3725
			See Documentation/admin-guide/blockdev/paride.rst.
L
Linus Torvalds 已提交
3726 3727

	pirq=		[SMP,APIC] Manual mp-table setup
3728
			See Documentation/x86/i386/IO-APIC.rst.
L
Linus Torvalds 已提交
3729 3730 3731

	plip=		[PPT,NET] Parallel port network link
			Format: { parport<nr> | timid | 0 }
3732
			See also Documentation/admin-guide/parport.rst.
L
Linus Torvalds 已提交
3733

3734
	pmtmr=		[X86] Manual setup of pmtmr I/O Port.
3735 3736 3737
			Override pmtimer IOPort with a hex value.
			e.g. pmtmr=0x508

3738 3739 3740
	pm_debug_messages	[SUSPEND,KNL]
			Enable suspend/resume debug messages during boot up.

3741 3742 3743 3744 3745 3746
	pnp.debug=1	[PNP]
			Enable PNP debug messages (depends on the
			CONFIG_PNP_DEBUG_MESSAGES option).  Change at run-time
			via /sys/module/pnp/parameters/debug.  We always show
			current resource usage; turning this on also shows
			possible settings and some assignment information.
3747

L
Linus Torvalds 已提交
3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760
	pnpacpi=	[ACPI]
			{ off }

	pnpbios=	[ISAPNP]
			{ on | off | curr | res | no-curr | no-res }

	pnp_reserve_irq=
			[ISAPNP] Exclude IRQs for the autoconfiguration

	pnp_reserve_dma=
			[ISAPNP] Exclude DMAs for the autoconfiguration

	pnp_reserve_io=	[ISAPNP] Exclude I/O ports for the autoconfiguration
R
Randy Dunlap 已提交
3761
			Ranges are in pairs (I/O port base and size).
L
Linus Torvalds 已提交
3762 3763

	pnp_reserve_mem=
R
Randy Dunlap 已提交
3764 3765
			[ISAPNP] Exclude memory regions for the
			autoconfiguration.
L
Linus Torvalds 已提交
3766 3767
			Ranges are in pairs (memory base and size).

3768 3769 3770 3771 3772 3773
	ports=		[IP_VS_FTP] IPVS ftp helper module
			Default is 21.
			Up to 8 (IP_VS_APP_MAX_PORTS) ports
			may be specified.
			Format: <port>,<port>....

3774 3775 3776 3777 3778 3779
	powersave=off	[PPC] This option disables power saving features.
			It specifically disables cpuidle and sets the
			platform machine description specific power_save
			function to NULL. On Idle the CPU just reduces
			execution priority.

3780 3781 3782 3783 3784 3785
	ppc_strict_facility_enable
			[PPC] This option catches any kernel floating point,
			Altivec, VSX and SPE outside of regions specifically
			allowed (eg kernel_enable_fpu()/kernel_disable_fpu()).
			There is some performance impact when enabling this.

3786 3787 3788 3789
	ppc_tm=		[PPC]
			Format: {"off"}
			Disable Hardware Transactional Memory

I
Ingo Molnar 已提交
3790 3791
	print-fatal-signals=
			[KNL] debug: print fatal signals
3792 3793 3794 3795 3796 3797 3798 3799 3800

			If enabled, warn about various signal handling
			related application anomalies: too many signals,
			too many POSIX.1 timers, fatal signals causing a
			coredump - etc.

			If you hit the warning due to signal overflow,
			you might want to try "ulimit -i unlimited".

I
Ingo Molnar 已提交
3801 3802
			default: off.

3803 3804 3805 3806 3807 3808
	printk.always_kmsg_dump=
			Trigger kmsg_dump for cases other than kernel oops or
			panics
			Format: <bool>  (1/Y/y=enable, 0/N/n=disable)
			default: disabled

3809 3810 3811 3812 3813 3814 3815
	printk.devkmsg={on,off,ratelimit}
			Control writing to /dev/kmsg.
			on - unlimited logging to /dev/kmsg from userspace
			off - logging to /dev/kmsg disabled
			ratelimit - ratelimit the logging
			Default: ratelimit

3816 3817 3818
	printk.time=	Show timing data prefixed to each printk message line
			Format: <bool>  (1/Y/y=enable, 0/N/n=disable)

3819 3820 3821 3822 3823 3824 3825 3826
	processor.max_cstate=	[HW,ACPI]
			Limit processor to maximum C-state
			max_cstate=9 overrides any DMI blacklist limit.

	processor.nocst	[HW,ACPI]
			Ignore the _CST method to determine C-states,
			instead using the legacy FADT method

L
Linus Torvalds 已提交
3827
	profile=	[KNL] Enable kernel profiling via /proc/profile
3828 3829 3830
			Format: [<profiletype>,]<number>
			Param: <profiletype>: "schedule", "sleep", or "kvm"
				[defaults to kernel profiling]
R
Randy Dunlap 已提交
3831
			Param: "schedule" - profile schedule points.
3832 3833
			Param: "sleep" - profile D-state sleeping (millisecs).
				Requires CONFIG_SCHEDSTATS
3834
			Param: "kvm" - profile VM exits.
3835 3836
			Param: <number> - step/bucket size as a power of 2 for
				statistical time based profiling.
L
Linus Torvalds 已提交
3837 3838 3839

	prompt_ramdisk=	[RAM] List of RAM disks to prompt for floppy disk
			before loading.
3840
			See Documentation/admin-guide/blockdev/ramdisk.rst.
L
Linus Torvalds 已提交
3841

3842 3843 3844 3845 3846
	prot_virt=	[S390] enable hosting protected virtual machines
			isolated from the hypervisor (if hardware supports
			that).
			Format: <bool>

3847 3848 3849 3850
	psi=		[KNL] Enable or disable pressure stall information
			tracking.
			Format: <bool>

R
Randy Dunlap 已提交
3851 3852
	psmouse.proto=	[HW,MOUSE] Highest PS2 mouse protocol extension to
			probe for; one of (bare|imps|exps|lifebook|any).
L
Linus Torvalds 已提交
3853 3854
	psmouse.rate=	[HW,MOUSE] Set desired mouse report rate, in reports
			per second.
R
Randy Dunlap 已提交
3855 3856
	psmouse.resetafter=	[HW,MOUSE]
			Try to reset the device after so many bad packets
L
Linus Torvalds 已提交
3857 3858 3859 3860
			(0 = never).
	psmouse.resolution=
			[HW,MOUSE] Set desired mouse resolution, in dpi.
	psmouse.smartscroll=
R
Randy Dunlap 已提交
3861
			[HW,MOUSE] Controls Logitech smartscroll autorepeat.
L
Linus Torvalds 已提交
3862 3863
			0 = disabled, 1 = enabled (default).

3864 3865
	pstore.backend=	Specify the name of the pstore backend to use

L
Linus Torvalds 已提交
3866
	pt.		[PARIDE]
3867
			See Documentation/admin-guide/blockdev/paride.rst.
L
Linus Torvalds 已提交
3868

3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882
	pti=		[X86_64] Control Page Table Isolation of user and
			kernel address spaces.  Disabling this feature
			removes hardening, but improves performance of
			system calls and interrupts.

			on   - unconditionally enable
			off  - unconditionally disable
			auto - kernel detects whether your CPU model is
			       vulnerable to issues that PTI mitigates

			Not specifying this option is equivalent to pti=auto.

	nopti		[X86_64]
			Equivalent to pti=off
3883

3884 3885 3886 3887
	pty.legacy_count=
			[KNL] Number of legacy pty's. Overwrites compiled-in
			default number.

3888
	quiet		[KNL] Disable most log messages
R
Randy Dunlap 已提交
3889

L
Linus Torvalds 已提交
3890 3891 3892
	r128=		[HW,DRM]

	raid=		[HW,RAID]
3893
			See Documentation/admin-guide/md.rst.
L
Linus Torvalds 已提交
3894 3895

	ramdisk_size=	[RAM] Sizes of RAM disks in kilobytes
3896
			See Documentation/admin-guide/blockdev/ramdisk.rst.
L
Linus Torvalds 已提交
3897

3898 3899 3900 3901 3902 3903
	random.trust_cpu={on,off}
			[KNL] Enable or disable trusting the use of the
			CPU's random number generator (if available) to
			fully seed the kernel's CRNG. Default is controlled
			by CONFIG_RANDOM_TRUST_CPU.

3904 3905 3906 3907 3908 3909
	ras=option[,option,...]	[KNL] RAS-specific options

		cec_disable	[X86]
				Disable the Correctable Errors Collector,
				see CONFIG_RAS_CEC help text.

3910
	rcu_nocbs=	[KNL]
3911 3912 3913
			The argument is a cpu list, as described above,
			except that the string "all" can be used to
			specify every CPU on the system.
N
Noam Camus 已提交
3914

P
Paul E. McKenney 已提交
3915 3916
			In kernels built with CONFIG_RCU_NOCB_CPU=y, set
			the specified list of CPUs to be no-callback CPUs.
3917 3918 3919 3920 3921 3922 3923 3924
			Invocation of these CPUs' RCU callbacks will be
			offloaded to "rcuox/N" kthreads created for that
			purpose, where "x" is "p" for RCU-preempt, and
			"s" for RCU-sched, and "N" is the CPU number.
			This reduces OS jitter on the offloaded CPUs,
			which can be useful for HPC and real-time
			workloads.  It can also improve energy efficiency
			for asymmetric multiprocessors.
P
Paul E. McKenney 已提交
3925

3926
	rcu_nocb_poll	[KNL]
P
Paul E. McKenney 已提交
3927 3928 3929 3930 3931 3932 3933 3934 3935 3936
			Rather than requiring that offloaded CPUs
			(specified by rcu_nocbs= above) explicitly
			awaken the corresponding "rcuoN" kthreads,
			make these kthreads poll for callbacks.
			This improves the real-time response for the
			offloaded CPUs by relieving them of the need to
			wake up the corresponding kthread, but degrades
			energy efficiency by requiring that the kthreads
			periodically wake up to do the polling.

3937
	rcutree.blimit=	[KNL]
3938 3939
			Set maximum number of finished RCU callbacks to
			process in one batch.
D
Dipankar Sarma 已提交
3940

3941 3942 3943 3944 3945
	rcutree.dump_tree=	[KNL]
			Dump the structure of the rcu_node combining tree
			out at early boot.  This is used for diagnostic
			purposes, to verify correct tree setup.

3946 3947
	rcutree.gp_cleanup_delay=	[KNL]
			Set the number of jiffies to delay each step of
3948
			RCU grace-period cleanup.
3949

3950 3951
	rcutree.gp_init_delay=	[KNL]
			Set the number of jiffies to delay each step of
3952
			RCU grace-period initialization.
3953 3954 3955 3956 3957

	rcutree.gp_preinit_delay=	[KNL]
			Set the number of jiffies to delay each step of
			RCU grace-period pre-initialization, that is,
			the propagation of recent CPU-hotplug changes up
3958
			the rcu_node combining tree.
3959

3960 3961 3962 3963 3964 3965
	rcutree.use_softirq=	[KNL]
			If set to zero, move all RCU_SOFTIRQ processing to
			per-CPU rcuc kthreads.  Defaults to a non-zero
			value, meaning that RCU_SOFTIRQ is used by default.
			Specify rcutree.use_softirq=0 to use rcuc kthreads.

3966 3967 3968 3969 3970
	rcutree.rcu_fanout_exact= [KNL]
			Disable autobalancing of the rcu_node combining
			tree.  This is used by rcutorture, and might
			possibly be useful for architectures having high
			cache-to-cache transfer latencies.
3971

3972
	rcutree.rcu_fanout_leaf= [KNL]
3973 3974 3975 3976 3977 3978
			Change the number of CPUs assigned to each
			leaf rcu_node structure.  Useful for very
			large systems, which will choose the value 64,
			and for NUMA systems with large remote-access
			latencies, which will choose a value aligned
			with the appropriate hardware boundaries.
3979

3980
	rcutree.jiffies_till_first_fqs= [KNL]
3981 3982 3983 3984 3985
			Set delay from grace-period initialization to
			first attempt to force quiescent states.
			Units are jiffies, minimum value is zero,
			and maximum value is HZ.

3986
	rcutree.jiffies_till_next_fqs= [KNL]
3987 3988 3989 3990
			Set delay between subsequent attempts to force
			quiescent states.  Units are jiffies, minimum
			value is one, and maximum value is HZ.

3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004
	rcutree.jiffies_till_sched_qs= [KNL]
			Set required age in jiffies for a
			given grace period before RCU starts
			soliciting quiescent-state help from
			rcu_note_context_switch() and cond_resched().
			If not specified, the kernel will calculate
			a value based on the most recent settings
			of rcutree.jiffies_till_first_fqs
			and rcutree.jiffies_till_next_fqs.
			This calculated value may be viewed in
			rcutree.jiffies_to_sched_qs.  Any attempt to set
			rcutree.jiffies_to_sched_qs will be cheerfully
			overwritten.

4005
	rcutree.kthread_prio= 	 [KNL,BOOT]
4006 4007 4008 4009 4010 4011 4012 4013 4014
			Set the SCHED_FIFO priority of the RCU per-CPU
			kthreads (rcuc/N). This value is also used for
			the priority of the RCU boost threads (rcub/N)
			and for the RCU grace-period kthreads (rcu_bh,
			rcu_preempt, and rcu_sched). If RCU_BOOST is
			set, valid values are 1-99 and the default is 1
			(the least-favored priority).  Otherwise, when
			RCU_BOOST is not set, valid values are 0-99 and
			the default is zero (non-realtime operation).
4015

4016 4017 4018 4019 4020 4021 4022
	rcutree.rcu_nocb_gp_stride= [KNL]
			Set the number of NOCB callback kthreads in
			each group, which defaults to the square root
			of the number of CPUs.	Larger numbers reduce
			the wakeup overhead on the global grace-period
			kthread, but increases that same overhead on
			each group's NOCB grace-period kthread.
4023

4024
	rcutree.qhimark= [KNL]
4025 4026
			Set threshold of queued RCU callbacks beyond which
			batch limiting is disabled.
D
Dipankar Sarma 已提交
4027

4028
	rcutree.qlowmark= [KNL]
4029 4030
			Set threshold of queued RCU callbacks below which
			batch limiting is re-enabled.
D
Dipankar Sarma 已提交
4031

4032 4033 4034 4035 4036 4037 4038 4039 4040
	rcutree.qovld= [KNL]
			Set threshold of queued RCU callbacks beyond which
			RCU's force-quiescent-state scan will aggressively
			enlist help from cond_resched() and sched IPIs to
			help CPUs more quickly reach quiescent states.
			Set to less than zero to make this be set based
			on rcutree.qhimark at boot time and to zero to
			disable more aggressive help enlistment.

4041
	rcutree.rcu_idle_gp_delay= [KNL]
4042 4043
			Set wakeup interval for idle CPUs that have
			RCU callbacks (RCU_FAST_NO_HZ=y).
4044

4045
	rcutree.rcu_idle_lazy_gp_delay= [KNL]
4046 4047 4048 4049
			Set wakeup interval for idle CPUs that have
			only "lazy" RCU callbacks (RCU_FAST_NO_HZ=y).
			Lazy RCU callbacks are those which RCU can
			prove do nothing more than free memory.
4050

4051 4052 4053 4054 4055 4056 4057
	rcutree.rcu_kick_kthreads= [KNL]
			Cause the grace-period kthread to get an extra
			wake_up() if it sleeps three times longer than
			it should at force-quiescent-state time.
			This wake_up() will be accompanied by a
			WARN_ONCE() splat and an ftrace_dump().

4058 4059 4060 4061 4062
	rcutree.sysrq_rcu= [KNL]
			Commandeer a sysrq key to dump out Tree RCU's
			rcu_node tree with an eye towards determining
			why a new grace period has not yet started.

4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073
	rcuperf.gp_async= [KNL]
			Measure performance of asynchronous
			grace-period primitives such as call_rcu().

	rcuperf.gp_async_max= [KNL]
			Specify the maximum number of outstanding
			callbacks per writer thread.  When a writer
			thread exceeds this limit, it invokes the
			corresponding flavor of rcu_barrier() to allow
			previously posted callbacks to drain.

4074 4075 4076 4077
	rcuperf.gp_exp= [KNL]
			Measure performance of expedited synchronous
			grace-period primitives.

4078 4079 4080 4081 4082 4083
	rcuperf.holdoff= [KNL]
			Set test-start holdoff period.  The purpose of
			this parameter is to delay the start of the
			test until boot completes in order to avoid
			interference.

4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096
	rcuperf.kfree_rcu_test= [KNL]
			Set to measure performance of kfree_rcu() flooding.

	rcuperf.kfree_nthreads= [KNL]
			The number of threads running loops of kfree_rcu().

	rcuperf.kfree_alloc_num= [KNL]
			Number of allocations and frees done in an iteration.

	rcuperf.kfree_loops= [KNL]
			Number of loops doing rcuperf.kfree_alloc_num number
			of allocations and frees.

4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110
	rcuperf.nreaders= [KNL]
			Set number of RCU readers.  The value -1 selects
			N, where N is the number of CPUs.  A value
			"n" less than -1 selects N-n+1, where N is again
			the number of CPUs.  For example, -2 selects N
			(the number of CPUs), -3 selects N+1, and so on.
			A value of "n" less than or equal to -N selects
			a single reader.

	rcuperf.nwriters= [KNL]
			Set number of RCU writers.  The values operate
			the same as for rcuperf.nreaders.
			N, where N is the number of CPUs

4111 4112 4113
	rcuperf.perf_type= [KNL]
			Specify the RCU implementation to test.

4114 4115 4116 4117 4118 4119 4120 4121
	rcuperf.shutdown= [KNL]
			Shut the system down after performance tests
			complete.  This is useful for hands-off automated
			testing.

	rcuperf.verbose= [KNL]
			Enable additional printk() statements.

4122 4123 4124 4125 4126
	rcuperf.writer_holdoff= [KNL]
			Write-side holdoff between grace periods,
			in microseconds.  The default of zero says
			no holdoff.

4127
	rcutorture.fqs_duration= [KNL]
4128 4129
			Set duration of force_quiescent_state bursts
			in microseconds.
4130

4131
	rcutorture.fqs_holdoff= [KNL]
4132 4133
			Set holdoff time within force_quiescent_state bursts
			in microseconds.
4134

4135
	rcutorture.fqs_stutter= [KNL]
4136 4137 4138
			Set wait time between force_quiescent_state bursts
			in seconds.

4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155
	rcutorture.fwd_progress= [KNL]
			Enable RCU grace-period forward-progress testing
			for the types of RCU supporting this notion.

	rcutorture.fwd_progress_div= [KNL]
			Specify the fraction of a CPU-stall-warning
			period to do tight-loop forward-progress testing.

	rcutorture.fwd_progress_holdoff= [KNL]
			Number of seconds to wait between successive
			forward-progress tests.

	rcutorture.fwd_progress_need_resched= [KNL]
			Enclose cond_resched() calls within checks for
			need_resched() during tight-loop forward-progress
			testing.

4156 4157 4158
	rcutorture.gp_cond= [KNL]
			Use conditional/asynchronous update-side
			primitives, if available.
4159

4160
	rcutorture.gp_exp= [KNL]
4161
			Use expedited update-side primitives, if available.
4162 4163

	rcutorture.gp_normal= [KNL]
4164 4165 4166 4167 4168 4169 4170 4171 4172 4173
			Use normal (non-expedited) asynchronous
			update-side primitives, if available.

	rcutorture.gp_sync= [KNL]
			Use normal (non-expedited) synchronous
			update-side primitives, if available.  If all
			of rcutorture.gp_cond=, rcutorture.gp_exp=,
			rcutorture.gp_normal=, and rcutorture.gp_sync=
			are zero, rcutorture acts as if is interpreted
			they are all non-zero.
4174

4175
	rcutorture.n_barrier_cbs= [KNL]
4176 4177
			Set callbacks/threads for rcu_barrier() testing.

4178
	rcutorture.nfakewriters= [KNL]
4179 4180 4181 4182
			Set number of concurrent RCU writers.  These just
			stress RCU, they don't participate in the actual
			test, hence the "fake".

4183
	rcutorture.nreaders= [KNL]
4184 4185 4186 4187 4188
			Set number of RCU readers.  The value -1 selects
			N-1, where N is the number of CPUs.  A value
			"n" less than -1 selects N-n-2, where N is again
			the number of CPUs.  For example, -2 selects N
			(the number of CPUs), -3 selects N+1, and so on.
4189

4190 4191 4192 4193
	rcutorture.object_debug= [KNL]
			Enable debug-object double-call_rcu() testing.

	rcutorture.onoff_holdoff= [KNL]
4194 4195
			Set time (s) after boot for CPU-hotplug testing.

4196
	rcutorture.onoff_interval= [KNL]
4197 4198
			Set time (jiffies) between CPU-hotplug operations,
			or zero to disable CPU-hotplug testing.
4199

4200
	rcutorture.shuffle_interval= [KNL]
4201 4202 4203 4204
			Set task-shuffle interval (s).  Shuffling tasks
			allows some CPUs to go into dyntick-idle mode
			during the rcutorture test.

4205
	rcutorture.shutdown_secs= [KNL]
4206 4207 4208
			Set time (s) after boot system shutdown.  This
			is useful for hands-off automated testing.

4209
	rcutorture.stall_cpu= [KNL]
4210 4211 4212
			Duration of CPU stall (s) to test RCU CPU stall
			warnings, zero to disable.

4213
	rcutorture.stall_cpu_holdoff= [KNL]
4214 4215
			Time to wait (s) after boot before inducing stall.

4216 4217 4218
	rcutorture.stall_cpu_irqsoff= [KNL]
			Disable interrupts while stalling if set.

4219
	rcutorture.stat_interval= [KNL]
4220 4221
			Time (s) between statistics printk()s.

4222
	rcutorture.stutter= [KNL]
4223 4224 4225 4226 4227
			Time (s) to stutter testing, for example, specifying
			five seconds causes the test to run for five seconds,
			wait for five seconds, and so on.  This tests RCU's
			ability to transition abruptly to and from idle.

4228
	rcutorture.test_boost= [KNL]
4229 4230 4231 4232
			Test RCU priority boosting?  0=no, 1=maybe, 2=yes.
			"Maybe" means test if the RCU implementation
			under test support RCU priority boosting.

4233
	rcutorture.test_boost_duration= [KNL]
4234 4235
			Duration (s) of each individual boost test.

4236
	rcutorture.test_boost_interval= [KNL]
4237 4238
			Interval (s) between each boost test.

4239
	rcutorture.test_no_idle_hz= [KNL]
4240 4241 4242
			Test RCU's dyntick-idle handling.  See also the
			rcutorture.shuffle_interval parameter.

4243
	rcutorture.torture_type= [KNL]
4244 4245
			Specify the RCU implementation to test.

4246
	rcutorture.verbose= [KNL]
4247 4248
			Enable additional printk() statements.

4249 4250 4251 4252
	rcupdate.rcu_cpu_stall_ftrace_dump= [KNL]
			Dump ftrace buffer after reporting RCU CPU
			stall warning.

4253 4254 4255
	rcupdate.rcu_cpu_stall_suppress= [KNL]
			Suppress RCU CPU stall warning messages.

4256 4257 4258 4259 4260 4261
	rcupdate.rcu_cpu_stall_suppress_at_boot= [KNL]
			Suppress RCU CPU stall warning messages and
			rcutorture writer stall warnings that occur
			during early boot, that is, during the time
			before the init task is spawned.

4262 4263 4264
	rcupdate.rcu_cpu_stall_timeout= [KNL]
			Set timeout for RCU CPU stall warning messages.

4265 4266 4267 4268 4269 4270
	rcupdate.rcu_expedited= [KNL]
			Use expedited grace-period primitives, for
			example, synchronize_rcu_expedited() instead
			of synchronize_rcu().  This reduces latency,
			but can increase CPU utilization, degrade
			real-time latency, and degrade energy efficiency.
4271
			No effect on CONFIG_TINY_RCU kernels.
4272

4273 4274 4275 4276
	rcupdate.rcu_normal= [KNL]
			Use only normal grace-period primitives,
			for example, synchronize_rcu() instead of
			synchronize_rcu_expedited().  This improves
4277 4278 4279 4280 4281
			real-time latency, CPU utilization, and
			energy efficiency, but can expose users to
			increased grace-period latency.  This parameter
			overrides rcupdate.rcu_expedited.  No effect on
			CONFIG_TINY_RCU kernels.
4282

4283 4284 4285
	rcupdate.rcu_normal_after_boot= [KNL]
			Once boot has completed (that is, after
			rcu_end_inkernel_boot() has been invoked), use
4286 4287
			only normal grace-period primitives.  No effect
			on CONFIG_TINY_RCU kernels.
4288

4289 4290 4291 4292 4293
	rcupdate.rcu_task_stall_timeout= [KNL]
			Set timeout in jiffies for RCU task stall warning
			messages.  Disable with a value less than or equal
			to zero.

4294 4295 4296
	rcupdate.rcu_self_test= [KNL]
			Run the RCU early boot self tests

4297 4298 4299 4300 4301
	rdinit=		[KNL]
			Format: <full_path>
			Run specified binary instead of /init from the ramdisk,
			used for early userspace startup. See initrd.

4302 4303 4304 4305 4306 4307 4308
	rdrand=		[X86]
			force - Override the decision by the kernel to hide the
				advertisement of RDRAND support (this affects
				certain AMD processors because of buggy BIOS
				support, specifically around the suspend/resume
				path).

4309 4310
	rdt=		[HW,X86,RDT]
			Turn on/off individual RDT features. List is:
4311 4312
			cmt, mbmtotal, mbmlocal, l3cat, l3cdp, l2cat, l2cdp,
			mba.
4313 4314 4315
			E.g. to turn on cmt and turn off mba use:
				rdt=cmt,!mba

4316 4317 4318 4319 4320 4321
	reboot=		[KNL]
			Format (x86 or x86_64):
				[w[arm] | c[old] | h[ard] | s[oft] | g[pio]] \
				[[,]s[mp]#### \
				[[,]b[ios] | a[cpi] | k[bd] | t[riple] | e[fi] | p[ci]] \
				[[,]f[orce]
4322 4323 4324
			Where reboot_mode is one of warm (soft) or cold (hard) or gpio
					(prefix with 'panic_' to set mode for panic
					reboot only),
4325 4326 4327 4328
			      reboot_type is one of bios, acpi, kbd, triple, efi, or pci,
			      reboot_force is either force or not specified,
			      reboot_cpu is s[mp]#### with #### being the processor
					to be used for rebooting.
L
Linus Torvalds 已提交
4329

4330 4331
	relax_domain_level=
			[KNL, SMP] Set scheduler's default relax_domain_level.
4332
			See Documentation/admin-guide/cgroup-v1/cpusets.rst.
4333

4334 4335 4336 4337 4338
	reserve=	[KNL,BUGS] Force kernel to ignore I/O ports or memory
			Format: <base1>,<size1>[,<base2>,<size2>,...]
			Reserve I/O ports or memory so the kernel won't use
			them.  If <base> is less than 0x10000, the region
			is assumed to be I/O ports; otherwise it is memory.
L
Linus Torvalds 已提交
4339

4340
	reservetop=	[X86-32]
4341 4342 4343 4344
			Format: nn[KMG]
			Reserves a hole at the top of the kernel virtual
			address space.

4345 4346 4347 4348 4349
	reservelow=	[X86]
			Format: nn[K]
			Set the amount of memory to reserve for BIOS at
			the bottom of the address space.

4350 4351 4352
	reset_devices	[KNL] Force drivers to reset the underlying device
			during initialization.

R
Randy Dunlap 已提交
4353 4354
	resume=		[SWSUSP]
			Specify the partition device for software suspend
4355 4356
			Format:
			{/dev/<dev> | PARTUUID=<uuid> | <int>:<int> | <hex>}
L
Linus Torvalds 已提交
4357

4358 4359 4360 4361
	resume_offset=	[SWSUSP]
			Specify the offset from the beginning of the partition
			given by "resume=" at which the swap header is located,
			in <PAGE_SIZE> units (needed only for swap files).
4362
			See  Documentation/power/swsusp-and-swap-files.rst
4363

4364 4365 4366
	resumedelay=	[HIBERNATION] Delay (in seconds) to pause before attempting to
			read the resume files

4367 4368 4369 4370
	resumewait	[HIBERNATION] Wait (indefinitely) for resume device to show up.
			Useful for devices that are detected asynchronously
			(e.g. USB and MMC devices).

4371 4372 4373 4374
	hibernate=	[HIBERNATION]
		noresume	Don't check if there's a hibernation image
				present during boot.
		nocompress	Don't compress/decompress hibernation images.
4375
		no		Disable hibernation and resume.
4376 4377 4378
		protect_image	Turn on image protection during restoration
				(that will set all pages holding image data
				during restoration read-only).
4379

4380 4381
	retain_initrd	[RAM] Keep initrd memory after extraction

4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393
	rfkill.default_state=
		0	"airplane mode".  All wifi, bluetooth, wimax, gps, fm,
			etc. communication is blocked by default.
		1	Unblocked.

	rfkill.master_switch_mode=
		0	The "airplane mode" button does nothing.
		1	The "airplane mode" button toggles between everything
			blocked and the previous configuration.
		2	The "airplane mode" button toggles between everything
			blocked and everything unblocked.

L
Linus Torvalds 已提交
4394 4395 4396
	rhash_entries=	[KNL,NET]
			Set number of hash buckets for route cache

4397 4398 4399 4400
	ring3mwait=disable
			[KNL] Disable ring 3 MONITOR/MWAIT feature on supported
			CPUs.

L
Linus Torvalds 已提交
4401 4402
	ro		[KNL] Mount root device read-only on boot

4403 4404 4405 4406
	rodata=		[KNL]
		on	Mark read-only kernel memory as read-only (default).
		off	Leave read-only kernel memory writable for debugging.

4407 4408 4409 4410 4411 4412
	rockchip.usb_uart
			Enable the uart passthrough on the designated usb port
			on Rockchip SoCs. When active, the signals of the
			debug-uart get routed to the D+ and D- pins of the usb
			port and the regular usb controller gets disabled.

L
Linus Torvalds 已提交
4413
	root=		[KNL] Root filesystem
4414
			See name_to_dev_t comment in init/do_mounts.c.
L
Linus Torvalds 已提交
4415 4416 4417 4418 4419 4420 4421 4422

	rootdelay=	[KNL] Delay (in seconds) to pause before attempting to
			mount the root filesystem

	rootflags=	[KNL] Set root filesystem mount option string

	rootfstype=	[KNL] Set root filesystem type

4423 4424 4425 4426
	rootwait	[KNL] Wait (indefinitely) for root device to show up.
			Useful for devices that are detected asynchronously
			(e.g. USB and MMC devices).

4427 4428 4429 4430 4431
	rproc_mem=nn[KMG][@address]
			[KNL,ARM,CMA] Remoteproc physical memory block.
			Memory area to be used by remote processor image,
			managed by CMA.

L
Linus Torvalds 已提交
4432 4433 4434 4435
	rw		[KNL] Mount root device read-write on boot

	S		[KNL] Run init in single mode

4436 4437 4438 4439 4440 4441 4442
	s390_iommu=	[HW,S390]
			Set s390 IOTLB flushing mode
		strict
			With strict flushing every unmap operation will result in
			an IOTLB flush. Default is lazy flushing before reuse,
			which is faster.

L
Linus Torvalds 已提交
4443 4444 4445 4446
	sa1100ir	[NET]
			See drivers/net/irda/sa1100_ir.c.

	sbni=		[NET] Granch SBNI12 leased line adapter
R
Randy Dunlap 已提交
4447

4448 4449
	sched_debug	[KNL] Enables verbose scheduler debug messages.

4450 4451 4452 4453
	schedstats=	[KNL,X86] Enable or disable scheduled statistics.
			Allowed values are enable and disable. This feature
			incurs a small amount of overhead in the scheduler
			but is useful for debugging and performance tuning.
4454

4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470
	sched_thermal_decay_shift=
			[KNL, SMP] Set a decay shift for scheduler thermal
			pressure signal. Thermal pressure signal follows the
			default decay period of other scheduler pelt
			signals(usually 32 ms but configurable). Setting
			sched_thermal_decay_shift will left shift the decay
			period for the thermal pressure signal by the shift
			value.
			i.e. with the default pelt decay period of 32 ms
			sched_thermal_decay_shift   thermal pressure decay pr
				1			64 ms
				2			128 ms
			and so on.
			Format: integer between 0 and 10
			Default is 0.

M
Mike Galbraith 已提交
4471 4472 4473 4474 4475 4476 4477 4478 4479
	skew_tick=	[KNL] Offset the periodic timer tick per cpu to mitigate
			xtime_lock contention on larger systems, and/or RCU lock
			contention on all systems with CONFIG_MAXSMP set.
			Format: { "0" | "1" }
			0 -- disable. (may be 1 via CONFIG_CMDLINE="skew_tick=1"
			1 -- enable.
			Note: increases power consumption, thus should only be
			enabled if running jitter sensitive (HPC/RT) workloads.

4480 4481 4482
	security=	[SECURITY] Choose a legacy "major" security module to
			enable at boot. This has been deprecated by the
			"lsm=" parameter.
4483 4484

	selinux=	[SELINUX] Disable or enable SELinux at boot time.
L
Linus Torvalds 已提交
4485 4486 4487 4488
			Format: { "0" | "1" }
			See security/selinux/Kconfig help text.
			0 -- disable.
			1 -- enable.
4489
			Default value is 1.
L
Linus Torvalds 已提交
4490

4491 4492 4493 4494 4495 4496 4497
	apparmor=	[APPARMOR] Disable or enable AppArmor at boot time
			Format: { "0" | "1" }
			See security/apparmor/Kconfig help text
			0 -- disable.
			1 -- enable.
			Default value is set via kernel config option.

4498
	serialnumber	[BUGS=X86-32]
L
Linus Torvalds 已提交
4499 4500 4501

	shapers=	[NET]
			Maximal number of shapers.
R
Randy Dunlap 已提交
4502

L
Linus Torvalds 已提交
4503 4504
	simeth=		[IA-64]
	simscsi=
R
Randy Dunlap 已提交
4505

L
Linus Torvalds 已提交
4506 4507
	slram=		[HW,MTD]

4508 4509 4510
	slab_nomerge	[MM]
			Disable merging of slabs with similar size. May be
			necessary if there is some reason to distinguish
4511 4512 4513 4514 4515 4516 4517 4518
			allocs to different slabs, especially in hardened
			environments where the risk of heap overflows and
			layout control by attackers can usually be
			frustrated by disabling merging. This will reduce
			most of the exposure of a heap attack to a single
			cache (risks via metadata attacks are mostly
			unchanged). Debug options disable merging on their
			own.
4519
			For more information see Documentation/vm/slub.rst.
4520

4521 4522 4523 4524 4525 4526
	slab_max_order=	[MM, SLAB]
			Determines the maximum allowed order for slabs.
			A high setting may cause OOMs due to memory
			fragmentation.  Defaults to 1 for systems with
			more than 32MB of RAM, 0 otherwise.

4527 4528 4529 4530 4531 4532
	slub_debug[=options[,slabs]]	[MM, SLUB]
			Enabling slub_debug allows one to determine the
			culprit if slab objects become corrupted. Enabling
			slub_debug can create guard zones around objects and
			may poison objects when not in use. Also tracks the
			last alloc / free. For more information see
4533
			Documentation/vm/slub.rst.
C
Christoph Lameter 已提交
4534

4535 4536 4537 4538 4539 4540 4541 4542
	slub_memcg_sysfs=	[MM, SLUB]
			Determines whether to enable sysfs directories for
			memory cgroup sub-caches. 1 to enable, 0 to disable.
			The default is determined by CONFIG_SLUB_MEMCG_SYSFS_ON.
			Enabling this can lead to a very high number of	debug
			directories and files being created under
			/sys/kernel/slub.

C
Christoph Lameter 已提交
4543
	slub_max_order= [MM, SLUB]
4544 4545 4546
			Determines the maximum allowed order for slabs.
			A high setting may cause OOMs due to memory
			fragmentation. For more information see
4547
			Documentation/vm/slub.rst.
C
Christoph Lameter 已提交
4548 4549

	slub_min_objects=	[MM, SLUB]
4550 4551 4552 4553 4554 4555
			The minimum number of objects per slab. SLUB will
			increase the slab order up to slub_max_order to
			generate a sufficiently large slab able to contain
			the number of objects indicated. The higher the number
			of objects the smaller the overhead of tracking slabs
			and the less frequently locks need to be acquired.
4556
			For more information see Documentation/vm/slub.rst.
C
Christoph Lameter 已提交
4557 4558

	slub_min_order=	[MM, SLUB]
4559
			Determines the minimum page order for slabs. Must be
4560
			lower than slub_max_order.
4561
			For more information see Documentation/vm/slub.rst.
C
Christoph Lameter 已提交
4562 4563

	slub_nomerge	[MM, SLUB]
4564 4565
			Same with slab_nomerge. This is supported for legacy.
			See slab_nomerge for more information.
C
Christoph Lameter 已提交
4566

L
Linus Torvalds 已提交
4567 4568 4569
	smart2=		[HW]
			Format: <io1>[,<io2>[,...,<io8>]]

B
Bjorn Helgaas 已提交
4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580
	smsc-ircc2.nopnp	[HW] Don't use PNP to discover SMC devices
	smsc-ircc2.ircc_cfg=	[HW] Device configuration I/O port
	smsc-ircc2.ircc_sir=	[HW] SIR base I/O port
	smsc-ircc2.ircc_fir=	[HW] FIR base I/O port
	smsc-ircc2.ircc_irq=	[HW] IRQ line
	smsc-ircc2.ircc_dma=	[HW] DMA channel
	smsc-ircc2.ircc_transceiver= [HW] Transceiver type:
				0: Toshiba Satellite 1800 (GP data pin select)
				1: Fast pin select (default)
				2: ATC IRMode

4581 4582 4583 4584 4585 4586 4587
	smt		[KNL,S390] Set the maximum number of threads (logical
			CPUs) to use per physical CPU on systems capable of
			symmetric multithreading (SMT). Will be capped to the
			actual hardware limit.
			Format: <integer>
			Default: -1 (no limit)

I
Ingo Molnar 已提交
4588 4589
	softlockup_panic=
			[KNL] Should the soft-lockup detector generate panics.
4590
			Format: <integer>
I
Ingo Molnar 已提交
4591

4592
			A nonzero value instructs the soft-lockup detector
4593 4594 4595 4596
			to panic the machine when a soft-lockup occurs. It is
			also controlled by the kernel.softlockup_panic sysctl
			and CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC, which is the
			respective build-time switch to that functionality.
4597

4598 4599 4600 4601 4602
	softlockup_all_cpu_backtrace=
			[KNL] Should the soft-lockup detector generate
			backtraces on all cpus.
			Format: <integer>

L
Linus Torvalds 已提交
4603
	sonypi.*=	[HW] Sony Programmable I/O Control Device driver
4604
			See Documentation/admin-guide/laptops/sonypi.rst
L
Linus Torvalds 已提交
4605

4606 4607
	spectre_v2=	[X86] Control mitigation of Spectre variant 2
			(indirect branch speculation) vulnerability.
4608 4609
			The default operation protects the kernel from
			user space attacks.
4610

4611 4612 4613 4614
			on   - unconditionally enable, implies
			       spectre_v2_user=on
			off  - unconditionally disable, implies
			       spectre_v2_user=off
4615 4616 4617 4618 4619 4620 4621 4622 4623
			auto - kernel detects whether your CPU model is
			       vulnerable

			Selecting 'on' will, and 'auto' may, choose a
			mitigation method at run time according to the
			CPU, the available microcode, the setting of the
			CONFIG_RETPOLINE configuration option, and the
			compiler with which the kernel was built.

4624 4625 4626 4627 4628 4629
			Selecting 'on' will also enable the mitigation
			against user space to user space task attacks.

			Selecting 'off' will disable both the kernel and
			the user space protections.

4630 4631 4632 4633 4634 4635 4636 4637 4638
			Specific mitigations can also be selected manually:

			retpoline	  - replace indirect branches
			retpoline,generic - google's original retpoline
			retpoline,amd     - AMD-specific minimal thunk

			Not specifying this option is equivalent to
			spectre_v2=auto.

4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649
	spectre_v2_user=
			[X86] Control mitigation of Spectre variant 2
		        (indirect branch speculation) vulnerability between
		        user space tasks

			on	- Unconditionally enable mitigations. Is
				  enforced by spectre_v2=on

			off     - Unconditionally disable mitigations. Is
				  enforced by spectre_v2=off

4650 4651 4652 4653 4654
			prctl   - Indirect branch speculation is enabled,
				  but mitigation can be enabled via prctl
				  per thread.  The mitigation control state
				  is inherited on fork.

4655 4656 4657 4658 4659 4660
			prctl,ibpb
				- Like "prctl" above, but only STIBP is
				  controlled per thread. IBPB is issued
				  always when switching between different user
				  space processes.

4661 4662 4663 4664 4665
			seccomp
				- Same as "prctl" above, but all seccomp
				  threads will enable the mitigation unless
				  they explicitly opt out.

4666 4667 4668 4669 4670 4671
			seccomp,ibpb
				- Like "seccomp" above, but only STIBP is
				  controlled per thread. IBPB is issued
				  always when switching between different
				  user space processes.

4672 4673
			auto    - Kernel selects the mitigation depending on
				  the available CPU features and vulnerability.
4674 4675 4676

			Default mitigation:
			If CONFIG_SECCOMP=y then "seccomp", otherwise "prctl"
4677 4678 4679 4680

			Not specifying this option is equivalent to
			spectre_v2_user=auto.

4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701
	spec_store_bypass_disable=
			[HW] Control Speculative Store Bypass (SSB) Disable mitigation
			(Speculative Store Bypass vulnerability)

			Certain CPUs are vulnerable to an exploit against a
			a common industry wide performance optimization known
			as "Speculative Store Bypass" in which recent stores
			to the same memory location may not be observed by
			later loads during speculative execution. The idea
			is that such stores are unlikely and that they can
			be detected prior to instruction retirement at the
			end of a particular speculation execution window.

			In vulnerable processors, the speculatively forwarded
			store can be used in a cache side channel attack, for
			example to read memory to which the attacker does not
			directly have access (e.g. inside sandboxed code).

			This parameter controls whether the Speculative Store
			Bypass optimization is used.

4702 4703
			On x86 the options are:

4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717
			on      - Unconditionally disable Speculative Store Bypass
			off     - Unconditionally enable Speculative Store Bypass
			auto    - Kernel detects whether the CPU model contains an
				  implementation of Speculative Store Bypass and
				  picks the most appropriate mitigation. If the
				  CPU is not vulnerable, "off" is selected. If the
				  CPU is vulnerable the default mitigation is
				  architecture and Kconfig dependent. See below.
			prctl   - Control Speculative Store Bypass per thread
				  via prctl. Speculative Store Bypass is enabled
				  for a process by default. The state of the control
				  is inherited on fork.
			seccomp - Same as "prctl" above, but all seccomp threads
				  will disable SSB unless they explicitly opt out.
4718

4719 4720 4721
			Default mitigations:
			X86:	If CONFIG_SECCOMP=y "seccomp", otherwise "prctl"

4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732
			On powerpc the options are:

			on,auto - On Power8 and Power9 insert a store-forwarding
				  barrier on kernel entry and exit. On Power7
				  perform a software flush on kernel entry and
				  exit.
			off	- No action.

			Not specifying this option is equivalent to
			spec_store_bypass_disable=auto.

L
Linus Torvalds 已提交
4733 4734 4735 4736 4737
	spia_io_base=	[HW,MTD]
	spia_fio_base=
	spia_pedr=
	spia_peddr=

4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759
	split_lock_detect=
			[X86] Enable split lock detection

			When enabled (and if hardware support is present), atomic
			instructions that access data across cache line
			boundaries will result in an alignment check exception.

			off	- not enabled

			warn	- the kernel will emit rate limited warnings
				  about applications triggering the #AC
				  exception. This mode is the default on CPUs
				  that supports split lock detection.

			fatal	- the kernel will send SIGBUS to applications
				  that trigger the #AC exception.

			If an #AC exception is hit in the kernel or in
			firmware (i.e. not while executing in user mode)
			the kernel will oops in either "warn" or "fatal"
			mode.

4760 4761 4762 4763 4764 4765 4766 4767 4768
	srcutree.counter_wrap_check [KNL]
			Specifies how frequently to check for
			grace-period sequence counter wrap for the
			srcu_data structure's ->srcu_gp_seq_needed field.
			The greater the number of bits set in this kernel
			parameter, the less frequently counter wrap will
			be checked for.  Note that the bottom two bits
			are ignored.

4769 4770 4771 4772 4773 4774 4775 4776
	srcutree.exp_holdoff [KNL]
			Specifies how many nanoseconds must elapse
			since the end of the last SRCU grace period for
			a given srcu_struct until the next normal SRCU
			grace period will be considered for automatic
			expediting.  Set to zero to disable automatic
			expediting.

4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793
	ssbd=		[ARM64,HW]
			Speculative Store Bypass Disable control

			On CPUs that are vulnerable to the Speculative
			Store Bypass vulnerability and offer a
			firmware based mitigation, this parameter
			indicates how the mitigation should be used:

			force-on:  Unconditionally enable mitigation for
				   for both kernel and userspace
			force-off: Unconditionally disable mitigation for
				   for both kernel and userspace
			kernel:    Always enable mitigation in the
				   kernel, and offer a prctl interface
				   to allow userspace to register its
				   interest in being mitigated too.

4794 4795 4796 4797 4798 4799 4800
	stack_guard_gap=	[MM]
			override the default stack gap protection. The value
			is in page units and it defines how many pages prior
			to (for stacks growing down) resp. after (for stacks
			growing up) the main stack are reserved for no other
			mapping. Default value is 256 pages.

4801 4802 4803
	stacktrace	[FTRACE]
			Enabled the stack tracer on boot up.

4804 4805 4806 4807 4808 4809 4810 4811
	stacktrace_filter=[function-list]
			[FTRACE] Limit the functions that the stack tracer
			will trace at boot up. function-list is a comma separated
			list of functions. This list can be changed at run
			time by the stack_trace_filter file in the debugfs
			tracing directory. Note, this enables stack tracing
			and the stacktrace above is not needed.

L
Linus Torvalds 已提交
4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824
	sti=		[PARISC,HW]
			Format: <num>
			Set the STI (builtin display/keyboard on the HP-PARISC
			machines) console (graphic card) which should be used
			as the initial boot-console.
			See also comment in drivers/video/console/sticore.c.

	sti_font=	[HW]
			See comment in drivers/video/console/sticore.c.

	stifb=		[HW]
			Format: bpp:<bpp1>[:<bpp2>[:<bpp3>...]]

4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836
	sunrpc.min_resvport=
	sunrpc.max_resvport=
			[NFS,SUNRPC]
			SunRPC servers often require that client requests
			originate from a privileged port (i.e. a port in the
			range 0 < portnr < 1024).
			An administrator who wishes to reserve some of these
			ports for other uses may adjust the range that the
			kernel's sunrpc client considers to be privileged
			using these two parameters to set the minimum and
			maximum port values.

4837 4838 4839 4840 4841 4842
	sunrpc.svc_rpc_per_connection_limit=
			[NFS,SUNRPC]
			Limit the number of requests that the server will
			process in parallel from a single connection.
			The default value is 0 (no limit).

4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858
	sunrpc.pool_mode=
			[NFS]
			Control how the NFS server code allocates CPUs to
			service thread pools.  Depending on how many NICs
			you have and where their interrupts are bound, this
			option will affect which CPUs will do NFS serving.
			Note: this parameter cannot be changed while the
			NFS server is running.

			auto	    the server chooses an appropriate mode
				    automatically using heuristics
			global	    a single global pool contains all CPUs
			percpu	    one pool for each CPU
			pernode	    one pool for each NUMA node (equivalent
				    to global on non-NUMA machines)

4859 4860 4861 4862 4863 4864 4865 4866 4867
	sunrpc.tcp_slot_table_entries=
	sunrpc.udp_slot_table_entries=
			[NFS,SUNRPC]
			Sets the upper limit on the number of simultaneous
			RPC calls that can be sent from the client to a
			server. Increasing these values may allow you to
			improve throughput, but will also increase the
			amount of memory reserved for use by the client.

4868 4869 4870 4871 4872 4873 4874
	suspend.pm_test_delay=
			[SUSPEND]
			Sets the number of seconds to remain in a suspend test
			mode before resuming the system (see
			/sys/power/pm_test). Only available when CONFIG_PM_DEBUG
			is set. Default value is 5.

4875 4876 4877 4878 4879
	svm=		[PPC]
			Format: { on | off | y | n | 1 | 0 }
			This parameter controls use of the Protected
			Execution Facility on pSeries.

4880
	swapaccount=[0|1]
4881 4882
			[KNL] Enable accounting of swap in memory resource
			controller if no parameter or 1 is given or disable
4883
			it if 0 is given (See Documentation/admin-guide/cgroup-v1/memory.rst)
4884

J
Jiri Kosina 已提交
4885
	swiotlb=	[ARM,IA-64,PPC,MIPS,X86]
4886
			Format: { <int> | force | noforce }
J
Jiri Kosina 已提交
4887 4888 4889
			<int> -- Number of I/O TLB slabs
			force -- force using of bounce buffers even if they
			         wouldn't be automatically used by the kernel
4890
			noforce -- Never use bounce buffers (for debugging)
R
Randy Dunlap 已提交
4891

L
Linus Torvalds 已提交
4892 4893
	switches=	[HW,M68k]

4894 4895 4896 4897 4898 4899 4900 4901 4902
	sysfs.deprecated=0|1 [KNL]
			Enable/disable old style sysfs layout for old udev
			on older distributions. When this option is enabled
			very new udev will not work anymore. When this option
			is disabled (or CONFIG_SYSFS_DEPRECATED not compiled)
			in older udev will not work anymore.
			Default depends on CONFIG_SYSFS_DEPRECATED_V2 set in
			the kernel configuration.

4903 4904 4905 4906 4907 4908
	sysrq_always_enabled
			[KNL]
			Ignore sysrq setting - this boot parameter will
			neutralize any effect of /proc/sys/kernel/sysrq.
			Useful for debugging.

4909 4910 4911 4912 4913 4914 4915
	tcpmhash_entries= [KNL,NET]
			Set the number of tcp_metrics_hash slots.
			Default value is 8192 or 16384 depending on total
			ram pages. This is used to specify the TCP metrics
			cache size. See Documentation/networking/ip-sysctl.txt
			"tcp_no_metrics_save" section for more details.

L
Linus Torvalds 已提交
4916 4917
	tdfx=		[HW,DRM]

4918
	test_suspend=	[SUSPEND][,N]
D
David Brownell 已提交
4919
			Specify "mem" (for Suspend-to-RAM) or "standby" (for
4920 4921 4922 4923 4924
			standby suspend) or "freeze" (for suspend type freeze)
			as the system sleep state during system startup with
			the optional capability to repeat N number of times.
			The system is woken from this state using a
			wakeup-capable RTC alarm.
D
David Brownell 已提交
4925

L
Linus Torvalds 已提交
4926 4927 4928
	thash_entries=	[KNL,NET]
			Set number of hash buckets for TCP connection

4929 4930 4931 4932
	thermal.act=	[HW,ACPI]
			-1: disable all active trip points in all thermal zones
			<degrees C>: override all lowest active trip points

4933 4934
	thermal.crt=	[HW,ACPI]
			-1: disable all critical trip points in all thermal zones
4935
			<degrees C>: override all critical trip points
4936

4937 4938 4939 4940
	thermal.nocrt=	[HW,ACPI]
			Set to disable actions on ACPI thermal zone
			critical and hot trip points.

4941 4942 4943
	thermal.off=	[HW,ACPI]
			1: disable ACPI thermal control

4944 4945
	thermal.psv=	[HW,ACPI]
			-1: disable all passive trip points
4946 4947
			<degrees C>: override all passive trip points to this
			value
4948

4949 4950 4951 4952 4953
	thermal.tzp=	[HW,ACPI]
			Specify global default ACPI thermal zone polling rate
			<deci-seconds>: poll all this frequency
			0: no polling (default)

4954 4955
	threadirqs	[KNL]
			Force threading of all interrupt handlers except those
4956
			marked explicitly IRQF_NO_THREAD.
4957

4958 4959 4960
	topology=	[S390]
			Format: {off | on}
			Specify if the kernel should make use of the cpu
4961 4962
			topology information if the hardware supports this.
			The scheduler will make use of this information and
4963
			e.g. base its process migration decisions on it.
H
Heiko Carstens 已提交
4964
			Default is on.
4965

4966 4967 4968 4969 4970 4971
	topology_updates= [KNL, PPC, NUMA]
			Format: {off}
			Specify if the kernel should ignore (off)
			topology updates sent by the hypervisor to this
			LPAR.

4972 4973 4974 4975
	torture.disable_onoff_at_boot= [KNL]
			Prevent the CPU-hotplug component of torturing
			until after init has spawned.

L
Linus Torvalds 已提交
4976 4977
	tp720=		[HW,PS2]

4978 4979 4980 4981 4982 4983 4984 4985 4986
	tpm_suspend_pcr=[HW,TPM]
			Format: integer pcr id
			Specify that at suspend time, the tpm driver
			should extend the specified pcr with zeros,
			as a workaround for some chips which fail to
			flush the last written pcr on TPM_SaveState.
			This will guarantee that all the other pcrs
			are saved.

4987
	trace_buf_size=nn[KMG]
4988
			[FTRACE] will set tracing buffer size on each cpu.
4989

4990 4991
	trace_event=[event-list]
			[FTRACE] Set and start specified trace events in order
4992 4993
			to facilitate early boot debugging. The event-list is a
			comma separated list of trace events to enable. See
4994
			also Documentation/trace/events.rst
4995

4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008
	trace_options=[option-list]
			[FTRACE] Enable or disable tracer options at boot.
			The option-list is a comma delimited list of options
			that can be enabled or disabled just as if you were
			to echo the option name into

			    /sys/kernel/debug/tracing/trace_options

			For example, to enable stacktrace option (to dump the
			stack trace of each event), add to the command line:

			      trace_options=stacktrace

5009
			See also Documentation/trace/ftrace.rst "trace options"
5010 5011
			section.

5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029
	tp_printk[FTRACE]
			Have the tracepoints sent to printk as well as the
			tracing ring buffer. This is useful for early boot up
			where the system hangs or reboots and does not give the
			option for reading the tracing buffer or performing a
			ftrace_dump_on_oops.

			To turn off having tracepoints sent to printk,
			 echo 0 > /proc/sys/kernel/tracepoint_printk
			Note, echoing 1 into this file without the
			tracepoint_printk kernel cmdline option has no effect.

			** CAUTION **

			Having tracepoints sent to printk() and activating high
			frequency tracepoints such as irq or sched, can cause
			the system to live lock.

5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042
	traceoff_on_warning
			[FTRACE] enable this option to disable tracing when a
			warning is hit. This turns off "tracing_on". Tracing can
			be enabled again by echoing '1' into the "tracing_on"
			file located in /sys/kernel/debug/tracing/

			This option is useful, as it disables the trace before
			the WARNING dump is called, which prevents the trace to
			be filled with content caused by the warning output.

			This option can also be set at run time via the sysctl
			option:  kernel/traceoff_on_warning

5043 5044 5045 5046 5047
	transparent_hugepage=
			[KNL]
			Format: [always|madvise|never]
			Can be used to control the default behavior of the system
			with respect to transparent hugepages.
5048 5049
			See Documentation/admin-guide/mm/transhuge.rst
			for more details.
5050

5051
	tsc=		Disable clocksource stability checks for TSC.
5052 5053
			Format: <string>
			[x86] reliable: mark tsc clocksource as reliable, this
5054 5055 5056 5057
			disables clocksource verification at runtime, as well
			as the stability checks done at bootup.	Used to enable
			high-resolution timer mode on older hardware, and in
			virtualized environment.
V
Venkatesh Pallipadi 已提交
5058 5059 5060 5061
			[x86] noirqtime: Do not use TSC to do irq accounting.
			Used to run time disable IRQ_TIME_ACCOUNTING on any
			platforms where RDTSC is slow and this accounting
			can add overhead.
5062 5063 5064
			[x86] unstable: mark the TSC clocksource as unstable, this
			marks the TSC unconditionally unstable at bootup and
			avoids any further wobbles once the TSC watchdog notices.
5065 5066 5067 5068
			[x86] nowatchdog: disable clocksource watchdog. Used
			in situations with strict latency requirements (where
			interruptions from clocksource watchdog are not
			acceptable).
5069

5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090
	tsx=		[X86] Control Transactional Synchronization
			Extensions (TSX) feature in Intel processors that
			support TSX control.

			This parameter controls the TSX feature. The options are:

			on	- Enable TSX on the system. Although there are
				mitigations for all known security vulnerabilities,
				TSX has been known to be an accelerator for
				several previous speculation-related CVEs, and
				so there may be unknown	security risks associated
				with leaving it enabled.

			off	- Disable TSX on the system. (Note that this
				option takes effect only on newer CPUs which are
				not vulnerable to MDS, i.e., have
				MSR_IA32_ARCH_CAPABILITIES.MDS_NO=1 and which get
				the new IA32_TSX_CTRL MSR through a microcode
				update. This new MSR allows for the reliable
				deactivation of the TSX functionality.)

5091 5092 5093
			auto	- Disable TSX if X86_BUG_TAA is present,
				  otherwise enable TSX on the system.

5094 5095 5096 5097 5098
			Not specifying this option is equivalent to tsx=off.

			See Documentation/admin-guide/hw-vuln/tsx_async_abort.rst
			for more details.

5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125
	tsx_async_abort= [X86,INTEL] Control mitigation for the TSX Async
			Abort (TAA) vulnerability.

			Similar to Micro-architectural Data Sampling (MDS)
			certain CPUs that support Transactional
			Synchronization Extensions (TSX) are vulnerable to an
			exploit against CPU internal buffers which can forward
			information to a disclosure gadget under certain
			conditions.

			In vulnerable processors, the speculatively forwarded
			data can be used in a cache side channel attack, to
			access data to which the attacker does not have direct
			access.

			This parameter controls the TAA mitigation.  The
			options are:

			full       - Enable TAA mitigation on vulnerable CPUs
				     if TSX is enabled.

			full,nosmt - Enable TAA mitigation and disable SMT on
				     vulnerable CPUs. If TSX is disabled, SMT
				     is not disabled because CPU is not
				     vulnerable to cross-thread TAA attacks.
			off        - Unconditionally disable TAA mitigation

5126 5127 5128 5129 5130
			On MDS-affected machines, tsx_async_abort=off can be
			prevented by an active MDS mitigation as both vulnerabilities
			are mitigated with the same mechanism so in order to disable
			this mitigation, you need to specify mds=off too.

5131 5132 5133 5134 5135 5136 5137 5138 5139
			Not specifying this option is equivalent to
			tsx_async_abort=full.  On CPUs which are MDS affected
			and deploy MDS mitigation, TAA mitigation is not
			required and doesn't provide any additional
			mitigation.

			For details see:
			Documentation/admin-guide/hw-vuln/tsx_async_abort.rst

R
Randy Dunlap 已提交
5140 5141 5142 5143
	turbografx.map[2|3]=	[HW,JOY]
			TurboGraFX parallel port interface
			Format:
			<port#>,<js1>,<js2>,<js3>,<js4>,<js5>,<js6>,<js7>
5144
			See also Documentation/input/devices/joystick-parport.rst
L
Linus Torvalds 已提交
5145

C
Christian Kujau 已提交
5146
	udbg-immortal	[PPC] When debugging early kernel crashes that
5147
			happen after console_init() and before a proper
C
Christian Kujau 已提交
5148 5149 5150
			console driver takes over, this boot options might
			help "seeing" what's going on.

5151 5152 5153
	uhash_entries=	[KNL,NET]
			Set number of hash buckets for UDP/UDP-Lite connections

5154 5155 5156 5157 5158 5159 5160 5161
	uhci-hcd.ignore_oc=
			[USB] Ignore overcurrent events (default N).
			Some badly-designed motherboards generate lots of
			bogus events, for ports that aren't wired to
			anything.  Set this parameter to avoid log spamming.
			Note that genuine overcurrent events won't be
			reported either.

5162
	unknown_nmi_panic
5163
			[X86] Cause panic on unknown NMI.
5164

5165 5166 5167
	usbcore.authorized_default=
			[USB] Default USB device authorization:
			(default -1 = authorized except for wireless USB,
5168 5169
			0 = not authorized, 1 = authorized, 2 = authorized
			if device connected to internal port)
5170

5171 5172 5173 5174 5175
	usbcore.autosuspend=
			[USB] The autosuspend time delay (in seconds) used
			for newly-detected USB devices (default 2).  This
			is the time required before an idle device will be
			autosuspended.  Devices for which the delay is set
5176
			to a negative value won't be autosuspended at all.
5177

5178 5179 5180
	usbcore.usbfs_snoop=
			[USB] Set to log all usbfs traffic (default 0 = off).

5181 5182 5183 5184
	usbcore.usbfs_snoop_max=
			[USB] Maximum number of bytes to snoop in each URB
			(default = 65536).

5185 5186 5187 5188 5189
	usbcore.blinkenlights=
			[USB] Set to cycle leds on hubs (default 0 = off).

	usbcore.old_scheme_first=
			[USB] Start with the old device initialization
5190 5191
			scheme,  applies only to low and full-speed devices
			 (default 0 = off).
5192

5193 5194 5195 5196
	usbcore.usbfs_memory_mb=
			[USB] Memory limit (in MB) for buffers allocated by
			usbfs (default = 16, 0 = max = 2047).

5197 5198 5199 5200 5201 5202
	usbcore.use_both_schemes=
			[USB] Try the other device initialization scheme
			if the first one fails (default 1 = enabled).

	usbcore.initial_descriptor_timeout=
			[USB] Specifies timeout for the initial 64-byte
5203
			USB_REQ_GET_DESCRIPTOR request in milliseconds
5204 5205
			(default 5000 = 5.0 seconds).

5206 5207
	usbcore.nousb	[USB] Disable the USB subsystem

5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260
	usbcore.quirks=
			[USB] A list of quirk entries to augment the built-in
			usb core quirk list. List entries are separated by
			commas. Each entry has the form
			VendorID:ProductID:Flags. The IDs are 4-digit hex
			numbers and Flags is a set of letters. Each letter
			will change the built-in quirk; setting it if it is
			clear and clearing it if it is set. The letters have
			the following meanings:
				a = USB_QUIRK_STRING_FETCH_255 (string
					descriptors must not be fetched using
					a 255-byte read);
				b = USB_QUIRK_RESET_RESUME (device can't resume
					correctly so reset it instead);
				c = USB_QUIRK_NO_SET_INTF (device can't handle
					Set-Interface requests);
				d = USB_QUIRK_CONFIG_INTF_STRINGS (device can't
					handle its Configuration or Interface
					strings);
				e = USB_QUIRK_RESET (device can't be reset
					(e.g morph devices), don't use reset);
				f = USB_QUIRK_HONOR_BNUMINTERFACES (device has
					more interface descriptions than the
					bNumInterfaces count, and can't handle
					talking to these interfaces);
				g = USB_QUIRK_DELAY_INIT (device needs a pause
					during initialization, after we read
					the device descriptor);
				h = USB_QUIRK_LINEAR_UFRAME_INTR_BINTERVAL (For
					high speed and super speed interrupt
					endpoints, the USB 2.0 and USB 3.0 spec
					require the interval in microframes (1
					microframe = 125 microseconds) to be
					calculated as interval = 2 ^
					(bInterval-1).
					Devices with this quirk report their
					bInterval as the result of this
					calculation instead of the exponent
					variable used in the calculation);
				i = USB_QUIRK_DEVICE_QUALIFIER (device can't
					handle device_qualifier descriptor
					requests);
				j = USB_QUIRK_IGNORE_REMOTE_WAKEUP (device
					generates spurious wakeup, ignore
					remote wakeup capability);
				k = USB_QUIRK_NO_LPM (device can't handle Link
					Power Management);
				l = USB_QUIRK_LINEAR_FRAME_INTR_BINTERVAL
					(Device reports its bInterval as linear
					frames instead of the USB 2.0
					calculation);
				m = USB_QUIRK_DISCONNECT_SUSPEND (Device needs
					to be disconnected before suspend to
5261 5262 5263
					prevent spurious wakeup);
				n = USB_QUIRK_DELAY_CTRL_MSG (Device needs a
					pause after every control message);
5264 5265
				o = USB_QUIRK_HUB_SLOW_RESET (Hub needs extra
					delay after resetting its port);
5266 5267
			Example: quirks=0781:5580:bk,0a5c:5834:gij

L
Linus Torvalds 已提交
5268 5269
	usbhid.mousepoll=
			[USBHID] The interval which mice are to be polled at.
R
Randy Dunlap 已提交
5270

5271 5272 5273
	usbhid.jspoll=
			[USBHID] The interval which joysticks are to be polled at.

5274 5275 5276
	usbhid.kbpoll=
			[USBHID] The interval which keyboards are to be polled at.

5277 5278
	usb-storage.delay_use=
			[UMS] The delay in seconds before a new device is
5279
			scanned for Logical Units (default 1).
5280 5281 5282 5283 5284 5285 5286 5287 5288

	usb-storage.quirks=
			[UMS] A list of quirks entries to supplement or
			override the built-in unusual_devs list.  List
			entries are separated by commas.  Each entry has
			the form VID:PID:Flags where VID and PID are Vendor
			and Product ID values (4-digit hex numbers) and
			Flags is a set of characters, each corresponding
			to a common usb-storage quirk flag as follows:
5289
				a = SANE_SENSE (collect more than 18 bytes
5290
					of sense data, not on uas);
A
Alan Stern 已提交
5291
				b = BAD_SENSE (don't collect more than 18
5292
					bytes of sense data, not on uas);
5293 5294
				c = FIX_CAPACITY (decrease the reported
					device capacity by one sector);
5295
				d = NO_READ_DISC_INFO (don't use
5296
					READ_DISC_INFO command, not on uas);
5297 5298
				e = NO_READ_CAPACITY_16 (don't use
					READ_CAPACITY_16 command);
H
Hans de Goede 已提交
5299 5300
				f = NO_REPORT_OPCODES (don't use report opcodes
					command, uas only);
5301 5302
				g = MAX_SECTORS_240 (don't transfer more than
					240 sectors at a time, uas only);
5303 5304 5305
				h = CAPACITY_HEURISTICS (decrease the
					reported device capacity by one
					sector if the number is odd);
5306 5307
				i = IGNORE_DEVICE (don't bind to this
					device);
5308 5309
				j = NO_REPORT_LUNS (don't use report luns
					command, uas only);
5310
				l = NOT_LOCKABLE (don't try to lock and
5311
					unlock ejectable media, not on uas);
5312
				m = MAX_SECTORS_64 (don't transfer more
5313 5314
					than 64 sectors = 32 KB at a time,
					not on uas);
A
Alan Stern 已提交
5315
				n = INITIAL_READ10 (force a retry of the
5316
					initial READ(10) command, not on uas);
5317
				o = CAPACITY_OK (accept the capacity
5318
					reported by the device, not on uas);
5319
				p = WRITE_CACHE (the device cache is ON
5320
					by default, not on uas);
5321
				r = IGNORE_RESIDUE (the device reports
5322
					bogus residue values, not on uas);
5323 5324
				s = SINGLE_LUN (the device has only one
					Logical Unit);
5325 5326
				t = NO_ATA_1X (don't allow ATA(12) and ATA(16)
					commands, uas only);
5327
				u = IGNORE_UAS (don't bind to the uas driver);
5328 5329
				w = NO_WP_DETECT (don't test whether the
					medium is write-protected).
5330
				y = ALWAYS_SYNC (issue a SYNCHRONIZE_CACHE
5331 5332
					even if the device claims no cache,
					not on uas)
5333 5334
			Example: quirks=0419:aaf5:rl,0421:0433:rc

5335 5336 5337 5338 5339 5340 5341 5342 5343 5344
	user_debug=	[KNL,ARM]
			Format: <int>
			See arch/arm/Kconfig.debug help text.
				 1 - undefined instruction events
				 2 - system calls
				 4 - invalid data aborts
				 8 - SIGSEGV faults
				16 - SIGBUS faults
			Example: user_debug=31

5345 5346 5347 5348 5349 5350 5351
	userpte=
			[X86] Flags controlling user PTE allocations.

				nohigh = do not allocate PTE pages in
					HIGHMEM regardless of setting
					of CONFIG_HIGHPTE.

5352
	vdso=		[X86,SH]
5353 5354 5355
			On X86_32, this is an alias for vdso32=.  Otherwise:

			vdso=1: enable VDSO (the default)
5356 5357
			vdso=0: disable VDSO mapping

5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370
	vdso32=		[X86] Control the 32-bit vDSO
			vdso32=1: enable 32-bit VDSO
			vdso32=0 or vdso32=2: disable 32-bit VDSO

			See the help text for CONFIG_COMPAT_VDSO for more
			details.  If CONFIG_COMPAT_VDSO is set, the default is
			vdso32=0; otherwise, the default is vdso32=1.

			For compatibility with older kernels, vdso32=2 is an
			alias for vdso32=0.

			Try vdso32=0 if you encounter an error that says:
			dl_main: Assertion `(void *) ph->p_vaddr == _rtld_local._dl_sysinfo_dso' failed!
R
Roland McGrath 已提交
5371

5372 5373 5374
	vector=		[IA-64,SMP]
			vector=percpu: enable percpu vector domain

L
Linus Torvalds 已提交
5375
	video=		[FB] Frame buffer configuration
5376
			See Documentation/fb/modedb.rst.
L
Linus Torvalds 已提交
5377

5378 5379 5380 5381 5382 5383 5384
	video.brightness_switch_enabled= [0,1]
			If set to 1, on receiving an ACPI notify event
			generated by hotkey, video driver will adjust brightness
			level and then send out the event to user space through
			the allocated input device; If set to 0, video driver
			will only send out the event without touching backlight
			brightness level.
5385
			default: 1
5386

5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402
	virtio_mmio.device=
			[VMMIO] Memory mapped virtio (platform) device.

				<size>@<baseaddr>:<irq>[:<id>]
			where:
				<size>     := size (can use standard suffixes
						like K, M and G)
				<baseaddr> := physical base address
				<irq>      := interrupt number (as passed to
						request_irq())
				<id>       := (optional) platform device id
			example:
				virtio_mmio.device=1K@0x100b0000:48:7

			Can be used multiple times for multiple devices.

5403
	vga=		[BOOT,X86-32] Select a particular video mode
5404
			See Documentation/x86/boot.rst and
5405
			Documentation/admin-guide/svga.rst.
L
Linus Torvalds 已提交
5406 5407 5408 5409
			Use vga=ask for menu.
			This is actually a boot loader parameter; the value is
			passed to the kernel using a special protocol.

5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421
	vm_debug[=options]	[KNL] Available with CONFIG_DEBUG_VM=y.
			May slow down system boot speed, especially when
			enabled on systems with a large amount of memory.
			All options are enabled by default, and this
			interface is meant to allow for selectively
			enabling or disabling specific virtual memory
			debugging features.

			Available options are:
			  P	Enable page structure init time poisoning
			  -	Disable all of the above options

R
Randy Dunlap 已提交
5422
	vmalloc=nn[KMG]	[KNL,BOOT] Forces the vmalloc area to have an exact
L
Linus Torvalds 已提交
5423 5424 5425 5426 5427
			size of <nn>. This can be used to increase the
			minimum size (128MB on x86). It can also be used to
			decrease the size and leave more room for directly
			mapped kernel RAM.

5428 5429 5430 5431
	vmcp_cma=nn[MG]	[KNL,S390]
			Sets the memory size reserved for contiguous memory
			allocations for the vmcp device driver.

5432 5433
	vmhalt=		[KNL,S390] Perform z/VM CP command after system halt.
			Format: <command>
L
Linus Torvalds 已提交
5434

5435 5436 5437 5438 5439
	vmpanic=	[KNL,S390] Perform z/VM CP command after kernel panic.
			Format: <command>

	vmpoff=		[KNL,S390] Perform z/VM CP command after power off.
			Format: <command>
R
Randy Dunlap 已提交
5440

5441 5442 5443 5444 5445 5446 5447 5448
	vsyscall=	[X86-64]
			Controls the behavior of vsyscalls (i.e. calls to
			fixed addresses of 0xffffffffff600x00 from legacy
			code).  Most statically-linked binaries and older
			versions of glibc use these calls.  Because these
			functions are at fixed addresses, they make nice
			targets for exploits that can control RIP.

A
Andy Lutomirski 已提交
5449
			emulate     [default] Vsyscalls turn into traps and are
5450 5451
			            emulated reasonably safely.  The vsyscall
				    page is readable.
5452

5453 5454 5455
			xonly       Vsyscalls turn into traps and are
			            emulated reasonably safely.  The vsyscall
				    page is not readable.
5456 5457 5458 5459 5460

			none        Vsyscalls don't work at all.  This makes
			            them quite hard to use for exploits but
			            might break your system.

5461 5462 5463 5464
	vt.color=	[VT] Default text color.
			Format: 0xYX, X = foreground, Y = background.
			Default: 0x07 = light gray on black.

5465 5466 5467 5468 5469
	vt.cur_default=	[VT] Default cursor shape.
			Format: 0xCCBBAA, where AA, BB, and CC are the same as
			the parameters of the <Esc>[?A;B;Cc escape sequence;
			see VGA-softcursor.txt. Default: 2 = underline.

5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494
	vt.default_blu=	[VT]
			Format: <blue0>,<blue1>,<blue2>,...,<blue15>
			Change the default blue palette of the console.
			This is a 16-member array composed of values
			ranging from 0-255.

	vt.default_grn=	[VT]
			Format: <green0>,<green1>,<green2>,...,<green15>
			Change the default green palette of the console.
			This is a 16-member array composed of values
			ranging from 0-255.

	vt.default_red=	[VT]
			Format: <red0>,<red1>,<red2>,...,<red15>
			Change the default red palette of the console.
			This is a 16-member array composed of values
			ranging from 0-255.

	vt.default_utf8=
			[VT]
			Format=<0|1>
			Set system-wide default UTF-8 mode for all tty's.
			Default is 1, i.e. UTF-8 mode is enabled for all
			newly opened terminals.

5495 5496 5497 5498 5499 5500 5501 5502 5503
	vt.global_cursor_default=
			[VT]
			Format=<-1|0|1>
			Set system-wide default for whether a cursor
			is shown on new VTs. Default is -1,
			i.e. cursors will be created by default unless
			overridden by individual drivers. 0 will hide
			cursors, 1 will display them.

5504 5505 5506 5507 5508 5509
	vt.italic=	[VT] Default color for italic text; 0-15.
			Default: 2 = green.

	vt.underline=	[VT] Default color for underlined text; 0-15.
			Default: 3 = cyan.

5510
	watchdog timers	[HW,WDT] For information on watchdog timers,
5511
			see Documentation/watchdog/watchdog-parameters.rst
5512 5513
			or other driver-specific files in the
			Documentation/watchdog/ directory.
L
Linus Torvalds 已提交
5514

5515 5516 5517 5518 5519 5520 5521 5522
	watchdog_thresh=
			[KNL]
			Set the hard lockup detector stall duration
			threshold in seconds. The soft lockup detector
			threshold is set to twice the value. A value of 0
			disables both lockup detectors. Default is 10
			seconds.

T
Tejun Heo 已提交
5523 5524 5525 5526 5527 5528 5529 5530 5531
	workqueue.watchdog_thresh=
			If CONFIG_WQ_WATCHDOG is configured, workqueue can
			warn stall conditions and dump internal state to
			help debugging.  0 disables workqueue stall
			detection; otherwise, it's the stall threshold
			duration in seconds.  The default value is 30 and
			it can be updated at runtime by writing to the
			corresponding sysfs file.

5532 5533 5534 5535 5536 5537 5538 5539 5540
	workqueue.disable_numa
			By default, all work items queued to unbound
			workqueues are affine to the NUMA nodes they're
			issued on, which results in better behavior in
			general.  If NUMA affinity needs to be disabled for
			whatever reason, this option can be used.  Note
			that this also can be controlled per-workqueue for
			workqueues visible under /sys/bus/workqueue/.

5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555
	workqueue.power_efficient
			Per-cpu workqueues are generally preferred because
			they show better performance thanks to cache
			locality; unfortunately, per-cpu workqueues tend to
			be more power hungry than unbound workqueues.

			Enabling this makes the per-cpu workqueues which
			were observed to contribute significantly to power
			consumption unbound, leading to measurably lower
			power usage at the cost of small performance
			overhead.

			The default value of this parameter is determined by
			the config option CONFIG_WQ_POWER_EFFICIENT_DEFAULT.

5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566
	workqueue.debug_force_rr_cpu
			Workqueue used to implicitly guarantee that work
			items queued without explicit CPU specified are put
			on the local CPU.  This guarantee is no longer true
			and while local CPU is still preferred work items
			may be put on foreign CPUs.  This debug option
			forces round-robin CPU selection to flush out
			usages which depend on the now broken guarantee.
			When enabled, memory and cache locality will be
			impacted.

5567 5568 5569 5570
	x2apic_phys	[X86-64,APIC] Use x2apic physical mode instead of
			default x2apic cluster mode on platforms
			supporting x2apic.

5571 5572
	x86_intel_mid_timer= [X86-32,APBT]
			Choose timer option for x86 Intel MID platform.
5573 5574
			Two valid options are apbt timer only and lapic timer
			plus one apbt timer for broadcast timer.
5575
			x86_intel_mid_timer=apbt_only | lapic_and_apbt
5576

5577 5578 5579 5580 5581 5582 5583
	xen_512gb_limit		[KNL,X86-64,XEN]
			Restricts the kernel running paravirtualized under Xen
			to use only up to 512 GB of RAM. The reason to do so is
			crash analysis tools and Xen tools for doing domain
			save/restore/migration must be enabled to handle larger
			domains.

5584 5585 5586 5587 5588 5589 5590
	xen_emul_unplug=		[HW,X86,XEN]
			Unplug Xen emulated devices
			Format: [unplug0,][unplug1]
			ide-disks -- unplug primary master IDE devices
			aux-ide-disks -- unplug non-primary-master IDE devices
			nics -- unplug network devices
			all -- unplug all emulated devices (NICs and IDE disks)
5591 5592 5593
			unnecessary -- unplugging emulated devices is
				unnecessary even if the host did not respond to
				the unplug protocol
5594
			never -- do not unplug even if version check succeeds
5595

5596 5597 5598 5599
	xen_legacy_crash	[X86,XEN]
			Crash from Xen panic notifier, without executing late
			panic() code such as dumping handler.

5600 5601 5602 5603
	xen_nopvspin	[X86,XEN]
			Disables the ticketlock slowpath using Xen PV
			optimizations.

5604 5605 5606
	xen_nopv	[X86]
			Disables the PV optimizations forcing the HVM guest to
			run as generic HVM guest with no PV drivers.
5607 5608
			This option is obsoleted by the "nopv" option, which
			has equivalent effect for XEN platform.
5609

5610 5611 5612 5613 5614 5615
	xen_scrub_pages=	[XEN]
			Boolean option to control scrubbing pages before giving them back
			to Xen, for use by other domains. Can be also changed at runtime
			with /sys/devices/system/xen_memory/xen_memory0/scrub_pages.
			Default value controlled with CONFIG_XEN_SCRUB_PAGES_DEFAULT.

5616 5617 5618 5619 5620 5621 5622
	xen_timer_slop=	[X86-64,XEN]
			Set the timer slop (in nanoseconds) for the virtual Xen
			timers (default is 100000). This adjusts the minimum
			delta of virtualized Xen timers, where lower values
			improve timer resolution at the expense of processing
			more timer interrupts.

5623 5624 5625 5626 5627
	nopv=		[X86,XEN,KVM,HYPER_V,VMWARE]
			Disables the PV optimizations forcing the guest to run
			as generic guest with no PV drivers. Currently support
			XEN HVM, KVM, HYPER_V and VMWARE guest.

L
Linus Torvalds 已提交
5628
	xirc2ps_cs=	[NET,PCMCIA]
R
Randy Dunlap 已提交
5629 5630
			Format:
			<irq>,<irq_mask>,<io>,<full_duplex>,<do_sound>,<lockup_hack>[,<irq2>[,<irq3>[,<irq4>]]]
5631

5632 5633 5634 5635 5636 5637 5638 5639 5640
	xive=		[PPC]
			By default on POWER9 and above, the kernel will
			natively use the XIVE interrupt controller. This option
			allows the fallback firmware mode to be used:

			off       Fallback to firmware control of XIVE interrupt
				  controller on both pseries and powernv
				  platforms. Only useful on POWER9 and above.

5641 5642 5643 5644
	xhci-hcd.quirks		[USB,KNL]
			A hex value specifying bitmask with supplemental xhci
			host controller quirks. Meaning of each bit can be
			consulted in header drivers/usb/host/xhci.h.
G
Gustavo Romero 已提交
5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663

	xmon		[PPC]
			Format: { early | on | rw | ro | off }
			Controls if xmon debugger is enabled. Default is off.
			Passing only "xmon" is equivalent to "xmon=early".
			early	Call xmon as early as possible on boot; xmon
				debugger is called from setup_arch().
			on	xmon debugger hooks will be installed so xmon
				is only called on a kernel crash. Default mode,
				i.e. either "ro" or "rw" mode, is controlled
				with CONFIG_XMON_DEFAULT_RO_MODE.
			rw	xmon debugger hooks will be installed so xmon
				is called only on a kernel crash, mode is write,
				meaning SPR registers, memory and, other data
				can be written using xmon commands.
			ro 	same as "rw" option above but SPR registers,
				memory, and other data can't be written using
				xmon commands.
			off	xmon is disabled.