From: "Michael Kerrisk (man-pages)" <mtk.manpages@gmail.com>
To: Dave Martin <Dave.Martin@arm.com>
Cc: mtk.manpages@gmail.com, Russell King <linux@armlinux.org.uk>,
Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will@kernel.org>,
linux-man@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 2/2] syscall.2: arm64: Fix syscall number register size
Date: Wed, 6 May 2020 12:16:07 +0200 [thread overview]
Message-ID: <82affb91-8aa9-0316-421a-3ce503e396e0@gmail.com> (raw)
In-Reply-To: <1588692280-15878-3-git-send-email-Dave.Martin@arm.com>
On 5/5/20 5:24 PM, Dave Martin wrote:
> arm64 is currently documented as receiving the syscall number in
> x8.
>
> While this is the correct register, the syscall number is a 32-bit
> integer. Bits [63:32] are ignored by the kernel.
>
> So it is more correct to say "w8".
Thanks, Dave. Patch applied, with Will's Acked-by.
Cheers,
Michael
> Signed-off-by: Dave Martin <Dave.Martin@arm.com>
> ---
> man2/syscall.2 | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/man2/syscall.2 b/man2/syscall.2
> index 53ab40e..d724651 100644
> --- a/man2/syscall.2
> +++ b/man2/syscall.2
> @@ -203,7 +203,7 @@ alpha callsys v0 v0 a4 a3 1, 6
> arc trap0 r8 r0 - -
> arm/OABI swi NR - r0 - - 2
> arm/EABI swi 0x0 r7 r0 r1 -
> -arm64 svc #0 x8 x0 x1 -
> +arm64 svc #0 w8 x0 x1 -
> blackfin excpt 0x0 P0 R0 - -
> i386 int $0x80 eax eax edx -
> ia64 break 0x100000 r15 r8 r9 r10 1, 6
>
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
next prev parent reply other threads:[~2020-05-06 10:16 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-05 15:24 [PATCH 0/2] syscall.2: Minor register name fixes for arm/arm64 Dave Martin
2020-05-05 15:24 ` [PATCH 1/2] syscall.2: arm: Use real register names for arm/OABI Dave Martin
2020-05-05 15:26 ` Russell King - ARM Linux admin
2020-05-05 15:53 ` Dave Martin
2020-05-06 10:05 ` Michael Kerrisk (man-pages)
2020-05-06 10:34 ` Dave Martin
2020-05-05 15:24 ` [PATCH 2/2] syscall.2: arm64: Fix syscall number register size Dave Martin
2020-05-05 15:54 ` Will Deacon
2020-05-05 16:06 ` Dave Martin
2020-05-06 10:16 ` Michael Kerrisk (man-pages) [this message]
2020-05-06 10:35 ` Dave Martin
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=82affb91-8aa9-0316-421a-3ce503e396e0@gmail.com \
--to=mtk.manpages@gmail.com \
--cc=Dave.Martin@arm.com \
--cc=catalin.marinas@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-man@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=will@kernel.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;
as well as URLs for NNTP newsgroup(s).