/linux/Documentation/usb/ |
H A D | gadget_serial.rst | 7 (updated 8-May-2008 for v2.3) 11 ---------------------- 19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 22 You should have received a copy of the GNU General Public 25 MA 02111-1307 USA. 35 ------------- 38 version 2.3 or later of the gadget serial driver in a 2.6 55 -------- 56 The gadget serial driver is a Linux USB gadget driver, a USB device 57 side driver. It runs on a Linux system that has USB device side [all …]
|
/linux/tools/perf/pmu-events/arch/x86/silvermont/ |
H A D | virtual-memory.json | 13 "BriefDescription": "Total cycles for all the page walks. (I-side and D-side)", 17 … cycle when a data (D) page walk or instruction (I) page walk is in progress. Since a pagewalk im… 22 "BriefDescription": "Duration of D-side page-walks in core cycles", 26 … when a D-side (walks due to a load) page walk is in progress. Page walk duration divided by numbe… 31 "BriefDescription": "D-side page-walks", 36 …cDescription": "This event counts when a data (D) page walk is completed or started. Since a page… 41 "BriefDescription": "Duration of I-side page-walks in core cycles", 45 …a I-side (walks due to an instruction fetch) page walk is in progress. Page walk duration divided … 50 "BriefDescription": "I-side page-walks", 55 …when an instruction (I) page walk is completed or started. Since a page walk implies a TLB miss, … [all …]
|
/linux/include/linux/ |
H A D | srcu.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Sleepable Read-Copy Update mechanism for mutual exclusion 11 * For detailed explanation of Read-Copy Update mechanism see - 46 /* Values for SRCU Tree srcu_data ->srcu_reader_flavor, but also used by rcutorture. */ 49 // 0x4 // SRCU-lite is no longer with us. 74 * get_completed_synchronize_srcu - Return a pr [all...] |
H A D | rcupdate.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Read-Copy Update mechanism for mutual exclusion 15 * For detailed explanation of Read-Copy Update mechanism see - 34 #define ULONG_CMP_GE(a, b) (ULONG_MAX / 2 >= (a) - (b)) argument 35 #define ULONG_CMP_LT(a, b) (ULONG_MAX / 2 < (a) - (b)) argument 38 #define RCU_SEQ_STATE_MASK ((1 << RCU_SEQ_CTR_SHIFT) - 1) 50 // not-yet-completed RCU grace periods. 54 * same_state_synchronize_rcu - Are two old-state values identical? 55 * @oldstate1: First old-state value. 56 * @oldstate2: Second old-state value. [all …]
|
/linux/tools/perf/pmu-events/arch/powerpc/power9/ |
H A D | translation.json | 15 …che was reloaded with Shared (S) data from another core's L2 on the same chip due to a demand load" 20 "BriefDescription": "Double-Precion or Quad-Precision instruction completed" 25 …escription": "A Page Table Entry was loaded into the TLB from another chip's memory on the same No… 35 …A Page Table Entry was loaded into the TLB with Shared (S) data from another chip's L2 or L3 on th… 45 …"BriefDescription": "Finish stall due to a vector fixed point instruction in the execution pipelin… 50 "BriefDescription": "LSU Finished a PPC instruction (up to 4 per cycle)" 60 …A Page Table Entry was loaded into the TLB with Shared (S) data from another chip's L2 or L3 on a … 65 …"BriefDescription": "Completion stall due to a long latency vector fixed point instruction (divisi… 70 …on": "The processor's data cache was reloaded from a location other than the local core's L2 due t… 75 …n": "A Page Table Entry was loaded into the TLB either shared or modified data from another core's… [all …]
|
H A D | pipeline.json | 10 "BriefDescription": "Number of I-ERAT reloads" 15 …te that this count is per slice, so if a load spans multiple slices this event will increment mult… 25 …"BriefDescription": "Finish stall because the NTF instruction was a multi-cycle instruction issued… 30 …ded either shared or modified data from another core's L2/L3 on the same chip due to a marked load" 35 …ription": "A Page Table Entry was loaded into the TLB from another chip's L4 on a different Node o… 40 …"BriefDescription": "A Page Table Entry was loaded into the TLB from local core's L2 without confl… 80 …ription": "A Page Table Entry was loaded into the TLB with Modified (M) data from another core's L… 90 …r's data cache was reloaded from another chip's L4 on a different Node or Group (Distant) due to a… 95 …escription": "A Page Table Entry was loaded into the TLB with Modified (M) data from another core'… 100 …rbitration onto the issue pipe to another instruction (from the same thread or a different thread)" [all …]
|
H A D | marked.json | 5 …"BriefDescription": "Number of cycles the marked instruction is experiencing a stall while it is n… 10 …"BriefDescription": "A Page Directory Entry was reloaded to a level 1 page walk cache from beyond … 20 …Description": "A Page Table Entry was loaded into the TLB with Shared (S) data from another core's… 25 …e was reloaded from another chip's memory on the same Node or Group ( Remote) due to a demand load" 45 …"BriefDescription": "A Page Table Entry was reloaded to a level 3 page walk cache from the core's … 50 …"BriefDescription": "A Page Table Entry was reloaded to a level 3 page walk cache from the core's … 60 …"BriefDescription": "A Page Table Entry was loaded into the TLB from the local chip's L4 cache due… 70 …iption": "A Page Table Entry was loaded into the TLB with Shared (S) data from another core's ECO … 85 …he processor's Instruction cache was reloaded from a location other than the local core's L3 due t… 95 …ption": "A Page Table Entry was loaded into the TLB with Modified (M) data from another core's ECO… [all …]
|
H A D | other.json | 30 "BriefDescription": "IERAT reloaded (after a miss) for 4K pages" 45 …on": "The processor's data cache was reloaded from a location other than the local core's L3 due t… 50 …cription": "A Page Table Entry was loaded into the TLB with Modified (M) data from another core's … 55 …"BriefDescription": "A Conditional Branch that resolved to taken was mispredicted as not taken (du… 60 …"BriefDescription": "A demand load referenced a line in an active fuzzy prefetch stream. The strea… 65 "BriefDescription": "Read-write data cache collisions" 80 …"BriefDescription": "Cycles in which no new instructions can be dispatched to the ICT after a flus… 85 …"BriefDescription": "A radix translation attempt missed in the TLB and all levels of page walk cac… 90 "BriefDescription": "D-cache invalidates sent over the reload bus to the core" 120 …"BriefDescription": "L3 TM CAM is full when a L2 castout of TM_SC line occurs. Line is pushed to … [all …]
|
/linux/tools/perf/pmu-events/arch/powerpc/power8/ |
H A D | frontend.json | 5 …"BriefDescription": "Branch instruction completed with a target address less than current instruct… 41 "BriefDescription": "Cycles when a demand ifetch was pending", 47 "BriefDescription": "Number of I-ERAT reloads", 53 "BriefDescription": "IERAT Reloaded (Miss) for a 16M page", 60 "PublicDescription": "IERAT Reloaded (Miss) for a 4k page" 65 "BriefDescription": "IERAT Reloaded (Miss) for a 64k page", 89 …n cache was reloaded with Modified (M) data from another chip's L2 or L3 on a different Node or Gr… 90 …n cache was reloaded with Modified (M) data from another chip's L2 or L3 on a different Node or Gr… 95 …ion cache was reloaded with Shared (S) data from another chip's L2 or L3 on a different Node or Gr… 96 …ion cache was reloaded with Shared (S) data from another chip's L2 or L3 on a different Node or Gr… [all …]
|
/linux/tools/perf/pmu-events/arch/x86/ivytown/ |
H A D | uncore-cache.json | 15 …a user to capture occupancy related information by filtering the Cb0 occupancy count captured in C… 24 …- this includes code, data, prefetches and hints coming from L2. This has numerous filters availa… 34 …- this includes code, data, prefetches and hints coming from L2. This has numerous filters availa… 44 …- this includes code, data, prefetches and hints coming from L2. This has numerous filters availa… 54 …- this includes code, data, prefetches and hints coming from L2. This has numerous filters availa… 64 …- this includes code, data, prefetches and hints coming from L2. This has numerous filters availa… 74 …"PublicDescription": "Counts the number of lines that were victimized on a fill. This can be filt… 84 …"PublicDescription": "Counts the number of lines that were victimized on a fill. This can be filt… 94 …"PublicDescription": "Counts the number of lines that were victimized on a fill. This can be filt… 104 …"PublicDescription": "Counts the number of lines that were victimized on a fill. This can be filt… [all …]
|
/linux/drivers/block/rnbd/ |
H A D | README | 6 ------------ 8 RNBD (RDMA Network Block Device) is a pair of kernel modules 9 (client and server) that allow for remote access of a block device on 12 on the client side as local block devices. 19 ------------ 24 ----------- 26 Server side: 29 Client side: 32 /sys/devices/virtual/rnbd-client/ctl/map_device 34 Where "sessname=" is a session name, a string to identify the session [all …]
|
/linux/tools/perf/pmu-events/arch/x86/knightslanding/ |
H A D | virtual-memory.json | 3 …"BriefDescription": "Counts the number of load micro-ops retired that cause a DTLB miss (Precise E… 17 …"PublicDescription": "This event counts every cycle when a data (D) page walk or instruction (I) p… 22 …"BriefDescription": "Counts the total number of core cycles for all the D-side page walks. The cyc… 30 …"BriefDescription": "Counts the total D-side page walks that are completed or started. The page wa… 39 …"BriefDescription": "Counts the total number of core cycles for all the I-side page walks. The cyc… 43 …"PublicDescription": "This event counts every cycle when an I-side (walks due to an instruction fe… 48 "BriefDescription": "Counts the total I-side page walks that are completed.", 57 "BriefDescription": "Counts the total page walks that are completed (I-side and D-side)",
|
/linux/Documentation/driver-api/usb/ |
H A D | gadget.rst | 11 This document presents a Linux-USB "Gadget" kernel mode API, for use 13 an overview of the API structure, and shows how that fits into a system 15 address a number of important problems, including: 17 - Supports USB 2.0, for high speed devices which can stream data at 20 - Handles devices with dozens of endpoints just as well as ones with 21 just two fixed-function ones. Gadget drivers can be written so 24 - Flexible enough to expose more complex USB device capabilities such 28 - USB "On-The-Go" (OTG) support, in conjunction with updates to the 29 Linux-USB host side. 31 - Sharing data structures and API models with the Linux-USB host side [all …]
|
/linux/Documentation/devicetree/bindings/memory-controllers/ |
H A D | rockchip,rk3399-dmc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/rockchip,rk3399-dmc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Brian Norris <briannorris@chromium.org> 15 - rockchip,rk3399-dmc 17 devfreq-events: 26 clock-names: 28 - const: dmc_clk 30 operating-points-v2: true [all …]
|
/linux/tools/perf/pmu-events/arch/x86/snowridgex/ |
H A D | uncore-interconnect.json | 54 …CIITOM request issued by the IRP unit to the mesh with the intention of writing a full cacheline.", 59 …t to the mesh with the intention of writing a full cacheline to coherent memory, without a RFO. P… 64 …RFO request issued by the IRP unit to the mesh with the intention of writing a partial cacheline.", 70 … IRP unit to the mesh with the intention of writing a partial cacheline to coherent memory. RFO i… 98 …ory, received by the IRP and inserted into the Fire and Forget queue (FAF), a queue used for proce… 107 …"PublicDescription": "Occupancy of the IRP Fire and Forget (FAF) queue, a queue used for processin… 111 "BriefDescription": "FAF allocation -- sent to ADQ", 148 … "BriefDescription": "Counts Timeouts - Set 0 : Cache Inserts of Atomic Transactions as Secondary", 158 … "BriefDescription": "Counts Timeouts - Set 0 : Cache Inserts of Read Transactions as Secondary", 168 … "BriefDescription": "Counts Timeouts - Set 0 : Cache Inserts of Write Transactions as Secondary", [all …]
|
/linux/drivers/infiniband/ulp/rtrs/ |
H A D | README | 5 RTRS (RDMA Transport) is a reliable high speed transport library 11 possibility to either write data from an sg list to the remote side 12 or to request ("read") data transfer from the remote side into a given 15 RTRS provides I/O fail-over and load-balancing capabilities by using 17 Documentation/ABI/testing/sysfs-class-rtrs-client). 26 -------- 27 An established connection between a client and a server is called rtrs 28 session. A session is associated with a set of memory chunks reserved on the 29 server side for a given client for rdma transfer. A session 30 consists of multiple paths, each representing a separate physical link [all …]
|
/linux/tools/perf/pmu-events/arch/arm64/ampere/ampereone/ |
H A D | core-imp-def.json | 99 "PublicDescription": "Macro-ops speculatively decoded", 102 "BriefDescription": "Macro-ops speculatively decoded" 255 …OB drains triggered by system register or special-purpose register read-after-write or specific sp… 258 …OB drains triggered by system register or special-purpose register read-after-write or specific sp… 309 "PublicDescription": "A load wakeup to the scheduler has been cancelled", 312 "BriefDescription": "A load wakeup to the scheduler has been cancelled" 435 "PublicDescription": "GPC detected a Breakpoint instruction match", 438 "BriefDescription": "GPC detected a Breakpoint instruction match" 501 "PublicDescription": "LSU detected a Watchpoint data match", 504 "BriefDescription": "LSU detected a Watchpoint data match" [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 14 A mapping object is created during driver initialization using:: 20 mappable, while 'size' indicates how large a mapping region to 23 This _wc variant provides a mapping which may only be used with 40 undefined result. The return value points to a single page in CPU address 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 [all …]
|
/linux/tools/perf/pmu-events/arch/arm64/arm/cortex-a73/ |
H A D | pipeline.json | 3 "PublicDescription": "A linefill caused an instruction side stall", 6 "BriefDescription": "A linefill caused an instruction side stall" 9 "PublicDescription": "A translation table walk caused an instruction side stall", 12 "BriefDescription": "A translation table walk caused an instruction side stall" 15 "PublicDescription": "Duration for which all slots in the Load-Store Unit are busy", 18 "BriefDescription": "Duration for which all slots in the Load-Store Unit are busy" 21 "PublicDescription": "Duration for which all slots in the load-store issue queue are busy", 24 "BriefDescription": "Duration for which all slots in the load-store issue queue are busy"
|
/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 60 .. _Explicit Congestion Notification: https://tools.ietf.org/html/rfc3168#page-6 73 .. _RFC1213 ipInHdrErrors: https://tools.ietf.org/html/rfc1213#page-27 79 address is not a local address and IP forwarding is not enabled 81 .. _RFC1213 ipInAddrErrors: https://tools.ietf.org/html/rfc1213#page-27 85 This counter means the packet is dropped when the IP stack receives a 86 packet and can't find a route for it from the route table. It might [all …]
|
/linux/arch/arm/mm/ |
H A D | pmsa-v7.c | 52 /* Data-side / unified region attributes */ 76 /* Optional instruction-side region attributes */ 78 /* I-side Region access control register */ 84 /* I-side Region size register */ 90 /* I-side Region base address register */ 108 /* Data-side / unified region attributes */ 137 /* ARMv7-M only supports a unified MPU, so I-side operations are nop */ 149 phys_addr_t abase = base & ~(size - 1); in try_split_region() 150 phys_addr_t asize = base + size - abase; in try_split_region() 157 bdiff = base - abase; in try_split_region() [all …]
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | cgroup_tcp_skb.c | 1 // SPDX-License-Identifier: GPL-2.0 29 if (skb->protocol != bpf_htons(ETH_P_IPV6)) in needed_tcp_pkt() 40 if (tcph->source != bpf_htons(g_sock_port) && in needed_tcp_pkt() 41 tcph->dest != bpf_htons(g_sock_port)) in needed_tcp_pkt() 47 /* Run accept() on a socket in the cgroup to receive a new connection. */ 51 if (tcph->fin || !tcph->syn || !tcph->ack) in egress_accept() 65 if (!tcph->syn || tcph->fin || tcph->ack) in ingress_accept() 71 if (tcph->fin || tcph->syn || !tcph->ack) in ingress_accept() 83 /* Run connect() on a socket in the cgroup to start a new connection. */ 87 if (!tcph->syn || tcph->fin || tcph->ack) in egress_connect() [all …]
|
/linux/tools/include/uapi/ |
H A D | README | 1 Why we want a copy of kernel headers in tools? 18 $ ls -1 tools/perf/trace/beauty/*.sh | head -5 36 The tools/perf/check-headers.sh script, part of the tools/ build 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 50 - Duplicate self-defined ABI headers like glibc: double the maintenance 51 burden, double the chance for mistakes, plus there's no tech-driven 52 notification mechanism to look at new kernel side changes. 54 What we are doing now is a third option: [all …]
|
/linux/kernel/rcu/ |
H A D | tree_plugin.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Read-Copy Update mechanism for mutual exclusion (tree-based version) 4 * Internal non-public definitions that provide either classic 19 * In order to read the offloaded state of an rdp in a safe in rcu_rdp_is_offloaded() 23 * non-preemptible reads are also safe. NOCB kthreads and in rcu_rdp_is_offloaded() 30 lockdep_is_held(&rdp->nocb_lock) || in rcu_rdp_is_offloaded() 38 return rcu_segcblist_is_offloaded(&rdp->cblis in rcu_rdp_is_offloaded() [all...] |
/linux/tools/perf/pmu-events/arch/x86/goldmont/ |
H A D | virtual-memory.json | 7 …f times the machine was unable to find a translation in the Instruction Translation Lookaside Buff… 18 …a DTLB miss on load, store or either. Note that when two distinct memory operations to the same p… 29 "PublicDescription": "Counts load uops retired that caused a DTLB miss.", 40 "PublicDescription": "Counts store uops retired that caused a DTLB miss.", 45 "BriefDescription": "Duration of page-walks in cycles", 49 …"PublicDescription": "Counts every core cycle a page-walk is in progress due to either a data memo… 54 "BriefDescription": "Duration of D-side page-walks in cycles", 58 …"PublicDescription": "Counts every core cycle when a Data-side (walks due to a data operation) pag… 63 "BriefDescription": "Duration of I-side pagewalks in cycles", 67 …"PublicDescription": "Counts every core cycle when a Instruction-side (walks due to an instruction…
|