[PATCHv2] libfdt: Revert 6dcb8ba4 from upstream libfdt

Tom Rini trini at konsulko.com
Fri Jan 31 02:41:21 CET 2020


On Mon, Jan 27, 2020 at 12:10:31PM -0500, Tom Rini wrote:

> In upstream libfdt, 6dcb8ba4 "libfdt: Add helpers for accessing
> unaligned words" introduced changes to support unaligned reads for ARM
> platforms and 11738cf01f15 "libfdt: Don't use memcpy to handle unaligned
> reads on ARM" improved the performance of these helpers.
> 
> In practice however, this only occurs when the user has forced the
> device tree to be placed in memory in a non-aligned way, which in turn
> violates both our rules and the Linux Kernel rules for how things must
> reside in memory to function.
> 
> This "in practice" part is important as handling these other cases adds
> visible (1 second or more) delay to boot in what would be considered the
> fast path of the code.
> 
> Cc: Patrice CHOTARD <patrice.chotard at st.com>
> Cc: Patrick DELAUNAY <patrick.delaunay at st.com>
> Link: https://www.spinics.net/lists/devicetree-compiler/msg02972.html
> Signed-off-by: Tom Rini <trini at konsulko.com>
> Tested-by: Patrice Chotard <patrice.chotard at st.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200130/ab9268a8/attachment.sig>


More information about the U-Boot mailing list