]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Malta: fix alignment of the devicetree buffer
authorOleksij Rempel <o.rempel@pengutronix.de>
Thu, 2 Sep 2021 07:19:51 +0000 (09:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Sep 2021 10:26:26 +0000 (12:26 +0200)
commitb79169baf823c56dbb7636a520b73ba3fd52dd52
treef024c481e4542f5ef9a91adfd3fc74c4fd0badf5
parentfe484f7bf2ad79c1af986dad76be77681605b59e
MIPS: Malta: fix alignment of the devicetree buffer

[ Upstream commit bea6a94a279bcbe6b2cde348782b28baf12255a5 ]

Starting with following patch MIPS Malta is not able to boot:
| commit 79edff12060fe7772af08607eff50c0e2486c5ba
| Author: Rob Herring <robh@kernel.org>
| scripts/dtc: Update to upstream version v1.6.0-51-g183df9e9c2b9

The reason is the alignment test added to the fdt_ro_probe_(). To fix
this issue, we need to make sure that fdt_buf is aligned.

Since the dtc patch was designed to uncover potential issue, I handle
initial MIPS Malta patch as initial bug.

Fixes: 70ab4d1d5ce5 ("MIPS: Malta: Setup RAM regions via DT")
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/mips/mti-malta/malta-dtshim.c