/linux/Documentation/devicetree/bindings/arm/ |
H A D | arm,trace-buffer-extension.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 4 --- 5 $id: http://devicetree.org/schemas/arm/arm,trace-buffer-extension.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: ARM Trace Buffer Extensions 11 - Anshuman Khandual <anshuman.khandual@arm.com> 14 Arm Trace Buffer Extension (TRBE) is a per CPU component 15 for storing trace generated on the CPU to memory. It is 26 - const: arm,trace-buffer-extension 32 the arm,gic-v3 binding for details on describing a PPI partition. [all …]
|
/linux/Documentation/trace/coresight/ |
H A D | coresight-trbe.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Trace Buffer Extension (TRBE). 11 -------------------- 13 Trace Buffer Extension (TRBE) is a percpu hardware which captures in system 15 gets plugged in as a coresight sink device because the corresponding trace 23 --------------------------- 36 *Key file items are:-*
|
/linux/Documentation/devicetree/bindings/perf/ |
H A D | spe-pmu.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/perf/spe-pmu.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ARMv8.2 Statistical Profiling Extension (SPE) Performance Monitor Units (PMU) 10 - Will Deacon <will@kernel.org> 13 ARMv8.2 introduces the optional Statistical Profiling Extension for collecting 14 performance sample data using an in-memory trace buffer. 18 const: arm,statistical-profiling-extension-v1 24 supported on a subset of the CPUs, please consult the arm,gic-v3 binding [all …]
|
/linux/arch/arm64/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 287 ARM 64-bit (AArch64) Linux support. 295 # required due to use of the -Zfixed-x18 flag. 298 # -Zsanitizer=shadow-call-stack flag. 308 depends on $(cc-option,-fpatchable-function-entry=2) 334 # VA_BITS - PTDESC_TABLE_SHIFT 412 def_bool !$(as-instr,1:\n.inst 0\n.rept . - 1b\n\nnop\n.endr\n) 417 # https://github.com/llvm/llvm-project/commit/2a96f47c5ffca84cd774ad402cacd137f4bf45e2 467 at stage-2. 492 …bool "Cortex-A53: 826319: System might deadlock if a write cannot complete until read data is acce… [all …]
|
/linux/arch/arm64/boot/dts/arm/ |
H A D | fvp-base-revc.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 * Architecture Envelope Model (AEM) ARMv8-A 11 /dts-v1/; 13 #include <dt-bindings/interrupt-controller/arm-gic.h> 17 #include "rtsm_ve-motherboard.dtsi" 18 #include "rtsm_ve-motherboard-rs2.dtsi" 22 compatible = "arm,fvp-base-revc", "arm,vexpress"; 23 interrupt-parent = <&gic>; 24 #address-cells = <2>; 25 #size-cells = <2>; [all …]
|
/linux/Documentation/mm/ |
H A D | page_owner.rst | 17 to enlarge the trace buffer for preventing overlapping until userspace 18 program launched. And, launched program continually dump out the trace 19 buffer for later analysis and it would change system behaviour with more 50 stores information into the memory from struct page extension. This memory 57 more accurately. On 2GB memory x86-64 VM box, 13343 early allocated pages 59 page extension feature. Anyway, after that, no page is left in 60 un-tracking state. 65 1) Build user-space helper:: 149 If you want to sort by the page nums of buf, use the ``-m`` parameter. 155 -a Sort by memory allocation time. [all …]
|
/linux/tools/include/perf/ |
H A D | arm_pmuv3.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 #define ARMV8_PMU_COUNTER_MASK (ARMV8_PMU_MAX_COUNTERS - 1) 83 /* Statistical profiling extension microarchitectural events */ 93 /* long-latency read miss events */ 99 /* Trace buffer events */ 103 /* Trace unit events */ 118 /* Armv8.5 Memory Tagging Extension events */ 211 * Per-CPU PMCR: config reg 218 #define ARMV8_PMU_PMCR_DP (1 << 5) /* Disable CCNT if non-invasive debug*/
|
/linux/include/linux/perf/ |
H A D | arm_pmuv3.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 81 /* Statistical profiling extension microarchitectural events */ 91 /* long-latency read miss events */ 97 /* Trace buffer events */ 101 /* Trace unit events */ 116 /* Armv8.5 Memory Tagging Extension events */ 209 * Per-CPU PMCR: config reg 216 #define ARMV8_PMU_PMCR_DP (1 << 5) /* Disable CCNT if non-invasive debug*/
|
/linux/drivers/hwtracing/coresight/ |
H A D | coresight-trbe.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Trace Buffer Extension (TRBE) driver in the coresight framework. 20 #include "coresight-etm-perf.h"
|
/linux/sound/soc/sof/ |
H A D | ipc4-mtrace.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #include "sof-priv.h" 10 #include "ipc4-priv.h" 15 * ------------------------ 16 * | Page0 - descriptors | 17 * ------------------------ 18 * | Page1 - slot0 | 19 * ------------------------ 20 * | Page2 - slot1 | 21 * ------------------------ [all …]
|
/linux/arch/arm/mm/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 17 A 32-bit RISC microprocessor based on the ARM7 processor core 36 A 32-bit RISC processor with 8kByte Cache, Write Buffer and 53 A 32-bit RISC processor with 8KB cache or 4KB variants, 54 write buffer and MPU(Protection Unit) built around 69 A 32-bit RISC microprocessor based on the ARM9 processor core 166 Branch Target Buffer, Unified TLB and cache line size 16. 182 ARM940T is a member of the ARM9TDMI family of general- 184 instruction and 4KB data cases, each with a 4-word line 190 # ARM946E-S [all …]
|
/linux/drivers/perf/ |
H A D | arm_spe_pmu.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Perf support for the Statistical Profiling Extension, introduced as 43 * Cache if the event is allowed to trace Context information. 54 event->hw.flags |= SPE_PMU_HW_FLAGS_CX; in set_spe_event_has_cx() 59 return !!(event->hw.flags & SPE_PMU_HW_FLAGS_CX); in get_spe_event_has_cx() 101 /* Convert a free-running index from perf into an SPE buffer offset */ 103 ((idx) % ((unsigned long)(buf)->nr_pages << PAGE_SHIFT)) 132 return !!(spe_pmu->features & arm_spe_pmu_feat_caps[cap]); in arm_spe_pmu_cap_get() 136 return spe_pmu->counter_sz; in arm_spe_pmu_cap_get() 138 return spe_pmu->min_period; in arm_spe_pmu_cap_get() [all …]
|
/linux/tools/include/uapi/linux/ |
H A D | perf_event.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 5 * Copyright (C) 2008-2009, Thomas Gleixner <tglx@linutronix.de> 6 * Copyright (C) 2008-2011, Red Hat, Inc., Ingo Molnar 7 * Copyright (C) 2008-2011, Red Hat, Inc., Peter Zijlstra 13 * For licencing details see kernel-base/COPYING 23 * User-space ABI bits: 37 PERF_TYPE_MAX, /* non-ABI */ 78 PERF_COUNT_HW_MAX, /* non-ABI */ 84 * { L1-D, L1-I, LLC, ITLB, DTLB, BPU, NODE } x 97 PERF_COUNT_HW_CACHE_MAX, /* non-ABI */ [all …]
|
/linux/lib/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 31 converting bitfields between a CPU-usable representation and a 33 - Is little endian (bytes are reversed within a 32-bit group) 34 - The least-significant 32-bit word comes first (within a 64-bit 36 - The most significant bit of a byte is at its right (bit 0 of a 51 please refer to the KUnit documentation in Documentation/dev-tools/kunit/. 62 This option enables the use of hardware bit-reversal instructions on 102 bool "Access I/O in non-MMIO mode" 108 mechanism, the host-local I/O resource can be mapped into system 110 system can access the I/O devices with the mapped-logic PIO through [all …]
|
/linux/drivers/virt/coco/guest/ |
H A D | tsm-mr.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* Copyright(c) 2024-2025 Intel Corporation. All rights reserved. */ 11 #include <trace/events/tsm_mr.h> 14 * struct tm_context - contains everything necessary to implement sysfs 19 * @in_sync: %true if MR cache is up-to-date. 25 * Given tm->refresh() is potentially expensive, tm_digest_read() caches MR 26 * values and calls tm->refresh() only when necessary. Only live MRs (i.e., with 27 * %TSM_MR_F_LIVE set) can trigger tm->refresh(), while others are assumed to 28 * retain their values from the last tm->write(). @in_sync tracks if there have 29 * been tm->write() calls since the last tm->refresh(). That is, tm->refresh() [all …]
|
/linux/include/net/9p/ |
H A D | 9p.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 14 * enum p9_debug_flags - bits for mount time debug parameter 19 * @P9_DEBUG_MUX: trace management of concurrent transactions 25 * @P9_DEBUG_FSC: FS-cache tracing 62 * enum p9_msg_t - 9P message types 112 * See Also: http://plan9.bell-labs.com/sys/man/5/INDEX.html 187 * enum p9_open_mode_t - 9P open modes 192 * @P9_OTRUNC: truncate file to zero-length before opening it 205 * See Also: http://plan9.bell-labs.com/magic/man2html/2/open 225 * enum p9_perm_t - 9P permissions [all …]
|
/linux/Documentation/filesystems/ |
H A D | 9p.rst | 1 .. SPDX-License-Identifier: GPL-2.0 26 http://xcpu.org/papers/xcpu-talk.pdf 30 http://xcpu.org/papers/cellfs-talk.pdf 33 * VirtFS: A Virtualization Aware File System pass-through 34 https://kernel.org/doc/ols/2010/ols2010-pages-109-120.pdf 41 mount -t 9p 10.10.1.2 /mnt/9 45 mount -t 9p `namespace`/acme /mnt/9 -o trans=unix,uname=$USER 49 mount -t 9p -o trans=virtio <mount_tag> /mnt/9 61 mount -t 9p -o trans=usbg,aname=/path/to/fs <device> /mnt/9 89 Just start the 9pfs capable network server like diod/nfs-ganesha e.g.:: [all …]
|
H A D | relay.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 to userspace via user-defined 'relay channels'. 11 A 'relay channel' is a kernel->user data relay mechanism implemented 12 as a set of per-cpu kernel buffers ('channel buffers'), each 16 buffer. User space applications mmap() or read() from the relay files 24 buffer data. The relay interface doesn't implement any form of data 25 filtering - this also is left to the kernel client. The purpose is to 30 functions in the relay interface code - please see that for details. 35 Each relay channel has one buffer per CPU; each buffer has one or more 36 sub-buffers. Messages are written to the first sub-buffer until it is [all …]
|
/linux/net/9p/ |
H A D | protocol.c | 1 // SPDX-License-Identifier: GPL-2.0-only 24 #include <trace/events/9p.h> 31 * p9_msg_buf_size - Returns a buffer size sufficiently large to hold the 53 c->proto_version == p9_proto_2000L ? rlerror_size : rerror_size; in p9_msg_buf_size() 106 if (c->proto_version == p9_proto_legacy) { in p9_msg_buf_size() 114 /* fid[4] name[s] perm[4] mode[1] extension[s] */ in p9_msg_buf_size() 198 kfree(stbuf->name); in p9stat_free() 199 stbuf->name = NULL; in p9stat_free() 200 kfree(stbuf->uid); in p9stat_free() 201 stbuf->uid = NULL; in p9stat_free() [all …]
|
/linux/net/ipv6/ |
H A D | exthdrs.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Extension Header handling for IPv6 16 * YOSHIFUJI Hideaki @USAGI Register inbound extension header 90 if (ipv6_addr_is_multicast(&ipv6_hdr(skb)->daddr)) in ip6_tlvopt_unknown() 112 /* Parse tlv encoded option header (hop-by-hop or destination) */ 127 max_count = -max_count; in ip6_parse_tlv() 131 len -= 2; in ip6_parse_tlv() 141 len--; in ip6_parse_tlv() 216 len -= optlen; in ip6_parse_tlv() 239 if (opt->dsthao) { in ipv6_dest_hao() [all …]
|
/linux/kernel/bpf/ |
H A D | log.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com 19 if (!!log->ubuf != !!log->len_total) in bpf_verifier_log_attr_valid() 22 if (log->ubuf && log->level == 0) in bpf_verifier_log_attr_valid() 24 if (log->leve in bpf_verifier_log_attr_valid() [all...] |
/linux/net/rds/ |
H A D | rds.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 56 /* Used to limit both RDMA and non-RDMA RDS message to 1MB */ 96 #define RDS_MPATH_HASH(rs, n) (jhash_1word(ntohs((rs)->rs_bound_port), \ 97 (rs)->rs_hash_initval) & ((n) - 1)) 176 return read_pnet(&conn->c_net); in rds_conn_net() 182 write_pnet(&conn->c_net, net); in rds_conn_net_set() 202 * Maximum space available for extension header [all...] |
/linux/drivers/ata/ |
H A D | pata_octeon_cf.c | 8 * Copyright (C) 2005 - 2012 Cavium Inc. 23 #include <trace/events/libata.h> 31 * -- 8 bits no irq, no DMA 32 * -- 16 bits no irq, no DMA 33 * -- 16 bits True IDE mode with DMA, but no irq. 110 reg_cfg.s.we_ext = 0; /* No write enable extension */ in octeon_cf_set_boot_reg_cfg() 111 reg_cfg.s.oe_ext = 0; /* No read enable extension */ in octeon_cf_set_boot_reg_cfg() 128 struct octeon_cf_port *cf_port = ap->private_data; in octeon_cf_set_piomode() 150 BUG_ON(ata_timing_compute(dev, dev->pio_mode, &timing, T, T)); in octeon_cf_set_piomode() 154 t2--; in octeon_cf_set_piomode() [all …]
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | bcdc.c | 1 // SPDX-License-Identifier: ISC 44 * BCDC header - Broadcom specific extension of CDC. 58 ((int)((((hdr)->flags2) & BCDC_FLAG2_IF_MASK) >> BCDC_FLAG2_IF_SHIFT)) 60 ((hdr)->flags2 = (((hdr)->flags2 & ~BCDC_FLAG2_IF_MASK) | \ 64 * struct brcmf_proto_bcdc_header - BCDC header format 103 struct brcmf_bcdc *bcdc = drvr->proto->pd; in drvr_to_fws() 105 return bcdc->fws; in drvr_to_fws() 112 struct brcmf_bcdc *bcdc = (struct brcmf_bcdc *)drvr->proto->pd; in brcmf_proto_bcdc_msg() 113 struct brcmf_proto_bcdc_dcmd *msg = &bcdc->msg; in brcmf_proto_bcdc_msg() 120 msg->cmd = cpu_to_le32(cmd); in brcmf_proto_bcdc_msg() [all …]
|
/linux/Documentation/admin-guide/ |
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 28 nospcr -- disable console in ACPI SPCR table as 45 If set to vendor, prefer vendor-specific driver [all …]
|