| /linux/Documentation/admin-guide/ |
| H A D | kernel-parameters.rst | 1 .. SPDX-License-Identifier: GPL-2.0 5 The kernel's command-line parameters 8 The following is a consolidated list of the kernel parameters as implemented 14 The kernel parses parameters from the kernel command line up to "``--``"; 16 parameter gets passed to init: parameters with '=' go into init's 18 Everything after "``--``" is passed as an argument to init. 20 Module parameters can be specified in two ways: via the kernel command 23 (kernel command line) usbcore.blinkenlights=1 26 Parameters for modules which are built into the kernel need to be 27 specified on the kernel command line. modprobe looks through the [all …]
|
| /linux/Documentation/driver-api/dmaengine/ |
| H A D | dmatest.rst | 21 capability of the following: DMA_MEMCPY (memory-to-memory), DMA_MEMSET 22 (const-to-memory or memory-to-memory, when emulated), DMA_XOR, DMA_PQ. 26 dmaengine@vger.kernel.org. 28 Part 1 - How to build the test module 33 Device Drivers -> DMA Engine support -> DMA Test client 36 be built as module or inside kernel. Let's consider those cases. 38 Part 2 - When dmatest is built as a module 48 % echo 2000 > /sys/module/dmatest/parameters/timeout 49 % echo 1 > /sys/module/dmatest/parameters/iterations 50 % echo dma0chan0 > /sys/module/dmatest/parameters/channel [all …]
|
| /linux/Documentation/virt/kvm/devices/ |
| H A D | vm.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 struct kvm_device_attr as other devices, but targets VM-wide settings 21 ------------------------------------------- 23 :Parameters: none 24 :Returns: -EBUSY if a vcpu is already defined, otherwise 0 29 ---------------------------------------- 31 :Parameters: none 32 :Returns: -EINVAL if CMMA was not enabled; 39 ----------------------------------------- 41 :Parameters: in attr->addr the address for the new limit of guest memory [all …]
|
| /linux/include/linux/ |
| H A D | execmem.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 18 * enum execmem_type - types of executable memory ranges 22 * permissions, alignment and other parameters for memory that can be used 25 * and let architectures define parameters for ranges suitable for 28 * @EXECMEM_DEFAULT: default parameters that would be used for types that 30 * @EXECMEM_MODULE_TEXT: parameters for module text sections 31 * @EXECMEM_KPROBES: parameters for kprobes 32 * @EXECMEM_FTRACE: parameters for ftrace 33 * @EXECMEM_BPF: parameters for BPF 34 * @EXECMEM_MODULE_DATA: parameters for module data sections [all …]
|
| /linux/fs/pstore/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 17 int "Default kernel log storage space" if EXPERT 21 Defines default size of pstore kernel log storage. 38 bool "Log kernel console messages" 41 When the option is enabled, pstore will log all kernel 51 data can be retrieved from /sys/fs/pstore/pmsg-ramoops-[ID]. 61 With this option kernel traces function calls into a persistent 82 For more information, see Documentation/admin-guide/ramoops.rst. 101 For more information, see Documentation/admin-guide/pstore-blk.rst 117 of partition - device number of disk plus the partition number [all …]
|
| /linux/Documentation/scsi/ |
| H A D | scsi-parameters.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 SCSI Kernel Parameters 7 See Documentation/admin-guide/kernel-parameters.rst for general information on 8 specifying module parameters. 11 ``modinfo -p ${modulename}`` shows a current list of all parameters of a loadable 12 module. Loadable modules, after being loaded into the running kernel, also 13 reveal their parameters in /sys/module/${modulename}/parameters/. Some of these 14 parameters may be changed at runtime by the command 15 ``echo -n ${value} > /sys/module/${modulename}/parameters/${parm}``. 51 Should be between 1 and 2^32-1. [all …]
|
| /linux/Documentation/admin-guide/device-mapper/ |
| H A D | dm-crypt.rst | 2 dm-crypt 5 Device-Mapper's "crypt" target provides transparent encryption of block devices 6 using the kernel crypto API. 8 For a more detailed description of supported parameters see: 11 Parameters:: 21 cipher[:keycount]-chainmode-ivmode[:ivopts] 25 aes-cbc-essiv:sha256 26 aes-xts-plain64 27 serpent-xts-plain64 29 Cipher format also supports direct specification with kernel crypt API [all …]
|
| /linux/tools/testing/selftests/mm/ |
| H A D | test_vmalloc.sh | 2 # SPDX-License-Identifier: GPL-2.0 6 # This is a test script for the kernel test driver to analyse vmalloc 7 # allocator. Therefore it is just a kernel module loader. You can specify 8 # and pass different parameters in order to: 14 NUM_CPUS=`grep -c ^processor /proc/cpuinfo` 22 # Kselftest framework requirement - SKIP code is 4. 27 # Also it is possible to pass any supported parameters manualy. 37 uid=$(id - [all...] |
| /linux/Documentation/ABI/stable/ |
| H A D | sysfs-module | 5 The name of the module that is in the kernel. This 7 dynamic module. If it is built directly into the kernel, it 11 Note: The conditions of creation in the built-in case are not 14 What: /sys/module/<MODULENAME>/parameters 17 individual parameters of the module that are able to be 19 documentation as to the contents of these parameters and 26 stability of the different parameters. 30 If the module is able to be unloaded from the kernel, this file 33 Note: If the module is built into the kernel, or if the 34 CONFIG_MODULE_UNLOAD kernel configuration value is not enabled,
|
| /linux/Documentation/misc-devices/ |
| H A D | xilinx_sdfec.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 4 Xilinx SD-FEC Driver 10 This driver supports SD-FEC Integrated Block for Zynq |Ultrascale+ (TM)| RFSoCs. 15 …f SD-FEC core features, see the `SD-FEC Product Guide (PG256) <https://www.xilinx.com/cgi-bin/docs… 19 - Retrieval of the Integrated Block configuration and status information 20 - Configuration of LDPC codes 21 - Configuration of Turbo decoding 22 - Monitoring errors 24 Missing features, known issues, and limitations of the SD-FEC driver are as 27 - Only allows a single open file handler to any instance of the driver at any time [all …]
|
| /linux/Documentation/networking/ |
| H A D | netconsole.rst | 1 .. SPDX-License-Identifier: GPL-2.0 14 Extended console support by Tejun Heo <tj@kernel.org>, May 1 2015 25 This module logs kernel printk messages over UDP allowing debugging of 28 It can be used either built-in or as a module. As a built-in, 31 capture of early kernel panics, it does capture most of the boot 40 netconsole=[+][r][src-port]@[src-ip]/[<dev>],[tgt-port]@<tgt-ip>/[tgt-macaddr] 44 r if present, prepend kernel version (release) to the message 45 src-port source for UDP packets (defaults to 6665) 46 src-ip source IP to use (interface address) 48 tgt-port port for logging agent (6666) [all …]
|
| /linux/Documentation/arch/arm/ |
| H A D | setup.rst | 2 Kernel initialisation parameters on ARM Linux 5 The following document describes the kernel initialisation parameter 9 This structure is used to pass initialisation parameters from the 10 kernel loader to the Linux kernel proper, and may be short lived 11 through the kernel initialisation process. As a general rule, it 12 should not be referenced outside of arch/arm/kernel/setup.c:setup_arch(). 14 There are a lot of parameters listed in there, and they are described 19 will be checked by the kernel. 33 Various kernel flags, including: 77 is non-contiguous from the processors point of view. [all …]
|
| /linux/Documentation/virt/kvm/ |
| H A D | api.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 The Definitive KVM (Kernel-based Virtual Machine) API Documentation 24 - System ioctls: These query and set global attributes which affect the 28 - VM ioctls: These query and set attributes that affect an entire virtual 35 - vcpu ioctls: These query and set attributes that control the operation 43 - device ioctls: These query and set attributes that control the operation 92 facility that allows backward-compatible extensions to the API to be 110 which means that is will be provided by any kernel that supports 122 Parameters: 123 what parameters are accepted by the ioctl. [all …]
|
| /linux/tools/testing/selftests/livepatch/ |
| H A D | functions.sh | 2 # SPDX-License-Identifier: GPL-2.0 9 SYSFS_KERNEL_DIR="/sys/kernel" 13 if [[ -e /sys/kernel/tracing/trace ]]; then 19 # Kselftest framework requirement - SKIP code is 4 22 # log(msg) - write message to kernel log 23 # msg - insightful words 28 # skip(msg) - testing can't proceed 29 # msg - explanation 38 uid=$(id -u) 39 if [ $uid -ne 0 ]; then [all …]
|
| /linux/include/uapi/drm/ |
| H A D | tegra_drm.h | 1 /* SPDX-License-Identifier: MIT */ 2 /* Copyright (c) 2012-2020 NVIDIA Corporation */ 19 * struct drm_tegra_gem_create - parameters for the GEM object creation IOCTL 38 * The buffer has a bottom-up layout. 45 * The handle of the created GEM object. Set by the kernel upon 52 * struct drm_tegra_gem_mmap - parameters for the GEM mmap IOCTL 72 * The mmap offset for the given GEM object. Set by the kernel upon 79 * struct drm_tegra_syncpt_read - parameters for the read syncpoint IOCTL 92 * The current syncpoint value. Set by the kernel upon successful 99 * struct drm_tegra_syncpt_incr - parameters for the increment syncpoint IOCTL [all …]
|
| /linux/Documentation/driver-api/crypto/iaa/ |
| H A D | iaa-crypto.rst | 1 .. SPDX-License-Identifier: GPL-2.0 18 higher-level compression devices such as zswap. 25 represented by selecting the 'deflate-iaa' crypto compression 28 # echo deflate-iaa > /sys/module/zswap/parameters/compressor 38 'deflate-iaa'. (Because the IAA hardware has a 4k history-window 52 Cryptographic API -> Hardware crypto devices -> Support for Intel(R) IAA Compression Accelerator 59 …Cryptographic API -> Hardware crypto devices -> Support for Intel(R) IAA Compression -> Enable Int… 78 - Scalable 79 - Legacy 80 - No IOMMU [all …]
|
| /linux/drivers/net/wireless/marvell/mwifiex/ |
| H A D | README | 2 # Copyright 2011-2020 NXP 9 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the 10 # worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. 12 # THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE 38 Following are some useful iw commands:- 45 iw dev mlan0 connect -w <SSID> [<freq in MHz>] [<bssid>] [key 0:abcde d:1123456789a] 55 iw dev mlan0 ibss join <SSID> <freq in MHz> [fixed-freq] [fixed-bssid] [key 0:abcde] 57 bssid and the security related parameters can be specified while joining/creating 64 The command will be used to get the connection status. The command will return parameters 79 mount -t debugfs debugfs /debugfs [all …]
|
| /linux/rust/kernel/ |
| H A D | module_param.rs | 1 // SPDX-License-Identifier: GPL-2.0 3 //! Support for module parameters. 10 use kernel::sync::SetOnce; 19 pub const fn new(val: bindings::kernel_param) -> Self { in new() 24 // SAFETY: C kernel handles serializing access to this type. We never access it 28 /// Types that can be used for module parameters. 32 fn try_from_param_arg(arg: &BStr) -> Result<Self>; in try_from_param_arg() 37 /// Used to set the parameter value at kernel initialization, when loading 44 /// - If `val` is non-null then it must point to a valid null-terminated string that must be valid 46 /// - `param` must be a pointer to a `bindings::kernel_param` initialized by the rust module macro. [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | configfs-most | 1 What: /sys/kernel/config/most_<component> 8 configfs in /sys/kernel/config directory use: 9 # mount -t configfs none /sys/kernel/config/ 12 What: /sys/kernel/config/most_cdev/<link> 22 configure the sub-buffer size for this channel 55 pass parameters needed by some components 60 configuration, the creation is post-poned until 67 What: /sys/kernel/config/most_video/<link> 77 configure the sub-buffer size for this channel 110 pass parameters needed by some components [all …]
|
| /linux/Documentation/admin-guide/blockdev/ |
| H A D | ramdisk.rst | 8 2) Kernel Command Line Parameters 14 ----------- 18 in order to access the root filesystem (see Documentation/admin-guide/initrd.rst). It can 29 and (re)build the kernel. 40 2) Parameters 41 --------------------------------- 43 2a) Kernel Command Line Parameters 51 2b) Module parameters 63 --------------- 66 to set the boot device in a Linux kernel image. [all …]
|
| /linux/Documentation/sound/designs/ |
| H A D | tracepoints.rst | 11 ALSA PCM core registers ``snd_pcm`` subsystem to kernel tracepoint system. 13 and for processing of PCM hardware parameters. These tracepoints are available 14 when corresponding kernel configurations are enabled. When ``CONFIG_SND_DEBUG`` 19 ------------------------------------ 24 Tracepoints for processing of PCM hardware parameters 25 ----------------------------------------------------- 33 substream. In this procedure, PCM hardware parameters are decided by 35 the PCM substream keeps the parameters. 37 The parameters are described in struct snd_pcm_hw_params. This 38 structure includes several types of parameters. Applications set preferable [all …]
|
| /linux/Documentation/networking/devlink/ |
| H A D | netdevsim.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 Parameters chapter 13 .. list-table:: Generic parameters implemented 15 * - Name 16 - Mode 17 * - ``max_macs`` 18 - driverinit 20 The ``netdevsim`` driver also implements the following driver-specific 21 parameters. 23 .. list-table:: Driver-specific parameters implemented [all …]
|
| /linux/Documentation/i2c/ |
| H A D | old-module-parameters.rst | 2 I2C device driver binding control from user-space in old kernels 7 found in kernel 2.6. If you work with more recent kernels, you can 10 Up to kernel 2.6.32, many I2C drivers used helper macros provided by 11 <linux/i2c.h> which created standard module parameters to let the user 13 parameters were known as ``probe`` (to let the driver probe for an extra 18 binding model, it became clear that these per-module parameters were no 20 sysfs-based interface is described in 21 Documentation/i2c/instantiating-devices.rst, section 22 "Method 4: Instantiate from user-space". 24 Below is a mapping from the old module parameters to the new interface. [all …]
|
| /linux/scripts/ |
| H A D | Makefile.kasan | 1 # SPDX-License-Identifier: GPL-2.0 9 CFLAGS_KASAN_NOSANITIZE := -fno-builtin 14 cc-param = $(call cc-option, -mllvm -$(1), $(call cc-option, --param $(1))) 15 rustc-param = $(call rustc-option, -Cllvm-args=-$(1),) 17 check-args = $(foreach arg,$(2),$(call $(1),$(arg))) 33 # kernel functions to be instrumented inline. 39 # First, enable -fsanitize=kernel-address together with providing the shadow 40 # mapping offset, as for GCC, -fasan-shadow-offset fails without -fsanitize 41 # (GCC accepts the shadow mapping offset via -fasan-shadow-offset instead of 42 # a --param like the other KASAN parameters). [all …]
|
| /linux/Documentation/firmware-guide/acpi/ |
| H A D | debug.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 Compile-time configuration 14 config option is not set, the debug messages are not even built into the kernel. 16 Boot- and run-time configuration 20 you're interested in. At boot-time, use the acpi.debug_layer and 21 acpi.debug_level kernel command line options. After boot, you can use the 22 debug_layer and debug_level files in /sys/module/acpi/parameters/ to control 32 You can set the debug_layer mask at boot-time using the acpi.debug_layer 34 to /sys/module/acpi/parameters/debug_layer. 38 Reading /sys/module/acpi/parameters/debug_layer shows the supported mask values:: [all …]
|