Re: [PATCH] arm64: tegra: Enable ramoops on Tegra210 and newer

From: Thierry Reding
Date: Thu May 08 2025 - 17:34:03 EST


On Sun, Apr 06, 2025 at 04:12:43PM -0500, Aaron Kling via B4 Relay wrote:
> From: Aaron Kling <webgeek1234@xxxxxxxxx>
>
> This allows using pstore on all such platforms. There are some
> differences per arch:
>
> * Tegra132: Flounder does not appear to enumerate pstore and I do not
> have access to norrin, thus Tegra132 is left out of this commit.
> * Tegra210: Does not support ramoops carveouts in the bootloader, instead
> relying on a dowstream driver to allocate the carveout, hence this
> hardcodes a location matching what the downstream driver picks.
> * Tegra186 and Tegra194 on cboot: Bootloader fills in the address and
> size in a node specifically named /reserved-memory/ramoops_carveout,
> thus these cannot be renamed.
> * Tegra194 and Tegra234 on edk2: Bootloader looks up the node based on
> compatible, however the dt still does not know the address, so keeping
> the node name consistent on Tegra186 and newer.

In order for this to be compatible with the standard bindings, all that
edk2 would need to do is add the unit-address, correct? I think that's
something we could probably get done since we do this for framebuffer
carveouts already.

Thierry

Attachment: signature.asc
Description: PGP signature