public inbox for openrisc@lists.librecores.org
 help / color / mirror / Atom feed
* [OpenRISC] [PATCH 0/3] OpenRISC Switch and Clone cleanups
@ 2021-12-04  2:18 Stafford Horne
  2021-12-04  2:18 ` [OpenRISC] [PATCH 1/3] openrisc: Cleanup switch code and comments Stafford Horne
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Stafford Horne @ 2021-12-04  2:18 UTC (permalink / raw)
  To: openrisc

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(-)

-- 
2.31.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-12-04  2:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-04  2:18 [OpenRISC] [PATCH 0/3] OpenRISC Switch and Clone cleanups Stafford Horne
2021-12-04  2:18 ` [OpenRISC] [PATCH 1/3] openrisc: Cleanup switch code and comments Stafford Horne
2021-12-04  2:18 ` [OpenRISC] [PATCH 2/3] openrisc: Use delay slot for clone and fork wrappers Stafford Horne
2021-12-04  2:18 ` [OpenRISC] [PATCH 3/3] openrisc: Add clone3 ABI wrapper Stafford Horne

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox