From: Konrad Dybcio <konrad.dybcio@linaro.org>
To: Odelu Kukatla <quic_okukatla@quicinc.com>,
georgi.djakov@linaro.org, Bjorn Andersson <andersson@kernel.org>,
Georgi Djakov <djakov@kernel.org>,
linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [2/4] interconnect: qcom: sc7280: enable qos programming
Date: Mon, 22 Jan 2024 16:28:15 +0100 [thread overview]
Message-ID: <ebed24aa-e190-4735-b618-7d74fadd900c@linaro.org> (raw)
In-Reply-To: <20240122143030.11904-3-quic_okukatla@quicinc.com>
On 22.01.2024 15:30, Odelu Kukatla wrote:
> Enable QoS for the master ports with predefined values
> for priority and urgency.
>
> Change-Id: I1c4515402bcd6df8eed814be096aa5e1fc16cef6
> Signed-off-by: Odelu Kukatla <quic_okukatla@quicinc.com>
> ---
> drivers/interconnect/qcom/sc7280.c | 250 +++++++++++++++++++++++++++++
> 1 file changed, 250 insertions(+)
>
> diff --git a/drivers/interconnect/qcom/sc7280.c b/drivers/interconnect/qcom/sc7280.c
> index 7d33694368e8..719844c34894 100644
> --- a/drivers/interconnect/qcom/sc7280.c
> +++ b/drivers/interconnect/qcom/sc7280.c
> @@ -1,6 +1,7 @@
> // SPDX-License-Identifier: GPL-2.0
> /*
> * Copyright (c) 2021, The Linux Foundation. All rights reserved.
> + * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
> *
> */
>
> @@ -16,29 +17,59 @@
> #include "icc-rpmh.h"
> #include "sc7280.h"
>
> +static const struct regmap_config icc_regmap_config = {
> + .reg_bits = 32,
> + .reg_stride = 4,
> + .val_bits = 32,
If you don't bother having .max_register, perhaps it could be defined
in a common file?
Also, do you really need locking between each access? If not, add
.fast_io = true
Konrad
next prev parent reply other threads:[~2024-01-22 15:28 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20240122143030.11904-1-quic_okukatla@quicinc.com>
2024-01-22 14:30 ` [1/4] interconnect: qcom: icc-rpmh: Add QoS config support Odelu Kukatla
2024-01-22 15:25 ` Konrad Dybcio
[not found] ` <DM8PR02MB8261BA6A8870193265380991F0472@DM8PR02MB8261.namprd02.prod.outlook.com>
[not found] ` <16a776d9-8303-4033-a694-8ed83bc7b66d@linaro.org>
[not found] ` <34099e94-2439-45a2-8020-13c8c145397b@quicinc.com>
[not found] ` <eef3d3f6-b905-4f12-8f56-ffab13e585e9@linaro.org>
2024-02-29 16:22 ` Odelu Kukatla
2024-01-22 15:26 ` Konrad Dybcio
2024-01-22 22:29 ` Jeff Johnson
2024-01-22 14:30 ` [2/4] interconnect: qcom: sc7280: enable qos programming Odelu Kukatla
2024-01-22 15:28 ` Konrad Dybcio [this message]
2024-01-22 14:30 ` [3/4] dt-bindings: interconnect: Add clock property to enable QOS on SC7280 Odelu Kukatla
2024-01-22 14:47 ` Krzysztof Kozlowski
2024-01-22 14:30 ` [4/4] arm64: dts: qcom: sc7280: Add clocks for QOS configuration Odelu Kukatla
2024-01-22 17:43 ` Dmitry Baryshkov
2024-01-23 18:29 ` Konrad Dybcio
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ebed24aa-e190-4735-b618-7d74fadd900c@linaro.org \
--to=konrad.dybcio@linaro.org \
--cc=andersson@kernel.org \
--cc=djakov@kernel.org \
--cc=georgi.djakov@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=quic_okukatla@quicinc.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®