Re: [PATCH 2/3] interconnect: qcom: sa8775p: enable QoS configuration
From: Dmitry Baryshkov
Date: Sat Aug 09 2025 - 03:36:06 EST
On Fri, Aug 08, 2025 at 07:32:59PM +0530, Odelu Kukatla wrote:
> Enable QoS configuration for master ports with predefined
> priority and urgency forwarding.
>
> Signed-off-by: Odelu Kukatla <odelu.kukatla@xxxxxxxxxxxxxxxx>
> ---
> drivers/interconnect/qcom/sa8775p.c | 439 ++++++++++++++++++++++++++++
> 1 file changed, 439 insertions(+)
>
> diff --git a/drivers/interconnect/qcom/sa8775p.c b/drivers/interconnect/qcom/sa8775p.c
> index 04b4abbf4487..5bf27dbe818d 100644
> --- a/drivers/interconnect/qcom/sa8775p.c
> +++ b/drivers/interconnect/qcom/sa8775p.c
> @@ -213,6 +213,13 @@ static struct qcom_icc_node qxm_qup3 = {
> .name = "qxm_qup3",
> .channels = 1,
> .buswidth = 8,
> + .qosbox = &(const struct qcom_icc_qosbox) {
Please follow the design on milos / sar2130p / sm8650 and add a separate
struct instance outside of qcom_icc_node.
LGTM otherwise
> + .num_ports = 1,
> + .port_offsets = { 0x11000 },
> + .prio_fwd_disable = 1,
> + .prio = 2,
> + .urg_fwd = 0,
> + },
> .num_links = 1,
> .link_nodes = (struct qcom_icc_node *[]) { &qns_a1noc_snoc },
> };
--
With best wishes
Dmitry