[PATCH v6 3/3] arm64: Kconfig: Enable usage of optimized memset/memcpy/memmove

Stefan Roese sr at denx.de
Fri Sep 24 09:21:54 CEST 2021


Hi Tom,

On 23.09.21 21:56, Tom Rini wrote:
> On Thu, Sep 02, 2021 at 05:00:19PM +0200, Stefan Roese wrote:
> 
>> This patch enables the use of the optimized memset(), memmove() &
>> memcpy() versions recently added on ARM64.
>>
>> Please note that these optimized functions are now only enabled for
>> recent GCC versions (>= 9.4), as earlier GCC versions throw these
>> errors:
>>
>> aarch64-linux-ar: warning: arch/arm/lib/memset-arm64.o: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000000
>> ...
>>
>> Signed-off-by: Stefan Roese <sr at denx.de>
> 
> So, I'm tempted to re-do this patch with default off, on ARM64.  As-is,
> this causes failure to boot on two similar but different TI platforms
> (am65x_evm_a53, j721e_evm_a72) and my amlogic Le Potato (libretech-cc).
> This seems to be fine on my Pi 3.

If this generates problems on some ARM64 platforms then yes, please add
it with default off for now.

Thanks,
Stefan


More information about the U-Boot mailing list