Skip to content

microblaze: Fix issues with freestanding

Michal Simek lkml 2 versions Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 3 repliesApplied
  2. v11 patch 1 replySuperseded

Changes in v2 from the cover letter

- missing patch in v1
- missing patch in v1

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3microblaze: Use simple memset implementation from lib/string.carch/microblaze/include/asm/string.h arch/microblaze/lib/memset.c+4 -180 replies
2/3microblaze: Do loop unrolling for optimized memset implementationarch/microblaze/lib/memset.c+12 -12 replies
3/3microblaze: Use simple memmove/memcpy implementation from lib/string.carch/microblaze/include/asm/string.h arch/microblaze/lib/memcpy.c arch/microblaze/lib/memmove.c+5 -440 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

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

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(-)
Signature · 1 line
2.35.1