From: Tom Rini Date: Thu, 30 Jan 2020 20:41:21 -0500 Subject: [PATCHv2] libfdt: Revert 6dcb8ba4 from upstream libfdt In-Reply-To: <20200127171031.28978-1-trini@konsulko.com> References: <20200127171031.28978-1-trini@konsulko.com> Message-ID: <20200131014121.GN13379@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Cc: Patrick DELAUNAY > Link: https://www.spinics.net/lists/devicetree-compiler/msg02972.html > Signed-off-by: Tom Rini > Tested-by: Patrice Chotard 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: