Home
last modified time | relevance | path

Searched +full:rpm +full:- +full:stats (Results 1 – 25 of 53) sorted by relevance

123

/openbmc/linux/Documentation/devicetree/bindings/soc/qcom/
H A Dqcom-stats.yaml1 # 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 <quic_mkshah@quicinc.com>
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 …]
H A Dqcom,rpm-master-stats.yaml1 # 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 <konrad.dybcio@linaro.org>
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 …]
/openbmc/linux/drivers/soc/qcom/
H A Dqcom_stats.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2011-2021, The Linux Foundation. All rights reserved.
73 u64 accumulated = stat->accumulated; in qcom_print_stats()
75 * If a subsystem is in sleep when reading the sleep stats adjust in qcom_print_stats()
78 if (stat->last_entered_at > stat->last_exited_at) in qcom_print_stats()
79 accumulated += arch_timer_read_counter() - stat->last_entered_at; in qcom_print_stats()
81 seq_printf(s, "Count: %u\n", stat->count); in qcom_print_stats()
82 seq_printf(s, "Last Entered At: %llu\n", stat->last_entered_at); in qcom_print_stats()
83 seq_printf(s, "Last Exited At: %llu\n", stat->last_exited_at); in qcom_print_stats()
89 struct subsystem_data *subsystem = s->private; in qcom_subsystem_sleep_stats_show()
[all …]
H A DKconfig1 # 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
43 be called qcom-cpr
110 Say yes here to support USB-C and battery status on modern Qualcomm
133 purpose of exchanging sector-data between the remote filesystem
139 tristate "Qualcomm RPM Master stats"
142 The RPM Master sleep stats driver provides detailed per-subsystem
143 sleep/wake data, read from the RPM message RAM. It can be used to
144 assess whether all the low-power modes available are entered as
[all …]
H A Drpm_master_stats.c1 // 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 …]
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Dlmac_common.h1 /* 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 …]
H A Drpm.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Marvell CN10K RPM driver
86 /* FEC stats */
H A Dcgx.c1 // 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 …]
/openbmc/linux/Documentation/devicetree/bindings/remoteproc/
H A Dqcom,rpm-proc.yaml1 # 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 <andersson@kernel.org>
11 - Konrad Dybcio <konrad.dybcio@linaro.org>
12 - Stephan Gerhold <stephan@gerhold.net>
15 Resource Power Manager (RPM) subsystem found in various Qualcomm platforms:
17 +--------------------------------------------+
[all …]
/openbmc/linux/drivers/gpu/drm/i915/gt/
H A Dintel_gt_pm.c1 // SPDX-License-Identifier: MIT
29 int count = atomic_read(&gt->user_wakeref); in user_forcewake()
37 GEM_BUG_ON(count > atomic_read(&gt->wakeref.count)); in user_forcewake()
38 atomic_sub(count, &gt->wakeref.count); in user_forcewake()
40 atomic_add(count, &gt->wakeref.count); in user_forcewake()
48 write_seqcount_begin(&gt->stats.lock); in runtime_begin()
49 gt->stats.start = ktime_get(); in runtime_begin()
50 gt->stats.active = true; in runtime_begin()
51 write_seqcount_end(&gt->stats.lock); in runtime_begin()
58 write_seqcount_begin(&gt->stats.lock); in runtime_end()
[all …]
/openbmc/linux/tools/perf/Documentation/
H A Dsecurity.txt6 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 …]
/openbmc/linux/arch/arm/boot/dts/qcom/
H A Dqcom-apq8084.dtsi1 // 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 …]
H A Dqcom-msm8226.dtsi1 // 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>
17 #address-cells = <1>;
[all …]
H A Dqcom-msm8974.dtsi1 // 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 …]
/openbmc/openbmc/poky/meta/classes/
H A Dtoaster.bbclass6 # SPDX-License-Identifier: MIT
8 # This bbclass is designed to extract data used by OE-Core during the build process,
35 …branch = subprocess.Popen("git symbolic-ref HEAD 2>/dev/null ", cwd=layer_path, shell=True, stdout…
36 branch = branch.decode('utf-8')
41 …revision = subprocess.Popen("git rev-parse HEAD 2>/dev/null ", cwd=layer_path, shell=True, stdout=…
50 url_mapping = {'meta': 'openembedded-core'}
71 layer_name = layer_path.split('/')[-1]
104 m = re.match(r"^PKG:([^A-Z:]*)", kn)
141 # This path needs to match do_packagedata[sstate-inputdirs]
142 _toaster_dumpdata(os.path.join(d.getVar('WORKDIR'), 'pkgdata-pdata-input'), d)
[all …]
/openbmc/linux/arch/arm64/boot/dts/qcom/
H A Dsm6125.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
6 #include <dt-bindings/clock/qcom,gcc-sm6125.h>
7 #include <dt-bindings/clock/qcom,rpmcc.h>
8 #include <dt-bindings/dma/qcom-gpi.h>
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 #include <dt-bindings/power/qcom-rpmpd.h>
14 interrupt-parent = <&intc>;
15 #address-cells = <2>;
16 #size-cells = <2>;
[all …]
H A Dqcm2290.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
8 #include <dt-bindings/clock/qcom,gcc-qcm2290.h>
9 #include <dt-bindings/clock/qcom,rpmcc.h>
10 #include <dt-bindings/dma/qcom-gpi.h>
11 #include <dt-bindings/firmware/qcom,scm.h>
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/interrupt-controller/arm-gic.h>
14 #include <dt-bindings/power/qcom-rpmpd.h>
17 interrupt-parent = <&intc>;
19 #address-cells = <2>;
[all …]
H A Dqcs404.dtsi1 // 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 …]
H A Dsdm630.dtsi1 // 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/interconnect/qcom,sdm660.h>
12 #include <dt-bindings/power/qcom-rpmpd.h>
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/interrupt-controller/arm-gic.h>
15 #include <dt-bindings/soc/qcom,apr.h>
[all …]
H A Dsm6375.dtsi1 // 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 …]
/openbmc/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_log.c1 // 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 …]
H A Dintel_guc_submission.c1 // SPDX-License-Identifier: MIT
38 * DOC: GuC-based command submission
41 * There are 16 MMIO-based registers start from 0xC180. The kernel driver writes
49 * Covered in detail in other sections but CTBs (Host to GuC - H2G, GuC to Host
50 * - G2H) are a message interface between the i915 and GuC.
72 * with the GuC takes a non-zero amount of time we delay the disabling of
101 * sched_engine->lock
107 * guc->submission_state.lock
111 * ce->guc_state.lock
112 * Protects everything under ce->guc_state. Ensures that a context is in the
[all …]
/openbmc/ipmitool/control/
H A Dipmitool.spec.in2 Summary: ipmitool - Utility for IPMI control
8 Source: %{name}-%{version}.tar.gz
9 Buildroot: /var/tmp/ipmitool-root
16 This utility can communicate with IPMI-enabled devices through either a
19 communications and remote Serial-over-LAN functionality.
28 rm -rf $RPM_BUILD_ROOT
34 ./configure --with-kerneldir \
35 --with-rpm-distro=@DISTRO@ \
36 --prefix=%{_prefix} \
37 --bindir=%{_bindir} \
[all …]
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_common.h1 /* SPDX-License-Identifier: GPL-2.0 */
123 /* NIX TX stats */
133 /* NIX RX stats */
166 /* Driver counted stats */
250 /* MSI-X */
257 /* Stats */
380 /* Stats which need to be accumulated in software because
407 struct cn10k_txsc_stats stats; member
427 struct cn10k_rxsc_stats stats; member
539 return pdev->device == PCI_DEVID_OCTEONTX2_RVU_AFVF; in is_otx2_lbkvf()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/igb/
H A Digb_main.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 2007 - 2018 Intel Corporation. */
57 "Copyright (c) 2007-2014 Intel Corporation.";
129 struct rtnl_link_stats64 *stats);
236 MODULE_AUTHOR("Intel Corporation, <e1000-devel@lists.sourceforge.net>");
241 static int debug = -1;
286 /* igb_regdump - register printout routine */
293 switch (reginfo->ofs) { in igb_regdump()
343 pr_info("%-15s %08x\n", reginfo->name, rd32(reginfo->ofs)); in igb_regdump()
347 snprintf(rname, 16, "%s%s", reginfo->name, "[0-3]"); in igb_regdump()
[all …]

123