patch to keep __IGNORE* entries in asm/unistd.h.
Finally, this is the ground work for solving the Y2038 issue. We
need to add/change two dozen of system calls to solve Y2038 issue.
So this patch series will help to easily modify from existing
system call to Y2038 compatible system calls.
Firoz
t strictly part of the uapi, having it as part of the generated
header to simplifies the implementation. We also need to enclose
this macro with #ifdef __KERNEL__ to avoid side effects.
Signed-off-by: Firoz Khan
---
arch/ia64/include/asm/unistd.h | 4 +---
arch/ia64/include/uapi/asm/unist
Add __NR_old_getpagesize in order to not break old user space
as it is reserved for backwards compatibility with old __NR_
getpagesize.
Signed-off-by: Firoz Khan
---
arch/ia64/include/uapi/asm/unistd.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/ia64/include/uapi
entries
in syscall.tbl.
Signed-off-by: Firoz Khan
---
arch/ia64/kernel/syscalls/Makefile | 40
arch/ia64/kernel/syscalls/syscall.tbl | 328
arch/ia64/kernel/syscalls/syscallhdr.sh | 35
arch/ia64/kernel/syscalls/syscalltbl.sh | 34
4 fil
applications.
Signed-off-by: Firoz Khan
---
arch/ia64/include/asm/unistd.h | 9 +
1 file changed, 9 insertions(+)
diff --git a/arch/ia64/include/asm/unistd.h b/arch/ia64/include/asm/unistd.h
index 397b143..a0941e6 100644
--- a/arch/ia64/include/asm/unistd.h
+++ b/arch/ia64/include/asm
the generated files against the
removed files will be identical.
The generated uapi header file will be included in
uapi/asm/unistd.h and generated system call table support
file will be included by ia64/kernel/syscall_table.S file.
Signed-off-by: Firoz Khan
---
arch/ia64/Makefile
to generate
uapi header which uses syscall.tbl file. In syscall.tbl contain
system call number. With the use of __NR_Linux, we can start the
number from 0 instead of 1024.
Signed-off-by: Firoz Khan
---
arch/ia64/include/uapi/asm/unistd.h | 659 ++--
1 file changed
syscall_table.S,
this is a new file. This change will unify the implementation
across all the architecture and to simplify the implementation for
system call table generation using the script.
Signed-off-by: Firoz Khan
---
arch/ia64/kernel/entry.S | 333
this is the ground work for solving the Y2038 issue. We
need to add/change two dozen of system calls to solve Y2038 issue.
So this patch series will help to easily modify from existing
system call to Y2038 compatible system calls.
Firoz Khan (5):
parisc: move __IGNORE* entries to non uapi h
ly part of the uapi, having it as part of
the generated header to simplifies the implementation. We also
need to enclose this macro with #ifdef __KERNEL__ to avoid side
effects.
Signed-off-by: Firoz Khan
---
arch/parisc/include/uapi/asm/unistd.h | 6 +-
1 file changed, 5 insertions(+),
uapi header, it will help
to simplify the uapi header and system call table file
generation script.
It is correct to keep __IGNORE* entry in non uapi header
asm/unistd.h while uapi/asm/unistd.h must hold information
only useful for user space applications.
Signed-off-by: Firoz Khan
---
arch/parisc
files will
parse the content syscall.tbl to generate the header and
table files.
ARM, s390 and x86 architecuture does have the similar support.
I leverage their implementation to come up with a generic
solution.
Signed-off-by: Firoz Khan
---
arch/parisc/kernel/syscalls/Makefile | 55 +
Add __IGNORE* entries for nfsservctl, io_pgetevents and rseq
in the file asm/unistd.h as it is correct to keep __IGNORE*
entry in non uapi header asm/unistd.h while uapi/asm/unistd.h
must hold information only useful for user space applications.
Signed-off-by: Firoz Khan
---
arch/parisc/include
: Firoz Khan
---
arch/parisc/Makefile | 4 +
arch/parisc/include/asm/Kbuild| 3 +
arch/parisc/include/uapi/asm/Kbuild | 2 +
arch/parisc/include/uapi/asm/unistd.h | 375 +--
arch/parisc/kernel/syscall.S | 12 +-
arch/parisc/kernel
ce v1:
- optimized/updated the syscall table generation
scripts.
- fixed all mixed indentation issues in syscall.tbl.
- added "comments" in syscall_*.tbl.
- changed from generic-y to generated-y in Kbuild.
Firoz Khan (4):
powerpc: add __NR_syscalls along with NR_syscalls
powe
On Wed, 14 Nov 2018 at 10:02, Firoz Khan wrote:
>
> The purpose of this patch series is, we can easily
> add/modify/delete system call table support by cha-
> nging entry in syscall.tbl file instead of manually
> changing many files. The other goal is to unify the
> system cal
Hi Helge,
On Sat, 17 Nov 2018 at 22:01, Helge Deller wrote:
>
> * Arnd Bergmann :
> > On Fri, Nov 16, 2018 at 1:55 PM Helge Deller wrote:
> > > > On Fri, 16 Nov 2018 at 01:01, Helge Deller wrote:
> > > > >
> > > > > On 14.11.2018 07:34, F
Hi David,
On Mon, 19 Nov 2018 at 08:29, David Miller wrote:
>
> From: Firoz Khan
> Date: Wed, 14 Nov 2018 10:56:27 +0530
>
> > The purpose of this patch series is, we can easily
> > add/modify/delete system call table support by cha-
> > nging entry in syscal
the generated files against the
removed files must be identical.
The generated uapi header file will be included in uapi/-
asm/unistd.h and generated system call table header file
will be included by kernel/syscall_table.S file.
Signed-off-by: Firoz Khan
---
arch/microblaze/Makefile
hanges since v1:
- enclosed __NR_sycalls macro with __KERNEL__.
- added missing new line.
Firoz Khan (3):
microblaze: move __NR_syscalls macro from asm/unistd.h
microblaze: add system call table generation support
microblaze: generate uapi header and system call table files
arch/micr
d the __NR_syscalls macro from asm/unistd.h to uapi-
/asm/unistd.h. While __NR_syscalls isn't strictly part of
the uapi, having it as part of the generated header to
simplifies the implementation. We also need to enclose
this macro with #ifdef __KERNEL__ to avoid side effects.
Signed-off-by:
syscall_table.h is included by
kernel/syscall_table.S - the real system call table.
ARM, s390 and x86 architecuture does have similar support.
I leverage their implementation to come up with a generic
solution.
Signed-off-by: Firoz Khan
---
arch/microblaze/kernel/syscalls/Makefile | 38
parse the content syscall.tbl to generate the header and
table files.
ARM, s390 and x86 architecuture does have the similar support.
I leverage their implementation to come up with a generic
solution.
Signed-off-by: Firoz Khan
---
arch/powerpc/kernel/syscalls/Makefile | 61 +
arch
n syscall_*.tbl.
- changed from generic-y to generated-y in Kbuild.
Firoz Khan (5):
powerpc: add __NR_syscalls along with NR_syscalls
powerpc: move macro definition from asm/systbl.h
powerpc: add system call table generation support
powerpc: split compat syscall table out from native table
po
change.
This change will simplify the implementation of system
call table generation script and help to come up a common
implementation across all architecture.
Signed-off-by: Firoz Khan
---
arch/powerpc/include/asm/systbl.h | 1 -
arch/powerpc/kernel/systbl.S | 1 +
2 files changed, 1
so need to enclose
this macro with #ifdef __KERNEL__ to avoid side effects.
Signed-off-by: Firoz Khan
---
arch/powerpc/include/asm/unistd.h | 3 +--
arch/powerpc/include/uapi/asm/unistd.h | 5 -
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/arch/powerpc/include/asm/unistd
files will parse the content syscall.tbl to generate the
header and table files.
ARM, s390 and x86 architecuture does have similar support.
I leverage their implementation to come up with a generic
solution.
Signed-off-by: Firoz Khan
---
arch/powerpc/kernel/syscalls/Makefile | 63 +
arch
other archit-
ectures.
Split out a new compat_sys_call_table symbol that contains
all the compat calls, and leave the main table for the nat-
ive calls, to more closely match the method we use every-
where else.
Suggested-by: Arnd Bergmann
Signed-off-by: Firoz Khan
---
arch/powerpc/include/asm
script invoked by parisc/Makefile and the generated files
against the removed files must be identical.
The generated uapi header file will be included in uapi/-
asm/unistd.h and generated system call table header file
will be included by kernel/systbl.S file.
Signed-off-by: Firoz Khan
---
arch
++ sathn...@linux.vnet.ibm.com,
Hi Satheesh,
On Fri, 7 Dec 2018 at 11:42, Firoz Khan wrote:
>
>
> Changes since v3:
> - split compat syscall table out from native table.
> - modified the script to add new line in the generated
>file.
I have fixed few major issue. Coul
Hi Satheesh,
On Fri, 7 Dec 2018 at 12:57, Satheesh Rajendran
wrote:
>
> On Fri, Dec 07, 2018 at 11:41:35AM +0530, Firoz Khan wrote:
> Hi Firoz,
>
> This version(v4) booted fine in IBM Power8 box.
Sounds good. Thanks for the support.
Thanks Arnd for sharing the solution for "
Hi Paul,
On Thu, 6 Dec 2018 at 10:49, Firoz Khan wrote:
>
> The purpose of this patch series is, we can easily
> add/modify/delete system call table support by cha-
> nging entry in syscall.tbl file instead of manually
> changing many files. The other goal is to unify the
>
Hi Paul,
On Wed, 12 Dec 2018 at 00:29, Paul Burton wrote:
> > Will this below change will help?
> >
> > #define _MIPS_SIM_ABI32 1
> > #define _MIPS_SIM_NABI322
> > #define _MIPS_SIM_ABI64 3
> > +#define _MIPS_SIM_ABIN64 _MIPS_SIM_ABI64
>
> Hmm, I
Hi Paul,
On Thu, 13 Dec 2018 at 03:58, Paul Burton wrote:
>
> Hi Firoz,
>
> On Wed, Dec 12, 2018 at 10:04:47AM +0530, Firoz Khan wrote:
> >
> > Sure, I think '64' to 'n64' conversion must be remove it from this patch
> > series.I can send v5 with
so need to enclose
this macro with #ifdef __KERNEL__ to avoid side effects.
Signed-off-by: Firoz Khan
---
arch/powerpc/include/asm/unistd.h | 3 +--
arch/powerpc/include/uapi/asm/unistd.h | 5 -
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/arch/powerpc/include/asm/unistd
ripts.
- fixed all mixed indentation issues in syscall.tbl.
- added "comments" in syscall_*.tbl.
- changed from generic-y to generated-y in Kbuild.
Firoz Khan (5):
powerpc: add __NR_syscalls along with NR_syscalls
powerpc: move macro definition from asm/systbl.h
powerpc: add sy
change.
This change will simplify the implementation of system
call table generation script and help to come up a common
implementation across all architecture.
Signed-off-by: Firoz Khan
---
arch/powerpc/include/asm/systbl.h | 1 -
arch/powerpc/kernel/systbl.S | 1 +
2 files changed, 1
script invoked by parisc/Makefile and the generated files
against the removed files must be identical.
The generated uapi header file will be included in uapi/-
asm/unistd.h and generated system call table header file
will be included by kernel/systbl.S file.
Signed-off-by: Firoz Khan
---
arch
files will parse the content syscall.tbl to generate the
header and table files.
ARM, s390 and x86 architecuture does have similar support.
I leverage their implementation to come up with a generic
solution.
Signed-off-by: Firoz Khan
---
arch/powerpc/kernel/syscalls/Makefile | 63 +
arch
other archit-
ectures.
Split out a new compat_sys_call_table symbol that contains
all the compat calls, and leave the main table for the nat-
ive calls, to more closely match the method we use every-
where else.
Suggested-by: Arnd Bergmann
Signed-off-by: Firoz Khan
---
arch/powerpc/include/asm
in syscall.tbl.
- added "comments" in syscall_*.tbl.
- changed from generic-y to generated-y in Kbuild.
Firoz Khan (7):
mips: add __NR_syscalls along with __NR_Linux_syscalls
mips: remove unused macros
mips: rename macros and files from '64' to 'n64'
mips: add +1
When we get nanoMIPS support we'll be introducing the p32
ABI, and there's a reasonable chance that the equivalent
p64 ABI may come along in the future. Using 'n64' now would
avoid confusion in that case where we may have 2 different
64-bit ABIs.
Suggested-by: Paul Burton
order to make the implementation common across all architect-
ures, add +1 to __NR_syscalls, which will be equal to the last
system call number +1.
Signed-off-by: Firoz Khan
---
arch/mips/include/uapi/asm/unistd.h | 12 ++--
arch/mips/kernel/ftrace.c | 6 +++---
arch/mips
header to
simplifies the implementation. We also need to enclose
this macro with #ifdef __KERNEL__ to avoid side effects.
Signed-off-by: Firoz Khan
---
arch/mips/include/uapi/asm/unistd.h | 17 ++---
1 file changed, 14 insertions(+), 3 deletions(-)
diff --git a/arch/mips/include/uapi/as
.
In order to come up with a common implementation across all archit-
ecture, we need to remove mipsmt_sys_sched_setaffinity and mipsmt-
_sys_sched_getaffinity from the table and define it in other way.
Signed-off-by: Firoz Khan
---
arch/mips/kernel/scall32-o32.S | 24
1
odbye and thanks for
all the fish"), eight years ago.
Signed-off-by: Firoz Khan
---
arch/mips/include/asm/unistd.h | 8
arch/mips/include/uapi/asm/unistd.h | 15 ---
arch/mips/kernel/scall32-o32.S | 3 ---
3 files changed, 26 deletions(-)
diff --git a
table.
ARM, s390 and x86 architecuture does have similar support.
I leverage their implementation to come up with a generic
solution.
Signed-off-by: Firoz Khan
---
arch/mips/kernel/syscalls/Makefile| 96
arch/mips/kernel/syscalls/syscall_n32.tbl | 343
-o32/64-n64/64-n32/-
64-o32.Sfile.
Signed-off-by: Firoz Khan
---
arch/mips/Makefile |3 +
arch/mips/include/asm/Kbuild|4 +
arch/mips/include/asm/unistd.h |3 +
arch/mips/include/uapi/asm/Kbuild |6 +
arch/mips/include/uapi/asm/unistd.h | 1070
Hi Paul,
On Fri, 14 Dec 2018 at 01:45, Paul Burton wrote:
> I've applied v5 but undone the change from __NR_64_* to __NR_N64_*
> because it's part of the UAPI & a github code search showed that it's
> actually used.
>
> Could you take a look at this branch & check that you're OK with it
> before
Hi Folks,
On Tue, 13 Nov 2018 at 15:02, Firoz Khan wrote:
>
> The purpose of this patch series is, we can easily
> add/modify/delete system call table support by cha-
> nging entry in syscall.tbl file instead of manually
> changing many files. The other goal is to unify the
>
Hi Satheesh,
On Mon, 17 Dec 2018 at 13:39, Satheesh Rajendran
wrote:
>
> Hi Firoz,
>
> On Thu, Dec 13, 2018 at 02:32:45PM +0530, Firoz Khan wrote:
> Tried to apply on linus "master" and
> linuxppc-dev(https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.gi
mized/updated the syscall table generation
scripts.
- fixed all mixed indentation issues in syscall.tbl.
- added "comments" in syscall_*.tbl.
- changed from generic-y to generated-y in Kbuild.
Firoz Khan (5):
powerpc: add __NR_syscalls along with NR_syscalls
powerpc: move macro defi
change.
This change will simplify the implementation of system
call table generation script and help to come up a common
implementation across all architecture.
Signed-off-by: Firoz Khan
---
arch/powerpc/include/asm/systbl.h | 1 -
arch/powerpc/kernel/systbl.S | 1 +
2 files changed, 1
other archit-
ectures.
Split out a new compat_sys_call_table symbol that contains
all the compat calls, and leave the main table for the nat-
ive calls, to more closely match the method we use every-
where else.
Suggested-by: Arnd Bergmann
Signed-off-by: Firoz Khan
---
arch/powerpc/include/asm
files will parse the content syscall.tbl to generate the
header and table files.
ARM, s390 and x86 architecuture does have similar support.
I leverage their implementation to come up with a generic
solution.
Signed-off-by: Firoz Khan
---
arch/powerpc/kernel/syscalls/Makefile | 63 +
arch
script invoked by parisc/Makefile and the generated files
against the removed files must be identical.
The generated uapi header file will be included in uapi/-
asm/unistd.h and generated system call table header file
will be included by kernel/systbl.S file.
Signed-off-by: Firoz Khan
---
arch
so need to enclose
this macro with #ifdef __KERNEL__ to avoid side effects.
Signed-off-by: Firoz Khan
---
arch/powerpc/include/asm/unistd.h | 3 +--
arch/powerpc/include/uapi/asm/unistd.h | 5 -
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/arch/powerpc/include/asm/unistd
Hi Michael,
On Mon, 17 Dec 2018 at 16:01, Michael Ellerman wrote:
> No it's fine if it applies on next.
>
> I can also fix up minor merge conflicts if there are any.
Ohh. I already rebased and sent v6.
Thanks
Firoz
On Mon, 10 Dec 2018 at 11:11, Paul Burton wrote:
>
> Hi Firoz,
>
> On Mon, Dec 10, 2018 at 11:05:38AM +0530, Firoz Khan wrote:
> > Please review this patch series and queue it for linux-next.
>
> It's been ~4 days, 2 of which were a weekend. I'll get to it,
Hi Paul,
On Tue, 11 Dec 2018 at 01:21, Paul Burton wrote:
>
> Hi Firoz,
>
> On Thu, Dec 06, 2018 at 10:48:24AM +0530, Firoz Khan wrote:
> > diff --git a/arch/mips/include/uapi/asm/sgidefs.h
> > b/arch/mips/include/uapi/asm/sgidefs.h
> > index 26143e3..0364eec 1006
/
Signed-off-by: Firoz Khan
---
Changes since v1:
- added syscall entry kexec_file_load.
- modified the custom abi from archsp to archs*.
- removed the entry cacheflush.
- modified the entry from arch_specific_syscall to arch_specific_syscall0.
---
scripts/syscalls/syscall.tbl | 358
scripts scripts/syscallnr.sh can generate total
number of syscall which doesn't invoke from this Makefile.
Signed-off-by: Firoz Khan
---
arch/c6x/kernel/syscalls/Makefile | 41 +++
1 file changed, 41 insertions(+)
create mode 100644 arch/c6x/kernel/sys
Add __ARCH_NOMMU in uapi/asm/unistd.h file as a bugfix.
Signed-off-by: Firoz Khan
---
arch/c6x/include/uapi/asm/unistd.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/c6x/include/uapi/asm/unistd.h
b/arch/c6x/include/uapi/asm/unistd.h
index 6b2fe79..9e9ffe5 100644
--- a/arch/c6x
unistd.h and sys_c6x.c files by replacing
asm-generic/unistd.h file.
Signed-off-by: Firoz Khan
---
arch/c6x/Makefile | 3 +++
arch/c6x/include/asm/Kbuild| 1 +
arch/c6x/include/uapi/asm/Kbuild | 1 +
arch/c6x/include/uapi/asm/unistd.h | 14 +-
arch/c6x/kernel
and use syscall.tbl
as inputs. This implementation will replace asm-generic-
/unistd.h.
This patch depends on:
https://lore.kernel.org/lkml/1546439331-18646-1-git-send-email-firoz.k...@linaro.org/
https://lore.kernel.org/lkml/1546520681-24453-1-git-send-email-firoz.k...@linaro.org/
Firoz Khan
, create common ".sh" files and
keep it in the common directory, script/.
This will be a generic scripts which can use for all
the above architectures.
Signed-off-by: Firoz Khan
---
scripts/syscallhdr.sh | 37 +
scripts/syscalln
common ".sh" files and
keep it in the common directory, script/. This will
be a generic scripts which can use for all the above
architectures.
This patch depends on;
https://lore.kernel.org/lkml/1546439331-18646-1-git-send-email-firoz.k...@linaro.org/
Firoz Khan (2):
mips: remove
/scall32-o32/64-n64/64-n32/-
64-o32.Sfile.
Signed-off-by: Firoz Khan
---
arch/mips/kernel/syscalls/Makefile | 6 +++---
arch/mips/kernel/syscalls/syscallhdr.sh | 37 -
arch/mips/kernel/syscalls/syscallnr.sh | 28 -
arch/mips/kernel
will
unifies the implementation with some other architetures
too.
Signed-off-by: Firoz Khan
---
arch/mips/kernel/scall32-o32.S | 2 +-
arch/mips/kernel/scall64-n32.S | 2 +-
arch/mips/kernel/scall64-n64.S | 2 +-
arch/mips/kernel/scall64-o32.S | 2 +-
arch
common ".sh" files and
keep it in the common directory, script/. This will
be a generic scripts which can use for all the above
architectures.
This patch depends on;
https://lore.kernel.org/lkml/1546439331-18646-1-git-send-email-firoz.k...@linaro.org/
Firoz Khan (2):
powerpc: re
will
unifies the implementation with some other architetures
too.
Signed-off-by: Firoz Khan
---
arch/powerpc/kernel/syscalls/syscalltbl.sh | 4 ++--
arch/powerpc/kernel/systbl.S| 6 +++---
arch/powerpc/platforms/cell/spu_callbacks.c | 2 +-
3 files changed, 6 insertions(+), 6 dele
script invoked by parisc/Makefile and the generated files
against the removed files must be identical.
The generated uapi header file will be included in uapi/-
asm/unistd.h and generated system call table header file
will be included by kernel/systbl.S file.
Signed-off-by: Firoz Khan
---
arch
common ".sh" files and
keep it in the common directory, script/. This will
be a generic scripts which can use for all the above
architectures.
This patch depends on;
https://lore.kernel.org/lkml/1546439331-18646-1-git-send-email-firoz.k...@linaro.org/
Firoz Khan (2):
alpha: remove
and the generated files against the removed
files must be identical.
The generated uapi header file will be included in uapi/-
asm/unistd.h and generated system call table header file
will be included by kernel/systbls.S file.
Signed-off-by: Firoz Khan
---
arch/alpha/kernel/syscalls/Makefile
will
unifies the implementation with some other architetures
too.
Signed-off-by: Firoz Khan
---
arch/alpha/kernel/syscalls/syscalltbl.sh | 4 ++--
arch/alpha/kernel/systbls.S | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/alpha/kernel/syscalls/syscalltbl.
common ".sh" files and
keep it in the common directory, script/. This will
be a generic scripts which can use for all the above
architectures.
This patch depends on;
https://lore.kernel.org/lkml/1546439331-18646-1-git-send-email-firoz.k...@linaro.org/
Firoz Khan (2):
microblaze: re
will
unifies the implementation with some other architetures
too.
Signed-off-by: Firoz Khan
---
arch/microblaze/kernel/syscall_table.S| 2 +-
arch/microblaze/kernel/syscalls/syscalltbl.sh | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/microblaze/k
/Makefile and the generated files against the
removed files must be identical.
The generated uapi header file will be included in uapi/-
asm/unistd.h and generated system call table header file
will be included by kernel/syscall_table.S file.
Signed-off-by: Firoz Khan
---
arch/microblaze/kernel
will
unifies the implementation with some other architetures
too.
Signed-off-by: Firoz Khan
---
arch/m68k/kernel/syscalls/syscalltbl.sh | 4 ++--
arch/m68k/kernel/syscalltable.S | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/m68k/kernel/syscalls/syscalltbl.
common ".sh" files and
keep it in the common directory, script/. This will
be a generic scripts which can use for all the above
architectures.
This patch depends on;
https://lore.kernel.org/lkml/1546439331-18646-1-git-send-email-firoz.k...@linaro.org/
Firoz Khan (2):
m68k: remove
the generated files against the removed
files must be identical.
The generated uapi header file will be included in uapi/-
asm/unistd.h and generated system call table header file
will be included by kernel/syscalltable.S file.
Signed-off-by: Firoz Khan
---
arch/m68k/kernel/syscalls/Makefile
the generated files against the removed
files must be identical.
The generated uapi header file will be included in uapi/-
asm/unistd.h and generated system call table header file
will be included by kernel/entry.S file.
Signed-off-by: Firoz Khan
---
arch/ia64/kernel/syscalls/Makefile | 11
common ".sh" files and
keep it in the common directory, script/. This will
be a generic scripts which can use for all the above
architectures.
This patch depends on;
https://lore.kernel.org/lkml/1546439331-18646-1-git-send-email-firoz.k...@linaro.org/
Firoz Khan (2):
ia64: remove
will
unifies the implementation with some other architetures
too.
Signed-off-by: Firoz Khan
---
arch/ia64/kernel/entry.S| 2 +-
arch/ia64/kernel/syscalls/syscalltbl.sh | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/ia64/kernel/entry.S b/arch/ia64/k
common ".sh" files and
keep it in the common directory, script/. This will
be a generic scripts which can use for all the above
architectures.
This patch depends on;
https://lore.kernel.org/lkml/1546439331-18646-1-git-send-email-firoz.k...@linaro.org/
Firoz Khan (2):
xtensa: re
will
unifies the implementation with some other architetures
too.
Signed-off-by: Firoz Khan
---
arch/xtensa/kernel/syscall.c | 2 +-
arch/xtensa/kernel/syscalls/syscalltbl.sh | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/xtensa/kernel/syscall.c b/arch/x
and the generated files against the removed
files must be identical.
The generated uapi header file will be included in uapi/-
asm/unistd.h and generated system call table header file
will be included by kernel/syscall.c file.
Signed-off-by: Firoz Khan
---
arch/xtensa/kernel/syscalls/Makefile
common ".sh" files and
keep it in the common directory, script/. This will
be a generic scripts which can use for all the above
architectures.
This patch depends on;
https://lore.kernel.org/lkml/1546439331-18646-1-git-send-email-firoz.k...@linaro.org/
Firoz Khan (2):
sh: remove
the generated files against the removed
files must be identical.
The generated uapi header file will be included in uapi/-
asm/unistd.h and generated system call table header file
will be included by kernel/syscall_32.S file.
Signed-off-by: Firoz Khan
---
arch/sh/kernel/syscalls/Makefile
will
unifies the implementation with some other architetures
too.
Signed-off-by: Firoz Khan
---
arch/sh/kernel/syscalls/syscalltbl.sh | 4 ++--
arch/sh/kernel/syscalls_32.S | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/sh/kernel/syscalls/syscalltbl.sh
b/ar
will
unifies the implementation with some other architetures
too.
Signed-off-by: Firoz Khan
---
arch/sparc/kernel/syscalls/syscalltbl.sh | 4 ++--
arch/sparc/kernel/systbls_32.S | 2 +-
arch/sparc/kernel/systbls_64.S | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
Rename the sparc not implemented system call - sys_nis_syscall to
sys_ni_syscall to unify the system call table implementation across
all architectures.
This is neccessory to do it if we have to keep the scripts in common
location.
Signed-off-by: Firoz Khan
---
arch/sparc/kernel/syscalls
common ".sh" files and
keep it in the common directory, script/. This will
be a generic scripts which can use for all the above
architectures.
This patch depends on;
https://lore.kernel.org/lkml/1546439331-18646-1-git-send-email-firoz.k...@linaro.org/
Firoz Khan (3):
sparc: remove
invoked by parisc/Makefile and the generated files against
the removed files must be identical.
The generated uapi header file will be included in uapi/-
asm/unistd.h and generated system call table header file
will be included by kernel/systbls_32/64.S file.
Signed-off-by: Firoz Khan
---
arch
will
unifies the implementation with some other architetures
too.
Signed-off-by: Firoz Khan
---
arch/parisc/kernel/syscall.S | 2 +-
arch/parisc/kernel/syscalls/syscalltbl.sh | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/parisc/kernel/syscall.S b/arch/p
From: Firoz Khan
Unified system call table generation script must be run to
generate unistd_32/64.h and syscall_table_32/64/c32.h files.
This patch will have changes which will invokes the script.
This patch will generate unistd_32/64.h and syscall_table-
_32/64/c32.h files by the syscall table
common ".sh" files and
keep it in the common directory, script/. This will
be a generic scripts which can use for all the above
architectures.
This patch depends on;
https://lore.kernel.org/lkml/1546439331-18646-1-git-send-email-firoz.k...@linaro.org/
Firoz Khan (2):
parisc: re
Hi Geert,
Thanks for your feedback.
On Thu, 3 Jan 2019 at 16:15, Geert Uytterhoeven wrote:
> >
> > while [ $t_nxt -lt $t_nr ]; do
> > - printf "__SYSCALL(%s, sys_ni_syscall, )\n" "${t_nxt}"
> > + printf "__SYSCALL(%s,sys_ni_syscall)\n" "${t_nxt}"
>
> Please ke
++ adding more folks I closely worked with :)
On Wed, 2 Jan 2019 at 19:59, Firoz Khan wrote:
>
> System call table generation support is provided for
> alpha, ia64, m68k, microblaze, mips, parisc, powerpc,
> sh, sparc and xtensa architectures. The implementat-
> ions are almost
Hi Geert,
On Thu, 3 Jan 2019 at 17:04, Firoz Khan wrote:
> > +fileguard=_UAPI_ASM_`basename "$out" | sed \
>
> Currently, all but MIPS have the architecture name included in
> the file guard. Shouldn't that be retained?
I was planning to do something similar
1 - 100 of 151 matches
Mail list logo