/linux-6.12.1/Documentation/ABI/testing/ |
D | sysfs-devices-mapping | 6 each dieX file (where X is die number) holds "Segment:Root Bus" 9 For example, on 4-die Xeon platform with up to 6 IIO stacks per 10 die and, therefore, 6 IIO PMON blocks per die, the mapping of 13 $ ls /sys/devices/uncore_iio_0/die* 14 -r--r--r-- /sys/devices/uncore_iio_0/die0 15 -r--r--r-- /sys/devices/uncore_iio_0/die1 16 -r--r--r-- /sys/devices/uncore_iio_0/die2 17 -r--r--r-- /sys/devices/uncore_iio_0/die3 19 $ tail /sys/devices/uncore_iio_0/die* 31 IIO PMU 0 on die 0 belongs to PCI RP on bus 0x00, domain 0x0000 [all …]
|
D | sysfs-devices-platform-kunpeng_hccs | 9 contains read-only attributes exposing some summarization 11 The X in 'chipX' indicates the Xth chip on platform. 16 all_linked: (RO) if all enabled ports on this chip are 18 linked_full_lane: (RO) if all linked ports on this chip are full 20 crc_err_cnt: (RO) total CRC err count for all ports on this 32 contains read-only attributes exposing some summarization 33 information of all HCCS ports under a specified die. 34 The Y in 'dieY' indicates the hardware id of the die on chip who 40 all_linked: (RO) if all enabled ports on this die are 42 linked_full_lane: (RO) if all linked ports on this die are full [all …]
|
/linux-6.12.1/drivers/soc/hisilicon/ |
D | kunpeng_hccs.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * The Huawei Cache Coherence System (HCCS) is a multi-chip interconnection 10 * - Retrieve the following information about each port: 11 * - port type 12 * - lane mode 13 * - enable 14 * - current lane mode 15 * - link finite state machine 16 * - lane mask 17 * - CRC error count [all …]
|
/linux-6.12.1/scripts/ |
D | extract-sys-certs.pl | 2 # SPDX-License-Identifier: GPL-2.0 9 die "Format: $0 [-s <systemmap-file>] <vmlinux-file> <keyring-file>\n" 11 $#ARGV == 3 && $ARGV[0] ne "-s"); 26 open FD, "objdump -h $vmlinux |" || die $vmlinux; 28 close(FD) || die $vmlinux; 34 …if ($line =~ /\s*([0-9]+)\s+(\S+)\s+([0-9a-f]+)\s+([0-9a-f]+)\s+([0-9a-f]+)\s+([0-9a-f]+)\s+2[*][*… 38 my $len = Math::BigInt->new("0x" . $3); 39 my $vma = Math::BigInt->new("0x" . $4); 40 my $lma = Math::BigInt->new("0x" . $5); 41 my $foff = Math::BigInt->new("0x" . $6); [all …]
|
/linux-6.12.1/tools/perf/tests/ |
D | topology.c | 1 // SPDX-License-Identifier: GPL-2.0 14 #define TEMPL "/tmp/perf-test-XXXXXX" 26 return -1; in get_temp() 44 session->evlist = evlist__new_default(); in session_write_header() 45 TEST_ASSERT_VAL("can't get evlist", session->evlist); in session_write_header() 47 perf_header__set_feat(&session->header, HEADER_CPU_TOPOLOGY); in session_write_header() 48 perf_header__set_feat(&session->header, HEADER_NRCPUS); in session_write_header() 49 perf_header__set_feat(&session->header, HEADER_ARCH); in session_write_header() 51 session->header.data_size += DATA_SIZE; in session_write_header() 54 !perf_session__write_header(session, session->evlist, data.file.fd, true)); in session_write_header() [all …]
|
/linux-6.12.1/tools/perf/util/ |
D | dwarf-aux.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * dwarf-aux.h : libdw auxiliary interfaces 26 /* Walk on functions at given address */ 33 /* Get the lowest PC in DIE (including range list) */ 36 /* Ensure that this DIE is a subprogram and definition (not declaration) */ 39 /* Ensure that this DIE is an instance of a subprogram */ 48 /* Get callsite line number of inline-function instance */ 54 /* Get declared file name of a DIE */ 57 /* Get type die */ 60 /* Get a type die, but skip qualifiers */ [all …]
|
D | dwarf-aux.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * dwarf-aux.c : libdw auxiliary interfaces 11 #include "dwarf-aux.h" 12 #include "dwarf-regs.h" 17 * cu_find_realpath - Find the realpath of the target file 18 * @cu_die: A DIE(dwarf information entry) of CU(compilation Unit) 48 * cu_get_comp_dir - Get the path of compilation directory 49 * @cu_die: a CU DIE 52 * Since this depends on DW_AT_comp_dir, older gcc will not 77 l = 0; u = nlines - 1; in cu_getsrc_die() [all …]
|
/linux-6.12.1/tools/testing/selftests/mount/ |
D | nosymfollow-test.c | 1 // SPDX-License-Identifier: GPL-2.0 30 static void die(char *fmt, ...) in die() function 50 die("vsnprintf failed: %s\n", strerror(errno)); in vmaybe_write_file() 53 die("vsnprintf output truncated\n"); in vmaybe_write_file() 59 die("open of %s failed: %s\n", filename, strerror(errno)); in vmaybe_write_file() 65 die("short write to %s\n", filename); in vmaybe_write_file() 67 die("write to %s failed: %s\n", in vmaybe_write_file() 73 die("close of %s failed: %s\n", filename, strerror(errno)); in vmaybe_write_file() 100 die("unshare(CLONE_NEWUSER) failed: %s\n", strerror(errno)); in create_and_enter_ns() 107 die("setgid(0) failed %s\n", strerror(errno)); in create_and_enter_ns() [all …]
|
D | unprivileged-remount-test.c | 1 // SPDX-License-Identifier: GPL-2.0 48 static void die(char *fmt, ...) in die() function 66 die("vsnprintf failed: %s\n", in vmaybe_write_file() 70 die("vsnprintf output truncated\n"); in vmaybe_write_file() 77 die("open of %s failed: %s\n", in vmaybe_write_file() 83 die("short write to %s\n", filename); in vmaybe_write_file() 85 die("write to %s failed: %s\n", in vmaybe_write_file() 90 die("close of %s failed: %s\n", in vmaybe_write_file() 123 die("statvfs of %s failed: %s\n", in read_mnt_flags() 129 die("Unrecognized mount flags\n"); in read_mnt_flags() [all …]
|
/linux-6.12.1/arch/sparc/boot/ |
D | piggyback.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 Simple utility to make a single-image install kernel with initial ramdisk 7 Pete Zaitcev <zaitcev@yahoo.com> endian fixes for cross-compiles, 2000. 25 * Note: run this on an a.out kernel (use elftoaout for it), 33 /* align to power-of-two size */ 57 static void die(const char *str) in die() function 110 die(filename); in get_start_end() 131 * When we search do so in steps of 4 as HdrS is on a 4-byte aligned 132 * address (it is on same alignment as sparc instructions) 142 die("lseek"); in get_hdrs_offset() [all …]
|
/linux-6.12.1/Documentation/admin-guide/pm/ |
D | intel-speed-select.rst | 1 .. SPDX-License-Identifier: GPL-2.0 14 - https://www.intel.com/content/www/us/en/architecture-and-technology/speed-select-technology-artic… 15 - https://builders.intel.com/docs/networkbuilders/intel-speed-select-technology-base-frequency-enha… 19 dynamically without pre-configuring via BIOS setup options. This dynamic 29 intel-speed-select configuration tool 32 Most Linux distribution packages may include the "intel-speed-select" tool. If not, 38 # cd tools/power/x86/intel-speed-select/ 43 ------------ 47 # intel-speed-select --help 49 The top-level help describes arguments and features. Notice that there is a [all …]
|
/linux-6.12.1/tools/perf/pmu-events/arch/x86/snowridgex/ |
D | uncore-io.json | 13 … reading from DRAM : Number of DWs (4 bytes) the card requests of the main die. Includes all re… 29 …rd writing to DRAM : Number of DWs (4 bytes) the card requests of the main die. Includes all re… 145 "BriefDescription": "PCIe Completion Buffer Inserts of completions with data: Part 0-7", 152 "PublicDescription": "PCIe Completion Buffer Inserts of completions with data : Part 0-7", 253 "BriefDescription": "PCIe Completion Buffer Occupancy of completions with data : Part 0-7", 260 "PublicDescription": "PCIe Completion Buffer Occupancy : Part 0-7", 265 "BriefDescription": "PCIe Completion Buffer Occupancy of completions with data : Part 0-7", 271 "PublicDescription": "PCIe Completion Buffer Occupancy : Part 0-7", 372 … bytes) requested by the main die. Includes all requests initiated by the main die, including rea… 385 … bytes) requested by the main die. Includes all requests initiated by the main die, including rea… [all …]
|
/linux-6.12.1/kernel/locking/ |
D | ww_mutex.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 13 w = list_first_entry(&lock->wait_list, struct mutex_waiter, list); in __ww_waiter_first() 14 if (list_entry_is_head(w, &lock->wait_list, list)) in __ww_waiter_first() 24 if (list_entry_is_head(w, &lock->wait_list, list)) in __ww_waiter_next() 34 if (list_entry_is_head(w, &lock->wait_list, list)) in __ww_waiter_prev() 45 w = list_last_entry(&lock->wait_list, struct mutex_waiter, list); in __ww_waiter_last() 46 if (list_entry_is_head(w, &lock->wait_list, list)) in __ww_waiter_last() 55 struct list_head *p = &lock->wait_list; in __ww_waiter_add() 57 p = &pos->list; in __ww_waiter_add() 70 return atomic_long_read(&lock->owner) & MUTEX_FLAG_WAITERS; in __ww_mutex_has_waiters() [all …]
|
/linux-6.12.1/tools/perf/pmu-events/arch/x86/icelakex/ |
D | uncore-io.json | 114 "BriefDescription": "PCIe Completion Buffer Inserts of completions with data: Part 0-7", 121 "PublicDescription": "PCIe Completion Buffer Inserts of completions with data : Part 0-7", 222 "BriefDescription": "PCIe Completion Buffer Occupancy of completions with data : Part 0-7", 229 "PublicDescription": "PCIe Completion Buffer Occupancy : Part 0-7", 234 "BriefDescription": "PCIe Completion Buffer Occupancy of completions with data : Part 0-7", 240 "PublicDescription": "PCIe Completion Buffer Occupancy : Part 0-7", 341 … bytes) requested by the main die. Includes all requests initiated by the main die, including rea… 354 … bytes) requested by the main die. Includes all requests initiated by the main die, including rea… 367 …e : Number of DWs (4 bytes) requested by the main die. Includes all requests initiated by the mai… 380 …e : Number of DWs (4 bytes) requested by the main die. Includes all requests initiated by the mai… [all …]
|
/linux-6.12.1/tools/testing/selftests/livepatch/ |
D | functions.sh | 2 # SPDX-License-Identifier: GPL-2.0 11 # Kselftest framework requirement - SKIP code is 4 14 # log(msg) - write message to kernel log 15 # msg - insightful words 20 # skip(msg) - testing can't proceed 21 # msg - explanation 30 uid=$(id -u) 31 if [ $uid -ne 0 ]; then 39 if [ -z "$KDIR" ]; then 40 KDIR="/lib/modules/$(uname -r)/build" [all …]
|
/linux-6.12.1/arch/arm/mach-zynq/ |
D | slcr.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (c) 2011-2013 Xilinx Inc. 33 * zynq_slcr_write - Write to a register in SLCR block 38 * Return: a negative value on error, 0 on success 46 * zynq_slcr_read - Read a register in SLCR block 51 * Return: a negative value on error, 0 on success 59 * zynq_slcr_unlock - Unlock SLCR registers 61 * Return: a negative value on error, 0 on success 71 * zynq_slcr_get_device_id - Read device code id 87 * zynq_slcr_system_restart - Restart the entire system. [all …]
|
/linux-6.12.1/tools/perf/pmu-events/arch/x86/skylakex/ |
D | uncore-io.json | 13 …s every read request for 4 bytes of data made by IIO Part0 to a unit on the main die (generally me… 29 …s every write request of 4 bytes of data made by IIO Part0 to a unit on the main die (generally me… 44 "BriefDescription": "PCIe Completion Buffer Inserts of completions with data: Part 0-3", 147 "BriefDescription": "PCIe Completion Buffer occupancy of completions with data: Part 0-3", 205 …"PublicDescription": "Number of double word (4 bytes) requests initiated by the main die to the at… 218 …"PublicDescription": "Number of double word (4 bytes) requests initiated by the main die to the at… 231 …"PublicDescription": "Number of double word (4 bytes) requests initiated by the main die to the at… 244 …"PublicDescription": "Number of double word (4 bytes) requests initiated by the main die to the at… 257 …er of double word (4 bytes) requests initiated by the main die to the attached device.; VTd - Type… 270 …er of double word (4 bytes) requests initiated by the main die to the attached device.; VTd - Type… [all …]
|
/linux-6.12.1/tools/perf/pmu-events/arch/x86/cascadelakex/ |
D | uncore-io.json | 13 …s every read request for 4 bytes of data made by IIO Part0 to a unit on the main die (generally me… 29 …s every write request of 4 bytes of data made by IIO Part0 to a unit on the main die (generally me… 44 "BriefDescription": "PCIe Completion Buffer Inserts of completions with data: Part 0-3", 147 "BriefDescription": "PCIe Completion Buffer occupancy of completions with data: Part 0-3", 205 …"PublicDescription": "Number of double word (4 bytes) requests initiated by the main die to the at… 218 …"PublicDescription": "Number of double word (4 bytes) requests initiated by the main die to the at… 231 …"PublicDescription": "Number of double word (4 bytes) requests initiated by the main die to the at… 244 …"PublicDescription": "Number of double word (4 bytes) requests initiated by the main die to the at… 257 …er of double word (4 bytes) requests initiated by the main die to the attached device.; VTd - Type… 270 …er of double word (4 bytes) requests initiated by the main die to the attached device.; VTd - Type… [all …]
|
/linux-6.12.1/tools/testing/selftests/net/ |
D | fq_band_pktlimit.sh | 2 # SPDX-License-Identifier: GPL-2.0 7 # 2. send 20 pkts on band A: verify that 10 are queued, 10 dropped 8 # 3. send 20 pkts on band A: verify that 0 are queued, 20 dropped 9 # 4. send 20 pkts on band B: verify that 10 are queued, 10 dropped 15 die() { function 21 if [[ $# -eq 0 ]]; then 28 ip -6 addr add fdaa::1/128 dev dummy0 29 ip -6 route add fdaa::/64 dev dummy0 34 ./cmsg_sender -6 -p u -d "${DELAY}" -n 20 fdaa::2 8000 35 OUT1="$(tc -s qdisc show dev dummy0 | grep '^\ Sent')" [all …]
|
/linux-6.12.1/drivers/mtd/nand/raw/ |
D | nand_micron.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Author: Boris Brezillon <boris.brezillon@free-electrons.com> 15 * corrected by on-die ECC and should be rewritten. 20 * On chips with 8-bit ECC and additional bit can be used to distinguish 24 * ----- ----- ----- ----------- 27 * 0 1 0 4 - 6 errors corrected, recommend rewrite 29 * 1 0 0 1 - 3 errors corrected 31 * 1 1 0 7 - 8 errors corrected, recommend rewrite 77 * Configure chip properties from Micron vendor-specific ONFI table 81 struct nand_parameters *p = &chip->parameters; in micron_nand_onfi_init() [all …]
|
/linux-6.12.1/arch/x86/boot/tools/ |
D | build.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * This file builds a disk-image from three different files: 11 * - setup: 8086 machine code, sets up system parm 12 * - system: 80386 code for actual system 13 * - zoffset.h: header with ZO_* defines 52 /*----------------------------------------------------------------------*/ 116 while (len--) in partial_crc32() 121 static void die(const char * str, ...) in die() function 133 die("Usage: build setup system zoffset.h image"); in usage() 154 die("Unable to open `%s': %m", fname); in parse_zoffset() [all …]
|
/linux-6.12.1/tools/perf/pmu-events/arch/x86/emeraldrapids/ |
D | uncore-io.json | 182 "BriefDescription": "PCIe Completion Buffer Inserts of completions with data: Part 0-7", 190 "PublicDescription": "PCIe Completion Buffer Inserts of completions with data : Part 0-7", 414 "BriefDescription": "Read request for 4 bytes made by the CPU to IIO Part0-7", 433 …e : Number of DWs (4 bytes) requested by the main die. Includes all requests initiated by the mai… 445 …e : Number of DWs (4 bytes) requested by the main die. Includes all requests initiated by the mai… 457 …e : Number of DWs (4 bytes) requested by the main die. Includes all requests initiated by the mai… 469 …e : Number of DWs (4 bytes) requested by the main die. Includes all requests initiated by the mai… 481 …e : Number of DWs (4 bytes) requested by the main die. Includes all requests initiated by the mai… 493 …e : Number of DWs (4 bytes) requested by the main die. Includes all requests initiated by the mai… 505 …e : Number of DWs (4 bytes) requested by the main die. Includes all requests initiated by the mai… [all …]
|
/linux-6.12.1/tools/perf/pmu-events/arch/x86/sapphirerapids/ |
D | uncore-io.json | 182 "BriefDescription": "PCIe Completion Buffer Inserts of completions with data: Part 0-7", 190 "PublicDescription": "PCIe Completion Buffer Inserts of completions with data : Part 0-7", 414 "BriefDescription": "Read request for 4 bytes made by the CPU to IIO Part0-7", 433 …e : Number of DWs (4 bytes) requested by the main die. Includes all requests initiated by the mai… 445 …e : Number of DWs (4 bytes) requested by the main die. Includes all requests initiated by the mai… 457 …e : Number of DWs (4 bytes) requested by the main die. Includes all requests initiated by the mai… 469 …e : Number of DWs (4 bytes) requested by the main die. Includes all requests initiated by the mai… 481 …e : Number of DWs (4 bytes) requested by the main die. Includes all requests initiated by the mai… 493 …e : Number of DWs (4 bytes) requested by the main die. Includes all requests initiated by the mai… 505 …e : Number of DWs (4 bytes) requested by the main die. Includes all requests initiated by the mai… [all …]
|
/linux-6.12.1/tools/testing/selftests/safesetid/ |
D | safesetid-test.c | 1 // SPDX-License-Identifier: GPL-2.0 22 * - requries libcap-dev to be installed on test system 23 * - requires securityfs to me mounted at /sys/kernel/security, e.g.: 24 * mount -n -t securityfs -o nodev,noexec,nosuid securityfs /sys/kernel/security 25 * - needs CONFIG_SECURITYFS and CONFIG_SAFESETID to be enabled 43 static void die(char *fmt, ...) in die() function 118 die("couldn't open file\n"); in ensure_user_exists() 120 die("couldn't fseek\n"); in ensure_user_exists() 130 die("putpwent failed\n"); in ensure_user_exists() 132 die("fclose failed\n"); in ensure_user_exists() [all …]
|
/linux-6.12.1/include/linux/ |
D | ww_mutex.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 * Wait/Die implementation: 35 #define ww_mutex_base_is_locked(b) rt_mutex_base_is_locked(&(b)->rtmutex) 88 * ww_mutex_init - initialize the w/w mutex 101 ww_mutex_base_init(&lock->base, ww_class->mutex_name, &ww_class->mutex_key); in ww_mutex_init() 102 lock->ctx = NULL; in ww_mutex_init() 104 lock->ww_class = ww_class; in ww_mutex_init() 109 * ww_acquire_init - initialize a w/w acquire context 115 * Context-based w/w mutex acquiring can be done in any order whatsoever within 117 * wait/die logic. [all …]
|