From: Stafford Horne <shorne@gmail.com>
To: LKML <linux-kernel@vger.kernel.org>
Cc: Openrisc <openrisc@lists.librecores.org>,
Stafford Horne <shorne@gmail.com>,
Christian Brauner <christian@brauner.io>
Subject: [PATCH 0/3] OpenRISC Switch and Clone cleanups
Date: Sat, 4 Dec 2021 11:18:39 +0900 [thread overview]
Message-ID: <20211204021842.1853549-1-shorne@gmail.com> (raw)
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@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
next reply other threads:[~2021-12-04 2:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-04 2:18 Stafford Horne [this message]
2021-12-04 2:18 ` [PATCH 1/3] openrisc: Cleanup switch code and comments Stafford Horne
2021-12-04 2:18 ` [PATCH 2/3] openrisc: Use delay slot for clone and fork wrappers Stafford Horne
2021-12-04 2:18 ` [PATCH 3/3] openrisc: Add clone3 ABI wrapper Stafford Horne
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211204021842.1853549-1-shorne@gmail.com \
--to=shorne@gmail.com \
--cc=christian@brauner.io \
--cc=linux-kernel@vger.kernel.org \
--cc=openrisc@lists.librecores.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox