]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ARM: dts: at91: sama5d2: Fix PMERRLOC resource size
authorTudor Ambarus <tudor.ambarus@microchip.com>
Tue, 11 Jan 2022 13:23:01 +0000 (15:23 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 27 Apr 2022 09:56:44 +0000 (11:56 +0200)
commiteebf265df702a080169a1b41ec7b456d6bf82c02
tree6785fc86bb22535e56e432f956e85ed5c4c114db
parent219ea00a3ce0a7b6ea13e2ff4dd7dff2b9369773
ARM: dts: at91: sama5d2: Fix PMERRLOC resource size

BugLink: https://bugs.launchpad.net/bugs/1969110
commit 0fb578a529ac7aca326a9fa475b4a6f58a756fda upstream.

PMERRLOC resource size was set to 0x100, which resulted in HSMC_ERRLOCx
register being truncated to offset x = 21, causing error correction to
fail if more than 22 bit errors and if 24 or 32 bit error correction
was supported.

Fixes: d9c41bf30cf8 ("ARM: dts: at91: Declare EBI/NAND controllers")
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Cc: <stable@vger.kernel.org> # 4.13.x
Acked-by: Alexander Dahl <ada@thorsis.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20220111132301.906712-1-tudor.ambarus@microchip.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit cc7c9d207fcefb35518f67330d3fbfc9913c090a)
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
arch/arm/boot/dts/sama5d2.dtsi