[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d7f406f1-fc27-45e6-90a0-a7ee108505a6@linaro.org>
Date: Mon, 22 Jan 2024 16:26:27 +0100
From: Konrad Dybcio <konrad.dybcio@...aro.org>
To: Odelu Kukatla <quic_okukatla@...cinc.com>, georgi.djakov@...aro.org,
Bjorn Andersson <andersson@...nel.org>, Georgi Djakov <djakov@...nel.org>,
linux-arm-msm@...r.kernel.org, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [1/4] interconnect: qcom: icc-rpmh: Add QoS config support
On 22.01.2024 15:30, Odelu Kukatla wrote:
> Introduce support to initialize QoS settings for QNOC platforms.
>
> Change-Id: I068d49cbcfec5d34c01e5adc930eec72d306ed89
> Signed-off-by: Odelu Kukatla <quic_okukatla@...cinc.com>
> ---
[...]
> +
> +struct qcom_icc_qosbox {
> + u32 prio;
> + u32 urg_fwd;
Also, why is this field not a bool?
Everything in here could be const, btw
> + bool prio_fwd_disable;
> + u32 num_ports;
> + u32 offsets[];
> +};
> +
> #define MAX_LINKS 128
> #define MAX_BCMS 64
> #define MAX_BCM_PER_NODE 3
> @@ -58,6 +86,8 @@ struct bcm_db {
> * @max_peak: current max aggregate value of all peak bw requests
> * @bcms: list of bcms associated with this logical node
> * @num_bcms: num of @bcms
> + * @regmap: used for QOS registers access
> + * @qosbox: qos config data associated with node
> */
> struct qcom_icc_node {
> const char *name;
> @@ -70,6 +100,8 @@ struct qcom_icc_node {
> u64 max_peak[QCOM_ICC_NUM_BUCKETS];
> struct qcom_icc_bcm *bcms[MAX_BCM_PER_NODE];
> size_t num_bcms;
> + struct regmap *regmap;
> + struct qcom_icc_qosbox *qosbox;
this member here as well
Konrad
Powered by blists - more mailing lists