lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <DB6LPBOU5TDL.13B4A6U4NQQZQ@fairphone.com>
Date: Tue, 08 Jul 2025 12:28:00 +0200
From: "Luca Weiss" <luca.weiss@...rphone.com>
To: "Konrad Dybcio" <konrad.dybcio@....qualcomm.com>, "Georgi Djakov"
 <djakov@...nel.org>, "Rob Herring" <robh@...nel.org>, "Krzysztof Kozlowski"
 <krzk+dt@...nel.org>, "Conor Dooley" <conor+dt@...nel.org>
Cc: <~postmarketos/upstreaming@...ts.sr.ht>, <phone-devel@...r.kernel.org>,
 <linux-arm-msm@...r.kernel.org>, <linux-pm@...r.kernel.org>,
 <devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/2] interconnect: qcom: Add SM7635 interconnect
 provider driver

Hi Konrad,

On Fri Jun 27, 2025 at 2:48 PM CEST, Konrad Dybcio wrote:
> On 6/25/25 11:13 AM, Luca Weiss wrote:
>> Add driver for the Qualcomm interconnect buses found in SM7635 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@...rphone.com>
>> ---
>
> [...]
>
>> +static const struct of_device_id qnoc_of_match[] = {
>> +	{ .compatible = "qcom,sm7635-aggre1-noc",
>> +	  .data = &sm7635_aggre1_noc},
>> +	{ .compatible = "qcom,sm7635-aggre2-noc",
>> +	  .data = &sm7635_aggre2_noc},
>> +	{ .compatible = "qcom,sm7635-clk-virt",
>> +	  .data = &sm7635_clk_virt},
>> +	{ .compatible = "qcom,sm7635-cnoc-cfg",
>> +	  .data = &sm7635_cnoc_cfg},
>> +	{ .compatible = "qcom,sm7635-cnoc-main",
>> +	  .data = &sm7635_cnoc_main},
>> +	{ .compatible = "qcom,sm7635-gem-noc",
>> +	  .data = &sm7635_gem_noc},
>> +	{ .compatible = "qcom,sm7635-lpass-ag-noc",
>> +	  .data = &sm7635_lpass_ag_noc},
>> +	{ .compatible = "qcom,sm7635-mc-virt",
>> +	  .data = &sm7635_mc_virt},
>> +	{ .compatible = "qcom,sm7635-mmss-noc",
>> +	  .data = &sm7635_mmss_noc},
>> +	{ .compatible = "qcom,sm7635-nsp-noc",
>> +	  .data = &sm7635_nsp_noc},
>> +	{ .compatible = "qcom,sm7635-pcie-anoc",
>> +	  .data = &sm7635_pcie_anoc},
>> +	{ .compatible = "qcom,sm7635-system-noc",
>> +	  .data = &sm7635_system_noc},
>
> One line per entry, please
>
> In addition to what Dmitry asked for, please also look into porting
> QoS settings - those will require additional clock references in the ICC
> nodes and as such, the bindings will be altered (which we'd prefer to get
> right from the getgo).

I've forgotten to do this for v2, which I've just sent.

But we already have the clock references in the bindings, so the
bindings should be final, also when QoS is added, so just a driver patch
then.

I will put this on my todo list for a future patch to enable this, if
that's fine with you.

> As far as testing goes, there may not be any apparent perf changes, but
> if you get the clocks list wrong, the device will lock up at boot (unless
> you're booting with clk_ignore_unused and friends)

Ack

Regards
Luca

>
> Konrad


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ