/openbmc/linux/drivers/iio/ |
H A D | industrialio-backend.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Framework to handle complex IIO aggregate devices. 5 * The typical architecture is to have one device as the frontend device which 7 * userspace interface is expected to be registers/managed by the frontend 8 * device which will callback into the backends when needed (to get/set some 11 * ------------------------------------------------------- 12 * ------------------ | ------------ ------------ ------- FPGA| 13 * | ADC |------------------------| | ADC CORE |---------| DMA CORE |------| RAM | | 14 * | (Frontend/IIO) | Serial Data (eg: LVDS) | |(backend) |---------| |------| | | 15 * | |------------------------| ------------ ------------ ------- | [all …]
|
/openbmc/qemu/docs/interop/ |
H A D | vhost-user.rst | 4 Vhost-user Protocol 11 version 2 or later. See the COPYING file in the top-level 19 This protocol is aiming to complement the ``ioctl`` interface used to 21 the control plane needed to establish virtqueue sharing with a user 23 domain socket to share file descriptors in the ancillary data of the 26 The protocol defines 2 sides of the communication, *front-end* and 27 *back-end*. The *front-end* is the application that shares its virtqueues, in 28 our case QEMU. The *back-end* is the consumer of the virtqueues. 30 In the current implementation QEMU is the *front-end*, and the *back-end* 33 or a block device back-end processing read & write to a virtual [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/alderlake/ |
H A D | frontend.json | 3 …"BriefDescription": "Counts the total number of BACLEARS due to all branch types including conditi… 6 …rected by a later branch predictor in the frontend. Includes BACLEARS due to all branch types inc… 12 "BriefDescription": "Clears due to Unknown Branches.", 15 …"PublicDescription": "Number of times the front-end is resteered when it finds a branch instructio… 24 …to dynamically changing prefix length of the decoded instruction (by operand size prefix instructi… 38 "BriefDescription": "DSB-to-MITE switch true penalty cycles.", 41 …-cache that holds translations of previously fetched instructions that were decoded by the legacy … 53 …Instructions that experienced DSB (Decode stream buffer i.e. the decoded instruction-cache) miss.", 65 …ode stream buffer i.e. the decoded instruction-cache) miss. Critical means stalls were exposed to … 107 "BriefDescription": "Retired instructions after front-end starvation of at least 1 cycle", [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/sapphirerapids/ |
H A D | frontend.json | 3 "BriefDescription": "Clears due to Unknown Branches.", 6 …"PublicDescription": "Number of times the front-end is resteered when it finds a branch instructio… 14 …to dynamically changing prefix length of the decoded instruction (by operand size prefix instructi… 26 "BriefDescription": "DSB-to-MITE switch true penalty cycles.", 29 …-cache that holds translations of previously fetched instructions that were decoded by the legacy … 40 …Instructions that experienced DSB (Decode stream buffer i.e. the decoded instruction-cache) miss.", 51 …ode stream buffer i.e. the decoded instruction-cache) miss. Critical means stalls were exposed to … 89 "BriefDescription": "Retired instructions after front-end starvation of at least 1 cycle", 95 …er an interval where the front-end delivered no uops for a period of at least 1 cycle which was no… 100 …after an interval where the front-end delivered no uops for a period of 128 cycles which was not i… [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-bdi | 14 non-block filesystems which provide their own BDI, such as NFS 17 MAJOR:MINOR-fuseblk 23 The default backing dev, used for non-block device backed 30 Size of the read-ahead window in kilobytes 32 (read-write) 38 total write-back cache that relates to its current average 39 writeout speed in relation to the other devices. 42 percentage of the write-back cache to a particular device. 45 (read-write) 52 total write-back cache that relates to its current average [all …]
|
/openbmc/linux/Documentation/driver-api/md/ |
H A D | raid5-cache.rst | 7 caches data to the RAID disks. The cache can be in write-through (supported 8 since 4.4) or write-back mode (supported since 4.10). mdadm (supported since 9 3.4) has a new option '--write-journal' to create array with cache. Please 10 refer to mdadm manual for details. By default (RAID array starts), the cache is 11 in write-through mode. A user can switch it to write-back mode by:: 13 echo "write-back" > /sys/block/md0/md/journal_mode 15 And switch it back to write-through mode by:: 17 echo "write-through" > /sys/block/md0/md/journal_mode 19 In both modes, all writes to the array will hit cache disk first. This means 22 write-through mode [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/rocketlake/ |
H A D | frontend.json | 6 …"PublicDescription": "Counts the number of times the front-end is resteered when it finds a branch… 11 …talls caused by changing prefix length of the instruction. [This event is alias to ILD_STALL.LCP]", 14 …to dynamically changing prefix length of the decoded instruction (by operand size prefix instructi… 19 "BriefDescription": "Decode Stream Buffer (DSB)-to-MITE transitions count.", 24 …"PublicDescription": "Counts the number of Decode Stream Buffer (DSB a.k.a. Uop Cache)-to-MITE spe… 29 "BriefDescription": "DSB-to-MITE switch true penalty cycles.", 32 …-cache that holds translations of previously fetched instructions that were decoded by the legacy … 43 …Instructions that experienced DSB (Decode stream buffer i.e. the decoded instruction-cache) miss.", 54 …ode stream buffer i.e. the decoded instruction-cache) miss. Critical means stalls were exposed to … 92 "BriefDescription": "Retired instructions after front-end starvation of at least 1 cycle", [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/tigerlake/ |
H A D | frontend.json | 6 …"PublicDescription": "Counts the number of times the front-end is resteered when it finds a branch… 11 …talls caused by changing prefix length of the instruction. [This event is alias to ILD_STALL.LCP]", 14 …to dynamically changing prefix length of the decoded instruction (by operand size prefix instructi… 19 "BriefDescription": "Decode Stream Buffer (DSB)-to-MITE transitions count.", 24 …"PublicDescription": "Counts the number of Decode Stream Buffer (DSB a.k.a. Uop Cache)-to-MITE spe… 29 "BriefDescription": "DSB-to-MITE switch true penalty cycles.", 32 …-cache that holds translations of previously fetched instructions that were decoded by the legacy … 43 …Instructions that experienced DSB (Decode stream buffer i.e. the decoded instruction-cache) miss.", 54 …ode stream buffer i.e. the decoded instruction-cache) miss. Critical means stalls were exposed to … 92 "BriefDescription": "Retired instructions after front-end starvation of at least 1 cycle", [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/icelake/ |
H A D | frontend.json | 6 …"PublicDescription": "Counts the number of times the front-end is resteered when it finds a branch… 11 …talls caused by changing prefix length of the instruction. [This event is alias to ILD_STALL.LCP]", 14 …to dynamically changing prefix length of the decoded instruction (by operand size prefix instructi… 19 "BriefDescription": "Decode Stream Buffer (DSB)-to-MITE transitions count.", 24 …"PublicDescription": "Counts the number of Decode Stream Buffer (DSB a.k.a. Uop Cache)-to-MITE spe… 29 "BriefDescription": "DSB-to-MITE switch true penalty cycles.", 32 …-cache that holds translations of previously fetched instructions that were decoded by the legacy … 43 …Instructions that experienced DSB (Decode stream buffer i.e. the decoded instruction-cache) miss.", 54 …ode stream buffer i.e. the decoded instruction-cache) miss. Critical means stalls were exposed to … 92 "BriefDescription": "Retired instructions after front-end starvation of at least 1 cycle", [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/icelakex/ |
H A D | frontend.json | 6 …"PublicDescription": "Counts the number of times the front-end is resteered when it finds a branch… 11 …talls caused by changing prefix length of the instruction. [This event is alias to ILD_STALL.LCP]", 14 …to dynamically changing prefix length of the decoded instruction (by operand size prefix instructi… 19 "BriefDescription": "Decode Stream Buffer (DSB)-to-MITE transitions count.", 24 …"PublicDescription": "Counts the number of Decode Stream Buffer (DSB a.k.a. Uop Cache)-to-MITE spe… 29 "BriefDescription": "DSB-to-MITE switch true penalty cycles.", 32 …-cache that holds translations of previously fetched instructions that were decoded by the legacy … 43 …Instructions that experienced DSB (Decode stream buffer i.e. the decoded instruction-cache) miss.", 54 …ode stream buffer i.e. the decoded instruction-cache) miss. Critical means stalls were exposed to … 92 "BriefDescription": "Retired instructions after front-end starvation of at least 1 cycle", [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/meteorlake/ |
H A D | frontend.json | 3 …"BriefDescription": "Counts the total number of BACLEARS due to all branch types including conditi… 6 …rected by a later branch predictor in the frontend. Includes BACLEARS due to all branch types inc… 12 "BriefDescription": "Clears due to Unknown Branches.", 15 …"PublicDescription": "Number of times the front-end is resteered when it finds a branch instructio… 24 …to dynamically changing prefix length of the decoded instruction (by operand size prefix instructi… 38 "BriefDescription": "DSB-to-MITE switch true penalty cycles.", 41 …-cache that holds translations of previously fetched instructions that were decoded by the legacy … 73 …Instructions that experienced DSB (Decode stream buffer i.e. the decoded instruction-cache) miss.", 85 …ode stream buffer i.e. the decoded instruction-cache) miss. Critical means stalls were exposed to … 91 …ions retired that were tagged because empty issue slots were seen before the uop due to ITLB miss", [all …]
|
/openbmc/linux/include/linux/ |
H A D | amd-iommu.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2007-2010 Advanced Micro Devices, Inc. 16 * This is mainly used to communicate information back-and-forth 37 * amd_iommu_init_device() - Init device for use with IOMMUv2 driver 38 * @pdev: The PCI device to initialize 39 * @pasids: Number of PASIDs to support for this device 48 * amd_iommu_free_device() - Free all IOMMUv2 related device resources 50 * @pdev: The PCI device to disable IOMMUv2 usage for' 55 * amd_iommu_bind_pasid() - Bind a given task to a PASID on a device 56 * @pdev: The PCI device to bind the task to [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_fltr.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (C) 2018-2020, Intel Corporation. */ 8 * ice_fltr_free_list - free filter lists helper 9 * @dev: pointer to the device struct 10 * @h: pointer to the list head to be freed 12 * Helper function to free filter lists previously created using 20 list_del(&e->list_entry); in ice_fltr_free_list() 26 * ice_fltr_add_entry_to_list - allocate and add filter entry to list 27 * @dev: pointer to device needed by alloc function 28 * @info: filter info struct that gets added to the passed in list [all …]
|
H A D | ice_vsi_vlan_lib.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (C) 2019-2021, Intel Corporation. */ 11 dev_err(ice_pf_to_dev(vsi->back), "%s %d specified invalid VLAN tpid 0x%04x\n", in print_invalid_tpid() 12 ice_vsi_type_str(vsi->type), vsi->idx, tpid); in print_invalid_tpid() 16 * validate_vlan - check if the ice_vlan passed in is valid 18 * @vlan: ice_vlan structure to validate 21 * VID is 0, which allows for non-zero VLAN filters with the specified VLAN TPID 22 * and untagged VLAN 0 filters to be added to the prune list respectively. 26 if (vlan->tpid != ETH_P_8021Q && vlan->tpid != ETH_P_8021AD && in validate_vlan() 27 vlan->tpid != ETH_P_QINQ1 && (vlan->tpid || vlan->vid)) { in validate_vlan() [all …]
|
/openbmc/qemu/include/hw/virtio/ |
H A D | vhost.h | 4 #include "hw/virtio/vhost-backend.h" 74 * struct vhost_dev - common vhost_dev structure 93 /* if non-zero, minimum required value for max_queues */ 98 * features eventually offered to the guest. 101 * @acked_features: final negotiated features with front-end driver 103 * @backend_features: this is used in a couple of places to either 104 * store VHOST_USER_F_PROTOCOL_FEATURES to apply to 107 * its easy to confuse with the VirtIO backend_features. 114 * @protocol_features: is the vhost-user only feature set by 150 * vhost_dev_init() - initialise the vhost interface [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/benchs/ |
H A D | run_bench_ringbufs.sh | 5 set -eufo pipefail 7 RUN_RB_BENCH="$RUN_BENCH -c1" 9 header "Single-producer, parallel producer" 10 for b in rb-libbpf rb-custom pb-libbpf pb-custom; do 14 header "Single-producer, parallel producer, sampled notification" 15 for b in rb-libbpf rb-custom pb-libbpf pb-custom; do 16 summarize $b "$($RUN_RB_BENCH --rb-sampled $b)" 19 header "Single-producer, back-to-back mode" 20 for b in rb-libbpf rb-custom pb-libbpf pb-custom; do 21 summarize $b "$($RUN_RB_BENCH --rb-b2b $b)" [all …]
|
/openbmc/linux/drivers/mmc/host/ |
H A D | sdhci-bcm-kona.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #include <linux/mmc/slot-gpio.h> 16 #include "sdhci-pltfm.h" 43 struct mutex write_lock; /* protect back to back writes */ 52 /* This timeout should be sufficent for core to reset */ in sdhci_bcm_kona_sd_reset() 63 return -EFAULT; in sdhci_bcm_kona_sd_reset() 72 * Back-to-Back register write needs a delay of 1ms at bootup (min 10uS) in sdhci_bcm_kona_sd_reset() 73 * Back-to-Back writes to same register needs delay when SD bus clock in sdhci_bcm_kona_sd_reset() 74 * is very low w.r.t AHB clock, mainly during boot-time and during card in sdhci_bcm_kona_sd_reset() 75 * insert-removal. in sdhci_bcm_kona_sd_reset() [all …]
|
/openbmc/linux/include/linux/iio/ |
H A D | backend.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 19 * struct iio_backend_data_fmt - Backend data format 21 * @sign_extend: Bool to tell if the data is sign extended. 32 * struct iio_backend_ops - operations structure for an iio_backend 42 int (*enable)(struct iio_backend *back); 43 void (*disable)(struct iio_backend *back); 44 int (*chan_enable)(struct iio_backend *back, unsigned int chan); 45 int (*chan_disable)(struct iio_backend *back, unsigned int chan); 46 int (*data_format_set)(struct iio_backend *back, unsigned int chan, 48 struct iio_buffer *(*request_buffer)(struct iio_backend *back, [all …]
|
/openbmc/u-boot/drivers/gpio/ |
H A D | tegra186_gpio_priv.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 * back-to-back. 40 * 8 GPIOs are packed into a port. Their registers appear back-to-back in the 47 * Per-port registers are packed immediately following all of a port's 48 * per-GPIO registers. 55 * The registers for multiple ports are packed together back-to-back to form
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/crypto/ |
H A D | tls.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 35 off = nn->tlv_caps.crypto_enable_off + round_down(opcode / 8, 4); in nfp_net_crypto_set_op() 54 nn->ktls_tx_conn_cnt += add; in __nfp_net_tls_conn_cnt_changed() 55 cnt = nn->ktls_tx_conn_cnt; in __nfp_net_tls_conn_cnt_changed() 56 nn->dp.ktls_tx = !!nn->ktls_tx_conn_cnt; in __nfp_net_tls_conn_cnt_changed() 59 nn->ktls_rx_conn_cnt += add; in __nfp_net_tls_conn_cnt_changed() 60 cnt = nn->ktls_rx_conn_cnt; in __nfp_net_tls_conn_cnt_changed() 63 /* Care only about 0 -> 1 and 1 -> 0 transitions */ in __nfp_net_tls_conn_cnt_changed() 77 /* Use the BAR lock to protect the connection counts */ in nfp_net_tls_conn_cnt_changed() 83 __nfp_net_tls_conn_cnt_changed(nn, -add, direction); in nfp_net_tls_conn_cnt_changed() [all …]
|
/openbmc/qemu/docs/system/ |
H A D | device-emulation.rst | 1 .. _device-emulation: 4 ---------------- 7 peripherals such network cards and USB devices to integrated systems 9 confusion so it helps to have an understanding of some of the terms 10 used to describes devices within QEMU. 18 A device front end is how a device is presented to the guest. The type 20 system is expecting to see. All devices can be specified with the 21 ``--device`` command line option. Running QEMU with the command line 22 options ``--device help`` will list all devices it is aware of. Using 23 the command line ``--device foo,help`` will list the additional [all …]
|
/openbmc/linux/tools/power/pm-graph/config/ |
H A D | suspend-x2-proc.cfg | 2 # Proc S3 (Suspend to Mem) x2 test - includes user processes 5 # all the tool arguments so that they don't have to be given on the 9 # sudo ./sleepgraph.py -config config/suspend-proc.cfg 14 # ---- General Options ---- 26 output-dir: suspend-{hostname}-{date}-{time}-x2-proc 29 # Use rtcwake to autoresume after X seconds, or off to disable (default: 15) 33 # add the dmesg and ftrace log to the html output (default: false) 40 # ---- Advanced Options ---- 42 # Command to execute in lieu of suspend (default: "") 53 # Back to Back Suspend/Resume [all …]
|
H A D | suspend-dev.cfg | 2 # Dev S3 (Suspend to Mem) test - includes src calls / kernel threads 5 # all the tool arguments so that they don't have to be given on the 9 # sudo ./sleepgraph.py -config config/suspend-dev.cfg 14 # ---- General Options ---- 26 output-dir: suspend-{hostname}-{date}-{time}-dev 29 # Use rtcwake to autoresume after X seconds, or off to disable (default: 15) 33 # add the dmesg and ftrace log to the html output (default: false) 40 # ---- Advanced Options ---- 42 # Command to execute in lieu of suspend (default: "") 53 # Back to Back Suspend/Resume [all …]
|
H A D | suspend.cfg | 2 # Generic S3 (Suspend to Mem) test 5 # all the tool arguments so that they don't have to be given on the 9 # sudo ./sleepgraph.py -config config/suspend.cfg 14 # ---- General Options ---- 26 output-dir: suspend-{hostname}-{date}-{time} 29 # Use rtcwake to autoresume after X seconds, or off to disable (default: 15) 33 # add the dmesg and ftrace log to the html output (default: false) 40 # ---- Advanced Options ---- 42 # Command to execute in lieu of suspend (default: "") 53 # Back to Back Suspend/Resume [all …]
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_mbx.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 // Copyright (c) 2016-2017 Hisilicon Limited. 16 /* The status for pf to vf msg cmd is u16, constrainted by HW. in hclge_errno_to_resp() 17 * We need to keep the same type with it. in hclge_errno_to_resp() 18 * The intput errno is the stander error code, it's safely to in hclge_errno_to_resp() 19 * use a u16 to store the abs(errno). in hclge_errno_to_resp() 24 /* hclge_gen_resp_to_vf: used to generate a synchronous response to VF when PF 26 * @vport: pointer to struct hclge_vport 27 * @vf_to_pf_req: pointer to hclge_mbx_vf_to_pf_cmd of the original mailbox 29 * @resp_status: indicate to VF whether its request success(0) or failed. [all …]
|