| /linux/Documentation/usb/ |
| H A D | gadget_serial.rst | 7 (updated 8-May-2008 for v2.3) 11 ---------------------- 25 MA 02111-1307 USA. 35 ------------- 39 Linux kernel. 55 -------- 57 side driver. It runs on a Linux system that has USB device side 65 -------------------------------------- 66 | Host-Side CDC ACM USB Host | 68 | System | Generic USB | Driver |-------- [all …]
|
| /linux/tools/include/uapi/ |
| H A D | README | 1 Why we want a copy of kernel headers in tools? 4 There used to be no copies, with tools/ code using kernel headers 5 directly. From time to time tools/perf/ broke due to legitimate kernel 18 $ ls -1 tools/perf/trace/beauty/*.sh | head -5 36 The tools/perf/check-headers.sh script, part of the tools/ build 40 the original kernel headers, that will be done later, when 41 check-headers.sh inform about the change to the perf tools hackers. 46 - Symbolic links and direct #includes: this was the original approach but 47 was pushed back on from the kernel side, when tooling modified the 48 headers and broke them accidentally for kernel builds. [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-bus-iio-frequency-admv1013 | 1 What: /sys/bus/iio/devices/iio:deviceX/in_altvoltage0-altvoltage1_i_calibphase 3 Contact: linux-iio@vger.kernel.org 7 What: /sys/bus/iio/devices/iio:deviceX/in_altvoltage0-altvoltage1_q_calibphase 9 Contact: linux-iio@vger.kernel.org 15 Contact: linux-iio@vger.kernel.org 18 side. 22 Contact: linux-iio@vger.kernel.org 24 Read/write value for the Local Oscillatior Feedthrough Offset Calibration Q Positive side. 28 Contact: linux-iio@vger.kernel.org 31 side. [all …]
|
| /linux/Documentation/networking/ |
| H A D | snmp_counter.rst | 17 .. _RFC1213 ipInReceives: https://tools.ietf.org/html/rfc1213#page-26 30 .. _RFC1213 ipInDelivers: https://tools.ietf.org/html/rfc1213#page-28 33 ICMP and so on. If no one listens on a raw socket, only kernel 41 .. _RFC1213 ipOutRequests: https://tools.ietf.org/html/rfc1213#page-28 49 They are Linux kernel extensions, no RFC definitions. Please note, 60 .. _Explicit Congestion Notification: https://tools.ietf.org/html/rfc3168#page-6 73 .. _RFC1213 ipInHdrErrors: https://tools.ietf.org/html/rfc1213#page-27 81 .. _RFC1213 ipInAddrErrors: https://tools.ietf.org/html/rfc1213#page-27 94 layer 4 protocol is unsupported by kernel. If an application is using 95 raw socket, kernel will always deliver the packet to the raw socket [all …]
|
| /linux/Documentation/RCU/ |
| H A D | whatisRCU.rst | 3 What is RCU? -- "Read, Copy, Update" 24 …ries: Fundamentals https://www.linuxfoundation.org/webinars/unraveling-rcu-usage-mysteries 25 …Cases https://www.linuxfoundation.org/webinars/unraveling-rcu-usage-mysteries-additional-use-cases 30 RCU is a synchronization mechanism that was added to the Linux kernel 31 during the 2.5 development effort that is optimized for read-mostly 50 :ref:`6. ANALOGY WITH READER-WRITER LOCKING <6_whatisRCU>` 64 into the kernel source code. People who reason best by analogy should 70 everything, feel free to read the whole thing -- but if you are really 72 never need this document anyway. ;-) 77 ---------------- [all …]
|
| H A D | checklist.rst | 1 .. SPDX-License-Identifier: GPL-2.0 14 0. Is RCU being applied to a read-mostly situation? If the data 18 tool for the job. Yes, RCU does reduce read-side overhead by 19 increasing write-side overhead, which is exactly why normal uses 24 is the dynamic NMI code in the Linux 2.6 kernel, at least on 27 Yet another exception is where the low real-time latency of RCU's 28 read-side primitives is critically important. 33 counter-intuitive situation where rcu_read_lock() and 49 them -- even x86 allows later loads to be reordered to precede 59 2. Do the RCU read-side critical sections make proper use of [all …]
|
| H A D | rcu.rst | 6 The basic idea behind RCU (read-copy update) is to split destructive 11 since dropped their references. For example, an RCU-protected deletion 17 -------------------------- 19 - Why would anyone want to use RCU? 21 The advantage of RCU's two-part approach is that RCU readers need 26 in read-mostly situations. The fact that RCU readers need not 27 acquire locks can also greatly simplify deadlock-avoidance code. 29 - How can the updater tell when a grace period has completed 33 block, switch to user-mode execution, or enter the idle loop. 36 read-side critical sections. So, if we remove an item from a [all …]
|
| /linux/Documentation/security/ |
| H A D | snp-tdx-threat-model.rst | 12 Kernel developers working on confidential computing for virtualized 14 kernel threat model that differ from the traditional view. Historically, 17 the kernel through various networking or limited HW-specific exposed 20 and discuss the proposed protection mechanisms for the Linux kernel. 48 additional mechanisms to control guest-host page mapping. More details on 49 the x86-specific solutions can be found in 51 …https://www.amd.com/system/files/techdocs/sev-snp-strengthening-vm-isolation-with-integrity-protec… 56 that acts as a security manager. The host-side virtual machine monitor 63 In the following diagram, the "<--->" lines represent bi-directional 67 +-------------------+ +-----------------------+ [all …]
|
| /linux/Documentation/gpu/rfc/ |
| H A D | gpusvm.rst | 1 .. SPDX-License-Identifier: (GPL-2.0+ OR MIT) 16 * An example of a driver-specific lock causing issues occurred before 17 fixing do_swap_page to lock the faulting page. A driver-exclusive lock 34 * GPU fault side 41 should not be handled on the fault side by trying to hold locks; 43 exception is holding a BO's dma-resv lock during the initial migration 44 to VRAM, as this is a well-defined lock that can be taken underneath 51 core-MM side rather than through a driver-side lock. 57 * The physical memory backpointer (page->zone_device_data) should remain 70 .. kernel-doc:: drivers/gpu/drm/drm_gpusvm.c [all …]
|
| /linux/Documentation/admin-guide/hw-vuln/ |
| H A D | spectre.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 Spectre Side Channels 6 Spectre is a class of side channel attacks that exploit branch prediction 8 bypassing access controls. Speculative execution side channel exploits 14 ------------------- 16 Speculative execution side channel methods affect a wide range of modern 22 - Intel Core, Atom, Pentium, and Xeon processors 24 - AMD Phenom, EPYC, and Zen processors 26 - IBM POWER and zSeries processors 28 - Higher end ARM processors [all …]
|
| /linux/rust/kernel/time/ |
| H A D | delay.rs | 1 // SPDX-License-Identifier: GPL-2.0 5 //! This module contains the kernel APIs related to delay and sleep that 6 //! have been ported or wrapped for usage by Rust code in the kernel. 15 /// Equivalent to the C side [`fsleep()`], flexible sleep function, 20 /// to call this function with an out-of-range value, in which case the function 24 /// The behavior above differs from the C side [`fsleep()`] for which out-of-range 29 /// [`fsleep()`]: https://docs.kernel.org/timers/delay_sleep_functions.html#c.fsleep 53 /// Equivalent to the C side [`udelay()`], which delays in microseconds. 57 /// call this function with an out-of-range value. 59 /// The behavior above differs from the C side [`udelay()`] for which out-of-range [all …]
|
| /linux/drivers/block/rnbd/ |
| H A D | README | 6 ------------ 8 RNBD (RDMA Network Block Device) is a pair of kernel modules 12 on the client side as local block devices. 19 ------------ 21 RTRS kernel modules 24 ----------- 26 Server side: 29 Client side: 32 /sys/devices/virtual/rnbd-client/ctl/map_device 39 mapped from the server side. After the session to the server machine is [all …]
|
| /linux/tools/usb/usbip/ |
| H A D | README | 2 # README for usbip-utils 5 # 2005-2008 Takahiro Hirofuchi 15 - usbip-vhci 16 A client side kernel module which provides a virtual USB Host Controller 19 - usbip-host (stub driver) 20 A server side module which provides a USB device driver which can be 23 - usbi [all...] |
| /linux/net/ipv4/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 9 enlarging your kernel by about 2 KB. You need multicasting if you 23 The answer to this question won't directly affect the kernel: 28 forwarding in your kernel; you can do that by saying Y to "/proc 40 so-called IP spoofing, however it can pose problems if you use 42 than packets from that host to you) or if you operate a non-routing 52 <file:Documentation/networking/ip-sysctl.rst>. 71 address into account. Furthermore, the TOS (Type-Of-Service) field 89 equal "cost" and chooses one of them in a non-deterministic fashion 96 If you say Y here, which is recommended, then the kernel will print [all …]
|
| /linux/drivers/staging/media/atomisp/pci/isp/kernels/xnr/xnr_3.0/ |
| H A D | ia_css_xnr3.host.c | 1 // SPDX-License-Identifier: GPL-2.0 17 #define XNR_MAX_ALPHA ((1 << (ISP_VEC_ELEMBITS - 1)) - 1) 25 * division look-up table 36 -7213, -5580, -4371, -3421, -2722, -2159, -6950, -5585, 37 -4529, -3697, -3010, -2485, -2070, -1727, -1428, 0 50 * Default kernel parameters. In general, default is bypass mode or as close 65 * Compute an alpha value for the ISP kernel from sigma value on the host 87 * Compute the scaled coring value for the ISP kernel from the value on the 96 s32 offset = host_scale / 2; /* fixed-point 0.5 */ in compute_coring() 98 /* Convert from public host-side scale factor to isp-side scale in compute_coring() [all …]
|
| /linux/Documentation/misc-devices/ |
| H A D | amd-sbi.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 AMD SIDE BAND interface 8 functionality via side-band interface (SBI) called 10 based 2-wire processor target interface. APML is used to 12 (SB Remote Management Interface (SB-RMI) 13 and SB Temperature Sensor Interface (SB-TSI)). 18 .. [1] https://docs.amd.com/v/u/en-US/55898_B1_pub_0_50 24 apml_sbrmi driver under the drivers/misc/amd-sbi creates miscdevice 25 /dev/sbrmi-* to let user space programs run APML mailbox, CPUID, 31 .. code-block:: bash [all …]
|
| /linux/arch/arm/kernel/ |
| H A D | head-nommu.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * linux/arch/arm/kernel/head-nommu.S 5 * Copyright (C) 1994-2002 Russell King 6 * Copyright (C) 2003-2006 Hyok S. Choi 8 * Common kernel startup code (non-paged MM) 16 #include <asm/asm-offsets.h> 24 * Kernel startup entry point. 25 * --------------------------- 28 * are: MMU = off, D-cache = off, I-cache = dont care, r0 = 0, 31 * See linux/arch/arm/tools/mach-types for the complete list of machine [all …]
|
| /linux/Documentation/PCI/endpoint/ |
| H A D | pci-ntb-howto.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 PCI Non-Transparent Bridge (NTB) Endpoint Function (EPF) User Guide 9 This document is a guide to help users use pci-epf-ntb function driver 11 be followed in the host side and EP side is given below. For the hardware 13 Documentation/PCI/endpoint/pci-ntb-function.rst 19 --------------------------- 27 2900000.pcie-ep 2910000.pcie-ep 31 # ls /sys/kernel/config/pci_ep/controllers 32 2900000.pcie-ep 2910000.pcie-ep 36 ------------------------- [all …]
|
| /linux/drivers/nvme/target/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 11 This enabled target side support for the NVMe protocol, that is 12 it allows the Linux kernel to implement NVMe subsystems and 34 This enables target side NVMe passthru controller support for the 37 side, including executing Vendor Unique Commands. 48 to test NVMe host and target side features. 83 to test NVMe-FC transport interfaces. 106 https://github.com/oracle/ktls-utils. 111 bool "NVMe over Fabrics In-band Authentication in target side" 115 This enables support for NVMe over Fabrics In-band Authentication in [all …]
|
| /linux/include/linux/ |
| H A D | drbd_genl_api.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * struct drbd_genlmsghdr - DRBD specific header used in NETLINK_GENERIC requests 8 * For admin requests (user -> kernel): which minor device to operate on. 10 * (kernel -> user): which minor device the information is about. 14 * @flags: possible operation modifiers (relevant only for user->kernel): 19 * The volume number corresponds to the same volume number on the remote side, 20 * whereas the minor number on the remote side may be different 22 * @ret_code: kernel->userland unicast cfg reply return code (union with flags);
|
| /linux/Documentation/arch/arm/ |
| H A D | cluster-pm-race-avoidance.rst | 2 Cluster-wide Power-up/power-down race avoidance algorithm 16 --------- 29 cluster-level operations are only performed when it is truly safe to do 35 disabling those mechanisms may itself be a non-atomic operation (such as 38 power-down and power-up at the cluster level. 46 ----------- 50 - DOWN 51 - COMING_UP 52 - UP 53 - GOING_DOWN [all …]
|
| /linux/Documentation/arch/x86/ |
| H A D | earlyprintk.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 Mini-HOWTO for using the earlyprintk=dbgp boot option with a 13 [host/target] <-------> [USB debug key] <-------> [client/console] 21 the lspci -vvv output:: 23 # lspci -vvv 25 …roller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03) (prog-if 20 [EHCI]) 27 …Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisIN… 28 …Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- I… 31 Region 0: Memory at fe227000 (32-bit, non-prefetchable) [size=1K] 33 Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+) [all …]
|
| /linux/Documentation/driver-api/ |
| H A D | io-mapping.rst | 8 The io_mapping functions in linux/io-mapping.h provide an abstraction for 10 usage is to support the large graphics aperture on 32-bit processors where 12 as it would consume too much of the kernel address space. 43 This _wc variant returns a write-combining map to the page and may only be 49 io_mapping_map_local_wc() has a side effect on X86 32bit as it disables 50 migration to make the mapping code work. No caller can rely on this side 53 io_mapping_map_atomic_wc() has the side effect of disabling preemption and 72 undoes the side effects of the mapping functions. 80 This works like io_mapping_map_atomic/local_wc() except it has no side
|
| /linux/Documentation/admin-guide/media/ |
| H A D | si476x.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 ------------------- 14 - According to the SiLabs' datasheet it is possible to update the 15 firmware of the radio chip in the run-time, thus bringing it to the 23 ------------------------------- 31 * /sys/kernel/debug/<device-name>/acf 52 0x05 smute 0 - Audio is not soft muted 53 1 - Audio is soft muted 60 0x10 pilot 0 - Stereo pilot is not present 61 1 - Stereo pilot is present [all …]
|
| /linux/rust/kernel/ |
| H A D | revocable.rs | 1 // SPDX-License-Identifier: GPL-2.0 26 /// # use kernel::revocable::Revocable; 33 /// fn add_two(v: &Revocable<Example>) -> Option<u32> { 44 /// Sample example as above, but explicitly using the rcu read side lock. 47 /// # use kernel::revocable::Revocable; 48 /// use kernel::sync::rcu; 55 /// fn add_two(v: &Revocable<Example>) -> Option<u32> { 85 pub fn new<E>(data: impl PinInit<T, E>) -> impl PinInit<Self, E> { in new() 88 data <- Opaque::pin_init(data), in new() 99 pub fn try_access(&self) -> Option<RevocableGuard<'_, T>> { in try_access() [all …]
|