]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
arm64: dts: ls1028a: fix memory node
authorMichael Walle <michael@walle.cc>
Thu, 8 Apr 2021 11:02:18 +0000 (13:02 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 30 Jun 2021 06:27:50 +0000 (08:27 +0200)
commit5551fcea8a090c1b4f8fa28bc206ca36ed7dda33
tree1845317a04a7d500e072facdcb03a2634a73acdd
parent6ede563e7b0cf0c5e10dea6cbc4cd0058583a26d
arm64: dts: ls1028a: fix memory node

BugLink: https://bugs.launchpad.net/bugs/1933691
[ Upstream commit dabea675faf16e8682aa478ff3ce65dd775620bc ]

While enabling EDAC support for the LS1028A it was discovered that the
memory node has a wrong endianness setting as well as a wrong interrupt
assignment. Fix both.

This was tested on a sl28 board. To force ECC errors, you can use the
error injection supported by the controller in hardware (with
CONFIG_EDAC_DEBUG enabled):

 # enable error injection
 $ echo 0x100 > /sys/devices/system/edac/mc/mc0/inject_ctrl
 # flip lowest bit of the data
 $ echo 0x1 > /sys/devices/system/edac/mc/mc0/inject_data_lo

Fixes: 8897f3255c9c ("arm64: dts: Add support for NXP LS1028A SoC")
Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi