[PATCH v3 0/5] memory: tegra: Support EMC dfs on Tegra186/Tegra194

Aaron Kling via B4 Relay posted 5 patches 3 months, 2 weeks ago
There is a newer version of this series
drivers/memory/tegra/tegra186-emc.c      | 132 ++++++++++++++++++++++++++++++-
drivers/memory/tegra/tegra186.c          |  48 +++++++++++
drivers/memory/tegra/tegra194.c          |  59 +++++++++++++-
include/dt-bindings/memory/tegra186-mc.h |   4 +
include/dt-bindings/memory/tegra194-mc.h |   6 ++
5 files changed, 246 insertions(+), 3 deletions(-)
[PATCH v3 0/5] memory: tegra: Support EMC dfs on Tegra186/Tegra194
Posted by Aaron Kling via B4 Relay 3 months, 2 weeks ago
This series borrows the concept used on Tegra234 to scale EMC based on
CPU frequency and applies it to Tegra186 and Tegra194. Except that the
bpmp on those archs does not support bandwidth manager, so the scaling
iteself is handled similar to how Tegra124 currently works.

Signed-off-by: Aaron Kling <webgeek1234@gmail.com>
---
Changes in v3:
- Split series
- Link to v2: https://lore.kernel.org/r/20250909-tegra186-icc-v2-0-09413724e781@gmail.com

Changes in v2:
- Use opp scoped free in patch 3
- Cleanup as requested in patch 3
- Move patch 3 to the start of the series to keep subsystems grouped
- Link to v1: https://lore.kernel.org/r/20250831-tegra186-icc-v1-0-607ddc53b507@gmail.com

---
Aaron Kling (5):
      dt-bindings: memory: tegra186-mc: Add dummy client IDs for Tegra186
      dt-bindings: memory: tegra194-mc: Add dummy client IDs for Tegra194
      memory: tegra186-emc: Support non-bpmp icc scaling
      memory: tegra186: Support icc scaling
      memory: tegra194: Support icc scaling

 drivers/memory/tegra/tegra186-emc.c      | 132 ++++++++++++++++++++++++++++++-
 drivers/memory/tegra/tegra186.c          |  48 +++++++++++
 drivers/memory/tegra/tegra194.c          |  59 +++++++++++++-
 include/dt-bindings/memory/tegra186-mc.h |   4 +
 include/dt-bindings/memory/tegra194-mc.h |   6 ++
 5 files changed, 246 insertions(+), 3 deletions(-)
---
base-commit: 211ddde0823f1442e4ad052a2f30f050145ccada
change-id: 20251021-tegra186-icc-p2-864fd8625699

Best regards,
-- 
Aaron Kling <webgeek1234@gmail.com>
Re: [PATCH v3 0/5] memory: tegra: Support EMC dfs on Tegra186/Tegra194
Posted by Krzysztof Kozlowski 3 months, 2 weeks ago
On 22/10/2025 03:09, Aaron Kling via B4 Relay wrote:
> This series borrows the concept used on Tegra234 to scale EMC based on
> CPU frequency and applies it to Tegra186 and Tegra194. Except that the
> bpmp on those archs does not support bandwidth manager, so the scaling
> iteself is handled similar to how Tegra124 currently works.
> 
> Signed-off-by: Aaron Kling <webgeek1234@gmail.com>


Does not apply, please check, rebase and resend.

Patch failed at 0003 memory: tegra186-emc: Support non-bpmp icc scaling
error: patch failed: drivers/memory/tegra/tegra186-emc.c:217
error: drivers/memory/tegra/tegra186-emc.c: patch does not apply


Best regards,
Krzysztof
Re: [PATCH v3 0/5] memory: tegra: Support EMC dfs on Tegra186/Tegra194
Posted by Aaron Kling 3 months, 1 week ago
On Mon, Oct 27, 2025 at 5:49 AM Krzysztof Kozlowski <krzk@kernel.org> wrote:
>
> On 22/10/2025 03:09, Aaron Kling via B4 Relay wrote:
> > This series borrows the concept used on Tegra234 to scale EMC based on
> > CPU frequency and applies it to Tegra186 and Tegra194. Except that the
> > bpmp on those archs does not support bandwidth manager, so the scaling
> > iteself is handled similar to how Tegra124 currently works.
> >
> > Signed-off-by: Aaron Kling <webgeek1234@gmail.com>
>
>
> Does not apply, please check, rebase and resend.
>
> Patch failed at 0003 memory: tegra186-emc: Support non-bpmp icc scaling
> error: patch failed: drivers/memory/tegra/tegra186-emc.c:217
> error: drivers/memory/tegra/tegra186-emc.c: patch does not apply

It applies on v6.18-rc3, but not next. Your cleanup series caused the
conflict. I'll rebase on next-20251027 and resend.

Aaron
Re: [PATCH v3 0/5] memory: tegra: Support EMC dfs on Tegra186/Tegra194
Posted by Krzysztof Kozlowski 3 months, 1 week ago
On 27/10/2025 18:54, Aaron Kling wrote:
> On Mon, Oct 27, 2025 at 5:49 AM Krzysztof Kozlowski <krzk@kernel.org> wrote:
>>
>> On 22/10/2025 03:09, Aaron Kling via B4 Relay wrote:
>>> This series borrows the concept used on Tegra234 to scale EMC based on
>>> CPU frequency and applies it to Tegra186 and Tegra194. Except that the
>>> bpmp on those archs does not support bandwidth manager, so the scaling
>>> iteself is handled similar to how Tegra124 currently works.
>>>
>>> Signed-off-by: Aaron Kling <webgeek1234@gmail.com>
>>
>>
>> Does not apply, please check, rebase and resend.
>>
>> Patch failed at 0003 memory: tegra186-emc: Support non-bpmp icc scaling
>> error: patch failed: drivers/memory/tegra/tegra186-emc.c:217
>> error: drivers/memory/tegra/tegra186-emc.c: patch does not apply
> 
> It applies on v6.18-rc3, but not next. Your cleanup series caused the
> conflict. I'll rebase on next-20251027 and resend.


Patches should apply on maintainer's for-next branches, not mainline.
My cleanup series were applied two weeks ago, so week or more before you
sent it.

Best regards,
Krzysztof