Re: [PATCH v2 0/3] microblaze: Fix issues with freestanding

From: Michal Simek
Date: Thu Apr 21 2022 - 04:56:46 EST


pá 25. 2. 2022 v 14:55 odesílatel Michal Simek <michal.simek@xxxxxxxxxx> napsal:
>
> Hi,
>
> with GCC 10 there is issue with simple memset implementation which is
> called recursively. There are couple of discussions about it and the first
> two patches are trying to workaround this.
> The third patch only removes simple implementations from arch code and use
> generic one which is the same.
>
> Thanks,
> Michal
>
> I sent only 1 patch in v1 that's why sending v2 with all 3.
>
>
> Changes in v2:
> - missing patch in v1
> - missing patch in v1
>
> Michal Simek (3):
> microblaze: Use simple memset implementation from lib/string.c
> microblaze: Do loop unrolling for optimized memset implementation
> microblaze: Use simple memmove/memcpy implementation from lib/string.c
>
> arch/microblaze/include/asm/string.h | 2 ++
> arch/microblaze/lib/memcpy.c | 18 ++-------------
> arch/microblaze/lib/memmove.c | 29 ++----------------------
> arch/microblaze/lib/memset.c | 33 ++++++++++++----------------
> 4 files changed, 20 insertions(+), 62 deletions(-)
>
> --
> 2.35.1
>

Applied.
M

--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs