| /kernel/linux/linux-6.6/drivers/iio/ |
| 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 …]
|
| /kernel/linux/linux-6.6/tools/perf/pmu-events/arch/x86/alderlake/ |
| 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 …]
|
| /kernel/linux/linux-6.6/tools/perf/pmu-events/arch/x86/sapphirerapids/ |
| 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 …]
|
| /kernel/linux/linux-6.6/Documentation/ABI/testing/ |
| 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 …]
|
| /kernel/linux/linux-6.6/Documentation/driver-api/md/ |
| 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 …]
|
| /kernel/linux/linux-5.10/Documentation/driver-api/md/ |
| 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 …]
|
| /kernel/linux/linux-6.6/tools/perf/pmu-events/arch/x86/rocketlake/ |
| 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 …]
|
| /kernel/linux/linux-6.6/tools/perf/pmu-events/arch/x86/tigerlake/ |
| 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 …]
|
| /kernel/linux/linux-6.6/tools/perf/pmu-events/arch/x86/icelake/ |
| 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 …]
|
| /kernel/linux/linux-6.6/tools/perf/pmu-events/arch/x86/icelakex/ |
| 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 …]
|
| /kernel/linux/linux-6.6/tools/perf/pmu-events/arch/x86/meteorlake/ |
| 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 …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | amd-iommu.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2007-2010 Advanced Micro Devices, Inc. 14 * This is mainly used to communicate information back-and-forth 36 * amd_iommu_enable_device_erratum() - Enable erratum workaround for device 39 * @erratum: The erratum workaround to enable 41 * The function needs to be called before amd_iommu_init_device(). 43 * - AMD_PRI_DEV_ERRATUM_ENABLE_RESET - Reset PRI capability when PRI 45 * - AMD_PRI_DEV_ERRATUM_LIMIT_REQ_ONE - Limit number of outstanding PRI 46 * requests to one 54 * amd_iommu_init_device() - Init device for use with IOMMUv2 driver [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/ |
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/tools/perf/pmu-events/arch/x86/icelake/ |
| D | frontend.json | 4 …"PublicDescription": "Counts the number of uops delivered to Instruction Decode Queue (IDQ) from t… 11 "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from MITE path" 15 …": "Counts the number of cycles where optimal number of uops was delivered to the Instruction Deco… 27 …"PublicDescription": "Counts the number of cycles uops were delivered to the Instruction Decode Qu… 39 …"PublicDescription": "Counts the number of uops delivered to Instruction Decode Queue (IDQ) from t… 46 …"BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffe… 50 …": "Counts the number of cycles where optimal number of uops was delivered to the Instruction Deco… 62 …"PublicDescription": "Counts the number of cycles uops were delivered to Instruction Decode Queue … 74 … switches from DSB (Decode Stream Buffer) or MITE (legacy decode pipeline) to the Microcode Sequen… 81 "BriefDescription": "Number of switches from DSB or MITE to the MS", [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
| 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 …]
|
| /kernel/linux/linux-6.6/include/linux/iio/ |
| 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 …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/benchs/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/mmc/host/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/mmc/host/ |
| D | sdhci-bcm-kona.c | 25 #include <linux/mmc/slot-gpio.h> 27 #include "sdhci-pltfm.h" 54 struct mutex write_lock; /* protect back to back writes */ 63 /* This timeout should be sufficent for core to reset */ in sdhci_bcm_kona_sd_reset() 74 return -EFAULT; in sdhci_bcm_kona_sd_reset() 83 * Back-to-Back register write needs a delay of 1ms at bootup (min 10uS) in sdhci_bcm_kona_sd_reset() 84 * Back-to-Back writes to same register needs delay when SD bus clock in sdhci_bcm_kona_sd_reset() 85 * is very low w.r.t AHB clock, mainly during boot-time and during card in sdhci_bcm_kona_sd_reset() 86 * insert-removal. in sdhci_bcm_kona_sd_reset() 103 /* Enable the AHB clock gating module to the host */ in sdhci_bcm_kona_sd_init() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/crypto/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/crypto/ |
| 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 …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/bpf/benchs/ |
| D | run_bench_ringbufs.sh | 3 set -eufo pipefail 5 RUN_BENCH="sudo ./bench -w3 -d10 -a" 9 echo "$*" | sed -E "s/.*hits\s+([0-9]+\.[0-9]+ ± [0-9]+\.[0-9]+M\/s).*/\1/" 14 echo "$*" | sed -E "s/.*drops\s+([0-9]+\.[0-9]+ ± [0-9]+\.[0-9]+M\/s).*/\1/" 29 summary=$(echo $2 | tail -n1) 30 printf "%-20s %s (drops %s)\n" "$bench" "$(hits $summary)" "$(drops $summary)" 33 header "Single-producer, parallel producer" 34 for b in rb-libbpf rb-custom pb-libbpf pb-custom; do 38 header "Single-producer, parallel producer, sampled notification" 39 for b in rb-libbpf rb-custom pb-libbpf pb-custom; do [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| 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 …]
|