From: "Luca Weiss" <luca.weiss@fairphone.com>
To: "Konrad Dybcio" <konrad.dybcio@oss.qualcomm.com>,
"Georgi Djakov" <djakov@kernel.org>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>
Cc: <~postmarketos/upstreaming@lists.sr.ht>,
<phone-devel@vger.kernel.org>, <linux-arm-msm@vger.kernel.org>,
<linux-pm@vger.kernel.org>, <devicetree@vger.kernel.org>,
<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2 2/2] interconnect: qcom: Add Milos interconnect provider driver
Date: Tue, 08 Jul 2025 14:42:19 +0200 [thread overview]
Message-ID: <DB6OK61BL9ZS.31XB5TN5YTX62@fairphone.com> (raw)
In-Reply-To: <0a09fbc8-8835-4e94-862b-0baaea5ee251@oss.qualcomm.com>
On Tue Jul 8, 2025 at 1:30 PM CEST, Konrad Dybcio wrote:
> On 7/8/25 12:20 PM, Luca Weiss wrote:
>> Add driver for the Qualcomm interconnect buses found in Milos based
>> platforms. The topology consists of several NoCs that are controlled by
>> a remote processor that collects the aggregated bandwidth for each
>> master-slave pairs.
>>
>> Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
>> ---
>
> [...]
>
>> +static struct qcom_icc_bcm * const aggre1_noc_bcms[] = {
>> +};
>
> You can remove the empty bcm arrays and .(num_)bcms assignments
> for them
Sure!
>
> [...]
>
>> +static const struct of_device_id qnoc_of_match[] = {
>> + { .compatible = "qcom,milos-aggre1-noc", .data = &milos_aggre1_noc},
>> + { .compatible = "qcom,milos-aggre2-noc", .data = &milos_aggre2_noc},
>> + { .compatible = "qcom,milos-clk-virt", .data = &milos_clk_virt},
>> + { .compatible = "qcom,milos-cnoc-cfg", .data = &milos_cnoc_cfg},
>> + { .compatible = "qcom,milos-cnoc-main", .data = &milos_cnoc_main},
>> + { .compatible = "qcom,milos-gem-noc", .data = &milos_gem_noc},
>> + { .compatible = "qcom,milos-lpass-ag-noc", .data = &milos_lpass_ag_noc},
>> + { .compatible = "qcom,milos-mc-virt", .data = &milos_mc_virt},
>> + { .compatible = "qcom,milos-mmss-noc", .data = &milos_mmss_noc},
>> + { .compatible = "qcom,milos-nsp-noc", .data = &milos_nsp_noc},
>> + { .compatible = "qcom,milos-pcie-anoc", .data = &milos_pcie_anoc},
>> + { .compatible = "qcom,milos-system-noc", .data = &milos_system_noc},
>> + { }
>
> a space before '}' would be neat
There is a space :)
>
> Konrad
>
>> +};
>> +MODULE_DEVICE_TABLE(of, qnoc_of_match);
>> +
>> +static struct platform_driver qnoc_driver = {
>> + .probe = qcom_icc_rpmh_probe,
>> + .remove = qcom_icc_rpmh_remove,
>> + .driver = {
>> + .name = "qnoc-milos",
>> + .of_match_table = qnoc_of_match,
>> + .sync_state = icc_sync_state,
>
> Are there any issues with sync_state? (hopefully not)
Don't think so, I don't see any sync_state pending warnings in dmesg so
I assume it's 'synced'? Anything I should look out for in particular?
Also since it looks like I'll anyways send a v3, I've already ported the
QoS settings, and don't think I'm seeing any issues booting up with
that. So I'll include it with v3.
Regards
Luca
>
> Konrad
next prev parent reply other threads:[~2025-07-08 12:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-08 10:20 [PATCH v2 0/2] Add interconnect driver for Milos Luca Weiss
2025-07-08 10:20 ` [PATCH v2 1/2] dt-bindings: interconnect: document the RPMh Network-On-Chip Interconnect in Qualcomm Milos SoC Luca Weiss
2025-07-09 10:34 ` Krzysztof Kozlowski
2025-07-08 10:20 ` [PATCH v2 2/2] interconnect: qcom: Add Milos interconnect provider driver Luca Weiss
2025-07-08 11:30 ` Konrad Dybcio
2025-07-08 12:42 ` Luca Weiss [this message]
2025-07-08 12:49 ` 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=DB6OK61BL9ZS.31XB5TN5YTX62@fairphone.com \
--to=luca.weiss@fairphone.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=djakov@kernel.org \
--cc=konrad.dybcio@oss.qualcomm.com \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=phone-devel@vger.kernel.org \
--cc=robh@kernel.org \
--cc=~postmarketos/upstreaming@lists.sr.ht \
/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