[PATCH] libfdt: Revert 6dcb8ba4 from upstream libfdt
Tom Rini
trini at konsulko.com
Mon Jan 27 16:20:40 CET 2020
On Mon, Jan 27, 2020 at 10:19:09AM -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>
I can see now I didn't quite catch everything, oops. That's what I get
for posting and then testing. v2 shortly, sorry all.
--
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/20200127/1efa87f8/attachment.sig>
More information about the U-Boot
mailing list