/linux-6.12.1/tools/testing/selftests/ftrace/test.d/trigger/ |
D | trigger-hist.tc | 2 # SPDX-License-Identifier: GPL-2.0 3 # description: event trigger - test histogram trigger 46 grep '{ call_site: \[[0-9a-f][0-9a-f]*\] [_a-zA-Z][_a-zA-Z]* *}' events/kmem/kmalloc/hist > /dev/nu… 51 echo "Test histogram with sym-offset modifier" 53 echo 'hist:keys=call_site.sym-offset' > events/kmem/kmalloc/trigger 55 grep '{ call_site: \[[0-9a-f][0-9a-f]*\] [_a-zA-Z][_a-zA-Z]*+0x[0-9a-f][0-9a-f]*' events/kmem/kmall… 56 fail "sym-offset modifier on kmalloc call_site did not work" 66 while [ $# -gt 1 ]; do 67 [ $1 -gt $2 ] && return 1 72 check_inc `grep -o "child_pid:[[:space:]]*[[:digit:]]*" \ [all …]
|
/linux-6.12.1/tools/testing/selftests/arm64/fp/ |
D | fp-ptrace.c | 1 // SPDX-License-Identifier: GPL-2.0-only 32 #include "fp-ptrace.h" 97 u64 a = swab64(x); in arm64_cpu_to_le128() local 100 return ((__uint128_t)a << 64) | b; in arm64_cpu_to_le128() 179 if (config->svcr_in & SVCR_SM) in vl_in() 180 vl = config->sme_vl_in; in vl_in() 182 vl = config->sve_vl_in; in vl_in() 191 if (config->svcr_expected & SVCR_SM) in vl_expected() 192 vl = config->sme_vl_expected; in vl_expected() 194 vl = config->sve_vl_expected; in vl_expected() [all …]
|
D | sve-test.S | 1 // SPDX-License-Identifier: GPL-2.0-only 2 // Copyright (C) 2015-2019 ARM Limited. 9 // for x in `seq 1 NR_CPUS`; do sve-test & pids=$pids\ $! ; done 15 #include "asm-offsets.h" 16 #include "sme-inst.h" 25 ldr z\zt, [x\xn] 29 str z\zt, [x\xn] 44 // All clobber x0-x2 64 // Generate a test pattern for storage in SVE registers 69 // These values are used to constuct a 32-bit pattern that is repeated in the [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/thermal/ |
D | thermal-zones.yaml | 1 # SPDX-License-Identifier: (GPL-2.0) 4 --- 5 $id: http://devicetree.org/schemas/thermal/thermal-zones.yaml# 6 $schema: http://devicetree.org/meta-schemas/base.yaml# 11 - Daniel Lezcano <daniel.lezcano@linaro.org> 18 The following node types are used to completely describe a thermal management 20 - thermal-sensor: device that measures temperature, has SoC-specific bindings 21 - cooling-device: device used to dissipate heat either passively or actively 22 - thermal-zones: a container of the following node types used to describe all 25 This binding describes the thermal-zones. [all …]
|
/linux-6.12.1/arch/arm64/kernel/ |
D | entry-fpsimd.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 17 * x0 - pointer to struct fpsimd_state 27 * x0 - pointer to struct fpsimd_state 39 * x0 - pointer to buffer for state 40 * x1 - pointer to storage for FPSR 41 * x2 - Save FFR if non-zero 51 * x0 - pointer to buffer for state 52 * x1 - pointer to storage for FPSR 53 * x2 - Restore FFR if non-zero 71 * Zero all SVE registers but the first 128-bits of each vector [all …]
|
/linux-6.12.1/arch/arm64/include/uapi/asm/ |
D | sigcontext.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * You should have received a copy of the GNU General Public License 25 * Signal context structure - contains all info to do with the state 53 * New records that can exceed this space need to be opt-in for userspace, so 63 * and be 16-byte aligned. The last structure must be a dummy one with the 67 * be meaningful in ASCII to aid manual parsing, ZA doesn't follow this 85 * Note: similarly to all other integer fields, each V-register is stored in an 86 * endianness-dependent format, with the byte at offset i from the start of the 87 * in-memory representation of the register value containing [all …]
|
D | ptrace.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 5 * Copyright (C) 1996-2003 Russell King 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 * You should have received a copy of the GNU General Public License 149 ((sizeof(struct user_sve_header) + (__SVE_VQ_BYTES - 1)) \ 183 * - ---- ----------- 195 * The Z-, P- and FFR registers are represented in memory in an endianness- 197 * V-registers on big-endian systems: see sigcontext.h for more explanation. 213 (SVE_PT_SVE_ZREG_OFFSET(vq, __SVE_NUM_ZREGS) - SVE_PT_SVE_ZREGS_OFFSET) 220 (SVE_PT_SVE_PREG_OFFSET(vq, __SVE_NUM_PREGS) - \ [all …]
|
/linux-6.12.1/tools/testing/selftests/arm64/abi/ |
D | syscall-abi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 21 #include "syscall-abi.h" 24 * The kernel defines a much larger SVE_VQ_MAX than is expressable in 25 * the architecture, this creates a *lot* of overhead filling the 26 * buffers (especially ZA) on emulated platforms so use the actual 45 /* random() returns a 32 bit number regardless of the size of long */ in fill_random() 70 gpr_in[8] = cfg->syscall_nr; in setup_gpr() 80 * GPR x0-x7 may be clobbered, and all others should be preserved. in check_gpr() 85 cfg->name, sve_vl, i, in check_gpr() 116 cfg->name, in check_fpr() [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/bus/ |
D | allwinner,sun50i-a64-de2.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/bus/allwinner,sun50i-a64-de2.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 15 pattern: "^bus(@[0-9a-f]+)?$" 17 "#address-cells": 20 "#size-cells": 25 - const: allwinner,sun50i-a64-de2 [all …]
|
/linux-6.12.1/Documentation/arch/arm64/ |
D | sme.rst | 14 model. To aid understanding, a minimal description of relevant programmer's 15 model features for SME is included in Appendix A. 19 ----------- 21 * PSTATE.SM, PSTATE.ZA, the streaming mode vector length, the ZA and (when 26 instructions and registers, and the Linux-specific system interfaces 31 the SME2 instructions and ZT0, and the Linux-specific system interfaces 42 * There are a number of optional SME features, presence of these is reported 58 cpu-feature-registers.txt for details. 62 way of detecting support for these regsets is to connect to a target process 63 first and then attempt a [all …]
|
/linux-6.12.1/tools/perf/util/ |
D | demangle-rust.c | 1 // SPDX-License-Identifier: GPL-2.0 5 #include "demangle-rust.h" 16 * The last component of the path is a 64-bit hash in lowercase hex, prefixed 17 * with "h". Rust does not have a global namespace between crates, an illusion 21 * Any path component not starting with a XID_Start character is prefixed with 40 * A double ".." means "::" and a single "." means "-". 42 * The only characters allowed in the mangled symbol are a-zA-Z0-9 and _.:$ 55 * sym: symbol that has been through BFD-demangling 61 * 2. As a sanity check, the hash must use between 5 and 15 of the 16 possible 63 * may see a false negative. The point is to notice path components that [all …]
|
D | bpf-filter.l | 9 #include "bpf-filter.h" 10 #include "bpf-filter-bison.h" 76 num_dec [0-9]+ 77 num_hex 0[Xx][0-9a-fA-F]+ 80 ident [_a-zA-Z][_a-zA-Z0-9]+
|
/linux-6.12.1/scripts/ |
D | profile2linkerlist.pl | 2 # SPDX-License-Identifier: GPL-2.0 5 # Takes a (sorted) output of readprofile and turns it into a list suitable for 9 # readprofile | sort -rn | perl profile2linkerlist.pl > functionlist 16 $_ =~ /\W*[0-9]+\W*([a-zA-Z\_0-9]+)\W*[0-9]+/;
|
D | markup_oops.pl | 2 # SPDX-License-Identifier: GPL-2.0-only 22 'cross-compile|c=s' => \$cross_compile, 28 my $kerver = `uname -r`; 49 if ($line =~ /EAX: ([0-9a-f]+) EBX: ([0-9a-f]+) ECX: ([0-9a-f]+) EDX: ([0-9a-f]+)/) { 55 if ($line =~ /ESI: ([0-9a-f]+) EDI: ([0-9a-f]+) EBP: ([0-9a-f]+) ESP: ([0-9a-f]+)/) { 60 if ($line =~ /RAX: ([0-9a-f]+) RBX: ([0-9a-f]+) RCX: ([0-9a-f]+)/) { 65 if ($line =~ /RDX: ([0-9a-f]+) RSI: ([0-9a-f]+) RDI: ([0-9a-f]+)/) { 70 if ($line =~ /RBP: ([0-9a-f]+) R08: ([0-9a-f]+) R09: ([0-9a-f]+)/) { 74 if ($line =~ /R10: ([0-9a-f]+) R11: ([0-9a-f]+) R12: ([0-9a-f]+)/) { 79 if ($line =~ /R13: ([0-9a-f]+) R14: ([0-9a-f]+) R15: ([0-9a-f]+)/) { [all …]
|
/linux-6.12.1/tools/testing/selftests/rcutorture/bin/ |
D | kvm.sh | 2 # SPDX-License-Identifier: GPL-2.0+ 4 # Run a series of tests under KVM. By default, this series is specified 5 # by the relevant CFLIST file, but can be overridden by the --configs 6 # command-line argument. 17 T="`mktemp -d ${TMPDIR-/tmp}/kvm.sh.XXXXXX`" 18 trap 'rm -rf $T' 0 23 LANG=en_US.UTF-8; export LANG 56 ds=`date +%Y.%m.%d-%H.%M.%S` 57 jitter="-1" 64 echo " --allcpus" [all …]
|
/linux-6.12.1/scripts/kconfig/ |
D | merge_config.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # merge_config.sh - Takes a list of config fragment values, and merges 10 # http://git.yoctoproject.org/cgit/cgit.cgi/yocto-kernel-tools/tree/tools/kconf_check 11 # http://git.yoctoproject.org/cgit/cgit.cgi/yocto-kernel-tools/tree/tools/generate_cfg 13 # Copyright (c) 2009-2010 Wind River Systems, Inc. 16 set -e 19 rm -f $TMP_FILE 20 rm -f $MERGE_FILE 25 echo " -h display this help text" 26 echo " -m only merge the fragments, do not execute the make command" [all …]
|
/linux-6.12.1/tools/memory-model/scripts/ |
D | parseargs.sh | 2 # SPDX-License-Identifier: GPL-2.0+ 8 # Include into other Linux kernel tools/memory-model scripts. 19 echo if test -z '"$'$1'"' > $T/s 29 initparam LKMM_HERD_OPTIONS "-conf linux-kernel.cfg" 39 echo " --destdir path (place for .litmus.out, default by .litmus)" 40 echo " --herdopts -conf linux-kernel.cfg ..." 41 echo " --hw AArch64" 42 echo " --jobs N (number of jobs, default one per CPU)" 43 echo " --procs N (litmus tests with at most this many processes)" 44 echo " --timeout N (herd7 timeout (e.g., 10s, 1m, 2hr, 1d, '')" [all …]
|
/linux-6.12.1/tools/arch/x86/tools/ |
D | gen-insn-attr-x86.awk | 1 #!/bin/awk -f 2 # SPDX-License-Identifier: GPL-2.0 3 # gen-insn-attr-x86.awk: Instruction attribute table generator 6 # Usage: awk -f gen-insn-attr-x86.awk x86-opcode-map.txt > inat-tables.c 11 return "Your awk has a printf-format problem." 21 eid = -1 # escape id 22 gid = -1 # group id 23 aid = -1 # AVX id 37 print "/* x86 opcode map generated from x86-opcode-map.txt */" 46 opnd_expr = "^[A-Za-z/]" [all …]
|
/linux-6.12.1/arch/x86/tools/ |
D | gen-insn-attr-x86.awk | 1 #!/bin/awk -f 2 # SPDX-License-Identifier: GPL-2.0 3 # gen-insn-attr-x86.awk: Instruction attribute table generator 6 # Usage: awk -f gen-insn-attr-x86.awk x86-opcode-map.txt > inat-tables.c 11 return "Your awk has a printf-format problem." 21 eid = -1 # escape id 22 gid = -1 # group id 23 aid = -1 # AVX id 37 print "/* x86 opcode map generated from x86-opcode-map.txt */" 46 opnd_expr = "^[A-Za-z/]" [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/mfd/ |
D | st,stmfx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: STMicroelectonics Multi-Function eXpander (STMFX) 9 description: ST Multi-Function eXpander (STMFX) is a slave controller using I2C for 15 - Amelie Delaunay <amelie.delaunay@foss.st.com> 19 const: st,stmfx-0300 27 drive-open-drain: true 29 vdd-supply: true 36 const: st,stmfx-0300-pinctrl [all …]
|
/linux-6.12.1/tools/bootconfig/scripts/ |
D | ftrace2bconf.sh | 2 # SPDX-License-Identifier: GPL-2.0-only 5 echo "Dump boot-time tracing bootconfig from ftrace" 6 echo "Usage: $0 [--debug] [ > BOOTCONFIG-FILE]" 13 "--debug") 15 -*) 23 set -x 26 TRACEFS=`grep -m 1 -w tracefs /proc/mounts | cut -f 2 -d " "` 27 if [ -z "$TRACEFS" ]; then 28 if ! grep -wq debugfs /proc/mounts; then 32 TRACEFS=`grep -m 1 -w debugfs /proc/mounts | cut -f 2 -d " "`/tracing [all …]
|
/linux-6.12.1/lib/ |
D | build_OID_registry | 1 #!/usr/bin/perl -w 2 # SPDX-License-Identifier: GPL-2.0-or-later 4 # Build a static ASN.1 Object Identified (OID) registry 17 print STDERR "Format: ", $0, " <in-h-file> <out-c-file>\n"; 29 if (m!\s+OID_([a-zA-z][a-zA-Z0-9_]+),\s+/[*]\s+([012][.0-9]*)\s+[*]/!) { 76 # Emit the look-up-by-OID index table 109 for (; $tmp > 0; $tmp--) { 119 # Create a hash value for each OID 155 my @octets_a = @{$encoded_oids[$a]}; 158 return $hash_values[$a] <=> $hash_values[$b] [all …]
|
/linux-6.12.1/arch/x86/boot/ |
D | Makefile | 14 # Set it to -DSVGA_MODE=NORMAL_VGA if you just want the EGA/VGA mode. 17 SVGA_MODE := -DSVGA_MODE=NORMAL_VGA 21 subdir- := compressed 23 setup-y += a20.o bioscall.o cmdline.o copy.o cpu.o cpuflags.o cpucheck.o 24 setup-y += early_serial_console.o edd.o header.o main.o memory.o 25 setup-y += pm.o pmjump.o printf.o regs.o string.o tty.o video.o 26 setup-y += video-mode.o version.o 27 setup-$(CONFIG_X86_APM_BOOT) += apm.o 29 # The link order of the video-*.o modules can matter. In particular, 30 # video-vga.o *must* be listed first, followed by video-vesa.o. [all …]
|
/linux-6.12.1/drivers/isdn/hardware/mISDN/ |
D | hfcpci.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * hfcpci.c low level driver for CCD's hfc-pci based cards 8 * type approval valid for HFC-S PCI A based card 10 * Copyright 1999 by Werner Cornelius (werner@isdn-development.de) 24 * A value of 128 will use controller's interrupt. Other values will 28 * If kernel uses a frequency of 1000 Hz, steps of 8 samples are possible. 51 MODULE_DESCRIPTION("mISDN driver for CCD's hfc-pci based cards"); 103 /* marker saving last b-fifo frame count */ 142 hc->hw.int_m2 |= HFCPCI_IRQ_ENABLE; in enable_hwirq() 143 Write_hfc(hc, HFCPCI_INT_M2, hc->hw.int_m2); in enable_hwirq() [all …]
|
/linux-6.12.1/drivers/nvme/target/ |
D | zns.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * NVMe ZNS-ZBD command implementation. 21 * Zone Append Size Limit (zasl) is expressed as a power of 2 value in nvmet_zasl() 24 return ilog2(zone_append_sects >> (NVMET_MPSMIN_SHIFT - 9)); in nvmet_zasl() 27 static int validate_conv_zones_cb(struct blk_zone *z, in validate_conv_zones_cb() argument 30 if (z->type == BLK_ZONE_TYPE_CONVENTIONAL) in validate_conv_zones_cb() 31 return -EOPNOTSUPP; in validate_conv_zones_cb() 37 u8 zasl = nvmet_zasl(bdev_max_zone_append_sectors(ns->bdev)); in nvmet_bdev_zns_enable() 38 struct gendisk *bd_disk = ns->bdev->bd_disk; in nvmet_bdev_zns_enable() 41 if (ns->subsys->zasl) { in nvmet_bdev_zns_enable() [all …]
|