Re: [PATCH v5] arm64: dts: mediatek: mt7986a-bananapi-bpi-r3: add ramoops region
From: AngeloGioacchino Del Regno
Date: Tue Sep 15 2026 - 11:11:52 EST
On Tue, 15 Sep 2026 14:12:26 +0200, Martino Dell'Ambrogio wrote:
> Reserve 64 KiB of RAM just below the ARM Trusted Firmware secmon region
> (0x42ff0000-0x43000000) for persistent kernel log storage via pstore/ramoops,
> allowing post-panic console output and oops dumps to be recovered after a
> warm reset. Without it, kernel crash logs on this board are lost when the
> SoC reboots.
>
> The zone sizes (record-size=8 KiB, console-size=32 KiB, ftrace-size=8 KiB,
> pmsg-size=8 KiB) consume the full 64 KiB carve-out. The requested ecc-size=16
> reserves a small Reed-Solomon parity block from each zone's own allocation
> in persistent_ram_new(), which lets pstore recover dumps even when the panic
> path truncates writes mid-record.
>
> [...]
Applied to v7.3-next/dts64, thanks!
[1/1] arm64: dts: mediatek: mt7986a-bananapi-bpi-r3: add ramoops region
commit: 5b748eb481caf88e7f0b3c763dbc6247a59f6e21
Cheers,
Angelo