]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
arm64: dts: renesas: ironhide: Describe inline ECC carveouts
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Fri, 10 Jul 2026 16:04:22 +0000 (18:04 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 14 Jul 2026 08:34:32 +0000 (10:34 +0200)
commit6fa6ee724d8dadf392139e242ac936b5da730c4b
tree0d68e9a22de4795eb5a20f95a278c2f5f3934e33
parentdc59e4fea9d83f03bad6bddf3fa2e52491777482
arm64: dts: renesas: ironhide: Describe inline ECC carveouts

The DBSC5 DRAM controller protects DRAM content using inline ECC.
The inline ECC utilizes areas of DRAM for its operation, which are
in the DRAM address range, but must not be accessed or modified.
Describe the inline ECC carveout areas used by the DBSC5 controller
on this hardware as reserved-memory, which must not be accessed.
Include DRAM areas which are unprotected by ECC as well, those are
parts of the DRAM which directly precede the ECC carveout.

In case of high DRAM utilization, unless the inline ECC carveouts
are properly reserved, Linux may use and corrupt the memory used
by the DBSC5 DRAM controller for inline ECC, which would lead to
the system becoming unstable.

Fixes: ad142a4ef710 ("arm64: dts: renesas: r8a78000: Add initial Ironhide board support")
Cc: stable@vger.kernel.org
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://patch.msgid.link/20260710160450.64967-1-marek.vasut+renesas@mailbox.org
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/r8a78000-ironhide.dts