/openbmc/linux/Documentation/ABI/testing/ |
H A 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 …]
|
H A 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 …]
|
/openbmc/linux/drivers/soc/hisilicon/ |
H A 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 …]
|
/openbmc/openbmc/meta-asrock/meta-common/recipes-phosphor/flash/phosphor-software-manager/ |
H A D | bios-update.sh | 3 die() { logger -s -t bios-update "Error: $*"; exit 1; } function 4 info() { logger -s -t bios-update "$*"; } 7 . /etc/default/bios-update || die "Failed: unable to load /etc/default/bios-update" 9 [ -n "$BIOS_UPDATE_MAGIC_OFFSET" ] || die "BIOS_UPDATE_MAGIC_OFFSET not set" 10 [ -n "$BIOS_UPDATE_MAGIC" ] || die "BIOS_UPDATE_MAGIC not set" 11 [ -n "$BIOS_UPDATE_SIZE" ] || die "BIOS_UPDATE_SIZE not set" 13 declare -A prep_gpios_pids 16 smc_drvdir="/sys/bus/platform/drivers/spi-aspeed-smc" 27 state="$(busctl get-property "$hoststate_svc" "$hoststate_path" \ 30 die "host must be off before performing BIOS update" [all …]
|
/openbmc/linux/tools/perf/util/ |
H A D | dwarf-aux.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * dwarf-aux.h : libdw auxiliary interfaces 25 /* Walk on functions at given address */ 32 /* Get the lowest PC in DIE (including range list) */ 35 /* Ensure that this DIE is a subprogram and definition (not declaration) */ 38 /* Ensure that this DIE is an instance of a subprogram */ 47 /* Get callsite line number of inline-function instance */ 53 /* Get declared file name of a DIE */ 56 /* Get type die */ 59 /* Get a type die, but skip qualifiers and typedef */ [all …]
|
H A 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" 16 * cu_find_realpath - Find the realpath of the target file 17 * @cu_die: A DIE(dwarf information entry) of CU(compilation Unit) 47 * cu_get_comp_dir - Get the path of compilation directory 48 * @cu_die: a CU DIE 51 * Since this depends on DW_AT_comp_dir, older gcc will not 76 l = 0; u = nlines - 1; in cu_getsrc_die() 78 n = u - (u - l) / 2; in cu_getsrc_die() [all …]
|
/openbmc/linux/scripts/ |
H A 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 …]
|
/openbmc/linux/tools/perf/tests/ |
H A 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 …]
|
/openbmc/linux/tools/testing/selftests/mount/ |
H A 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 …]
|
H A 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 …]
|
/openbmc/openbmc/poky/meta/files/common-licenses/ |
H A D | CC-BY-3.0-NL | 3 …EATIVE COMMONS IN HET LEVEN. CREATIVE COMMONS VERSPREIDT DEZE INFORMATIE 'AS-IS'. CREATIVE COMMONS… 15 … zijn geheel en in ongewijzigde vorm, samen met een of meer andere werken, die elk een afzonderlij… 21 …c. 'Licentiegever' de natuurlijke persoon/personen of rechtspersoon/rechtspersonen die het Werk vo… 23 …die het oorspronkelijke werk gemaakt heeft/hebben. Voor de toepassing van deze Licentie wordt onde… 27 … die rechten ingevolge deze Licentie uitoefent en die de voorwaarden van deze Licentie met betrekk… 29 …nde rechten. Niets in deze Licentie strekt ertoe om de rechten te beperken die voortvloeien uit de… 31 …tie verleent de Licentiegever hierbij aan de Gebruiker een wereldwijde, niet-exclusieve licentie o… 37 …eiden van exemplaren van het Werk, het in het openbaar tonen, op- en uitvoeren en het on-line besc… 39 …xemplaren van Afgeleide werken, het in het openbaar te tonen, op- en uitvoeren en het on-line besc… 45 …oor middel van een auteursrechtenorganisatie) bij zowel commercieel als niet-commercieel gebruik v… [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/snowridgex/ |
H A D | uncore-io.json | 12 … reading from DRAM : Number of DWs (4 bytes) the card requests of the main die. Includes all re… 27 …rd writing to DRAM : Number of DWs (4 bytes) the card requests of the main die. Includes all re… 123 "BriefDescription": "PCIe Completion Buffer Inserts of completions with data: Part 0-7", 129 "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", 227 "PublicDescription": "PCIe Completion Buffer Occupancy : Part 0-7", 232 "BriefDescription": "PCIe Completion Buffer Occupancy of completions with data : Part 0-7", 237 "PublicDescription": "PCIe Completion Buffer Occupancy : Part 0-7", 328 … bytes) requested by the main die. Includes all requests initiated by the main die, including rea… 339 … bytes) requested by the main die. Includes all requests initiated by the main die, including rea… [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/icelakex/ |
H A D | uncore-io.json | 94 "BriefDescription": "PCIe Completion Buffer Inserts of completions with data: Part 0-7", 100 "PublicDescription": "PCIe Completion Buffer Inserts of completions with data : Part 0-7", 193 "BriefDescription": "PCIe Completion Buffer Occupancy of completions with data : Part 0-7", 198 "PublicDescription": "PCIe Completion Buffer Occupancy : Part 0-7", 203 "BriefDescription": "PCIe Completion Buffer Occupancy of completions with data : Part 0-7", 208 "PublicDescription": "PCIe Completion Buffer Occupancy : Part 0-7", 299 … bytes) requested by the main die. Includes all requests initiated by the main die, including rea… 310 … bytes) requested by the main die. Includes all requests initiated by the main die, including rea… 321 …e : Number of DWs (4 bytes) requested by the main die. Includes all requests initiated by the mai… 332 …e : Number of DWs (4 bytes) requested by the main die. Includes all requests initiated by the mai… [all …]
|
/openbmc/linux/arch/sparc/boot/ |
H A 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 …]
|
/openbmc/linux/Documentation/admin-guide/pm/ |
H A 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 …]
|
/openbmc/linux/kernel/locking/ |
H A 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 …]
|
/openbmc/linux/arch/arm/mach-zynq/ |
H A D | slcr.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (c) 2011-2013 Xilinx Inc. 34 * zynq_slcr_write - Write to a register in SLCR block 39 * Return: a negative value on error, 0 on success 47 * zynq_slcr_read - Read a register in SLCR block 52 * Return: a negative value on error, 0 on success 60 * zynq_slcr_unlock - Unlock SLCR registers 62 * Return: a negative value on error, 0 on success 72 * zynq_slcr_get_device_id - Read device code id 88 * zynq_slcr_system_restart - Restart the entire system. [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/cascadelakex/ |
H A D | uncore-io.json | 12 …s every read request for 4 bytes of data made by IIO Part0 to a unit on the main die (generally me… 27 …s every write request of 4 bytes of data made by IIO Part0 to a unit on the main die (generally me… 41 "BriefDescription": "PCIe Completion Buffer Inserts of completions with data: Part 0-3", 131 "BriefDescription": "PCIe Completion Buffer occupancy of completions with data: Part 0-3", 182 …"PublicDescription": "Number of double word (4 bytes) requests initiated by the main die to the at… 193 …"PublicDescription": "Number of double word (4 bytes) requests initiated by the main die to the at… 204 …"PublicDescription": "Number of double word (4 bytes) requests initiated by the main die to the at… 215 …"PublicDescription": "Number of double word (4 bytes) requests initiated by the main die to the at… 226 …er of double word (4 bytes) requests initiated by the main die to the attached device.; VTd - Type… 237 …er of double word (4 bytes) requests initiated by the main die to the attached device.; VTd - Type… [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/skylakex/ |
H A D | uncore-io.json | 12 …s every read request for 4 bytes of data made by IIO Part0 to a unit on the main die (generally me… 27 …s every write request of 4 bytes of data made by IIO Part0 to a unit on the main die (generally me… 41 "BriefDescription": "PCIe Completion Buffer Inserts of completions with data: Part 0-3", 131 "BriefDescription": "PCIe Completion Buffer occupancy of completions with data: Part 0-3", 182 …"PublicDescription": "Number of double word (4 bytes) requests initiated by the main die to the at… 193 …"PublicDescription": "Number of double word (4 bytes) requests initiated by the main die to the at… 204 …"PublicDescription": "Number of double word (4 bytes) requests initiated by the main die to the at… 215 …"PublicDescription": "Number of double word (4 bytes) requests initiated by the main die to the at… 226 …er of double word (4 bytes) requests initiated by the main die to the attached device.; VTd - Type… 237 …er of double word (4 bytes) requests initiated by the main die to the attached device.; VTd - Type… [all …]
|
/openbmc/linux/tools/testing/selftests/net/af_unix/ |
H A D | test_unix_oob.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 63 static void die(int status) in die() function 73 int ans = -1; in is_sioctatmark() 113 poll(pfds, 1, -1); in wait_for_data() 181 int on = 0; in main() local 230 die(1); in main() 250 die(1); in main() 277 die(1); in main() 286 die(1); in main() 306 if ((len == -1) && (errno == 11)) in main() [all …]
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A 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 …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/sapphirerapids/ |
H A D | uncore-io.json | 148 "BriefDescription": "PCIe Completion Buffer Inserts of completions with data: Part 0-7", 154 "PublicDescription": "PCIe Completion Buffer Inserts of completions with data : Part 0-7", 344 "BriefDescription": "Read request for 4 bytes made by the CPU to IIO Part0-7", 360 …e : Number of DWs (4 bytes) requested by the main die. Includes all requests initiated by the mai… 371 …e : Number of DWs (4 bytes) requested by the main die. Includes all requests initiated by the mai… 382 …e : Number of DWs (4 bytes) requested by the main die. Includes all requests initiated by the mai… 393 …e : Number of DWs (4 bytes) requested by the main die. Includes all requests initiated by the mai… 404 …e : Number of DWs (4 bytes) requested by the main die. Includes all requests initiated by the mai… 415 …e : Number of DWs (4 bytes) requested by the main die. Includes all requests initiated by the mai… 426 …e : Number of DWs (4 bytes) requested by the main die. Includes all requests initiated by the mai… [all …]
|
/openbmc/linux/tools/testing/selftests/livepatch/ |
H A 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 37 # die(msg) - game over, man 38 # msg - dying words [all …]
|
/openbmc/linux/arch/x86/boot/tools/ |
H A 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 …]
|
/openbmc/linux/Documentation/hwmon/ |
H A D | xgene-hwmon.rst | 1 Kernel driver xgene-hwmon 6 * APM X-Gene SoC 9 ----------- 12 APM X-Gene SoC using the mailbox communication interface. 19 - SoC on-die temperature in milli-degree C 20 - Alarm when high/over temperature occurs 23 - CPU power in uW 24 - IO power in uW 26 sysfs-Interface 27 --------------- [all …]
|