/linux-6.14.4/Documentation/devicetree/bindings/soc/qcom/ |
D | qcom-stats.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/qcom/qcom-stats.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm Technologies, Inc. (QTI) Stats 10 - Maulik Shah <[email protected]> 22 - qcom,rpmh-stats 23 - qcom,sdm845-rpmh-stats 24 - qcom,rpm-stats 25 # For older RPM firmware versions with fixed offset for the sleep stats [all …]
|
D | qcom,rpm-master-stats.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/qcom/qcom,rpm-master-stats.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm Technologies, Inc. (QTI) RPM Master Stats 10 - Konrad Dybcio <[email protected]> 13 The Qualcomm RPM (Resource Power Manager) architecture includes a concept 14 of "RPM Masters". They can be thought of as "the local gang leaders", usually 15 spanning a single subsystem (e.g. APSS, ADSP, CDSP). All of the RPM decisions 16 (particularly around entering hardware-driven low power modes: XO shutdown [all …]
|
/linux-6.14.4/drivers/soc/qcom/ |
D | qcom_stats.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2011-2021, The Linux Foundation. All rights reserved. 77 u64 accumulated = stat->accumulated; in qcom_print_stats() 79 * If a subsystem is in sleep when reading the sleep stats adjust in qcom_print_stats() 82 if (stat->last_entered_at > stat->last_exited_at) in qcom_print_stats() 83 accumulated += arch_timer_read_counter() - stat->last_entered_at; in qcom_print_stats() 85 seq_printf(s, "Count: %u\n", stat->count); in qcom_print_stats() 86 seq_printf(s, "Last Entered At: %llu\n", stat->last_entered_at); in qcom_print_stats() 87 seq_printf(s, "Last Exited At: %llu\n", stat->last_exited_at); in qcom_print_stats() 93 struct subsystem_data *subsystem = s->private; in qcom_subsystem_sleep_stats_show() [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 15 the low-power state for resources related to the remoteproc 26 resource on a RPM-hardened platform must use this database to get 84 and instances handled by the remote DSPs. This is a kernel-space 124 Say yes here to support USB-C and battery status on modern Qualcomm 147 purpose of exchanging sector-data between the remote filesystem 153 tristate "Qualcomm RPM Master stats" 156 The RPM Master sleep stats driver provides detailed per-subsystem 157 sleep/wake data, read from the RPM message RAM. It can be used to 158 assess whether all the low-power modes available are entered as [all …]
|
D | rpm_master_stats.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2012-2020, The Linux Foundation. All rights reserved. 6 * This driver supports what is known as "Master Stats v2" in Qualcomm 34 /* Per-subsystem (*not necessarily* SoC-wide) XO shutdown stats */ 43 struct master_stats_data *data = s->private; in master_stats_show() 46 memcpy_fromio(&stat, data->base, sizeof(stat)); in master_stats_show() 48 seq_printf(s, "%s:\n", data->label); in master_stats_show() 70 struct device *dev = &pdev->dev; in master_stats_probe() 77 count = of_property_count_strings(dev->of_node, "qcom,master-names"); in master_stats_probe() 83 return -ENOMEM; in master_stats_probe() [all …]
|
/linux-6.14.4/drivers/net/ethernet/marvell/octeontx2/af/ |
D | lmac_common.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Marvell CN10K RPM driver 14 * struct lmac - per lmac locks and properties 52 /* CGX & RPM has different feature set 60 * RPM DMAC_CTL0 0x4ff8 64 * defined hence CGX uses OVERFLOW bit in CMR_INT. RPM block supports 70 /* lmac offset is different is RPM */ 76 /* RPM & CGX differs in number of Receive/transmit stats */ 84 /* Incase of RPM get number of lmacs from RPMX_CMR_RX_LMACS[LMAC_EXIST] 92 /* Register Stats related functions */ [all …]
|
D | rpm.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Marvell CN10K RPM driver 86 /* FEC stats */
|
D | cgx.c | 1 // SPDX-License-Identifier: GPL-2.0 24 #define DRV_NAME "Marvell-CGX/RPM" 25 #define DRV_STRING "Marvell CGX/RPM Driver" 80 return (cgx->pdev->device == PCI_DEVID_CN10K_RPM) || in is_dev_rpm() 81 (cgx->pdev->device == PCI_DEVID_CN10KB_RPM); in is_dev_rpm() 86 if (!cgx || lmac_id < 0 || lmac_id >= cgx->max_lmac_per_mac) in is_lmac_valid() 88 return test_bit(lmac_id, &cgx->lmac_bmap); in is_lmac_valid() 98 for_each_set_bit(tmp, &cgx->lmac_bmap, cgx->max_lmac_per_mac) { in get_sequence_id_of_lmac() 112 return ((struct cgx *)cgxd)->mac_ops; in get_mac_ops() 117 return ((struct cgx *)cgxd)->fifo_len; in cgx_get_fifo_len() [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/remoteproc/ |
D | qcom,rpm-proc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/remoteproc/qcom,rpm-proc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm Resource Power Manager (RPM) Processor/Subsystem 10 - Bjorn Andersson <[email protected]> 11 - Konrad Dybcio <[email protected]> 12 - Stephan Gerhold <[email protected]> 15 Resource Power Manager (RPM) subsystem found in various Qualcomm platforms: 17 +--------------------------------------------+ [all …]
|
/linux-6.14.4/drivers/gpu/drm/i915/gt/ |
D | intel_gt_pm.c | 1 // SPDX-License-Identifier: MIT 30 int count = atomic_read(>->user_wakeref); in user_forcewake() 39 GEM_BUG_ON(count > atomic_read(>->wakeref.count)); in user_forcewake() 40 atomic_sub(count, >->wakeref.count); in user_forcewake() 42 atomic_add(count, >->wakeref.count); in user_forcewake() 50 write_seqcount_begin(>->stats.lock); in runtime_begin() 51 gt->stats.start = ktime_get(); in runtime_begin() 52 gt->stats.active = true; in runtime_begin() 53 write_seqcount_end(>->stats.lock); in runtime_begin() 60 write_seqcount_begin(>->stats.lock); in runtime_end() [all …]
|
/linux-6.14.4/tools/perf/Documentation/ |
D | security.txt | 6 https://www.kernel.org/doc/html/latest/admin-guide/perf-security.html 15 1. Download selinux-policy SRPM package (e.g. selinux-policy-3.14.4-48.fc31.src.rpm on FC31) 18 # rpm -Uhv selinux-policy-3.14.4-48.fc31.src.rpm 22 # rpmbuild -bp selinux-policy.spec 24 3. Place patch below at rpmbuild/BUILD/selinux-policy-b86eaaf4dbcf2d51dd4432df7185c0eaf3cbcc02 27 # patch -p1 < selinux-policy-perf-events-perfmon.patch 30 # cat selinux-policy-perf-events-perfmon.patch 31 diff -Nura a/policy/flask/access_vectors b/policy/flask/access_vectors 32 --- a/policy/flask/access_vectors 2020-02-04 18:19:53.000000000 +0300 33 +++ b/policy/flask/access_vectors 2020-02-28 23:37:25.000000000 +0300 [all …]
|
/linux-6.14.4/arch/arm/boot/dts/qcom/ |
D | qcom-msm8226.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/clock/qcom,gcc-msm8974.h> 10 #include <dt-bindings/clock/qcom,mmcc-msm8974.h> 11 #include <dt-bindings/clock/qcom,rpmcc.h> 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/power/qcom-rpmpd.h> 14 #include <dt-bindings/reset/qcom,gcc-msm8974.h> 15 #include <dt-bindings/thermal/thermal.h> [all …]
|
D | qcom-apq8084.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/interrupt-controller/arm-gic.h> 5 #include <dt-bindings/clock/qcom,gcc-apq8084.h> 6 #include <dt-bindings/gpio/gpio.h> 9 #address-cells = <1>; 10 #size-cells = <1>; 13 interrupt-parent = <&intc>; 15 reserved-memory { 16 #address-cells = <1>; [all …]
|
D | qcom-msm8974.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/interconnect/qcom,msm8974.h> 5 #include <dt-bindings/interrupt-controller/arm-gic.h> 6 #include <dt-bindings/clock/qcom,gcc-msm8974.h> 7 #include <dt-bindings/clock/qcom,mmcc-msm8974.h> 8 #include <dt-bindings/clock/qcom,rpmcc.h> 9 #include <dt-bindings/reset/qcom,gcc-msm8974.h> 10 #include <dt-bindings/gpio/gpio.h> 13 #address-cells = <1>; [all …]
|
/linux-6.14.4/arch/arm64/boot/dts/qcom/ |
D | sm6125.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/clock/qcom,dispcc-sm6125.h> 7 #include <dt-bindings/clock/qcom,gcc-sm6125.h> 8 #include <dt-bindings/clock/qcom,rpmcc.h> 9 #include <dt-bindings/dma/qcom-gpi.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 #include <dt-bindings/power/qcom-rpmpd.h> 15 interrupt-parent = <&intc>; 16 #address-cells = <2>; [all …]
|
D | qcs404.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <dt-bindings/interrupt-controller/arm-gic.h> 7 #include <dt-bindings/clock/qcom,gcc-qcs404.h> 8 #include <dt-bindings/clock/qcom,turingcc-qcs404.h> 9 #include <dt-bindings/clock/qcom,rpmcc.h> 10 #include <dt-bindings/power/qcom-rpmpd.h> 11 #include <dt-bindings/thermal/thermal.h> 14 interrupt-parent = <&intc>; 16 #address-cells = <2>; 17 #size-cells = <2>; [all …]
|
D | qcm2290.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 8 #include <dt-bindings/clock/qcom,dispcc-qcm2290.h> 9 #include <dt-bindings/clock/qcom,gcc-qcm2290.h> 10 #include <dt-bindings/clock/qcom,qcm2290-gpucc.h> 11 #include <dt-bindings/clock/qcom,rpmcc.h> 12 #include <dt-bindings/dma/qcom-gpi.h> 13 #include <dt-bindings/firmware/qcom,scm.h> 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/interrupt-controller/arm-gic.h> 16 #include <dt-bindings/interconnect/qcom,qcm2290.h> [all …]
|
D | sm6375.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/clock/qcom,rpmcc.h> 7 #include <dt-bindings/clock/qcom,sm6375-gcc.h> 8 #include <dt-bindings/clock/qcom,sm6375-gpucc.h> 9 #include <dt-bindings/dma/qcom-gpi.h> 10 #include <dt-bindings/firmware/qcom,scm.h> 11 #include <dt-bindings/interconnect/qcom,osm-l3.h> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 #include <dt-bindings/mailbox/qcom-ipcc.h> 14 #include <dt-bindings/power/qcom-rpmpd.h> [all …]
|
D | sdm630.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 7 #include <dt-bindings/clock/qcom,gcc-sdm660.h> 8 #include <dt-bindings/clock/qcom,gpucc-sdm660.h> 9 #include <dt-bindings/clock/qcom,mmcc-sdm660.h> 10 #include <dt-bindings/clock/qcom,rpmcc.h> 11 #include <dt-bindings/firmware/qcom,scm.h> 12 #include <dt-bindings/interconnect/qcom,sdm660.h> 13 #include <dt-bindings/power/qcom-rpmpd.h> 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/interrupt-controller/arm-gic.h> [all …]
|
D | msm8998.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 #include <dt-bindings/interrupt-controller/arm-gic.h> 5 #include <dt-bindings/clock/qcom,gcc-msm8998.h> 6 #include <dt-bindings/clock/qcom,gpucc-msm8998.h> 7 #include <dt-bindings/clock/qcom,mmcc-msm8998.h> 8 #include <dt-bindings/clock/qcom,rpmcc.h> 9 #include <dt-bindings/firmware/qcom,scm.h> 10 #include <dt-bindings/power/qcom-rpmpd.h> 11 #include <dt-bindings/gpio/gpio.h> 14 interrupt-parent = <&intc>; [all …]
|
/linux-6.14.4/drivers/gpu/drm/panthor/ |
D | panthor_device.h | 1 /* SPDX-License-Identifier: GPL-2.0 or MIT */ 10 #include <linux/io-pgtable.h> 35 * enum panthor_device_pm_state - PM state 52 * struct panthor_irq - IRQ data 71 * enum panthor_device_profiling_mode - Profiling state 90 * struct panthor_device - Panthor device 200 /** @profile_mask: User-set profiling flags for job accounting. */ 216 * struct panthor_file - Panthor file 228 /** @stats: cycle and timestamp measures for job execution. */ 229 struct panthor_gpu_usage stats; member [all …]
|
/linux-6.14.4/drivers/gpu/drm/i915/gt/uc/ |
D | intel_guc_log.c | 1 // SPDX-License-Identifier: MIT 3 * Copyright © 2014-2019 Intel Corporation 66 log->sizes[i].bytes = sections[i].default_val; in _guc_log_init_sizes() 69 if (log->sizes[GUC_LOG_SECTIONS_DEBUG].bytes >= SZ_1M && in _guc_log_init_sizes() 71 log->sizes[GUC_LOG_SECTIONS_CRASH].bytes = SZ_1M; in _guc_log_init_sizes() 76 if ((log->sizes[i].bytes % SZ_1M) == 0) { in _guc_log_init_sizes() 77 log->sizes[i].units = SZ_1M; in _guc_log_init_sizes() 78 log->sizes[i].flag = sections[i].flag; in _guc_log_init_sizes() 80 log->sizes[i].units = SZ_4K; in _guc_log_init_sizes() 81 log->sizes[i].flag = 0; in _guc_log_init_sizes() [all …]
|
D | intel_guc_submission.c | 1 // SPDX-License-Identifier: MIT 39 * DOC: GuC-based command submission 42 * There are 16 MMIO-based registers start from 0xC180. The kernel driver writes 50 * Covered in detail in other sections but CTBs (Host to GuC - H2G, GuC to Host 51 * - G2H) are a message interface between the i915 and GuC. 73 * with the GuC takes a non-zero amount of time we delay the disabling of 102 * sched_engine->lock 108 * guc->submission_state.lock 112 * ce->guc_state.lock 113 * Protects everything under ce->guc_state. Ensures that a context is in the [all …]
|
/linux-6.14.4/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_common.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 147 /* Driver counted stats */ 235 /* MSI-X */ 242 /* Stats */ 365 /* Stats which need to be accumulated in software because 392 struct cn10k_txsc_stats stats; member 412 struct cn10k_rxsc_stats stats; member 538 return (pdev->device == PCI_DEVID_OCTEONTX2_RVU_AFVF) || in is_otx2_lbkvf() 539 (pdev->device == PCI_DEVID_RVU_REP); in is_otx2_lbkvf() 544 return (pdev->revision == 0x00) && in is_96xx_A0() [all …]
|
/linux-6.14.4/drivers/net/ethernet/intel/igc/ |
D | igc_main.c | 1 // SPDX-License-Identifier: GPL-2.0 33 static int debug = -1; 81 struct net_device *dev = adapter->netdev; in igc_reset() 82 struct igc_hw *hw = &adapter->hw; in igc_reset() 83 struct igc_fc_info *fc = &hw->fc; in igc_reset() 95 * - the full Rx FIFO size minus one full Tx plus one full Rx frame in igc_reset() 97 hwm = (pba << 10) - (adapter->max_frame_size + MAX_JUMBO_FRAME_SIZE); in igc_reset() 99 fc->high_water = hwm & 0xFFFFFFF0; /* 16-byte granularity */ in igc_reset() 100 fc->low_water = fc->high_water - 16; in igc_reset() 101 fc->pause_time = 0xFFFF; in igc_reset() [all …]
|