Re: [Patch v2 0/9] Tegra234 Memory interconnect support

From: Sumit Gupta
Date: Mon Mar 06 2023 - 15:20:01 EST




On 06/03/23 20:35, Krzysztof Kozlowski wrote:
External email: Use caution opening links or attachments


On 20/02/2023 15:05, Sumit Gupta wrote:
This patch series adds memory interconnect support for Tegra234 SoC.
It is used to dynamically scale DRAM Frequency as per the bandwidth
requests from different Memory Controller (MC) clients.
MC Clients use ICC Framework's icc_set_bw() api to dynamically request
for the DRAM bandwidth (BW). As per path, the request will be routed
from MC to the EMC driver. MC driver passes the request info like the
Client ID, type, and frequency request info to the BPMP-FW which will
set the final DRAM freq considering all exisiting requests.

MC and EMC are the ICC providers. Nodes in path for a request will be:
Client[1-n] -> MC -> EMC -> EMEM/DRAM

The patch series also adds interconnect support in below client drivers:
1) CPUFREQ driver for scaling bandwidth with CPU frequency. For that,
added per cluster OPP table which will be used in the CPUFREQ driver
by requesting the minimum BW respective to the given CPU frequency in
the OPP table of given cluster.
2) PCIE driver to request BW required for different modes.

No dependencies or ordering written, so I am free to take memory
controller bits, I assume.

Best regards,
Krzysztof


Apologies for not mentioning the order in cover letter. The patches are divided into below groups.
Patch [9]: Memory Interconnect support in PCI (MC client)
Patch [4-8]: Memory Interconnect support in CPUFREQ (MC client)
Patch [1-3]: Memory Interconnect base support

Both the Memory Controller (MC) client patches are dependent on the 'Memory Interconnect base support patch [1-3]'.

Thanks,
Sumit