Merge tag 'riscv-for-linus-6.6-mw1' of git://git.kernel.org/pub/scm/linux/kernel...
[sfrench/cifs-2.6.git] / Documentation / admin-guide / kernel-parameters.txt
index e5d71ba4e6ae2134f605d9b63dcd5a07649ed689..98efa34bf530dc5882900ff8d9b068d39680e6bb 100644 (file)
        arm64.nobti     [ARM64] Unconditionally disable Branch Target
                        Identification support
 
-       arm64.nopauth   [ARM64] Unconditionally disable Pointer Authentication
-                       support
+       arm64.nomops    [ARM64] Unconditionally disable Memory Copy and Memory
+                       Set instructions support
 
        arm64.nomte     [ARM64] Unconditionally disable Memory Tagging Extension
                        support
 
-       arm64.nosve     [ARM64] Unconditionally disable Scalable Vector
-                       Extension support
+       arm64.nopauth   [ARM64] Unconditionally disable Pointer Authentication
+                       support
 
        arm64.nosme     [ARM64] Unconditionally disable Scalable Matrix
                        Extension support
 
-       arm64.nomops    [ARM64] Unconditionally disable Memory Copy and Memory
-                       Set instructions support
+       arm64.nosve     [ARM64] Unconditionally disable Scalable Vector
+                       Extension support
 
        ataflop=        [HW,M68k]
 
                        kernel/dma/contiguous.c
 
        cma_pernuma=nn[MG]
-                       [ARM64,KNL,CMA]
+                       [KNL,CMA]
                        Sets the size of kernel per-numa memory area for
                        contiguous memory allocations. A value of 0 disables
                        per-numa CMA altogether. And If this option is not
                        which is located in node nid, if the allocation fails,
                        they will fallback to the global default memory area.
 
+       numa_cma=<node>:nn[MG][,<node>:nn[MG]]
+                       [KNL,CMA]
+                       Sets the size of kernel numa memory area for
+                       contiguous memory allocations. It will reserve CMA
+                       area for the specified node.
+
+                       With numa CMA enabled, DMA users on node nid will
+                       first try to allocate buffer from the numa area
+                       which is located in node nid, if the allocation fails,
+                       they will fallback to the global default memory area.
+
        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
                        memory region [offset, offset + size] for that kernel
                        image. If '@offset' is omitted, then a suitable offset
                        is selected automatically.
-                       [KNL, X86-64, ARM64] Select a region under 4G first, and
+                       [KNL, X86-64, ARM64, RISCV] Select a region under 4G first, and
                        fall back to reserve region above 4G when '@offset'
                        hasn't been specified.
                        See Documentation/admin-guide/kdump/kdump.rst for further details.
                        Documentation/admin-guide/kdump/kdump.rst for an example.
 
        crashkernel=size[KMG],high
-                       [KNL, X86-64, ARM64] 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.
+                       [KNL, X86-64, ARM64, RISCV] 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.
        crashkernel=size[KMG],low
-                       [KNL, X86-64, ARM64] range under 4G. When crashkernel=X,high
+                       [KNL, X86-64, ARM64, RISCV] range under 4G. When crashkernel=X,high
                        is passed, kernel could allocate physical memory region
                        above 4G, that cause second kernel crash on system
                        that require some amount of low memory, e.g. swiotlb
                        size is platform dependent.
                          --> x86: max(swiotlb_size_or_default() + 8MiB, 256MiB)
                          --> arm64: 128MiB
+                         --> riscv: 128MiB
                        This one lets the user specify own low range under 4G
                        for second kernel instead.
                        0: to disable low allocation.
 
        kvm-intel.flexpriority=
                        [KVM,Intel] Control KVM's use of FlexPriority feature
-                       (TPR shadow). Default is 1 (enabled). Disalbe by KVM if
+                       (TPR shadow). Default is 1 (enabled). Disable by KVM if
                        hardware lacks support for it.
 
        kvm-intel.nested=
                        [KNL,SH] Allow user to override the default size for
                        per-device physically contiguous DMA buffers.
 
-       memhp_default_state=online/offline
+       memhp_default_state=online/offline/online_kernel/online_movable
                        [KNL] Set the initial state for the memory hotplug
                        onlining policy. If not specified, the default value is
                        set according to the
 
        nohibernate     [HIBERNATION] Disable hibernation and resume.
 
-       nohlt           [ARM,ARM64,MICROBLAZE,MIPS,SH] Forces the kernel to
+       nohlt           [ARM,ARM64,MICROBLAZE,MIPS,PPC,SH] Forces the kernel to
                        busy wait in do_idle() and not use the arch_cpu_idle()
                        implementation; requires CONFIG_GENERIC_IDLE_POLL_SETUP
                        to be effective. This is useful on platforms where the
        nosmp           [SMP] Tells an SMP kernel to act as a UP kernel,
                        and disable the IO APIC.  legacy for "maxcpus=0".
 
-       nosmt           [KNL,MIPS,S390] Disable symmetric multithreading (SMT).
+       nosmt           [KNL,MIPS,PPC,S390] Disable symmetric multithreading (SMT).
                        Equivalent to smt=1.
 
-                       [KNL,X86] Disable symmetric multithreading (SMT).
+                       [KNL,X86,PPC] Disable symmetric multithreading (SMT).
                        nosmt=force: Force disable SMT, cannot be undone
                                     via the sysfs control file.
 
                        timeout < 0: reboot immediately
                        Format: <timeout>
 
-       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
-                       bit 5: print all printk messages in buffer
-                       bit 6: print all CPUs backtrace (if available in the arch)
-                       *Be aware* that this option may print a _lot_ of lines,
-                       so there are risks of losing older messages in the log.
-                       Use this option carefully, maybe worth to setup a
-                       bigger log buffer with "log_buf_len" along with this.
-
        panic_on_taint= Bitmask for conditionally calling panic() in add_taint()
                        Format: <hex>[,nousertaint]
                        Hexadecimal bitmask representing the set of TAINT flags
        panic_on_warn=1 panic() instead of WARN().  Useful to cause kdump
                        on a WARN().
 
+       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
+                       bit 5: print all printk messages in buffer
+                       bit 6: print all CPUs backtrace (if available in the arch)
+                       *Be aware* that this option may print a _lot_ of lines,
+                       so there are risks of losing older messages in the log.
+                       Use this option carefully, maybe worth to setup a
+                       bigger log buffer with "log_buf_len" along with this.
+
        parkbd.port=    [HW] Parallel port number the keyboard adapter is
                        connected to, default is 0.
                        Format: <parport#>
                        mode 0, bit 1 is for mode 1, and so on.  Mode 0 only
                        allowed by default.
 
-       pause_on_oops=
+       pause_on_oops=<int>
                        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.
                        [KNL] Disable ring 3 MONITOR/MWAIT feature on supported
                        CPUs.
 
+       riscv_isa_fallback [RISCV]
+                       When CONFIG_RISCV_ISA_FALLBACK is not enabled, permit
+                       falling back to detecting extension support by parsing
+                       "riscv,isa" property on devicetree systems when the
+                       replacement properties are not found. See the Kconfig
+                       entry for RISCV_ISA_FALLBACK.
+
        ro              [KNL] Mount root device read-only on boot
 
        rodata=         [KNL]