[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <65035668-ebce-bd8f-328d-0d3672a4a065@xilinx.com>
Date: Mon, 15 Oct 2018 09:37:13 +0200
From: Michal Simek <michal.simek@...inx.com>
To: Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
Michal Simek <michal.simek@...inx.com>
CC: Thomas Gleixner <tglx@...utronix.de>,
"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>,
Peter Zijlstra <peterz@...radead.org>,
Boqun Feng <boqun.feng@...il.com>,
linux-kernel <linux-kernel@...r.kernel.org>,
linux-api <linux-api@...r.kernel.org>
Subject: Re: rseq system call incompletely wired up in microblaze
Hi Mathieu,
On 14.10.2018 18:46, Mathieu Desnoyers wrote:
> Hi Michal,
>
> I notice the following commit went into 4.18:
>
> commit 54b0a2011dfcd2e3fe2c28062694fbbe3eb377a3
> Author: Michal Simek <michal.simek@...inx.com>
> Date: Thu Jun 14 08:24:39 2018 +0200
>
> microblaze: Add new syscalls io_pgetevents and rseq
>
> Wire up new syscalls io_pgetevents and rseq.
>
> Signed-off-by: Michal Simek <michal.simek@...inx.com>
>
> It adds the rseq system call to the microblaze syscall list, but
> does not add the required hooks in the architecture code, nor does
> it select HAVE_RSEQ. So effectively, even though sys_rseq is reserved
> on microblaze, it currently always returns ENOSYS.
>
> Is your intent to simply reserve the system call number, or to
> also get rseq to work on microblaze ?
Yes. my indentation is allocate syscall numbers for all these new
syscalls because it takes some time when new syscalls numbers are
propagated to toolchain builds.
I can't see a problem if ENOSYS is returned because it is proper
reaction when syscall is not implemented.
Thanks,
Michal
Powered by blists - more mailing lists