Re: [PATCH v1 4/5] arm64: arch/arm/lib: Add optimized memset/memcpy functions

From
Tom Rini <hidden>
Date
2021-08-06 14:43:56
Reply to
Stefan Roese, 2021-08-06
On Fri, Aug 06, 2021 at 03:38:42PM +0200, Stefan Roese wrote:
Ported from https://github.com/ARM-software/optimized-routines

Please note that when adding these optimized functions as default memset
memcpy functions in U-Boot, U-Boot fails to boot on the LX2160ARDB.
After the initial ATF output, no U-Boot output is shown on the serial
console. Some exception is triggered here in the very early boot process
as some of the assembler opcodes need the caches to be enabled.

Because of this, some additional patches will introduce memset_simple()
which will be used in some selected code location.

Note:
I also integrated and tested with the Linux versions of these optimized
functions. They are similar to the ones now integrated but these ARM
versions are still a small bit faster.
Ah, so here's why you didn't use the kernel versions.  Do the kernel
versions still have the cache issue?  Also, this should be reworded a
bit since you did introduce memset_simple before here.

-- 
Tom

Attachments

Thread (17 messages) 17 messages, 5 authors, last reply 2021-08-09
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help