Re: [PATCH 2/3] interconnect: qcom: sa8775p: enable QoS configuration
From: Odelu Kukatla
Date: Tue Aug 12 2025 - 06:26:41 EST
On 8/9/2025 1:05 PM, Dmitry Baryshkov wrote:
> 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
>
Thanks Dmitry for the review!
We discussed this during patch https://patchwork.kernel.org/project/linux-pm/patch/20240306073016.2163-3-quic_okukatla@xxxxxxxxxxx/#25749420,
it was decided to follow embedded structure notation for QoS as per comment for sc7280.>> + .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 },
>> };
>