| /OK3568_Linux_fs/kernel/tools/perf/Documentation/ |
| H A D | topdown.txt | 2 ----------------------------------- 5 methology to break down CPU pipeline execution into 4 bottlenecks: 10 Traditionally this was implemented by events in generic counters 13 perf stat --topdown implements this. 15 Full Top Down includes more levels that can break down the 24 fixed counters and do not require generic counters. This allows 27 % perf stat -a --topdown -I1000 64 metric event, and allow user programs to read the performance counters. 94 int slots_fd = perf_event_open(&slots, 0, -1, -1, 0); 109 int metrics_fd = perf_event_open(&metrics, 0, -1, slots_fd, 0); [all …]
|
| H A D | perf-stat.txt | 1 perf-stat(1) 5 ---- 6 perf-stat - Run a command and gather performance counter statistics 9 -------- 11 'perf stat' [-e <EVENT> | --event=EVENT] [-a] <command> 12 'perf stat' [-e <EVENT> | --event=EVENT] [-a] -- <command> [<options>] 13 'perf stat' [-e <EVENT> | --event=EVENT] [-a] record [-o file] -- <command> [<options>] 14 'perf stat' report [-i file] 17 ----------- 23 ------- [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/ABI/testing/ |
| H A D | sysfs-bus-pci-devices-aer_stats | 2 -------------------------- 5 statistical counters indicate the errors "as seen/reported by the device". 7 counters may increment at its link partner (e.g. root port) because the 9 problematic endpoint itself (which may report all counters as 0 as it never 15 Contact: linux-pci@vger.kernel.org, rajatja@google.com 28 Advisory Non-Fatal 0 36 Contact: linux-pci@vger.kernel.org, rajatja@google.com 46 Surprise Down Error 0 66 Contact: linux-pci@vger.kernel.org, rajatja@google.com 76 Surprise Down Error 0 [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/ |
| H A D | mali_kbase_pm.c | 1 // SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note 4 * (C) COPYRIGHT 2010-2022 ARM Limited. All rights reserved. 18 * http://www.gnu.org/licenses/gpl-2.0.html. 63 dev_dbg(kbdev->dev, "%s - reason = %d, pid = %d\n", __func__, in kbase_pm_context_active_handle_suspend() 64 suspend_handler, current->pid); in kbase_pm_context_active_handle_suspend() 78 if (kbdev->pm.active_count != 0) in kbase_pm_context_active_handle_suspend() 92 c = ++kbdev->pm.active_count; in kbase_pm_context_active_handle_suspend() 107 dev_dbg(kbdev->dev, "%s %d\n", __func__, kbdev->pm.active_count); in kbase_pm_context_active_handle_suspend() 123 c = --kbdev->pm.active_count; in kbase_pm_context_idle() 137 wake_up(&kbdev->pm.zero_active_count_wait); in kbase_pm_context_idle() [all …]
|
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note 3 # (C) COPYRIGHT 2012-2023 ARM Limited. All rights reserved. 17 # http://www.gnu.org/licenses/gpl-2.0.html. 87 Using the devfreq framework and, by default, the simple on-demand 127 bool "Enable map imported dma-bufs on demand" 132 dma-buf when needed to run atoms. This is the legacy behavior. 138 bool "Enable legacy compatibility cache flush on dma-buf map" 142 This option enables compatibility with legacy dma-buf mapping 143 behavior, then the dma-buf is mapped on import, by adding cache 147 This option might work-around issues related to missing cache [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/hwcnt/ |
| H A D | mali_kbase_hwcnt_gpu_narrow.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 4 * (C) COPYRIGHT 2021-2022 ARM Limited. All rights reserved. 18 * http://www.gnu.org/licenses/gpl-2.0.html. 34 * struct kbase_hwcnt_metadata_narrow - Narrow metadata describing the physical 37 * metadata only supports 64 counters per 38 * block and 32-bit per block entry. 39 * @metadata: Non-NULL pointer to the metadata before narrow down to 40 * 32-bit per block entry, it has 64 counters per block and 41 * 64-bit per value. 42 * @dump_buf_bytes: The size in bytes after narrow 64-bit to 32-bit per block [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/net/forwarding/ |
| H A D | vxlan_bridge_1q.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # +-----------------------+ +------------------------+ 13 # +----|------------------+ +----|-------------------+ 15 # +----|--------------------------------------------------|-------------------+ 17 # | +--|--------------------------------------------------|-----------------+ | 27 # | +-----------------------------------------------------------------------+ | 34 # +----|----------------------------------------------------------------------+ 36 # +----|--------------------------------------------------------+ 45 # +----|---------------------------------------|----------------+ 47 # +----|------------------------------+ +----|------------------------------+ [all …]
|
| H A D | vxlan_bridge_1d.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # +--------------------+ +----------------------+ 8 # +----|---------------+ +--|-------------------+ 10 # +----|--------------------------------------------------|-------------------+ 12 # | +--|--------------------------------------------------|-----------------+ | 19 # | +-----------------------------------------------------------------------+ | 26 # +----|----------------------------------------------------------------------+ 28 # +----|--------------------------------------------------------+ 37 # +----|---------------------------------------|----------------+ 39 # +----|------------------------------+ +----|------------------------------+ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/backend/gpu/ |
| H A D | mali_kbase_pm_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 4 * (C) COPYRIGHT 2014-2022 ARM Limited. All rights reserved. 18 * http://www.gnu.org/licenses/gpl-2.0.html. 23 * Backend-specific Power Manager definitions 36 /* Forward definition - see mali_kbase.h */ 41 * enum kbase_pm_core_type - The types of core in a GPU. 49 * - kbase_pm_get_present_cores() 50 * - kbase_pm_get_active_cores() 51 * - kbase_pm_get_trans_cores() 52 * - kbase_pm_get_ready_cores(). [all …]
|
| H A D | mali_kbase_pm_mcu_states.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 4 * (C) COPYRIGHT 2020-2022 ARM Limited. All rights reserved. 18 * http://www.gnu.org/licenses/gpl-2.0.html. 23 * Backend-specific Power Manager MCU state definitions. 24 * The function-like macro KBASEP_MCU_STATE() must be defined before including 53 * @HCTL_SHADERS_READY_OFF: MCU has halted and cores need to be powered down 54 * @HCTL_SHADERS_PEND_OFF: Cores are transitioning to power down. 60 * Once the cores become inactive their power down 63 * transition to power down. Once powered down, 64 * HW counters will be re-enabled.
|
| H A D | mali_kbase_pm_internal.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 4 * (C) COPYRIGHT 2010-2022 ARM Limited. All rights reserved. 18 * http://www.gnu.org/licenses/gpl-2.0.html. 36 * kbase_pm_dev_idle - The GPU is idle. 45 * kbase_pm_dev_activate - The GPU is active. 54 * kbase_pm_get_present_cores - Get details of the cores that are present in 71 * kbase_pm_get_active_cores - Get details of the cores that are currently 87 * kbase_pm_get_trans_cores - Get details of the cores that are currently 103 * kbase_pm_get_ready_cores - Get details of the cores that are currently 119 * kbase_pm_clock_on - Turn the clock for the device on, and enable device [all …]
|
| /OK3568_Linux_fs/u-boot/doc/ |
| H A D | README.t1040-l2switch | 6 VSC9953 is an 8-port Gigabit Ethernet switch supports the following features: 7 - 8192 MAC addresses 8 - Static Address provisioning 9 - Dynamic learning of MAC addresses and aging 10 - 4096 VLANs 11 - Independent and shared VLAN learning (IVL, SVL) 12 - Policing with storm control and MC/BC protection 13 - IPv4 and IPv6 multicast 14 - Jumbo frames (9.6 KB) 15 - Access Control List [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/csf/ipa_control/ |
| H A D | mali_kbase_csf_ipa_control.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 4 * (C) COPYRIGHT 2020-2022 ARM Limited. All rights reserved. 18 * http://www.gnu.org/licenses/gpl-2.0.html. 33 * struct kbase_ipa_control_perf_counter - Performance counter description 68 * kbase_ipa_control_init - Initialize the IPA Control component 75 * kbase_ipa_control_term - Terminate the IPA Control component 82 * kbase_ipa_control_register - Register a client to the IPA Control component 85 * @perf_counters: Array of performance counters the client intends to read. 89 * @num_counters: Number of performance counters. It cannot exceed the total 90 * number of counters that exist on the IPA Control interface. [all …]
|
| /OK3568_Linux_fs/kernel/arch/mips/sibyte/common/ |
| H A D | sb_tbprof.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2007 Ralf Baechle <ralf@linux-mips.org> 7 * written by Ralf Baechle <ralf@linux-mips.org> 85 * Routines for using 40-bit SCD cycle counter 89 * zclk_timer_init(0) at least every 2^40 - 1 ZCLKs. 145 u64 next = (1ULL << 40) - tb_period; in arm_tb() 156 * Unfortunately, in Pass 2 we must clear all counters to knock down in arm_tb() 158 * requires ALL of the SCD perf counters. in arm_tb() 162 /* keep counters 0,2,3,4,5,6,7 as is */ in arm_tb() 167 M_SPC_CFG_CLEAR | /* clear all counters */ in arm_tb() [all …]
|
| /OK3568_Linux_fs/kernel/fs/xfs/ |
| H A D | xfs_fsops.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2000-2005 Silicon Graphics, Inc. 41 nb = in->newblocks; in xfs_growfs_data_private() 42 if (nb < mp->m_sb.sb_dblocks) in xfs_growfs_data_private() 43 return -EINVAL; in xfs_growfs_data_private() 44 if ((error = xfs_sb_validate_fsb_count(&mp->m_sb, nb))) in xfs_growfs_data_private() 46 error = xfs_buf_read_uncached(mp->m_ddev_targp, in xfs_growfs_data_private() 47 XFS_FSB_TO_BB(mp, nb) - XFS_FSS_TO_BB(mp, 1), in xfs_growfs_data_private() 54 nb_mod = do_div(new, mp->m_sb.sb_agblocks); in xfs_growfs_data_private() 57 nagcount--; in xfs_growfs_data_private() [all …]
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-support/linux-atm/linux-atm/ |
| H A D | 0001-fix-compile-error-with-linux-kernel-v4.8.patch | 7 time.h, so when compile the zntune.c, it break down by errors: 16 Upstream-status: Pending 18 Signed-off-by: Dengke Du <dengke.du@windriver.com> 19 --- 21 src/maint/zntune.c | 3 +-- 22 2 files changed, 27 insertions(+), 2 deletions(-) 25 diff --git a/src/include/atm_zatm.h b/src/include/atm_zatm.h 28 --- /dev/null 30 @@ -0,0 +1,26 @@ 41 + int ref_count; /* free buffer pool usage counters */ [all …]
|
| /OK3568_Linux_fs/kernel/tools/perf/ |
| H A D | design.txt | 2 Performance Counters for Linux 3 ------------------------------ 5 Performance counters are special hardware registers available on most modern 7 as instructions executed, cachemisses suffered, or branches mis-predicted - 8 without slowing down the kernel or applications. These registers can also 9 trigger interrupts when a threshold number of events have passed - and can 13 hardware capabilities. It provides per task and per CPU counters, counter 15 provides "virtual" 64-bit counters, regardless of the width of the 16 underlying hardware counters. 18 Performance counters are accessed via special file descriptors. [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/drivers/net/mlxsw/ |
| H A D | qos_mc_aware.sh | 2 # SPDX-License-Identifier: GPL-2.0 6 # MC load. This issue can be overcome by putting the switch to MC-aware mode. 8 # under MC flood, and therefore that the MC-aware mode is enabled and correctly 17 # So instead we send traffic with mausezahn and use RX ethtool counters at $h3. 19 # each gets a different priority and we can use per-prio ethtool counters to 28 # +---------------------------+ +----------------------------------+ 30 # | | | unicast --> + $h2.111 | 32 # | traffic | | | e-qos-map 0:1 | 33 # | $h1 + <----- | | | | 35 # +---------------|-----------+ +--------------|-------------------+ [all …]
|
| H A D | devlink_trap_l3_exceptions.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # Test devlink-trap L3 exceptions functionality over mlxsw. 8 # +---------------------------------+ 16 # +----|----------------------------+ 18 # +----|----------------------------------------------------------------------+ 28 # +----|----------------------------------------------------------------------+ 30 # +----|----------------------------+ 38 # +---------------------------------+ 65 ip -4 route add default vrf v$h1 nexthop via 192.0.2.2 66 ip -6 route add default vrf v$h1 nexthop via 2001:db8:1::2 [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/kernel/ |
| H A D | topology.c | 63 cpu_topology[cpu].thread_id = -1; in parse_acpi_topology() 96 /* Initialize counter reference per-cpu variables for the current CPU */ 110 pr_debug("CPU%d: counters are not supported.\n", cpu); in validate_cpu_freq_invariance_counters() 111 return -EINVAL; in validate_cpu_freq_invariance_counters() 116 pr_debug("CPU%d: cycle counters are not enabled.\n", cpu); in validate_cpu_freq_invariance_counters() 117 return -EINVAL; in validate_cpu_freq_invariance_counters() 124 return -EINVAL; in validate_cpu_freq_invariance_counters() 128 * Pre-compute the fixed ratio between the frequency of the constant in validate_cpu_freq_invariance_counters() 132 * arch_max_freq_scale = ---------------- * SCHED_CAPACITY_SCALE² in validate_cpu_freq_invariance_counters() 135 * We use a factor of 2 * SCHED_CAPACITY_SHIFT -> SCHED_CAPACITY_SCALE² in validate_cpu_freq_invariance_counters() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/ulp/opa_vnic/ |
| H A D | opa_vnic_encap.h | 26 * - Redistributions of source code must retain the above copyright 28 * - Redistributions in binary form must reproduce the above copyright 32 * - Neither the name of Intel Corporation nor the names of its 84 #define OPA_VNIC_EMA_DATA (OPA_MGMT_MAD_SIZE - IB_MGMT_VENDOR_HDR) 118 * struct opa_vesw_info - OPA vnic switch information 119 * @fabric_id: 10-bit fabric id 120 * @vesw_id: 12-bit virtual ethernet switch id 155 * struct opa_per_veswport_info - OPA vnic per port information 171 * @non_vlan_sc_uc: sc for non-vlan unicast ethernet packets 172 * @non_vlan_vl_uc: vl for non-vlan unicast ethernet packets [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/dsa/microchip/ |
| H A D | ksz_common.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2017-2019 Microchip Technology Inc. 13 #include <linux/platform_data/microchip-ksz.h> 28 for (i = 0; i < dev->port_cnt; i++) { in ksz_update_port_member() 29 if (i == port || i == dev->cpu_port) in ksz_update_port_member() 31 p = &dev->ports[i]; in ksz_update_port_member() 32 if (!(dev->member & (1 << i))) in ksz_update_port_member() 36 if (p->stp_state == BR_STATE_FORWARDING && in ksz_update_port_member() 37 p->member != dev->member) in ksz_update_port_member() 38 dev->dev_ops->cfg_port_member(dev, i, dev->member); in ksz_update_port_member() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/timers/ |
| H A D | timekeeping.rst | 10 If you grep through the kernel source you will find a number of architecture- 12 architecture-specific overrides of the sched_clock() function and some 17 on this timeline, providing facilities such as high-resolution timers. 19 provide an accurate delay source using hardware counters. 23 ------------- 31 n bits which count from 0 to (2^n)-1 and then wraps around to 0 and start over. 36 shall be as stable and correct as possible as compared to a real-world wall 46 When the wall-clock accuracy of the clock source isn't satisfactory, there 48 the user-visible time to RTC clocks in the system or against networked time 73 register counts up or down, and the timer clock rate, and then conjure all [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlwifi/fw/api/ |
| H A D | d3.h | 8 * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved. 9 * Copyright(c) 2013 - 2014 Intel Mobile Communications GmbH 10 * Copyright(c) 2015 - 2017 Intel Deutschland GmbH 11 * Copyright(c) 2018 - 2020 Intel Corporation 27 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 31 * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved. 32 * Copyright(c) 2013 - 2014 Intel Mobile Communications GmbH 33 * Copyright(c) 2015 - 2017 Intel Deutschland GmbH 34 * Copyright(c) 2018 - 2020 Intel Corporation 68 * enum iwl_d0i3_flags - d0i3 flags [all …]
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/hw/mlx5/ |
| H A D | counters.c | 1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 3 * Copyright (c) 2013-2020, Mellanox Technologies inc. All rights reserved. 8 #include "counters.h" 78 static int mlx5_ib_read_counters(struct ib_counters *counters, in mlx5_ib_read_counters() argument 82 struct mlx5_ib_mcounters *mcounters = to_mcounters(counters); in mlx5_ib_read_counters() 87 mutex_lock(&mcounters->mcntrs_mutex); in mlx5_ib_read_counters() 88 if (mcounters->cntrs_max_index > read_attr->ncounters) { in mlx5_ib_read_counters() 89 ret = -EINVAL; in mlx5_ib_read_counters() 93 mread_attr.out = kcalloc(mcounters->counters_num, sizeof(u64), in mlx5_ib_read_counters() 96 ret = -ENOMEM; in mlx5_ib_read_counters() [all …]
|