[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220531105137.110050-1-krzysztof.kozlowski@linaro.org>
Date: Tue, 31 May 2022 12:51:33 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>,
Andy Gross <agross@...nel.org>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Georgi Djakov <djakov@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will@...nel.org>, linux-arm-msm@...r.kernel.org,
linux-pm@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: [PATCH v3 0/4] soc/arm64: qcom: Add initial version of bwmon
Hi,
Changes since v2
================
1. Spent a lot of time on benchmarking and learning the BWMON behavior.
2. Drop PM/OPP patch - applied.
3. Patch #1: drop opp-avg-kBps.
4. Patch #2: Add several comments explaining pieces of code and BWMON, extend
commit msg with measurements, extend help message, add new #defines to document
some magic values, reorder bwmon clear/disable/enable operations to match
downstream source and document this with comments, fix unit count from 1 MB
to 65 kB.
5. Patch #4: drop opp-avg-kBps.
6. Add accumulated Rb tags.
Changes since v1
================
1. Add defconfig change.
2. Fix missing semicolon in MODULE_AUTHOR.
3. Add original downstream (msm-4.9 tree) copyrights to the driver.
Description
===========
BWMON is a data bandwidth monitor providing throughput/bandwidth over certain
interconnect links in a SoC. It might be used to gather current bus usage and
vote for interconnect bandwidth, thus adjusting the bus speed based on actual
usage.
The work is built on top of Thara Gopinath's patches with several cleanups,
changes and simplifications.
Best regards,
Krzysztof
Krzysztof Kozlowski (4):
dt-bindings: interconnect: qcom,sdm845-cpu-bwmon: add BWMON device
soc: qcom: icc-bwmon: Add bandwidth monitoring driver
arm64: defconfig: enable Qualcomm Bandwidth Monitor
arm64: dts: qcom: sdm845: Add CPU BWMON
.../interconnect/qcom,sdm845-cpu-bwmon.yaml | 97 ++++
MAINTAINERS | 7 +
arch/arm64/boot/dts/qcom/sdm845.dtsi | 54 +++
arch/arm64/configs/defconfig | 1 +
drivers/soc/qcom/Kconfig | 15 +
drivers/soc/qcom/Makefile | 1 +
drivers/soc/qcom/icc-bwmon.c | 418 ++++++++++++++++++
7 files changed, 593 insertions(+)
create mode 100644 Documentation/devicetree/bindings/interconnect/qcom,sdm845-cpu-bwmon.yaml
create mode 100644 drivers/soc/qcom/icc-bwmon.c
--
2.34.1
Powered by blists - more mailing lists