From: Matheus Castanho <msc@linux.ibm.com>
To: libc-alpha@sourceware.org
Cc: tuliom@linux.ibm.com
Subject: [PATCH 0/4] powerpc: Add support for system call vectored
Date: Wed, 18 Nov 2020 11:46:59 -0300 [thread overview]
Message-ID: <20201118144703.75569-1-msc@linux.ibm.com> (raw)
This patchset enables the usage of system call vectored (scv) instruction by
system calls for improved performance on POWER9 and later processors.
Please check each patch for more details, specially 3/4 which explains the
rationale and details of the runtime mechanism to choose between the old
behavior (sc) and the new one (scv 0).
Tested on powerpc, powerpc64, and powerpc64le (with and without scv)
Matheus Castanho (3):
powerpc: Make PT_THREAD_POINTER available to assembly code
powerpc: Runtime selection between sc and scv for syscalls
powerpc: Use scv instruction on clone when available
Tulio Magno Quites Machado Filho (1):
powerpc: Replace brk.S with a C implementation
sysdeps/powerpc/nptl/tls.h | 26 +++---
sysdeps/powerpc/powerpc32/sysdep.h | 19 ++--
sysdeps/powerpc/powerpc64/sysdep.h | 90 ++++++++++++++++++-
.../linux/powerpc/{powerpc64/brk.S => brk.c} | 41 ++++-----
sysdeps/unix/sysv/linux/powerpc/dl-brk.S | 1 -
.../unix/sysv/linux/powerpc/powerpc32/brk.S | 52 -----------
.../unix/sysv/linux/powerpc/powerpc64/clone.S | 36 +++++++-
.../unix/sysv/linux/powerpc/powerpc64/vfork.S | 6 +-
sysdeps/unix/sysv/linux/powerpc/syscall.S | 11 ++-
sysdeps/unix/sysv/linux/powerpc/sysdep.h | 78 +++++++++++-----
10 files changed, 235 insertions(+), 125 deletions(-)
rename sysdeps/unix/sysv/linux/powerpc/{powerpc64/brk.S => brk.c} (58%)
delete mode 100644 sysdeps/unix/sysv/linux/powerpc/dl-brk.S
delete mode 100644 sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S
--
2.26.2
next reply other threads:[~2020-11-18 14:47 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-18 14:46 Matheus Castanho [this message]
2020-11-18 14:47 ` [PATCH 1/4] powerpc: Replace brk.S with a C implementation Matheus Castanho
2020-11-18 20:00 ` Adhemerval Zanella
2020-11-19 17:37 ` Tulio Magno Quites Machado Filho
2020-11-18 21:28 ` Andreas Schwab
2020-11-18 14:47 ` [PATCH 2/4] powerpc: Make PT_THREAD_POINTER available to assembly code Matheus Castanho
2020-11-19 19:58 ` Tulio Magno Quites Machado Filho
2020-11-24 17:33 ` Matheus Castanho
2020-11-18 14:47 ` [PATCH 3/4] powerpc: Runtime selection between sc and scv for syscalls Matheus Castanho
2020-11-18 15:16 ` Florian Weimer
2020-11-19 20:29 ` Matheus Castanho
2020-11-19 20:35 ` Florian Weimer
2020-11-23 18:00 ` Matheus Castanho
2020-12-01 12:50 ` Matheus Castanho
2020-12-01 13:11 ` Florian Weimer
2020-12-01 13:35 ` Adhemerval Zanella
2020-12-03 17:19 ` Matheus Castanho
2020-11-18 19:00 ` Paul A. Clarke
2020-11-19 20:34 ` Matheus Castanho
2020-11-18 14:47 ` [PATCH 4/4] powerpc: Use scv instruction on clone when available Matheus Castanho
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=20201118144703.75569-1-msc@linux.ibm.com \
--to=msc@linux.ibm.com \
--cc=libc-alpha@sourceware.org \
--cc=tuliom@linux.ibm.com \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).