/linux/lib/ |
H A D | Kconfig.kgdb | 1 # SPDX-License-Identifier: GPL-2.0-only 6 # set if architecture has the its kgdb_arch_handle_qxfer_pkt 34 If set to Y the debug core will use the kprobe blocklist to 35 identify symbols where it is unsafe to set breakpoints. 49 Share a serial console with kgdb. Sysrq-g must be used 83 bool "KGDB: Allow debugging with traps in notifiers" 88 exception handler which will allow kgd [all...] |
/linux/arch/arm64/boot/dts/qcom/ |
H A D | sm6125-xiaomi-laurel-sprout.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/input/gpio-keys.h> 11 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 17 compatible = "xiaomi,laurel-sprout", "qcom,sm6125"; 18 chassis-type = "handset"; 21 qcom,msm-id = <394 0>; /* sm6125 v1 */ 22 qcom,board-id = <11 0>; [all …]
|
H A D | sm6125-sony-xperia-seine-pdx201.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/gpio-keys.h> 12 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 16 qcom,msm-id = <394 0x10000>; /* sm6125 v1 */ 17 qcom,board-id = <34 0>; 21 chassis-type = "handset"; 29 #address-cells = <2>; 30 #size-cells = <2>; [all …]
|
/linux/Documentation/leds/ |
H A D | ledtrig-transient.rst | 8 to be off. The delay_on value specifies the time period an LED should stay 11 gets deactivated. There is no provision for one time activation to implement 16 set a timer to hold a state, however when user space application crashes or 36 that are active at the time driver gets suspended, continue to run, without 41 class device property. When brightness is set to 0 from user space via 56 non-transient state. When driver gets suspended, irrespective of the transient 69 transient trigger is activated these properties are set to default values. 71 - duration allows setting timer value in msecs. The initial value is 0. 72 - activate allows activating and deactivating the timer specified by 73 duration as needed. The initial and default value is 0. This will allow [all …]
|
/linux/Documentation/w1/slaves/ |
H A D | w1_therm.rst | 16 ----------- 47 time required by parasited powered device on the line. Reading 49 -1 if at least one sensor still in conversion, 1 if conversion is complete 55 time of issue of the bulk read command (not the current temperature). 59 ``conv_time`` is used to get current conversion time (read), and 60 adjust it (write). A temperature conversion time depends on the device type and 61 its current resolution. Default conversion time is set by the driver according 62 to the device datasheet. A conversion time for many original device clones 63 deviate from datasheet specs. There are three options: 1) manually set the 64 correct conversion time by writing a value in milliseconds to ``conv_time``; 2) [all …]
|
/linux/Documentation/admin-guide/ |
H A D | xfs.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 on the SGI IRIX platform. It is completely multi-threaded, can 15 for further details. This implementation is on-disk compatible 25 Sets the buffered I/O end-of-file preallocation size when 28 through to 1GiB, inclusive, in power-of-2 increments. 30 The default behaviour is for dynamic end-of-file 31 preallocation size, which uses a set of heuristics to 50 gets. When ``grpid`` is set, it takes the group ID of the 53 ``setgid`` bit set, in which case it takes the ``gid`` from the 54 parent directory, and also gets the ``setgid`` bit set if it is [all …]
|
H A D | kernel-parameters.txt | 16 force -- enable ACPI if default was off 17 on -- enable ACPI but allow fallback to DT [arm64,riscv64] 18 off -- disable ACPI if default was on 19 noirq -- do not use ACPI for IRQ routing 20 strict -- Be less tolerant of platforms that are not 22 rsdt -- prefer RSDT over (default) XSDT 23 copy_dsdt -- copy DSDT to memory 24 nocmcff -- Disable firmware first mode for corrected 26 source to check if firmware has set the FF flag. This 28 nospcr -- disable console in ACPI SPCR table as [all …]
|
/linux/sound/hda/common/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 13 bool "Build hwdep interface for HD-audio driver" 16 Say Y here to build a hwdep interface for HD-audio driver. 17 This interface can be used for out-of-band communication 21 bool "Allow dynamic codec reconfiguration" 23 Say Y here to enable the HD-audio codec re-configuration feature. 25 codec setup, add extra verbs, and re-configure the codec dynamically. 36 Say Y here to build a digital beep interface for HD-audio 45 Set 0 to disable the digital beep interface for HD-audio by default. 46 Set 1 to always enable the digital beep interface for HD-audio by [all …]
|
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | nvm-reg.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2012-2014, 2018-2025 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 11 * enum iwl_regulatory_and_nvm_subcmd_ids - regulatory/NVM commands 61 * enum iwl_nvm_access_op - NVM access opcode 71 * enum iwl_nvm_access_target - target of the NVM_ACCESS_CMD 83 * enum iwl_nvm_section_type - section types for NVM_ACCESS_CMD 105 * struct iwl_nvm_access_cmd - Request the device to send an NVM section 123 * struct iwl_nvm_access_resp - response to NVM_ACCESS_CMD [all …]
|
/linux/kernel/trace/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 21 API, which will be used by other function-entry hooking 27 See Documentation/trace/ftrace-design.rst 32 See Documentation/trace/ftrace-design.rst 45 See Documentation/trace/ftrace-design.rst 65 If this is set, then arguments and stack can be found from 74 If this is set, ftrace_regs has pt_regs, thus it can convert to 86 See Documentation/trace/ftrace-design.rst 91 Arch supports the gcc options -pg with -mfentry 96 Arch supports the gcc options -pg with -mrecord-mcount and -nop-mcount [all …]
|
/linux/rust/pin-init/examples/ |
H A D | static_init.rs | 1 // SPDX-License-Identifier: Apache-2.0 OR MIT 3 #![allow(clippy::undocumented_unsafe_blocks)] 6 #![allow(unused_imports)] 13 time::Duration, 22 #[allow(unused_attributes)] 37 pub const fn new(init: I) -> Self { in new() 49 fn deref(&self) -> &Self::Target { in deref() 56 std::thread::sleep(std::time::Duration::from_millis(200)); in deref() 66 self.present.set(true); in deref() 78 ) -> Result<(), core::convert::Infallible> { in __pinned_init() [all …]
|
/linux/include/linux/ |
H A D | lru_cache.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 7 Copyright (C) 2003-2008, LINBIT Information Technologies GmbH. 8 Copyright (C) 2003-2008, Philipp Reisner <philipp.reisner@linbit.com>. 9 Copyright (C) 2003-2008, Lars Ellenberg <lars.ellenberg@linbit.com>. 24 This header file (and its .c file; kernel-doc of functions see there) 26 and changes to an "active set" of objects, as well as pending transactions, 30 the active set before we can "heat" a previously unused region. 33 As it actually Tracks Objects in an Active SeT, we could also call it 42 we need to resync all regions that have been target of in-flight WRITE IO 48 This is known as "write intent log", and can be implemented as on-disk [all …]
|
/linux/Documentation/userspace-api/ |
H A D | landlock.rst | 1 .. SPDX-License-Identifier: GPL-2.0 2 .. Copyright © 2017-2020 Mickaël Salaün <mic@digikod.net> 3 .. Copyright © 2019-2020 ANSSI 4 .. Copyright © 2021-2022 Microsoft Corporation 14 filesystem or network access) for a set of processes. Because Landlock 16 new security layers in addition to the existing system-wide access-controls. 23 ``dmesg | grep landlock || journalctl -kb -g landlock`` . 33 perform. A set of rules is aggregated in a ruleset, which can then restrict 48 ---------------------------------------- 52 For this example, the ruleset will contain rules that only allow filesystem [all …]
|
H A D | check_exec.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 `samples/check-exec/inc.c`_ example. 28 for script interpreters and dynamic linkers to check the securebits at run time 31 set to 1 (i.e. always enforce restrictions). 41 Programs should always perform this check to apply kernel-level checks against 60 To avoid race conditions leading to time-of-check to time-of-use issues, 67 When ``SECBIT_EXEC_RESTRICT_FILE`` is set, a process should only interpret or 71 This secure bit may be set by user session managers, service managers, 73 related ``SECBIT_EXEC_RESTRICT_FILE_LOCKED`` bit should also be set. 76 securebits but without relying on any other user-controlled configuration. [all …]
|
H A D | unshare.rst | 10 ---------- 14 -------- 26 ----------- 37 outside the confinement of all-or-nothing shared resources of legacy 38 threads. On Linux, at the time of thread creation using the clone system 44 shared at the time of their creation. unshare() was conceptualized by 45 Al Viro in the August of 2000, on the Linux-Kernel mailing list, as part 49 addition to the set of available primitives on Linux that implement 53 ----------- 59 even non-threaded applications if they have a need to disassociate [all …]
|
H A D | seccomp_filter.rst | 11 certain subset of userland applications benefit by having a reduced set 12 of available system calls. The resulting set reduces the total kernel 22 history of being exposed to userland and a straightforward data set. 25 to time-of-check-time-of-use (TOCTOU) attacks that are common in system 65 call will return -1 and set errno to ``EINVAL``. 73 true, ``-EACCES`` will be returned. This requirement ensures that filter 79 time, but allow for further decreasing the attack surface during 82 The above call returns 0 on success and non-zero on error. 106 task without executing the system call. ``siginfo->si_call_addr`` 108 ``siginfo->si_syscall`` and ``siginfo->si_arch`` will indicate which [all …]
|
/linux/Documentation/virt/kvm/devices/ |
H A D | vcpu.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 kvm_device_attr as other devices, but targets VCPU-wide settings and controls. 19 --------------------------------------- 27 -EBUSY The PMU overflow interrupt is already set 28 -EFAULT Error reading interrupt number 29 -ENXIO PMUv3 not supported or the overflow interrupt not set 31 -ENODEV KVM_ARM_VCPU_PMU_V3 feature missing from VCPU 32 -EINVAL Invalid PMU overflow interrupt number supplied or 33 trying to set the IRQ number without using an in-kernel 43 --------------------------------------- [all …]
|
/linux/drivers/virtio/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 41 those that happen at a time where notifications are illegal. 78 If disabled, you get a slightly smaller, non-transitional driver, 83 break. Otherwise, leave it set. Unless you're testing what 96 physical device to allow the datapath of virtio to be 106 This driver provides access to virtio-pmem devices, storage devices 107 that are mapped into the physical address space - similar to NVDIMMs 108 - with a virtio-based flushing interface. 132 This driver provides access to virtio-mem paravirtualized memory 135 This driver currently supports x86-64, arm64, riscv and s390. [all …]
|
/linux/Documentation/block/ |
H A D | data-integrity.rst | 10 corruption is done at read time which could potentially be months 40 allow the operating system to interact with the integrity metadata 53 encouraged them to allow separation of the data and integrity metadata 54 scatter-gather lists. 60 Also, the 16-bit CRC checksum mandated by both the SCSI and SATA specs 63 performance for a number of workloads. Some controllers allow a 64 lighter-weight checksum to be used when interfacing with the operating 66 The IP checksum received from the OS is converted to the 16-bit CRC 91 device. However, at the same time this is also the biggest 102 concept of an end-to-end protection scheme is a layering violation. [all …]
|
/linux/Documentation/admin-guide/cgroup-v1/ |
H A D | devices.rst | 24 An entry is added using devices.allow, and removed using 27 echo 'c 1:3 mr' > /sys/fs/cgroup/1/devices.allow 36 echo a > /sys/fs/cgroup/1/devices.allow 61 access permissions than its parent. Every time an entry is written to 63 from their whitelist and all the locally set whitelist entries will be 64 re-evaluated. In case one of the locally set whitelist entries would provide 74 A allow "b 8:* rwm", "c 116:1 rw" 103 # echo "c *:3 rwm" >A/devices.allow 113 # echo "c 2:3 rwm" >B/devices.allow 114 # echo "c 50:3 r" >B/devices.allow [all …]
|
/linux/Documentation/arch/x86/ |
H A D | pti.rst | 1 .. SPDX-License-Identifier: GPL-2.0 14 To mitigate this class of attacks, we create an independent set of 27 This approach helps to ensure that side-channel attacks leveraging 30 time. Once enabled at compile-time, it can be disabled at boot with 31 the 'nopti' or 'pti=' kernel parameters (see kernel-parameters.txt). 37 The first set is very similar to the single set which is present in 43 that any missed kernel->user CR3 switch will immediately crash 49 each CPU's copy of the area a compile-time-fixed virtual address. 58 layers of the page tables. This leaves a single, shared set of 59 userspace page tables to manage. One PTE to lock, one set of [all …]
|
/linux/Documentation/virt/kvm/x86/ |
H A D | timekeeping.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Timekeeping Virtualization for X86-Based Architectures 23 time introduces a new set of challenges because it introduces a multiplexed 24 division of time beyond the control of the guest CPU. 32 information relevant to KVM and hardware-based virtualization. 41 2.1. i8254 - PIT 42 ---------------- 46 channels which can be programmed to deliver periodic or one-shot interrupts. 53 The PIT uses I/O ports 0x40 - 0x43. Access to the 16-bit counters is done 59 -------------- ---------------- [all …]
|
/linux/Documentation/mm/damon/ |
H A D | design.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 The monitoring-related information including the monitoring request 14 specification and DAMON-based operation schemes are stored in a data structure 19 To know how user-space can do the configurations and start/stop DAMON, refer to 28 - :ref:`Operations Set <damon_operations_set>`: Implements fundamental 30 address-space and available set of software/hardware primitives, 31 - :ref:`Core <damon_core_logic>`: Implements core logics including monitoring 32 overhead/accuracy control and access-aware system operations on top of the 33 operations set layer, and 34 - :ref:`Modules <damon_modules>`: Implements kernel modules for various [all …]
|
/linux/include/ufs/ |
H A D | ufshcd.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 4 * Copyright (C) 2011-2013 Samsung India Software Operations 5 * Copyright (c) 2013-2016, The Linux Foundation. All rights reserved. 16 #include <linux/blk-crypto-profile.h> 17 #include <linux/blk-m [all...] |
/linux/Documentation/admin-guide/cifs/ |
H A D | usage.rst | 18 MS-SMB2 (for detailed SMB2/SMB3/SMB3.1.1 protocol specification) 36 (e.g. /usr/src/linux-2.5.73) 48 the modules directory e.g. /lib/modules/6.3.0-060300-generic/kernel/fs/smb/client/cifs.ko). 57 required, mount.cifs is recommended. Most distros include a ``cifs-utils`` 63 found at cifs-utils.git on git.samba.org 72 at module initialization time (by running insmod cifs.ko) can be seen. 122 mounts, unless umount is invoked with -i (which will avoid invoking a umount 125 allow adding entries to a file to the /etc/permissions file to achieve the 166 disabled on a per-mount basis by specifying ``nouser_xattr`` on mount. 168 The CIFS client can get and set POSIX ACLs (getfacl, setfacl) to Samba servers [all …]
|