Skip to content

OpenRISC Switch and Clone cleanups

Stafford Horne lkml openrisc 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3openrisc: Cleanup switch code and commentsarch/openrisc/kernel/entry.S+6 -100 replies
2/3openrisc: Use delay slot for clone and fork wrappersarch/openrisc/kernel/entry.S+2 -40 replies
3/3openrisc: Add clone3 ABI wrapperarch/openrisc/include/asm/syscalls.h arch/openrisc/kernel/entry.S+7 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] OpenRISC Switch and Clone cleanups

These are a few patches that came after auditing the OpenRISC switch code recently following the discussion with Rob and Arnd and the clone and clone3 wrappers [0].

I noticed a few places where OpenRISC could shave a few instructions and also that we need a ABI wrapper for clone3.

[0] https://lore.kernel.org/all/41206fc7-f8ce-98aa-3718-ba3e1431e320 at landley.net/T/#m9c0cdb2703813b9df4da04cf6b30de1f1aa89944

Stafford Horne (3):
openrisc: Cleanup switch code and comments
openrisc: Use delay slot for clone and fork wrappers
openrisc: Add clone3 ABI wrapper

 arch/openrisc/include/asm/syscalls.h |  2 ++
 arch/openrisc/kernel/entry.S         | 27 +++++++++++++--------------
 2 files changed, 15 insertions(+), 14 deletions(-)
Signature · 1 line
2.31.1