From: Jon Hunter <jonathanh@nvidia.com>
To: Aaron Kling <webgeek1234@gmail.com>
Cc: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Thierry Reding <thierry.reding@gmail.com>,
devicetree@vger.kernel.org, linux-tegra@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 1/2] arm64: tegra: Add reserved-memory node for P3450
Date: Fri, 31 Oct 2025 10:47:22 +0000 [thread overview]
Message-ID: <00c5e342-50c7-44e6-89d3-3b879742c204@nvidia.com> (raw)
In-Reply-To: <CALHNRZ_odC8jcu9h_ZKJ9+449pBhmYfXF=vBkprxYkqXhabM9A@mail.gmail.com>
On 29/10/2025 19:54, Aaron Kling wrote:
...
> So the problem is with memory training, which is run in
> TBC/nvtboot_cpu. Iiuc, which is a limited understanding, mts primes
> with the dt emc tables from the bootloader dtb from RP1. Then if dt
> emc tables exist for the kernel dtb from DTB, it will copy the trained
> data to there. And on newer l4t versions, I don't know which version
> that started on, it will copy to a reserved memory location and set
> the location in the kernel dtb from DTB. This piece will fail if a
> reserved-memory node doesn't already exist in the kernel dtb from DTB.
> Causing the cascading failure described before.
>
> For Android, cboot just boots an android boot image on LNX. There's no
> u-boot, extlinux, etc etc. I've got the downstream dtb from RP1, since
> the bootloader only works with the downstream layout. Then I've got
> the mainline dtb from DTB for handoff to the mainline kernel.
>
> Extlinux isn't useful for my usecase of android, but I'm in contact
> with people using Linux distros. So I'm curious if your setup copies
> the reserved-memory nodes to the extlinux FDT. Like, does the emc
> driver initialize properly and allow scaling?
Looking at the boot logs it does not appear so ...
OF: reserved mem: Reserved memory: No reserved-memory node in the DT
We can apply your fix, but may clarify in the commit message the exact
scenario where you see the bootloader 'corrupt the in-ram kernel dt'
because yes this is probably only seen for specific cases.
Thanks
Jon
--
nvpublic
next prev parent reply other threads:[~2025-10-31 10:47 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-04 3:14 [PATCH v2 0/2] arm64: tegra: Add reserved-memory node to L4T Tegra210 devices Aaron Kling via B4 Relay
2025-08-04 3:14 ` [PATCH v2 1/2] arm64: tegra: Add reserved-memory node for P3450 Aaron Kling via B4 Relay
2025-10-24 16:16 ` Jon Hunter
2025-10-24 17:46 ` Aaron Kling
2025-10-28 10:32 ` Jon Hunter
2025-10-29 19:54 ` Aaron Kling
2025-10-31 10:47 ` Jon Hunter [this message]
2025-08-04 3:14 ` [PATCH v2 2/2] arm64: tegra: Add reserved-memory node for P2180 Aaron Kling via B4 Relay
2025-10-24 16:17 ` Jon Hunter
2025-10-20 19:28 ` [PATCH v2 0/2] arm64: tegra: Add reserved-memory node to L4T Tegra210 devices Aaron Kling
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=00c5e342-50c7-44e6-89d3-3b879742c204@nvidia.com \
--to=jonathanh@nvidia.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=robh@kernel.org \
--cc=thierry.reding@gmail.com \
--cc=webgeek1234@gmail.com \
/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
all inboxes | Powered by JetHome®