提交 31501085 编写于 作者: T Tudor Ambarus 提交者: Zheng Zengkai

ARM: dts: at91: sama5d2: Fix PMERRLOC resource size

stable inclusion
from stable-v5.10.110
commit 7187c9beb70232d09798a8f583780c98bafb049c
bugzilla: https://gitee.com/openeuler/kernel/issues/I574AL

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=7187c9beb70232d09798a8f583780c98bafb049c

--------------------------------

commit 0fb578a5 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: d9c41bf3 ("ARM: dts: at91: Declare EBI/NAND controllers")
Signed-off-by: NTudor Ambarus <tudor.ambarus@microchip.com>
Cc: <stable@vger.kernel.org> # 4.13.x
Acked-by: NAlexander Dahl <ada@thorsis.com>
Signed-off-by: NNicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20220111132301.906712-1-tudor.ambarus@microchip.comSigned-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: NYu Liao <liaoyu15@huawei.com>
Reviewed-by: NWei Li <liwei391@huawei.com>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 144e13bd
...@@ -413,7 +413,7 @@ ...@@ -413,7 +413,7 @@
pmecc: ecc-engine@f8014070 { pmecc: ecc-engine@f8014070 {
compatible = "atmel,sama5d2-pmecc"; compatible = "atmel,sama5d2-pmecc";
reg = <0xf8014070 0x490>, reg = <0xf8014070 0x490>,
<0xf8014500 0x100>; <0xf8014500 0x200>;
}; };
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册