LKML Archive on lore.kernel.org
 help / Atom feed
* [PATCH 0/3] System call table generation support
@ 2018-09-14  8:32 Firoz Khan
  2018-09-14  8:32 ` [PATCH 1/3] powerpc: Replace NR_syscalls macro from asm/unistd.h Firoz Khan
                   ` (3 more replies)
  0 siblings, 4 replies; 23+ messages in thread
From: Firoz Khan @ 2018-09-14  8:32 UTC (permalink / raw)
  To: Arnd Bergmann, linuxppc-dev, Benjamin Herrenschmidt,
	Paul Mackerras, Michael Ellerman, Ram Pai, Breno Leitao,
	Boqun Feng, Greg Kroah-Hartman, Philippe Ombredanne,
	Thomas Gleixner, Kate Stewart
  Cc: y2038, linux-kernel, linux-arch, deepa.kernel,
	marcin.juszkiewicz, firoz.khan

The purpose of this patch series is:
1. We can easily add/modify/delete system call by changing entry 
in syscall.tbl file. No need to manually edit many files.

2. It is easy to unify the system call implementation across all 
the architectures. 

The system call tables are in different format in all architecture 
and it will be difficult to manually add or modify the system calls
in the respective files manually. To make it easy by keeping a script 
and which'll generate the header file and syscall table file so this 
change will unify them across all architectures.

syscall.tbl contains the list of available system calls along with 
system call number and corresponding entry point. Add a new system 
call in this architecture will be possible by adding new entry in 
the syscall.tbl file.

Adding a new table entry consisting of:
        - System call number.
        - ABI.
        - System call name.
        - Entry point name.
        - Compat entry name, if required.

ARM, s390 and x86 architecuture does exist the similar support. I 
leverage their implementation to come up with a generic solution.

I have done the same support for work for alpha, m68k, microblaze, 
ia64, mips, parisc, sh, sparc, and xtensa. But I started sending 
the patch for one architecuture for review. Below mentioned git
repository contains more details.
Git repo:- https://github.com/frzkhn/system_call_table_generator/

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.

I started working system call table generation on 4.17-rc1. I used 
marcin's script - https://github.com/hrw/syscalls-table to generate 
the syscall.tbl file. And this will be the input to the system call 
table generation script. But there are couple system call got add 
in the latest rc release. If run Marcin's script on latest release,
It will generate a new syscall.tbl. But I still use the old file - 
syscall.tbl and once all review got over I'll update syscall.tbl 
alone w.r.to the tip of the kernel. The impact of this thing, few 
of the system call won't work. 

Firoz Khan (3):
  powerpc: Replace NR_syscalls macro from asm/unistd.h
  powerpc: Add system call table generation support
  powerpc: uapi header and system call table file generation

 arch/powerpc/Makefile                       |   3 +
 arch/powerpc/include/asm/Kbuild             |   3 +
 arch/powerpc/include/asm/unistd.h           |   3 +-
 arch/powerpc/include/uapi/asm/Kbuild        |   2 +
 arch/powerpc/include/uapi/asm/unistd.h      | 391 +---------------------------
 arch/powerpc/kernel/Makefile                |   3 +-
 arch/powerpc/kernel/syscall_table_32.S      |   9 +
 arch/powerpc/kernel/syscall_table_64.S      |  17 ++
 arch/powerpc/kernel/syscalls/Makefile       |  51 ++++
 arch/powerpc/kernel/syscalls/syscall_32.tbl | 378 +++++++++++++++++++++++++++
 arch/powerpc/kernel/syscalls/syscall_64.tbl | 372 ++++++++++++++++++++++++++
 arch/powerpc/kernel/syscalls/syscallhdr.sh  |  37 +++
 arch/powerpc/kernel/syscalls/syscalltbl.sh  |  38 +++
 arch/powerpc/kernel/systbl.S                |  50 ----
 14 files changed, 916 insertions(+), 441 deletions(-)
 create mode 100644 arch/powerpc/kernel/syscall_table_32.S
 create mode 100644 arch/powerpc/kernel/syscall_table_64.S
 create mode 100644 arch/powerpc/kernel/syscalls/Makefile
 create mode 100644 arch/powerpc/kernel/syscalls/syscall_32.tbl
 create mode 100644 arch/powerpc/kernel/syscalls/syscall_64.tbl
 create mode 100644 arch/powerpc/kernel/syscalls/syscallhdr.sh
 create mode 100644 arch/powerpc/kernel/syscalls/syscalltbl.sh
 delete mode 100644 arch/powerpc/kernel/systbl.S

-- 
1.9.1


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [PATCH 1/3] powerpc: Replace NR_syscalls macro from asm/unistd.h
  2018-09-14  8:32 [PATCH 0/3] System call table generation support Firoz Khan
@ 2018-09-14  8:32 ` Firoz Khan
  2018-09-14  8:32 ` [PATCH 2/3] powerpc: Add system call table generation support Firoz Khan
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 23+ messages in thread
From: Firoz Khan @ 2018-09-14  8:32 UTC (permalink / raw)
  To: Arnd Bergmann, linuxppc-dev, Benjamin Herrenschmidt,
	Paul Mackerras, Michael Ellerman, Ram Pai, Breno Leitao,
	Boqun Feng, Greg Kroah-Hartman, Philippe Ombredanne,
	Thomas Gleixner, Kate Stewart
  Cc: y2038, linux-kernel, linux-arch, deepa.kernel,
	marcin.juszkiewicz, firoz.khan

__NR_syscalls macro holds the number of system call exist in POWERPC
architecture. This macro is currently the part of asm/unistd.h file.
We have to change the value of __NR_syscalls, if we add or delete a
system call.

One of the patch in this patch series has a script which will generate
a uapi header based on syscall.tbl file. The syscall.tbl file contains
the number of system call information. So we have two option to update
__NR_syscalls value.

1. Update __NR_syscalls in asm/unistd.h manually by counting the
   no.of system calls. No need to update __NR_syscalls untill
   we either add a new system call or delete an existing system
   call.

2. We can keep this feature it above mentioned script, that'll
   count the number of syscalls and keep it in a generated file.
   In this case we don't need to explicitly update __NR_syscalls
   in asm/unistd.h file.

The 2nd option will be the recommended one. For that, I moved the
NR_syscalls macro from asm/unistd.h to uapi/asm/unistd.h. The macro
name also changed form NR_syscalls to __NR_syscalls for making the
name convention same across all architecture. While __NR_syscalls
isn't strictly part of the uapi, having it as part of the generated
header to simplifies the implementation.

Signed-off-by: Firoz Khan <firoz.khan@linaro.org>
---
 arch/powerpc/include/asm/unistd.h      | 3 +--
 arch/powerpc/include/uapi/asm/unistd.h | 2 ++
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/arch/powerpc/include/asm/unistd.h b/arch/powerpc/include/asm/unistd.h
index c19379f..54732f9 100644
--- a/arch/powerpc/include/asm/unistd.h
+++ b/arch/powerpc/include/asm/unistd.h
@@ -11,8 +11,7 @@
 
 #include <uapi/asm/unistd.h>
 
-
-#define NR_syscalls		389
+#define NR_syscalls  __NR_syscalls
 
 #define __NR__exit __NR_exit
 
diff --git a/arch/powerpc/include/uapi/asm/unistd.h b/arch/powerpc/include/uapi/asm/unistd.h
index 985534d..f999df2 100644
--- a/arch/powerpc/include/uapi/asm/unistd.h
+++ b/arch/powerpc/include/uapi/asm/unistd.h
@@ -401,4 +401,6 @@
 #define __NR_rseq		387
 #define __NR_io_pgetevents	388
 
+#define __NR_syscalls           389
+
 #endif /* _UAPI_ASM_POWERPC_UNISTD_H_ */
-- 
1.9.1


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [PATCH 2/3] powerpc: Add system call table generation support
  2018-09-14  8:32 [PATCH 0/3] System call table generation support Firoz Khan
  2018-09-14  8:32 ` [PATCH 1/3] powerpc: Replace NR_syscalls macro from asm/unistd.h Firoz Khan
@ 2018-09-14  8:32 ` Firoz Khan
  2018-09-14 10:01   ` Arnd Bergmann
  2018-09-14  8:33 ` [PATCH 3/3] powerpc: uapi header and system call table file generation Firoz Khan
  2018-11-29  6:34 ` [PATCH 0/3] System call table generation support Satheesh Rajendran
  3 siblings, 1 reply; 23+ messages in thread
From: Firoz Khan @ 2018-09-14  8:32 UTC (permalink / raw)
  To: Arnd Bergmann, linuxppc-dev, Benjamin Herrenschmidt,
	Paul Mackerras, Michael Ellerman, Ram Pai, Breno Leitao,
	Boqun Feng, Greg Kroah-Hartman, Philippe Ombredanne,
	Thomas Gleixner, Kate Stewart
  Cc: y2038, linux-kernel, linux-arch, deepa.kernel,
	marcin.juszkiewicz, firoz.khan

The system call tables are in different format in all
architecture and it will be difficult to manually add or
modify the system calls in the respective files. To make
it easy by keeping a script and which'll generate the
header file and syscall table file so this change will
unify them across all architectures.

The system call table generation script is added in
syscalls directory which contain the script to generate
both uapi header file system call table generation file
and syscall_32/64.tbl file which'll be the input for the
scripts.

syscall_32/64.tbl contains the list of available system calls
along with system call number and corresponding entry point.
Add a new system call in this architecture will be possible
by adding new entry in the syscall_32/64.tbl file.

Adding a new table entry consisting of:
        - System call number.
        - ABI.
        - System call name.
        - Entry point name.
	- Compat entry name, if required.

syscallhdr.sh and syscalltbl.sh will generate uapi header-
unistd_32/64.h and syscall_table_32/64/c32.h files respectively.
File syscall_table_32/64/c32.h is included by syscall.S - the
real system call table. Both .sh 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 <firoz.khan@linaro.org>
---
 arch/powerpc/kernel/syscalls/Makefile       |  51 ++++
 arch/powerpc/kernel/syscalls/syscall_32.tbl | 378 ++++++++++++++++++++++++++++
 arch/powerpc/kernel/syscalls/syscall_64.tbl | 372 +++++++++++++++++++++++++++
 arch/powerpc/kernel/syscalls/syscallhdr.sh  |  37 +++
 arch/powerpc/kernel/syscalls/syscalltbl.sh  |  38 +++
 5 files changed, 876 insertions(+)
 create mode 100644 arch/powerpc/kernel/syscalls/Makefile
 create mode 100644 arch/powerpc/kernel/syscalls/syscall_32.tbl
 create mode 100644 arch/powerpc/kernel/syscalls/syscall_64.tbl
 create mode 100644 arch/powerpc/kernel/syscalls/syscallhdr.sh
 create mode 100644 arch/powerpc/kernel/syscalls/syscalltbl.sh

diff --git a/arch/powerpc/kernel/syscalls/Makefile b/arch/powerpc/kernel/syscalls/Makefile
new file mode 100644
index 0000000..0c87acb
--- /dev/null
+++ b/arch/powerpc/kernel/syscalls/Makefile
@@ -0,0 +1,51 @@
+# SPDX-License-Identifier: GPL-2.0
+out := arch/$(SRCARCH)/include/generated/asm
+uapi := arch/$(SRCARCH)/include/generated/uapi/asm
+
+_dummy := $(shell [ -d '$(uapi)' ] || mkdir -p '$(uapi)') \
+	  $(shell [ -d '$(out)' ] || mkdir -p '$(out)')
+
+syscall32 := $(srctree)/$(src)/syscall_32.tbl
+syscall64 := $(srctree)/$(src)/syscall_64.tbl
+
+syshdr := $(srctree)/$(src)/syscallhdr.sh
+systbl := $(srctree)/$(src)/syscalltbl.sh
+
+quiet_cmd_syshdr = SYSHDR  $@
+      cmd_syshdr = $(CONFIG_SHELL) '$(syshdr)' '$<' '$@'  \
+		   '$(syshdr_abi_$(basetarget))'          \
+		   '$(syshdr_pfx_$(basetarget))'          \
+		   '$(syshdr_offset_$(basetarget))'
+
+quiet_cmd_systbl = SYSTBL  $@
+      cmd_systbl = $(CONFIG_SHELL) '$(systbl)' '$<' '$@'  \
+		   '$(systbl_abi_$(basetarget))'
+
+$(uapi)/unistd_32.h: $(syscall32) $(syshdr)
+	$(call if_changed,syshdr)
+
+$(uapi)/unistd_64.h: $(syscall64) $(syshdr)
+	$(call if_changed,syshdr)
+
+systbl_abi_syscall_table_32 := 32
+$(out)/syscall_table_32.h: $(syscall32) $(systbl)
+	$(call if_changed,systbl)
+
+systbl_abi_syscall_table_64 := 64
+$(out)/syscall_table_64.h: $(syscall64) $(systbl)
+	$(call if_changed,systbl)
+
+systbl_abi_syscall_table_c32 := c32
+$(out)/syscall_table_c32.h: $(syscall32) $(systbl)
+	$(call if_changed,systbl)
+
+uapisyshdr-y			+= unistd_32.h unistd_64.h
+syshdr-y			+= syscall_table_32.h syscall_table_64.h \
+				   syscall_table_c32.h
+
+targets	+= $(uapisyshdr-y) $(syshdr-y)
+
+PHONY += all
+all: $(addprefix $(uapi)/,$(uapisyshdr-y))
+all: $(addprefix $(out)/,$(syshdr-y))
+	@:
diff --git a/arch/powerpc/kernel/syscalls/syscall_32.tbl b/arch/powerpc/kernel/syscalls/syscall_32.tbl
new file mode 100644
index 0000000..50c419c
--- /dev/null
+++ b/arch/powerpc/kernel/syscalls/syscall_32.tbl
@@ -0,0 +1,378 @@
+#
+# 32-bit system call numbers and entry vectors
+#
+# The format is:
+# <number> <abi> <name> <entry point> <compat entry point>
+#
+# The abi is always "common" for this file.
+#
+0       common  restart_syscall                 sys_restart_syscall             
+1       common  exit                            sys_exit                        
+2       common  fork                            ppc_fork                        
+3       common  read                            sys_read                        
+4       common  write                           sys_write                       
+5       common  open                            sys_open                        compat_sys_open
+6       common  close                           sys_close                       
+7       common  waitpid                         sys_waitpid                     
+8       common  creat                           sys_creat                       
+9       common  link                            sys_link                        
+10      common  unlink                          sys_unlink                      
+11      common  execve                          sys_execve                      compat_sys_execve
+12      common  chdir                           sys_chdir                       
+13      common  time                            sys_time                        compat_sys_time
+14      common  mknod                           sys_mknod                       
+15      common  chmod                           sys_chmod                       
+16      common  lchown                          sys_lchown                      
+19      common  lseek                           sys_lseek                       compat_sys_lseek
+20      common  getpid                          sys_getpid                      
+21      common  mount                           sys_mount                       compat_sys_mount
+22      common  umount                          sys_oldumount                   
+23      common  setuid                          sys_setuid                      
+24      common  getuid                          sys_getuid                      
+25      common  stime                           sys_stime                       compat_sys_stime
+26      common  ptrace                          sys_ptrace                      compat_sys_ptrace
+27      common  alarm                           sys_alarm                       
+28      common  oldfstat                        
+29      common  pause                           sys_pause                       
+30      common  utime                           sys_utime                       compat_sys_utime
+31      common  stty                            sys_ni_syscall                  
+32      common  gtty                            sys_ni_syscall                  
+33      common  access                          sys_access                      
+34      common  nice                            sys_nice                        
+35      common  ftime                           sys_ni_syscall                  
+36      common  sync                            sys_sync                        
+37      common  kill                            sys_kill                        
+38      common  rename                          sys_rename                      
+39      common  mkdir                           sys_mkdir                       
+40      common  rmdir                           sys_rmdir                       
+41      common  dup                             sys_dup                         
+42      common  pipe                            sys_pipe                        
+43      common  times                           sys_times                       compat_sys_times
+44      common  prof                            sys_ni_syscall                  
+45      common  brk                             sys_brk                         
+46      common  setgid                          sys_setgid                      
+47      common  getgid                          sys_getgid                      
+48      common  signal                          sys_signal                      
+49      common  geteuid                         sys_geteuid                     
+50      common  getegid                         sys_getegid                     
+51      common  acct                            sys_acct                        
+52      common  umount2                         sys_umount                      
+53      common  lock                            sys_ni_syscall                  
+54      common  ioctl                           sys_ioctl                       compat_sys_ioctl
+55      common  fcntl                           sys_fcntl                       compat_sys_fcntl
+56      common  mpx                             sys_ni_syscall                  
+57      common  setpgid                         sys_setpgid                     
+58      common  ulimit                          sys_ni_syscall                  
+59      common  oldolduname                     sys_olduname                    
+60      common  umask                           sys_umask                       
+61      common  chroot                          sys_chroot                      
+62      common  ustat                           sys_ustat                       compat_sys_ustat
+63      common  dup2                            sys_dup2                        
+64      common  getppid                         sys_getppid                     
+65      common  getpgrp                         sys_getpgrp                     
+66      common  setsid                          sys_setsid                      
+67      common  sigaction                       
+68      common  sgetmask                        sys_sgetmask                    
+69      common  ssetmask                        sys_ssetmask                    
+70      common  setreuid                        sys_setreuid                    
+71      common  setregid                        sys_setregid                    
+72      common  sigsuspend                      sys_sigsuspend
+73      common  sigpending                      sys_sigpending                  compat_sys_sigpending
+74      common  sethostname                     sys_sethostname                 
+75      common  setrlimit                       sys_setrlimit                   compat_sys_setrlimit
+76      common  getrlimit                       sys_old_getrlimit               compat_sys_old_getrlimit
+77      common  getrusage                       sys_getrusage                   compat_sys_getrusage
+78      common  gettimeofday                    sys_gettimeofday                compat_sys_gettimeofday
+79      common  settimeofday                    sys_settimeofday                compat_sys_settimeofday
+80      common  getgroups                       sys_getgroups                   
+81      common  setgroups                       sys_setgroups                   
+82      common  select                          
+83      common  symlink                         sys_symlink                     
+84      common  oldlstat                        
+85      common  readlink                        sys_readlink                    
+86      common  uselib                          sys_uselib                      
+87      common  swapon                          sys_swapon                      
+88      common  reboot                          sys_reboot                      
+89      common  readdir                         sys_old_readdir                 compat_sys_old_readdir
+90      common  mmap                            sys_mmap                        
+91      common  munmap                          sys_munmap                      
+92      common  truncate                        sys_truncate                    compat_sys_truncate
+93      common  ftruncate                       sys_ftruncate                   compat_sys_ftruncate
+94      common  fchmod                          sys_fchmod                      
+95      common  fchown                          sys_fchown                      
+96      common  getpriority                     sys_getpriority                 
+97      common  setpriority                     sys_setpriority                 
+98      common  profil                          sys_ni_syscall                  
+99      common  statfs                          sys_statfs                      compat_sys_statfs
+100     common  fstatfs                         sys_fstatfs                     compat_sys_fstatfs
+101     common  ioperm                          sys_ni_syscall                  
+102     common  socketcall                      sys_socketcall                  compat_sys_socketcall
+103     common  syslog                          sys_syslog                      
+104     common  setitimer                       sys_setitimer                   compat_sys_setitimer
+105     common  getitimer                       sys_getitimer                   compat_sys_getitimer
+106     common  stat                            sys_newstat                     compat_sys_newstat
+107     common  lstat                           sys_newlstat
+108     common  fstat                           sys_newfstat
+109     common  olduname                        sys_uname                       
+110     common  iopl                            sys_ni_syscall                  
+111     common  vhangup                         sys_vhangup                     
+112     common  idle                            sys_ni_syscall                  
+113     common  vm86                            sys_ni_syscall                  
+114     common  wait4                           sys_wait4                       compat_sys_wait4
+115     common  swapoff                         sys_swapoff                     
+116     common  sysinfo                         sys_sysinfo                     compat_sys_sysinfo
+117     common  ipc                             sys_ipc                         compat_sys_ipc
+118     common  fsync                           sys_fsync                       
+119     common  sigreturn                       
+120     common  clone                           ppc_clone                       
+121     common  setdomainname                   sys_setdomainname               
+122     common  uname                           sys_newuname                    
+123     common  modify_ldt                      sys_ni_syscall                  
+124     common  adjtimex                        sys_adjtimex                    compat_sys_adjtimex
+125     common  mprotect                        sys_mprotect                    
+126     common  sigprocmask                     sys_sigprocmask                 compat_sys_sigprocmask
+127     common  create_module                   sys_ni_syscall                  
+128     common  init_module                     sys_init_module                 
+129     common  delete_module                   sys_delete_module               
+130     common  get_kernel_syms                 sys_ni_syscall                  
+131     common  quotactl                        sys_quotactl                    
+132     common  getpgid                         sys_getpgid                     
+133     common  fchdir                          sys_fchdir                      
+134     common  bdflush                         sys_bdflush                     
+135     common  sysfs                           sys_sysfs                       
+136     common  personality                     sys_personality                 ppc64_personality
+137     common  afs_syscall                     sys_ni_syscall                  
+138     common  setfsuid                        sys_setfsuid                    
+139     common  setfsgid                        sys_setfsgid                    
+140     common  _llseek                         sys_llseek                      
+141     common  getdents                        sys_getdents                    compat_sys_getdents
+142     common  _newselect                      sys_select
+143     common  flock                           sys_flock                       
+144     common  msync                           sys_msync                       
+145     common  readv                           sys_readv                       compat_sys_readv
+146     common  writev                          sys_writev                      compat_sys_writev
+147     common  getsid                          sys_getsid                      
+148     common  fdatasync                       sys_fdatasync                   
+149     common  _sysctl                         sys_sysctl                      compat_sys_sysctl
+150     common  mlock                           sys_mlock                       
+151     common  munlock                         sys_munlock                     
+152     common  mlockall                        sys_mlockall                    
+153     common  munlockall                      sys_munlockall                  
+154     common  sched_setparam                  sys_sched_setparam              
+155     common  sched_getparam                  sys_sched_getparam              
+156     common  sched_setscheduler              sys_sched_setscheduler          
+157     common  sched_getscheduler              sys_sched_getscheduler          
+158     common  sched_yield                     sys_sched_yield                 
+159     common  sched_get_priority_max          sys_sched_get_priority_max      
+160     common  sched_get_priority_min          sys_sched_get_priority_min      
+161     common  sched_rr_get_interval           sys_sched_rr_get_interval       compat_sys_sched_rr_get_interval
+162     common  nanosleep                       sys_nanosleep                   compat_sys_nanosleep
+163     common  mremap                          sys_mremap                      
+164     common  setresuid                       sys_setresuid                   
+165     common  getresuid                       sys_getresuid                   
+166     common  query_module                    sys_ni_syscall                  
+167     common  poll                            sys_poll                        
+168     common  nfsservctl                      sys_ni_syscall                  
+169     common  setresgid                       sys_setresgid                   
+170     common  getresgid                       sys_getresgid                   
+171     common  prctl                           sys_prctl                       
+172     common  rt_sigreturn                    sys_rt_sigreturn                compat_sys_rt_sigreturn
+173     common  rt_sigaction                    sys_rt_sigaction                compat_sys_rt_sigaction
+174     common  rt_sigprocmask                  sys_rt_sigprocmask              compat_sys_rt_sigprocmask
+175     common  rt_sigpending                   sys_rt_sigpending               compat_sys_rt_sigpending
+176     common  rt_sigtimedwait                 sys_rt_sigtimedwait             compat_sys_rt_sigtimedwait
+177     common  rt_sigqueueinfo                 sys_rt_sigqueueinfo             compat_sys_rt_sigqueueinfo
+178     common  rt_sigsuspend                   sys_rt_sigsuspend               compat_sys_rt_sigsuspend
+179     common  pread64                         sys_pread64                     compat_sys_pread64
+180     common  pwrite64                        sys_pwrite64                    compat_sys_pwrite64
+181     common  chown                           sys_chown                       
+182     common  getcwd                          sys_getcwd                      
+183     common  capget                          sys_capget                      
+184     common  capset                          sys_capset                      
+185     common  sigaltstack                     sys_sigaltstack                 compat_sys_sigaltstack
+186     common  sendfile                        sys_sendfile                    compat_sys_sendfile
+187     common  getpmsg                         sys_ni_syscall                  
+188     common  putpmsg                         sys_ni_syscall                  
+189     common  vfork                           ppc_vfork                       
+190     common  ugetrlimit                      sys_getrlimit                   compat_sys_getrlimit
+191     common  readahead                       sys_readahead                   compat_sys_readahead
+192     common  mmap2                           sys_mmap2                       compat_sys_mmap2
+193     common  truncate64                      
+194     common  ftruncate64                     
+195     common  stat64                          sys_stat64                      
+196     common  lstat64                         sys_lstat64                     
+197     common  fstat64                         sys_fstat64                     
+198     common  pciconfig_read                  sys_pciconfig_read              
+199     common  pciconfig_write                 sys_pciconfig_write             
+200     common  pciconfig_iobase                sys_pciconfig_iobase            
+201     common  multiplexer                     sys_ni_syscall                  
+202     common  getdents64                      sys_getdents64                  
+203     common  pivot_root                      sys_pivot_root                  
+204     common  fcntl64                         
+205     common  madvise                         sys_madvise                     
+206     common  mincore                         sys_mincore                     
+207     common  gettid                          sys_gettid                      
+208     common  tkill                           sys_tkill                       
+209     common  setxattr                        sys_setxattr                    
+210     common  lsetxattr                       sys_lsetxattr                   
+211     common  fsetxattr                       sys_fsetxattr                   
+212     common  getxattr                        sys_getxattr                    
+213     common  lgetxattr                       sys_lgetxattr                   
+214     common  fgetxattr                       sys_fgetxattr                   
+215     common  listxattr                       sys_listxattr                   
+216     common  llistxattr                      sys_llistxattr                  
+217     common  flistxattr                      sys_flistxattr                  
+218     common  removexattr                     sys_removexattr                 
+219     common  lremovexattr                    sys_lremovexattr                
+220     common  fremovexattr                    sys_fremovexattr                
+221     common  futex                           sys_futex                       compat_sys_futex
+222     common  sched_setaffinity               sys_sched_setaffinity           compat_sys_sched_setaffinity
+223     common  sched_getaffinity               sys_sched_getaffinity           compat_sys_sched_getaffinity
+225     common  tuxcall                         sys_ni_syscall                  
+226     common  sendfile64                      sys_sendfile64                  compat_sys_sendfile64
+227     common  io_setup                        sys_io_setup                    compat_sys_io_setup
+228     common  io_destroy                      sys_io_destroy                  
+229     common  io_getevents                    sys_io_getevents                compat_sys_io_getevents
+230     common  io_submit                       sys_io_submit                   compat_sys_io_submit
+231     common  io_cancel                       sys_io_cancel                   
+232     common  set_tid_address                 sys_set_tid_address             
+233     common  fadvise64                       sys_fadvise64                   ppc32_fadvise64
+234     common  exit_group                      sys_exit_group                  
+235     common  lookup_dcookie                  sys_lookup_dcookie              compat_sys_lookup_dcookie
+236     common  epoll_create                    sys_epoll_create                
+237     common  epoll_ctl                       sys_epoll_ctl                   
+238     common  epoll_wait                      sys_epoll_wait                  
+239     common  remap_file_pages                sys_remap_file_pages            
+240     common  timer_create                    sys_timer_create                compat_sys_timer_create
+241     common  timer_settime                   sys_timer_settime               compat_sys_timer_settime
+242     common  timer_gettime                   sys_timer_gettime               compat_sys_timer_gettime
+243     common  timer_getoverrun                sys_timer_getoverrun            
+244     common  timer_delete                    sys_timer_delete                
+245     common  clock_settime                   sys_clock_settime               compat_sys_clock_settime
+246     common  clock_gettime                   sys_clock_gettime               compat_sys_clock_gettime
+247     common  clock_getres                    sys_clock_getres                compat_sys_clock_getres
+248     common  clock_nanosleep                 sys_clock_nanosleep             compat_sys_clock_nanosleep
+249     common  swapcontext                     
+250     common  tgkill                          sys_tgkill                      
+251     common  utimes                          sys_utimes                      compat_sys_utimes
+252     common  statfs64                        sys_statfs64                    compat_sys_statfs64
+253     common  fstatfs64                       sys_fstatfs64                   compat_sys_fstatfs64
+254     common  fadvise64_64                    ppc_fadvise64_64                
+256     common  sys_debug_setcontext            
+258     common  migrate_pages                   sys_ni_syscall                  
+259     common  mbind                           sys_mbind                       compat_sys_mbind
+260     common  get_mempolicy                   sys_get_mempolicy               compat_sys_get_mempolicy
+261     common  set_mempolicy                   sys_set_mempolicy               compat_sys_set_mempolicy
+262     common  mq_open                         sys_mq_open                     compat_sys_mq_open
+263     common  mq_unlink                       sys_mq_unlink                   
+264     common  mq_timedsend                    sys_mq_timedsend                compat_sys_mq_timedsend
+265     common  mq_timedreceive                 sys_mq_timedreceive             compat_sys_mq_timedreceive
+266     common  mq_notify                       sys_mq_notify                   compat_sys_mq_notify
+267     common  mq_getsetattr                   sys_mq_getsetattr               compat_sys_mq_getsetattr
+268     common  kexec_load                      sys_kexec_load                  compat_sys_kexec_load
+269     common  add_key                         sys_add_key                     
+270     common  request_key                     sys_request_key                 
+271     common  keyctl                          sys_keyctl                      compat_sys_keyctl
+272     common  waitid                          sys_waitid                      compat_sys_waitid
+273     common  ioprio_set                      sys_ioprio_set                  
+274     common  ioprio_get                      sys_ioprio_get                  
+275     common  inotify_init                    sys_inotify_init                
+276     common  inotify_add_watch               sys_inotify_add_watch           
+277     common  inotify_rm_watch                sys_inotify_rm_watch            
+278     common  spu_run                         sys_spu_run                     
+279     common  spu_create                      sys_spu_create                  
+280     common  pselect6                        sys_pselect6                    compat_sys_pselect6
+281     common  ppoll                           sys_ppoll                       compat_sys_ppoll
+282     common  unshare                         sys_unshare                     
+283     common  splice                          sys_splice                      
+284     common  tee                             sys_tee                         
+285     common  vmsplice                        sys_vmsplice                    compat_sys_vmsplice
+286     common  openat                          sys_openat                      compat_sys_openat
+287     common  mkdirat                         sys_mkdirat                     
+288     common  mknodat                         sys_mknodat                     
+289     common  fchownat                        sys_fchownat                    
+290     common  futimesat                       sys_futimesat                   compat_sys_futimesat
+291     common  fstatat64                       sys_fstatat64                   
+292     common  unlinkat                        sys_unlinkat                    
+293     common  renameat                        sys_renameat                    
+294     common  linkat                          sys_linkat                      
+295     common  symlinkat                       sys_symlinkat                   
+296     common  readlinkat                      sys_readlinkat                  
+297     common  fchmodat                        sys_fchmodat                    
+298     common  faccessat                       sys_faccessat                   
+299     common  get_robust_list                 sys_get_robust_list             compat_sys_get_robust_list
+300     common  set_robust_list                 sys_set_robust_list             compat_sys_set_robust_list
+301     common  move_pages                      sys_move_pages                  compat_sys_move_pages
+302     common  getcpu                          sys_getcpu                      
+303     common  epoll_pwait                     sys_epoll_pwait                 compat_sys_epoll_pwait
+304     common  utimensat                       sys_utimensat                   compat_sys_utimensat
+305     common  signalfd                        sys_signalfd                    compat_sys_signalfd
+306     common  timerfd_create                  sys_timerfd_create              
+307     common  eventfd                         sys_eventfd                     
+308     common  sync_file_range2                sys_sync_file_range2            compat_sys_sync_file_range2
+309     common  fallocate                       sys_fallocate                   compat_sys_fallocate
+310     common  subpage_prot                    sys_subpage_prot                
+311     common  timerfd_settime                 sys_timerfd_settime             compat_sys_timerfd_settime
+312     common  timerfd_gettime                 sys_timerfd_gettime             compat_sys_timerfd_gettime
+313     common  signalfd4                       sys_signalfd4                   compat_sys_signalfd4
+314     common  eventfd2                        sys_eventfd2                    
+315     common  epoll_create1                   sys_epoll_create1               
+316     common  dup3                            sys_dup3                        
+317     common  pipe2                           sys_pipe2                       
+318     common  inotify_init1                   sys_inotify_init1               
+319     common  perf_event_open                 sys_perf_event_open             
+320     common  preadv                          sys_preadv                      compat_sys_preadv
+321     common  pwritev                         sys_pwritev                     compat_sys_pwritev
+322     common  rt_tgsigqueueinfo               sys_rt_tgsigqueueinfo           compat_sys_rt_tgsigqueueinfo
+323     common  fanotify_init                   sys_fanotify_init               
+324     common  fanotify_mark                   sys_fanotify_mark               compat_sys_fanotify_mark
+325     common  prlimit64                       sys_prlimit64                   
+326     common  socket                          sys_socket                      
+327     common  bind                            sys_bind                        
+328     common  connect                         sys_connect                     
+329     common  listen                          sys_listen                      
+330     common  accept                          sys_accept                      
+331     common  getsockname                     sys_getsockname                 
+332     common  getpeername                     sys_getpeername                 
+333     common  socketpair                      sys_socketpair                  
+334     common  send                            sys_send                        
+335     common  sendto                          sys_sendto                      
+336     common  recv                            sys_recv                        compat_sys_recv
+337     common  recvfrom                        sys_recvfrom                    compat_sys_recvfrom
+338     common  shutdown                        sys_shutdown                    
+339     common  setsockopt                      sys_setsockopt                  compat_sys_setsockopt
+340     common  getsockopt                      sys_getsockopt                  compat_sys_getsockopt
+341     common  sendmsg                         sys_sendmsg                     compat_sys_sendmsg
+342     common  recvmsg                         sys_recvmsg                     compat_sys_recvmsg
+343     common  recvmmsg                        sys_recvmmsg                    compat_sys_recvmmsg
+344     common  accept4                         sys_accept4                     
+345     common  name_to_handle_at               sys_name_to_handle_at           
+346     common  open_by_handle_at               sys_open_by_handle_at           compat_sys_open_by_handle_at
+347     common  clock_adjtime                   sys_clock_adjtime               compat_sys_clock_adjtime
+348     common  syncfs                          sys_syncfs                      
+349     common  sendmmsg                        sys_sendmmsg                    compat_sys_sendmmsg
+350     common  setns                           sys_setns                       
+351     common  process_vm_readv                sys_process_vm_readv            compat_sys_process_vm_readv
+352     common  process_vm_writev               sys_process_vm_writev           compat_sys_process_vm_writev
+353     common  finit_module                    sys_finit_module                
+354     common  kcmp                            sys_kcmp                        
+355     common  sched_setattr                   sys_sched_setattr               
+356     common  sched_getattr                   sys_sched_getattr               
+357     common  renameat2                       sys_renameat2                   
+358     common  seccomp                         sys_seccomp                     
+359     common  getrandom                       sys_getrandom                   
+360     common  memfd_create                    sys_memfd_create                
+361     common  bpf                             sys_bpf                         
+362     common  execveat                        sys_execveat                    compat_sys_execveat
+363     common  switch_endian                   sys_ni_syscall                  
+364     common  userfaultfd                     sys_userfaultfd                 
+365     common  membarrier                      sys_membarrier                  
+378     common  mlock2                          sys_mlock2                      
+379     common  copy_file_range                 sys_copy_file_range             
+380     common  preadv2                         sys_preadv2                     compat_sys_preadv2
+381     common  pwritev2                        sys_pwritev2                    compat_sys_pwritev2
+382     common  kexec_file_load                 sys_kexec_file_load             
+383     common  statx                           sys_statx                       
+384     common  pkey_alloc                      sys_pkey_alloc                  
+385     common  pkey_free                       sys_pkey_free                   
+386     common  pkey_mprotect                   sys_pkey_mprotect               
diff --git a/arch/powerpc/kernel/syscalls/syscall_64.tbl b/arch/powerpc/kernel/syscalls/syscall_64.tbl
new file mode 100644
index 0000000..f0b1311
--- /dev/null
+++ b/arch/powerpc/kernel/syscalls/syscall_64.tbl
@@ -0,0 +1,372 @@
+#
+# 64-bit system call numbers and entry vectors
+#
+# The format is:
+# <number> <abi> <name> <entry point>
+#
+# The abi is "common" for this file.
+#
+0       common  restart_syscall                 sys_restart_syscall
+1       common  exit                            sys_exit
+2       common  fork                            ppc_fork
+3       common  read                            sys_read
+4       common  write                           sys_write
+5       common  open                            sys_open
+6       common  close                           sys_close
+7       common  waitpid                         sys_waitpid
+8       common  creat                           sys_creat
+9       common  link                            sys_link
+10      common  unlink                          sys_unlink
+11      common  execve                          sys_execve
+12      common  chdir                           sys_chdir
+13      common  time                            sys_time
+14      common  mknod                           sys_mknod
+15      common  chmod                           sys_chmod
+16      common  lchown                          sys_lchown
+17      common  break                           sys_ni_syscall
+18      common  oldstat                         sys_ni_syscall
+19      common  lseek                           sys_lseek
+20      common  getpid                          sys_getpid
+21      common  mount                           sys_mount
+22      common  umount                          sys_ni_syscall
+23      common  setuid                          sys_setuid
+24      common  getuid                          sys_getuid
+25      common  stime                           sys_stime
+26      common  ptrace                          sys_ptrace
+27      common  alarm                           sys_alarm
+28      common  oldfstat                        sys_ni_syscall
+29      common  pause                           sys_pause
+30      common  utime                           sys_utime
+31      common  stty                            sys_ni_syscall
+32      common  gtty                            sys_ni_syscall
+33      common  access                          sys_access
+34      common  nice                            sys_nice
+35      common  ftime                           sys_ni_syscall
+36      common  sync                            sys_sync
+37      common  kill                            sys_kill
+38      common  rename                          sys_rename
+39      common  mkdir                           sys_mkdir
+40      common  rmdir                           sys_rmdir
+41      common  dup                             sys_dup
+42      common  pipe                            sys_pipe
+43      common  times                           sys_times
+44      common  prof                            sys_ni_syscall
+45      common  brk                             sys_brk
+46      common  setgid                          sys_setgid
+47      common  getgid                          sys_getgid
+48      common  signal                          sys_signal
+49      common  geteuid                         sys_geteuid
+50      common  getegid                         sys_getegid
+51      common  acct                            sys_acct
+52      common  umount2                         sys_umount
+53      common  lock                            sys_ni_syscall
+54      common  ioctl                           sys_ioctl
+55      common  fcntl                           sys_fcntl
+56      common  mpx                             sys_ni_syscall
+57      common  setpgid                         sys_setpgid
+58      common  ulimit                          sys_ni_syscall
+59      common  oldolduname                     sys_ni_syscall
+60      common  umask                           sys_umask
+61      common  chroot                          sys_chroot
+62      common  ustat                           sys_ustat
+63      common  dup2                            sys_dup2
+64      common  getppid                         sys_getppid
+65      common  getpgrp                         sys_getpgrp
+66      common  setsid                          sys_setsid
+67      common  sigaction                       sys_ni_syscall
+68      common  sgetmask                        sys_sgetmask
+69      common  ssetmask                        sys_ssetmask
+70      common  setreuid                        sys_setreuid
+71      common  setregid                        sys_setregid
+72      common  sigsuspend                      sys_ni_syscall
+73      common  sigpending                      sys_ni_syscall
+74      common  sethostname                     sys_sethostname
+75      common  setrlimit                       sys_setrlimit
+76      common  getrlimit                       sys_ni_syscall
+77      common  getrusage                       sys_getrusage
+78      common  gettimeofday                    sys_gettimeofday
+79      common  settimeofday                    sys_settimeofday
+80      common  getgroups                       sys_getgroups
+81      common  setgroups                       sys_setgroups
+82      common  select                          sys_ni_syscall
+83      common  symlink                         sys_symlink
+84      common  oldlstat                        sys_ni_syscall
+85      common  readlink                        sys_readlink
+86      common  uselib                          sys_uselib
+87      common  swapon                          sys_swapon
+88      common  reboot                          sys_reboot
+89      common  readdir                         sys_ni_syscall
+90      common  mmap                            sys_mmap
+91      common  munmap                          sys_munmap
+92      common  truncate                        sys_truncate
+93      common  ftruncate                       sys_ftruncate
+94      common  fchmod                          sys_fchmod
+95      common  fchown                          sys_fchown
+96      common  getpriority                     sys_getpriority
+97      common  setpriority                     sys_setpriority
+98      common  profil                          sys_ni_syscall
+99      common  statfs                          sys_statfs
+100     common  fstatfs                         sys_fstatfs
+101     common  ioperm                          sys_ni_syscall
+102     common  socketcall                      sys_socketcall
+103     common  syslog                          sys_syslog
+104     common  setitimer                       sys_setitimer
+105     common  getitimer                       sys_getitimer
+106     common  stat                            sys_newstat
+107     common  lstat                           sys_lstat
+108     common  fstat                           sys_fstat
+109     common  olduname                        sys_ni_syscall
+110     common  iopl                            sys_ni_syscall
+111     common  vhangup                         sys_vhangup
+112     common  idle                            sys_ni_syscall
+113     common  vm86                            sys_ni_syscall
+114     common  wait4                           sys_wait4
+115     common  swapoff                         sys_swapoff
+116     common  sysinfo                         sys_sysinfo
+117     common  ipc                             sys_ipc
+118     common  fsync                           sys_fsync
+119     common  sigreturn                       sys_ni_syscall
+120     common  clone                           ppc_clone
+121     common  setdomainname                   sys_setdomainname
+122     common  uname                           sys_newuname
+123     common  modify_ldt                      sys_ni_syscall
+124     common  adjtimex                        sys_adjtimex
+125     common  mprotect                        sys_mprotect
+126     common  sigprocmask                     sys_ni_syscall
+127     common  create_module                   sys_ni_syscall
+128     common  init_module                     sys_init_module
+129     common  delete_module                   sys_delete_module
+130     common  get_kernel_syms                 sys_ni_syscall
+131     common  quotactl                        sys_quotactl
+132     common  getpgid                         sys_getpgid
+133     common  fchdir                          sys_fchdir
+134     common  bdflush                         sys_bdflush
+135     common  sysfs                           sys_sysfs
+136     common  personality                     ppc64_personality
+137     common  afs_syscall                     sys_ni_syscall
+138     common  setfsuid                        sys_setfsuid
+139     common  setfsgid                        sys_setfsgid
+140     common  _llseek                         sys_llseek
+141     common  getdents                        sys_getdents
+142     common  _newselect                      sys_select
+143     common  flock                           sys_flock
+144     common  msync                           sys_msync
+145     common  readv                           sys_readv
+146     common  writev                          sys_writev
+147     common  getsid                          sys_getsid
+148     common  fdatasync                       sys_fdatasync
+149     common  _sysctl                         sys_sysctl
+150     common  mlock                           sys_mlock
+151     common  munlock                         sys_munlock
+152     common  mlockall                        sys_mlockall
+153     common  munlockall                      sys_munlockall
+154     common  sched_setparam                  sys_sched_setparam
+155     common  sched_getparam                  sys_sched_getparam
+156     common  sched_setscheduler              sys_sched_setscheduler
+157     common  sched_getscheduler              sys_sched_getscheduler
+158     common  sched_yield                     sys_sched_yield
+159     common  sched_get_priority_max          sys_sched_get_priority_max
+160     common  sched_get_priority_min          sys_sched_get_priority_min
+161     common  sched_rr_get_interval           sys_sched_rr_get_interval
+162     common  nanosleep                       sys_nanosleep
+163     common  mremap                          sys_mremap
+164     common  setresuid                       sys_setresuid
+165     common  getresuid                       sys_getresuid
+166     common  query_module                    sys_ni_syscall
+167     common  poll                            sys_poll
+168     common  nfsservctl                      sys_ni_syscall
+169     common  setresgid                       sys_setresgid
+170     common  getresgid                       sys_getresgid
+171     common  prctl                           sys_prctl
+172     common  rt_sigreturn                    sys_rt_sigreturn
+173     common  rt_sigaction                    sys_rt_sigaction
+174     common  rt_sigprocmask                  sys_rt_sigprocmask
+175     common  rt_sigpending                   sys_rt_sigpending
+176     common  rt_sigtimedwait                 sys_rt_sigtimedwait
+177     common  rt_sigqueueinfo                 sys_rt_sigqueueinfo
+178     common  rt_sigsuspend                   sys_rt_sigsuspend
+179     common  pread64                         sys_pread64
+180     common  pwrite64                        sys_pwrite64
+181     common  chown                           sys_chown
+182     common  getcwd                          sys_getcwd
+183     common  capget                          sys_capget
+184     common  capset                          sys_capset
+185     common  sigaltstack                     sys_sigaltstack
+186     common  sendfile                        sys_sendfile64
+187     common  getpmsg                         sys_ni_syscall
+188     common  putpmsg                         sys_ni_syscall
+189     common  vfork                           ppc_vfork
+190     common  ugetrlimit                      sys_getrlimit
+191     common  readahead                       sys_readahead
+198     common  pciconfig_read                  sys_pciconfig_read
+199     common  pciconfig_write                 sys_pciconfig_write
+200     common  pciconfig_iobase                sys_pciconfig_iobase
+201     common  multiplexer                     sys_ni_syscall
+202     common  getdents64                      sys_getdents64
+203     common  pivot_root                      sys_pivot_root
+205     common  madvise                         sys_madvise
+206     common  mincore                         sys_mincore
+207     common  gettid                          sys_gettid
+208     common  tkill                           sys_tkill
+209     common  setxattr                        sys_setxattr
+210     common  lsetxattr                       sys_lsetxattr
+211     common  fsetxattr                       sys_fsetxattr
+212     common  getxattr                        sys_getxattr
+213     common  lgetxattr                       sys_lgetxattr
+214     common  fgetxattr                       sys_fgetxattr
+215     common  listxattr                       sys_listxattr
+216     common  llistxattr                      sys_llistxattr
+217     common  flistxattr                      sys_flistxattr
+218     common  removexattr                     sys_removexattr
+219     common  lremovexattr                    sys_lremovexattr
+220     common  fremovexattr                    sys_fremovexattr
+221     common  futex                           sys_futex
+222     common  sched_setaffinity               sys_sched_setaffinity
+223     common  sched_getaffinity               sys_sched_getaffinity
+225     common  tuxcall                         sys_ni_syscall
+227     common  io_setup                        sys_io_setup
+228     common  io_destroy                      sys_io_destroy
+229     common  io_getevents                    sys_io_getevents
+230     common  io_submit                       sys_io_submit
+231     common  io_cancel                       sys_io_cancel
+232     common  set_tid_address                 sys_set_tid_address
+233     common  fadvise64                       sys_fadvise64
+234     common  exit_group                      sys_exit_group
+235     common  lookup_dcookie                  sys_lookup_dcookie
+236     common  epoll_create                    sys_epoll_create
+237     common  epoll_ctl                       sys_epoll_ctl
+238     common  epoll_wait                      sys_epoll_wait
+239     common  remap_file_pages                sys_remap_file_pages
+240     common  timer_create                    sys_timer_create
+241     common  timer_settime                   sys_timer_settime
+242     common  timer_gettime                   sys_timer_gettime
+243     common  timer_getoverrun                sys_timer_getoverrun
+244     common  timer_delete                    sys_timer_delete
+245     common  clock_settime                   sys_clock_settime
+246     common  clock_gettime                   sys_clock_gettime
+247     common  clock_getres                    sys_clock_getres
+248     common  clock_nanosleep                 sys_clock_nanosleep
+249     common  swapcontext                     ppc64_swapcontext
+250     common  tgkill                          sys_tgkill
+251     common  utimes                          sys_utimes
+252     common  statfs64                        sys_statfs64
+253     common  fstatfs64                       sys_fstatfs64
+255     common  rtas                            ppc_rtas
+256     common  sys_debug_setcontext            sys_ni_syscall
+258     common  migrate_pages                   sys_ni_syscall
+259     common  mbind                           sys_mbind
+260     common  get_mempolicy                   sys_get_mempolicy
+261     common  set_mempolicy                   sys_set_mempolicy
+262     common  mq_open                         sys_mq_open
+263     common  mq_unlink                       sys_mq_unlink
+264     common  mq_timedsend                    sys_mq_timedsend
+265     common  mq_timedreceive                 sys_mq_timedreceive
+266     common  mq_notify                       sys_mq_notify
+267     common  mq_getsetattr                   sys_mq_getsetattr
+268     common  kexec_load                      sys_kexec_load
+269     common  add_key                         sys_add_key
+270     common  request_key                     sys_request_key
+271     common  keyctl                          sys_keyctl
+272     common  waitid                          sys_waitid
+273     common  ioprio_set                      sys_ioprio_set
+274     common  ioprio_get                      sys_ioprio_get
+275     common  inotify_init                    sys_inotify_init
+276     common  inotify_add_watch               sys_inotify_add_watch
+277     common  inotify_rm_watch                sys_inotify_rm_watch
+278     common  spu_run                         sys_spu_run
+279     common  spu_create                      sys_spu_create
+280     common  pselect6                        sys_pselect6
+281     common  ppoll                           sys_ppoll
+282     common  unshare                         sys_unshare
+283     common  splice                          sys_splice
+284     common  tee                             sys_tee
+285     common  vmsplice                        sys_vmsplice
+286     common  openat                          sys_openat
+287     common  mkdirat                         sys_mkdirat
+288     common  mknodat                         sys_mknodat
+289     common  fchownat                        sys_fchownat
+290     common  futimesat                       sys_futimesat
+291     common  newfstatat                      sys_newfstatat
+292     common  unlinkat                        sys_unlinkat
+293     common  renameat                        sys_renameat
+294     common  linkat                          sys_linkat
+295     common  symlinkat                       sys_symlinkat
+296     common  readlinkat                      sys_readlinkat
+297     common  fchmodat                        sys_fchmodat
+298     common  faccessat                       sys_faccessat
+299     common  get_robust_list                 sys_get_robust_list
+300     common  set_robust_list                 sys_set_robust_list
+301     common  move_pages                      sys_move_pages
+302     common  getcpu                          sys_getcpu
+303     common  epoll_pwait                     sys_epoll_pwait
+304     common  utimensat                       sys_utimensat
+305     common  signalfd                        sys_signalfd
+306     common  timerfd_create                  sys_timerfd_create
+307     common  eventfd                         sys_eventfd
+308     common  sync_file_range2                sys_sync_file_range2
+309     common  fallocate                       sys_fallocate
+310     common  subpage_prot                    sys_subpage_prot
+311     common  timerfd_settime                 sys_timerfd_settime
+312     common  timerfd_gettime                 sys_timerfd_gettime
+313     common  signalfd4                       sys_signalfd4
+314     common  eventfd2                        sys_eventfd2
+315     common  epoll_create1                   sys_epoll_create1
+316     common  dup3                            sys_dup3
+317     common  pipe2                           sys_pipe2
+318     common  inotify_init1                   sys_inotify_init1
+319     common  perf_event_open                 sys_perf_event_open
+320     common  preadv                          sys_preadv
+321     common  pwritev                         sys_pwritev
+322     common  rt_tgsigqueueinfo               sys_rt_tgsigqueueinfo
+323     common  fanotify_init                   sys_fanotify_init
+324     common  fanotify_mark                   sys_fanotify_mark
+325     common  prlimit64                       sys_prlimit64
+326     common  socket                          sys_socket
+327     common  bind                            sys_bind
+328     common  connect                         sys_connect
+329     common  listen                          sys_listen
+330     common  accept                          sys_accept
+331     common  getsockname                     sys_getsockname
+332     common  getpeername                     sys_getpeername
+333     common  socketpair                      sys_socketpair
+334     common  send                            sys_send
+335     common  sendto                          sys_sendto
+336     common  recv                            sys_recv
+337     common  recvfrom                        sys_recvfrom
+338     common  shutdown                        sys_shutdown
+339     common  setsockopt                      sys_setsockopt
+340     common  getsockopt                      sys_getsockopt
+341     common  sendmsg                         sys_sendmsg
+342     common  recvmsg                         sys_recvmsg
+343     common  recvmmsg                        sys_recvmmsg
+344     common  accept4                         sys_accept4
+345     common  name_to_handle_at               sys_name_to_handle_at
+346     common  open_by_handle_at               sys_open_by_handle_at
+347     common  clock_adjtime                   sys_clock_adjtime
+348     common  syncfs                          sys_syncfs
+349     common  sendmmsg                        sys_sendmmsg
+350     common  setns                           sys_setns
+351     common  process_vm_readv                sys_process_vm_readv
+352     common  process_vm_writev               sys_process_vm_writev
+353     common  finit_module                    sys_finit_module
+354     common  kcmp                            sys_kcmp
+355     common  sched_setattr                   sys_sched_setattr
+356     common  sched_getattr                   sys_sched_getattr
+357     common  renameat2                       sys_renameat2
+358     common  seccomp                         sys_seccomp
+359     common  getrandom                       sys_getrandom
+360     common  memfd_create                    sys_memfd_create
+361     common  bpf                             sys_bpf
+362     common  execveat                        sys_execveat
+363     common  switch_endian                   ppc_switch_endian
+364     common  userfaultfd                     sys_userfaultfd
+365     common  membarrier                      sys_membarrier
+378     common  mlock2                          sys_mlock2
+379     common  copy_file_range                 sys_copy_file_range
+380     common  preadv2                         sys_preadv2
+381     common  pwritev2                        sys_pwritev2
+382     common  kexec_file_load                 sys_kexec_file_load
+383     common  statx                           sys_statx
+384     common  pkey_alloc                      sys_pkey_alloc
+385     common  pkey_free                       sys_pkey_free
+386     common  pkey_mprotect                   sys_pkey_mprotect
diff --git a/arch/powerpc/kernel/syscalls/syscallhdr.sh b/arch/powerpc/kernel/syscalls/syscallhdr.sh
new file mode 100644
index 0000000..b630818
--- /dev/null
+++ b/arch/powerpc/kernel/syscalls/syscallhdr.sh
@@ -0,0 +1,37 @@
+#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0
+
+in="$1"
+out="$2"
+my_abis=`echo "($3)" | tr ',' '|'`
+prefix="$4"
+offset="$5"
+
+fileguard=_UAPI_ASM_POWERPC_`basename "$out" | sed \
+    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \
+    -e 's/[^A-Z0-9_]/_/g' -e 's/__/_/g'`
+grep -E "^[0-9A-Fa-fXx]+[[:space:]]+${my_abis}" "$in" | sort -n | (
+    echo "#ifndef ${fileguard}"
+    echo "#define ${fileguard}"
+    echo ""
+
+    nxt=0
+    while read nr abi name entry compat ; do
+	if [ -z "$offset" ]; then
+	    echo -e "#define __NR_${prefix}${name}\t$nr"
+	else
+	    echo -e "#define __NR_${prefix}${name}\t($offset + $nr)"
+	fi
+	nxt=$nr
+        let nxt=nxt+1
+    done
+
+    echo ""
+    if [ -z "$offset" ]; then
+	echo -e "#define __NR_syscalls\t$nxt"
+    else
+	echo -e "#define __NR_syscalls\t($offset + $nxt)"
+    fi
+    echo ""
+    echo "#endif /* ${fileguard} */"
+) > "$out"
diff --git a/arch/powerpc/kernel/syscalls/syscalltbl.sh b/arch/powerpc/kernel/syscalls/syscalltbl.sh
new file mode 100644
index 0000000..7666cd9
--- /dev/null
+++ b/arch/powerpc/kernel/syscalls/syscalltbl.sh
@@ -0,0 +1,38 @@
+#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0
+
+in="$1"
+out="$2"
+my_abi="$3"
+
+emit() {
+    nxt="$1"
+    nr="$2"
+    entry="$3"
+    
+    while [ $nxt -lt $nr ]; do
+	echo "__SYSCALL($nxt, sys_ni_syscall, )"
+        let nxt=nxt+1
+    done
+    
+    echo "__SYSCALL($nr, $entry, )"
+}
+
+grep '^[0-9]' "$in" | sort -n | (
+    nxt=0
+    while read nr abi name entry compat ; do
+	if [ "$my_abi" = "64" ]; then
+            emit $nxt $nr $entry
+	elif [ "$my_abi" = "32" ]; then
+            emit $nxt $nr $entry
+	elif [ "$my_abi" = "c32" ]; then
+	    if [ -z "$compat" ]; then
+		emit $nxt $nr $entry
+	    else
+		emit $nxt $nr $compat
+	    fi
+	fi
+	nxt=$nr
+        let nxt=nxt+1
+    done
+) > "$out"
-- 
1.9.1


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [PATCH 3/3] powerpc: uapi header and system call table file generation
  2018-09-14  8:32 [PATCH 0/3] System call table generation support Firoz Khan
  2018-09-14  8:32 ` [PATCH 1/3] powerpc: Replace NR_syscalls macro from asm/unistd.h Firoz Khan
  2018-09-14  8:32 ` [PATCH 2/3] powerpc: Add system call table generation support Firoz Khan
@ 2018-09-14  8:33 ` Firoz Khan
  2018-11-29  6:34 ` [PATCH 0/3] System call table generation support Satheesh Rajendran
  3 siblings, 0 replies; 23+ messages in thread
From: Firoz Khan @ 2018-09-14  8:33 UTC (permalink / raw)
  To: Arnd Bergmann, linuxppc-dev, Benjamin Herrenschmidt,
	Paul Mackerras, Michael Ellerman, Ram Pai, Breno Leitao,
	Boqun Feng, Greg Kroah-Hartman, Philippe Ombredanne,
	Thomas Gleixner, Kate Stewart
  Cc: y2038, linux-kernel, linux-arch, deepa.kernel,
	marcin.juszkiewicz, firoz.khan

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 generation script
invoked by arch/sparc/Makefile and the generated files against
the removed files will be identical.

The generated uapi header file will be included in uapi/asm/
unistd_32/64.h and generated system call table support file will
be included by arch/sparc/kernel/syscall_table_32/64.S file.

Signed-off-by: Firoz Khan <firoz.khan@linaro.org>
---
 arch/powerpc/Makefile                  |   3 +
 arch/powerpc/include/asm/Kbuild        |   3 +
 arch/powerpc/include/uapi/asm/Kbuild   |   2 +
 arch/powerpc/include/uapi/asm/unistd.h | 393 +--------------------------------
 arch/powerpc/kernel/Makefile           |   3 +-
 arch/powerpc/kernel/syscall_table_32.S |   9 +
 arch/powerpc/kernel/syscall_table_64.S |  17 ++
 arch/powerpc/kernel/systbl.S           |  50 -----
 8 files changed, 39 insertions(+), 441 deletions(-)
 create mode 100644 arch/powerpc/kernel/syscall_table_32.S
 create mode 100644 arch/powerpc/kernel/syscall_table_64.S
 delete mode 100644 arch/powerpc/kernel/systbl.S

diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
index 11a1acb..90614c9 100644
--- a/arch/powerpc/Makefile
+++ b/arch/powerpc/Makefile
@@ -400,6 +400,9 @@ archclean:
 
 archprepare: checkbin
 
+archheaders:
+	$(Q)$(MAKE) $(build)=arch/powerpc/kernel/syscalls all
+
 # Use the file '.tmp_gas_check' for binutils tests, as gas won't output
 # to stdout and these checks are run even on install targets.
 TOUT	:= .tmp_gas_check
diff --git a/arch/powerpc/include/asm/Kbuild b/arch/powerpc/include/asm/Kbuild
index 3196d22..74e63b4 100644
--- a/arch/powerpc/include/asm/Kbuild
+++ b/arch/powerpc/include/asm/Kbuild
@@ -8,3 +8,6 @@ generic-y += preempt.h
 generic-y += rwsem.h
 generic-y += vtime.h
 generic-y += msi.h
+generated-y += syscall_table_32.h
+generated-y += syscall_table_64.h
+generated-y += syscall_table_c32.h
\ No newline at end of file
diff --git a/arch/powerpc/include/uapi/asm/Kbuild b/arch/powerpc/include/uapi/asm/Kbuild
index 1a6ed59..a731c5b 100644
--- a/arch/powerpc/include/uapi/asm/Kbuild
+++ b/arch/powerpc/include/uapi/asm/Kbuild
@@ -7,3 +7,5 @@ generic-y += poll.h
 generic-y += resource.h
 generic-y += sockios.h
 generic-y += statfs.h
+generated-y += unistd_32.h
+generated-y += unistd_64.h
\ No newline at end of file
diff --git a/arch/powerpc/include/uapi/asm/unistd.h b/arch/powerpc/include/uapi/asm/unistd.h
index f999df2..9084a0c 100644
--- a/arch/powerpc/include/uapi/asm/unistd.h
+++ b/arch/powerpc/include/uapi/asm/unistd.h
@@ -10,397 +10,10 @@
 #ifndef _UAPI_ASM_POWERPC_UNISTD_H_
 #define _UAPI_ASM_POWERPC_UNISTD_H_
 
-
-#define __NR_restart_syscall	  0
-#define __NR_exit		  1
-#define __NR_fork		  2
-#define __NR_read		  3
-#define __NR_write		  4
-#define __NR_open		  5
-#define __NR_close		  6
-#define __NR_waitpid		  7
-#define __NR_creat		  8
-#define __NR_link		  9
-#define __NR_unlink		 10
-#define __NR_execve		 11
-#define __NR_chdir		 12
-#define __NR_time		 13
-#define __NR_mknod		 14
-#define __NR_chmod		 15
-#define __NR_lchown		 16
-#define __NR_break		 17
-#define __NR_oldstat		 18
-#define __NR_lseek		 19
-#define __NR_getpid		 20
-#define __NR_mount		 21
-#define __NR_umount		 22
-#define __NR_setuid		 23
-#define __NR_getuid		 24
-#define __NR_stime		 25
-#define __NR_ptrace		 26
-#define __NR_alarm		 27
-#define __NR_oldfstat		 28
-#define __NR_pause		 29
-#define __NR_utime		 30
-#define __NR_stty		 31
-#define __NR_gtty		 32
-#define __NR_access		 33
-#define __NR_nice		 34
-#define __NR_ftime		 35
-#define __NR_sync		 36
-#define __NR_kill		 37
-#define __NR_rename		 38
-#define __NR_mkdir		 39
-#define __NR_rmdir		 40
-#define __NR_dup		 41
-#define __NR_pipe		 42
-#define __NR_times		 43
-#define __NR_prof		 44
-#define __NR_brk		 45
-#define __NR_setgid		 46
-#define __NR_getgid		 47
-#define __NR_signal		 48
-#define __NR_geteuid		 49
-#define __NR_getegid		 50
-#define __NR_acct		 51
-#define __NR_umount2		 52
-#define __NR_lock		 53
-#define __NR_ioctl		 54
-#define __NR_fcntl		 55
-#define __NR_mpx		 56
-#define __NR_setpgid		 57
-#define __NR_ulimit		 58
-#define __NR_oldolduname	 59
-#define __NR_umask		 60
-#define __NR_chroot		 61
-#define __NR_ustat		 62
-#define __NR_dup2		 63
-#define __NR_getppid		 64
-#define __NR_getpgrp		 65
-#define __NR_setsid		 66
-#define __NR_sigaction		 67
-#define __NR_sgetmask		 68
-#define __NR_ssetmask		 69
-#define __NR_setreuid		 70
-#define __NR_setregid		 71
-#define __NR_sigsuspend		 72
-#define __NR_sigpending		 73
-#define __NR_sethostname	 74
-#define __NR_setrlimit		 75
-#define __NR_getrlimit		 76
-#define __NR_getrusage		 77
-#define __NR_gettimeofday	 78
-#define __NR_settimeofday	 79
-#define __NR_getgroups		 80
-#define __NR_setgroups		 81
-#define __NR_select		 82
-#define __NR_symlink		 83
-#define __NR_oldlstat		 84
-#define __NR_readlink		 85
-#define __NR_uselib		 86
-#define __NR_swapon		 87
-#define __NR_reboot		 88
-#define __NR_readdir		 89
-#define __NR_mmap		 90
-#define __NR_munmap		 91
-#define __NR_truncate		 92
-#define __NR_ftruncate		 93
-#define __NR_fchmod		 94
-#define __NR_fchown		 95
-#define __NR_getpriority	 96
-#define __NR_setpriority	 97
-#define __NR_profil		 98
-#define __NR_statfs		 99
-#define __NR_fstatfs		100
-#define __NR_ioperm		101
-#define __NR_socketcall		102
-#define __NR_syslog		103
-#define __NR_setitimer		104
-#define __NR_getitimer		105
-#define __NR_stat		106
-#define __NR_lstat		107
-#define __NR_fstat		108
-#define __NR_olduname		109
-#define __NR_iopl		110
-#define __NR_vhangup		111
-#define __NR_idle		112
-#define __NR_vm86		113
-#define __NR_wait4		114
-#define __NR_swapoff		115
-#define __NR_sysinfo		116
-#define __NR_ipc		117
-#define __NR_fsync		118
-#define __NR_sigreturn		119
-#define __NR_clone		120
-#define __NR_setdomainname	121
-#define __NR_uname		122
-#define __NR_modify_ldt		123
-#define __NR_adjtimex		124
-#define __NR_mprotect		125
-#define __NR_sigprocmask	126
-#define __NR_create_module	127
-#define __NR_init_module	128
-#define __NR_delete_module	129
-#define __NR_get_kernel_syms	130
-#define __NR_quotactl		131
-#define __NR_getpgid		132
-#define __NR_fchdir		133
-#define __NR_bdflush		134
-#define __NR_sysfs		135
-#define __NR_personality	136
-#define __NR_afs_syscall	137 /* Syscall for Andrew File System */
-#define __NR_setfsuid		138
-#define __NR_setfsgid		139
-#define __NR__llseek		140
-#define __NR_getdents		141
-#define __NR__newselect		142
-#define __NR_flock		143
-#define __NR_msync		144
-#define __NR_readv		145
-#define __NR_writev		146
-#define __NR_getsid		147
-#define __NR_fdatasync		148
-#define __NR__sysctl		149
-#define __NR_mlock		150
-#define __NR_munlock		151
-#define __NR_mlockall		152
-#define __NR_munlockall		153
-#define __NR_sched_setparam		154
-#define __NR_sched_getparam		155
-#define __NR_sched_setscheduler		156
-#define __NR_sched_getscheduler		157
-#define __NR_sched_yield		158
-#define __NR_sched_get_priority_max	159
-#define __NR_sched_get_priority_min	160
-#define __NR_sched_rr_get_interval	161
-#define __NR_nanosleep		162
-#define __NR_mremap		163
-#define __NR_setresuid		164
-#define __NR_getresuid		165
-#define __NR_query_module	166
-#define __NR_poll		167
-#define __NR_nfsservctl		168
-#define __NR_setresgid		169
-#define __NR_getresgid		170
-#define __NR_prctl		171
-#define __NR_rt_sigreturn	172
-#define __NR_rt_sigaction	173
-#define __NR_rt_sigprocmask	174
-#define __NR_rt_sigpending	175
-#define __NR_rt_sigtimedwait	176
-#define __NR_rt_sigqueueinfo	177
-#define __NR_rt_sigsuspend	178
-#define __NR_pread64		179
-#define __NR_pwrite64		180
-#define __NR_chown		181
-#define __NR_getcwd		182
-#define __NR_capget		183
-#define __NR_capset		184
-#define __NR_sigaltstack	185
-#define __NR_sendfile		186
-#define __NR_getpmsg		187	/* some people actually want streams */
-#define __NR_putpmsg		188	/* some people actually want streams */
-#define __NR_vfork		189
-#define __NR_ugetrlimit		190	/* SuS compliant getrlimit */
-#define __NR_readahead		191
-#ifndef __powerpc64__			/* these are 32-bit only */
-#define __NR_mmap2		192
-#define __NR_truncate64		193
-#define __NR_ftruncate64	194
-#define __NR_stat64		195
-#define __NR_lstat64		196
-#define __NR_fstat64		197
-#endif
-#define __NR_pciconfig_read	198
-#define __NR_pciconfig_write	199
-#define __NR_pciconfig_iobase	200
-#define __NR_multiplexer	201
-#define __NR_getdents64		202
-#define __NR_pivot_root		203
-#ifndef __powerpc64__
-#define __NR_fcntl64		204
-#endif
-#define __NR_madvise		205
-#define __NR_mincore		206
-#define __NR_gettid		207
-#define __NR_tkill		208
-#define __NR_setxattr		209
-#define __NR_lsetxattr		210
-#define __NR_fsetxattr		211
-#define __NR_getxattr		212
-#define __NR_lgetxattr		213
-#define __NR_fgetxattr		214
-#define __NR_listxattr		215
-#define __NR_llistxattr		216
-#define __NR_flistxattr		217
-#define __NR_removexattr	218
-#define __NR_lremovexattr	219
-#define __NR_fremovexattr	220
-#define __NR_futex		221
-#define __NR_sched_setaffinity	222
-#define __NR_sched_getaffinity	223
-/* 224 currently unused */
-#define __NR_tuxcall		225
-#ifndef __powerpc64__
-#define __NR_sendfile64		226
-#endif
-#define __NR_io_setup		227
-#define __NR_io_destroy		228
-#define __NR_io_getevents	229
-#define __NR_io_submit		230
-#define __NR_io_cancel		231
-#define __NR_set_tid_address	232
-#define __NR_fadvise64		233
-#define __NR_exit_group		234
-#define __NR_lookup_dcookie	235
-#define __NR_epoll_create	236
-#define __NR_epoll_ctl		237
-#define __NR_epoll_wait		238
-#define __NR_remap_file_pages	239
-#define __NR_timer_create	240
-#define __NR_timer_settime	241
-#define __NR_timer_gettime	242
-#define __NR_timer_getoverrun	243
-#define __NR_timer_delete	244
-#define __NR_clock_settime	245
-#define __NR_clock_gettime	246
-#define __NR_clock_getres	247
-#define __NR_clock_nanosleep	248
-#define __NR_swapcontext	249
-#define __NR_tgkill		250
-#define __NR_utimes		251
-#define __NR_statfs64		252
-#define __NR_fstatfs64		253
-#ifndef __powerpc64__
-#define __NR_fadvise64_64	254
-#endif
-#define __NR_rtas		255
-#define __NR_sys_debug_setcontext 256
-/* Number 257 is reserved for vserver */
-#define __NR_migrate_pages	258
-#define __NR_mbind		259
-#define __NR_get_mempolicy	260
-#define __NR_set_mempolicy	261
-#define __NR_mq_open		262
-#define __NR_mq_unlink		263
-#define __NR_mq_timedsend	264
-#define __NR_mq_timedreceive	265
-#define __NR_mq_notify		266
-#define __NR_mq_getsetattr	267
-#define __NR_kexec_load		268
-#define __NR_add_key		269
-#define __NR_request_key	270
-#define __NR_keyctl		271
-#define __NR_waitid		272
-#define __NR_ioprio_set		273
-#define __NR_ioprio_get		274
-#define __NR_inotify_init	275
-#define __NR_inotify_add_watch	276
-#define __NR_inotify_rm_watch	277
-#define __NR_spu_run		278
-#define __NR_spu_create		279
-#define __NR_pselect6		280
-#define __NR_ppoll		281
-#define __NR_unshare		282
-#define __NR_splice		283
-#define __NR_tee		284
-#define __NR_vmsplice		285
-#define __NR_openat		286
-#define __NR_mkdirat		287
-#define __NR_mknodat		288
-#define __NR_fchownat		289
-#define __NR_futimesat		290
-#ifdef __powerpc64__
-#define __NR_newfstatat		291
+#ifdef CONFIG_PPC64
+#include <asm/unistd_64.h>
 #else
-#define __NR_fstatat64		291
+#include <asm/unistd_32.h>
 #endif
-#define __NR_unlinkat		292
-#define __NR_renameat		293
-#define __NR_linkat		294
-#define __NR_symlinkat		295
-#define __NR_readlinkat		296
-#define __NR_fchmodat		297
-#define __NR_faccessat		298
-#define __NR_get_robust_list	299
-#define __NR_set_robust_list	300
-#define __NR_move_pages		301
-#define __NR_getcpu		302
-#define __NR_epoll_pwait	303
-#define __NR_utimensat		304
-#define __NR_signalfd		305
-#define __NR_timerfd_create	306
-#define __NR_eventfd		307
-#define __NR_sync_file_range2	308
-#define __NR_fallocate		309
-#define __NR_subpage_prot	310
-#define __NR_timerfd_settime	311
-#define __NR_timerfd_gettime	312
-#define __NR_signalfd4		313
-#define __NR_eventfd2		314
-#define __NR_epoll_create1	315
-#define __NR_dup3		316
-#define __NR_pipe2		317
-#define __NR_inotify_init1	318
-#define __NR_perf_event_open	319
-#define __NR_preadv		320
-#define __NR_pwritev		321
-#define __NR_rt_tgsigqueueinfo	322
-#define __NR_fanotify_init	323
-#define __NR_fanotify_mark	324
-#define __NR_prlimit64		325
-#define __NR_socket		326
-#define __NR_bind		327
-#define __NR_connect		328
-#define __NR_listen		329
-#define __NR_accept		330
-#define __NR_getsockname	331
-#define __NR_getpeername	332
-#define __NR_socketpair		333
-#define __NR_send		334
-#define __NR_sendto		335
-#define __NR_recv		336
-#define __NR_recvfrom		337
-#define __NR_shutdown		338
-#define __NR_setsockopt		339
-#define __NR_getsockopt		340
-#define __NR_sendmsg		341
-#define __NR_recvmsg		342
-#define __NR_recvmmsg		343
-#define __NR_accept4		344
-#define __NR_name_to_handle_at	345
-#define __NR_open_by_handle_at	346
-#define __NR_clock_adjtime	347
-#define __NR_syncfs		348
-#define __NR_sendmmsg		349
-#define __NR_setns		350
-#define __NR_process_vm_readv	351
-#define __NR_process_vm_writev	352
-#define __NR_finit_module	353
-#define __NR_kcmp		354
-#define __NR_sched_setattr	355
-#define __NR_sched_getattr	356
-#define __NR_renameat2		357
-#define __NR_seccomp		358
-#define __NR_getrandom		359
-#define __NR_memfd_create	360
-#define __NR_bpf		361
-#define __NR_execveat		362
-#define __NR_switch_endian	363
-#define __NR_userfaultfd	364
-#define __NR_membarrier		365
-#define __NR_mlock2		378
-#define __NR_copy_file_range	379
-#define __NR_preadv2		380
-#define __NR_pwritev2		381
-#define __NR_kexec_file_load	382
-#define __NR_statx		383
-#define __NR_pkey_alloc		384
-#define __NR_pkey_free		385
-#define __NR_pkey_mprotect	386
-#define __NR_rseq		387
-#define __NR_io_pgetevents	388
-
-#define __NR_syscalls           389
 
 #endif /* _UAPI_ASM_POWERPC_UNISTD_H_ */
diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile
index 3b66f2c..1179c28 100644
--- a/arch/powerpc/kernel/Makefile
+++ b/arch/powerpc/kernel/Makefile
@@ -30,7 +30,8 @@ endif
 
 obj-y				:= cputable.o ptrace.o syscalls.o \
 				   irq.o align.o signal_32.o pmc.o vdso.o \
-				   process.o systbl.o idle.o \
+				   process.o syscall_table_32.o \
+				   syscall_table_64.o idle.o \
 				   signal.o sysfs.o cacheinfo.o time.o \
 				   prom.o traps.o setup-common.o \
 				   udbg.o misc.o io.o dma.o misc_$(BITS).o \
diff --git a/arch/powerpc/kernel/syscall_table_32.S b/arch/powerpc/kernel/syscall_table_32.S
new file mode 100644
index 0000000..d2635eb
--- /dev/null
+++ b/arch/powerpc/kernel/syscall_table_32.S
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+
+#define __SYSCALL(nr, entry, nargs) .long entry
+
+.section .rodata,"a"
+.globl sys_call_table
+sys_call_table:	
+#include <asm/syscall_table_32.h>
+
diff --git a/arch/powerpc/kernel/syscall_table_64.S b/arch/powerpc/kernel/syscall_table_64.S
new file mode 100644
index 0000000..d251280
--- /dev/null
+++ b/arch/powerpc/kernel/syscall_table_64.S
@@ -0,0 +1,17 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+
+#if defined(CONFIG_PPC64) && defined(CONFIG_COMPAT)
+#define __SYSCALL(nr, entry, nargs) .8byte entry
+.section .rodata,"a"
+.p2align
+.globl sys_call_table32
+sys_call_table32:
+#include <asm/syscall_table_c32.h>
+#elif defined(CONFIG_PPC64) && !defined(CONFIG_COMPAT)
+#define __SYSCALL(nr, entry, nargs) .8byte entry
+.section .rodata,"a"
+.p2align
+.globl sys_call_table64
+sys_call_table64:
+#include <asm/syscall_table_64.h>
+#endif
diff --git a/arch/powerpc/kernel/systbl.S b/arch/powerpc/kernel/systbl.S
deleted file mode 100644
index 919a327..0000000
--- a/arch/powerpc/kernel/systbl.S
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * This file contains the table of syscall-handling functions.
- *    Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
- *
- * Largely rewritten by Cort Dougan (cort@cs.nmt.edu)
- * and Paul Mackerras.
- *
- * Adapted for iSeries by Mike Corrigan (mikejc@us.ibm.com)
- * PPC64 updates by Dave Engebretsen (engebret@us.ibm.com) 
- * 
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version
- * 2 of the License, or (at your option) any later version.
- */
-
-#include <asm/ppc_asm.h>
-
-#ifdef CONFIG_PPC64
-#define SYSCALL(func)		.8byte	DOTSYM(sys_##func),DOTSYM(sys_##func)
-#define COMPAT_SYS(func)	.8byte	DOTSYM(sys_##func),DOTSYM(compat_sys_##func)
-#define PPC_SYS(func)		.8byte	DOTSYM(ppc_##func),DOTSYM(ppc_##func)
-#define OLDSYS(func)		.8byte	DOTSYM(sys_ni_syscall),DOTSYM(sys_ni_syscall)
-#define SYS32ONLY(func)		.8byte	DOTSYM(sys_ni_syscall),DOTSYM(compat_sys_##func)
-#define PPC64ONLY(func)		.8byte	DOTSYM(ppc_##func),DOTSYM(sys_ni_syscall)
-#define SYSX(f, f3264, f32)	.8byte	DOTSYM(f),DOTSYM(f3264)
-#else
-#define SYSCALL(func)		.long	sys_##func
-#define COMPAT_SYS(func)	.long	sys_##func
-#define PPC_SYS(func)		.long	ppc_##func
-#define OLDSYS(func)		.long	sys_##func
-#define SYS32ONLY(func)		.long	sys_##func
-#define PPC64ONLY(func)		.long	sys_ni_syscall
-#define SYSX(f, f3264, f32)	.long	f32
-#endif
-#define SYSCALL_SPU(func)	SYSCALL(func)
-#define COMPAT_SYS_SPU(func)	COMPAT_SYS(func)
-#define COMPAT_SPU_NEW(func)	COMPAT_SYS(func)
-#define SYSX_SPU(f, f3264, f32)	SYSX(f, f3264, f32)
-
-.section .rodata,"a"
-
-#ifdef CONFIG_PPC64
-	.p2align	3
-#endif
-
-.globl sys_call_table
-sys_call_table:
-
-#include <asm/systbl.h>
-- 
1.9.1


^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [PATCH 2/3] powerpc: Add system call table generation support
  2018-09-14  8:32 ` [PATCH 2/3] powerpc: Add system call table generation support Firoz Khan
@ 2018-09-14 10:01   ` Arnd Bergmann
  2018-09-18 12:15     ` Firoz Khan
  0 siblings, 1 reply; 23+ messages in thread
From: Arnd Bergmann @ 2018-09-14 10:01 UTC (permalink / raw)
  To: Firoz Khan
  Cc: linuxppc-dev, Benjamin Herrenschmidt, Paul Mackerras,
	Michael Ellerman, linuxram, leitao, Boqun Feng, gregkh,
	Philippe Ombredanne, Thomas Gleixner, Kate Stewart,
	y2038 Mailman List, Linux Kernel Mailing List, linux-arch,
	Deepa Dinamani, Marcin Juszkiewicz

On Fri, Sep 14, 2018 at 10:33 AM Firoz Khan <firoz.khan@linaro.org> wrote:

> ---
>  arch/powerpc/kernel/syscalls/Makefile       |  51 ++++
>  arch/powerpc/kernel/syscalls/syscall_32.tbl | 378 ++++++++++++++++++++++++++++
>  arch/powerpc/kernel/syscalls/syscall_64.tbl | 372 +++++++++++++++++++++++++++
>  arch/powerpc/kernel/syscalls/syscallhdr.sh  |  37 +++
>  arch/powerpc/kernel/syscalls/syscalltbl.sh  |  38 +++

I think you should only need a single .tbl  input file here.


> +
> +systbl_abi_syscall_table_32 := 32
> +$(out)/syscall_table_32.h: $(syscall32) $(systbl)
> +       $(call if_changed,systbl)
> +
> +systbl_abi_syscall_table_64 := 64
> +$(out)/syscall_table_64.h: $(syscall64) $(systbl)
> +       $(call if_changed,systbl)
> +
> +systbl_abi_syscall_table_c32 := c32
> +$(out)/syscall_table_c32.h: $(syscall32) $(systbl)
> +       $(call if_changed,systbl)

And here you need a fourth output file for the SPU table on ppc64.

> +383     common  statx                           sys_statx
> +384     common  pkey_alloc                      sys_pkey_alloc
> +385     common  pkey_free                       sys_pkey_free
> +386     common  pkey_mprotect                   sys_pkey_mprotect

This also misses rseq and io_pgetevents.

       Arnd

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [PATCH 2/3] powerpc: Add system call table generation support
  2018-09-14 10:01   ` Arnd Bergmann
@ 2018-09-18 12:15     ` Firoz Khan
  2018-09-24 20:59       ` Arnd Bergmann
  0 siblings, 1 reply; 23+ messages in thread
From: Firoz Khan @ 2018-09-18 12:15 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: linuxppc-dev, Benjamin Herrenschmidt, Paul Mackerras,
	Michael Ellerman, Ram Pai, Breno Leitao, Boqun Feng, gregkh,
	Philippe Ombredanne, Thomas Gleixner, Kate Stewart,
	y2038 Mailman List, Linux Kernel Mailing List, linux-arch,
	Deepa Dinamani, Marcin Juszkiewicz

On 14 September 2018 at 15:31, Arnd Bergmann <arnd@arndb.de> wrote:
> On Fri, Sep 14, 2018 at 10:33 AM Firoz Khan <firoz.khan@linaro.org> wrote:
>
>> ---
>>  arch/powerpc/kernel/syscalls/Makefile       |  51 ++++
>>  arch/powerpc/kernel/syscalls/syscall_32.tbl | 378 ++++++++++++++++++++++++++++
>>  arch/powerpc/kernel/syscalls/syscall_64.tbl | 372 +++++++++++++++++++++++++++
>>  arch/powerpc/kernel/syscalls/syscallhdr.sh  |  37 +++
>>  arch/powerpc/kernel/syscalls/syscalltbl.sh  |  38 +++
>
> I think you should only need a single .tbl  input file here.

Yes, we can do that way also.As I mentioned, it will add
more complexity in the script.

 The script has to be smart enough to parse the
.tbl if we add more thing in the .tble file. It need more
logic in the scripts. This is not common. So if you keep
separate .tbl we can avoid this.

ABI flag is serving *nothing* in all other architecture including
SPARC.

But as I told in the cover letter, I followed x86/arm/
s390 architecture's system table generation implementation.
They are keeping ABI flag. In our case we can delete this
flag completely from all architectures.

Most of the architecture these 32/64 similarity is absent.
So it would be better keep separate files to maintain a
generic script across all architecture.

>
>
>> +
>> +systbl_abi_syscall_table_32 := 32
>> +$(out)/syscall_table_32.h: $(syscall32) $(systbl)
>> +       $(call if_changed,systbl)
>> +
>> +systbl_abi_syscall_table_64 := 64
>> +$(out)/syscall_table_64.h: $(syscall64) $(systbl)
>> +       $(call if_changed,systbl)
>> +
>> +systbl_abi_syscall_table_c32 := c32
>> +$(out)/syscall_table_c32.h: $(syscall32) $(systbl)
>> +       $(call if_changed,systbl)
>
> And here you need a fourth output file for the SPU table on ppc64.

Hmm. Let me have a look where things went wrong.

>
>> +383     common  statx                           sys_statx
>> +384     common  pkey_alloc                      sys_pkey_alloc
>> +385     common  pkey_free                       sys_pkey_free
>> +386     common  pkey_mprotect                   sys_pkey_mprotect
>
> This also misses rseq and io_pgetevents.

As I mentioned in the cover letter:
"I started working system call table generation on 4.17-rc1. I used
marcin's script - https://github.com/hrw/syscalls-table to generate
the syscall.tbl file. And this will be the input to the system call
table generation script. But there are couple system call got add
in the latest rc release. If run Marcin's script on latest release,
It will generate a new syscall.tbl. But I still use the old file -
syscall.tbl and once all review got over I'll update syscall.tbl
alone w.r.to the tip of the kernel. The impact of this thing, few
of the system call won't work."

Hopefully, the next version does have this change. Thanks!

- Firoz

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [PATCH 2/3] powerpc: Add system call table generation support
  2018-09-18 12:15     ` Firoz Khan
@ 2018-09-24 20:59       ` Arnd Bergmann
  2018-09-25  0:48         ` Michael Ellerman
  0 siblings, 1 reply; 23+ messages in thread
From: Arnd Bergmann @ 2018-09-24 20:59 UTC (permalink / raw)
  To: Firoz Khan
  Cc: linuxppc-dev, Benjamin Herrenschmidt, Paul Mackerras,
	Michael Ellerman, linuxram, leitao, Boqun Feng, gregkh,
	Philippe Ombredanne, Thomas Gleixner, Kate Stewart,
	y2038 Mailman List, Linux Kernel Mailing List, linux-arch,
	Deepa Dinamani, Marcin Juszkiewicz

On Tue, Sep 18, 2018 at 2:15 PM Firoz Khan <firoz.khan@linaro.org> wrote:
>
> On 14 September 2018 at 15:31, Arnd Bergmann <arnd@arndb.de> wrote:
> > On Fri, Sep 14, 2018 at 10:33 AM Firoz Khan <firoz.khan@linaro.org> wrote:
> >
> >> ---
> >>  arch/powerpc/kernel/syscalls/Makefile       |  51 ++++
> >>  arch/powerpc/kernel/syscalls/syscall_32.tbl | 378 ++++++++++++++++++++++++++++
> >>  arch/powerpc/kernel/syscalls/syscall_64.tbl | 372 +++++++++++++++++++++++++++
> >>  arch/powerpc/kernel/syscalls/syscallhdr.sh  |  37 +++
> >>  arch/powerpc/kernel/syscalls/syscalltbl.sh  |  38 +++
> >
> > I think you should only need a single .tbl  input file here.
>
> Yes, we can do that way also.As I mentioned, it will add
> more complexity in the script.
>
>  The script has to be smart enough to parse the
> .tbl if we add more thing in the .tble file. It need more
> logic in the scripts. This is not common. So if you keep
> separate .tbl we can avoid this.

But all three existing architectures (x86, s390 and arm) already
have the capability to parse the table and generate different output
from that.

> ABI flag is serving *nothing* in all other architecture including
> SPARC.

If you don't use it in sparc, I think that's a bug, see e.g.

#ifdef __32bit_syscall_numbers__
#define __NR_setresuid32        108 /* Linux Specific, sigvec under
SunOS          */
#else
#define __NR_setresuid          108 /* Linux Specific, sigvec under
SunOS          */
#endif

> But as I told in the cover letter, I followed x86/arm/
> s390 architecture's system table generation implementation.
> They are keeping ABI flag. In our case we can delete this
> flag completely from all architectures.
>
> Most of the architecture these 32/64 similarity is absent.
> So it would be better keep separate files to maintain a
> generic script across all architecture.

There are a couple of architectures that definitely need it:
ARM for oabi, x86 for x32, s390, parisc and sparc for compat,
asm-generic for compat, powerpc for compat and spu,
and arm64 if we want to share the arm32 syscall table
for compat mode later.

      Arnd

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [PATCH 2/3] powerpc: Add system call table generation support
  2018-09-24 20:59       ` Arnd Bergmann
@ 2018-09-25  0:48         ` Michael Ellerman
  2018-09-25  6:00           ` Arnd Bergmann
  0 siblings, 1 reply; 23+ messages in thread
From: Michael Ellerman @ 2018-09-25  0:48 UTC (permalink / raw)
  To: Arnd Bergmann, Firoz Khan
  Cc: linuxppc-dev, Benjamin Herrenschmidt, Paul Mackerras, linuxram,
	leitao, Boqun Feng, gregkh, Philippe Ombredanne, Thomas Gleixner,
	Kate Stewart, y2038 Mailman List, Linux Kernel Mailing List,
	linux-arch, Deepa Dinamani, Marcin Juszkiewicz

Arnd Bergmann <arnd@arndb.de> writes:
> On Tue, Sep 18, 2018 at 2:15 PM Firoz Khan <firoz.khan@linaro.org> wrote:
>> On 14 September 2018 at 15:31, Arnd Bergmann <arnd@arndb.de> wrote:
>> > On Fri, Sep 14, 2018 at 10:33 AM Firoz Khan <firoz.khan@linaro.org> wrote:
>> >
>> >> ---
>> >>  arch/powerpc/kernel/syscalls/Makefile       |  51 ++++
>> >>  arch/powerpc/kernel/syscalls/syscall_32.tbl | 378 ++++++++++++++++++++++++++++
>> >>  arch/powerpc/kernel/syscalls/syscall_64.tbl | 372 +++++++++++++++++++++++++++
>> >>  arch/powerpc/kernel/syscalls/syscallhdr.sh  |  37 +++
>> >>  arch/powerpc/kernel/syscalls/syscalltbl.sh  |  38 +++
>> >
>> > I think you should only need a single .tbl  input file here.
>>
>> Yes, we can do that way also.As I mentioned, it will add
>> more complexity in the script.
>>
>>  The script has to be smart enough to parse the
>> .tbl if we add more thing in the .tble file. It need more
>> logic in the scripts. This is not common. So if you keep
>> separate .tbl we can avoid this.
>
> But all three existing architectures (x86, s390 and arm) already
> have the capability to parse the table and generate different output
> from that.

Yeah, we want that on powerpc too.

If the script needs to be more complex that's fine, if it can't be
shared across arches that's fine, the main thing for me is that wiring
up a syscall can be done by adding a single line in a single file.

cheers

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [PATCH 2/3] powerpc: Add system call table generation support
  2018-09-25  0:48         ` Michael Ellerman
@ 2018-09-25  6:00           ` Arnd Bergmann
  2018-09-25 12:25             ` Michael Ellerman
  0 siblings, 1 reply; 23+ messages in thread
From: Arnd Bergmann @ 2018-09-25  6:00 UTC (permalink / raw)
  To: Michael Ellerman
  Cc: Firoz Khan, linuxppc-dev, Benjamin Herrenschmidt, Paul Mackerras,
	linuxram, leitao, Boqun Feng, gregkh, Philippe Ombredanne,
	Thomas Gleixner, Kate Stewart, y2038 Mailman List,
	Linux Kernel Mailing List, linux-arch, Deepa Dinamani,
	Marcin Juszkiewicz

On Tue, Sep 25, 2018 at 2:48 AM Michael Ellerman <mpe@ellerman.id.au> wrote:
> Arnd Bergmann <arnd@arndb.de> writes:
> > On Tue, Sep 18, 2018 at 2:15 PM Firoz Khan <firoz.khan@linaro.org> wrote:
> >> On 14 September 2018 at 15:31, Arnd Bergmann <arnd@arndb.de> wrote:
> >> > On Fri, Sep 14, 2018 at 10:33 AM Firoz Khan <firoz.khan@linaro.org> wrote:
> >
> > But all three existing architectures (x86, s390 and arm) already
> > have the capability to parse the table and generate different output
> > from that.
>
> Yeah, we want that on powerpc too.
>
> If the script needs to be more complex that's fine, if it can't be
> shared across arches that's fine, the main thing for me is that wiring
> up a syscall can be done by adding a single line in a single file.

Yes, that's definitely the idea, we want to make it easier for everyone.
We need at least a special case for mips, which needs three separate
input files (the tables are completely different) to generate four versions
of the output, plus a future extension to use the generic table for their
new one.

For powerpc, I'm hoping that both the table format and script can be
completely generic and not need a special case that is different
from the others, but if we need some extra magic to handle the SPU
syscalls, we can still do that with a private script.

      Arnd

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [PATCH 2/3] powerpc: Add system call table generation support
  2018-09-25  6:00           ` Arnd Bergmann
@ 2018-09-25 12:25             ` Michael Ellerman
  0 siblings, 0 replies; 23+ messages in thread
From: Michael Ellerman @ 2018-09-25 12:25 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: Firoz Khan, linuxppc-dev, Benjamin Herrenschmidt, Paul Mackerras,
	linuxram, leitao, Boqun Feng, gregkh, Philippe Ombredanne,
	Thomas Gleixner, Kate Stewart, y2038 Mailman List,
	Linux Kernel Mailing List, linux-arch, Deepa Dinamani,
	Marcin Juszkiewicz

Arnd Bergmann <arnd@arndb.de> writes:
> On Tue, Sep 25, 2018 at 2:48 AM Michael Ellerman <mpe@ellerman.id.au> wrote:
>> Arnd Bergmann <arnd@arndb.de> writes:
>> > On Tue, Sep 18, 2018 at 2:15 PM Firoz Khan <firoz.khan@linaro.org> wrote:
>> >> On 14 September 2018 at 15:31, Arnd Bergmann <arnd@arndb.de> wrote:
>> >> > On Fri, Sep 14, 2018 at 10:33 AM Firoz Khan <firoz.khan@linaro.org> wrote:
>> >
>> > But all three existing architectures (x86, s390 and arm) already
>> > have the capability to parse the table and generate different output
>> > from that.
>>
>> Yeah, we want that on powerpc too.
>>
>> If the script needs to be more complex that's fine, if it can't be
>> shared across arches that's fine, the main thing for me is that wiring
>> up a syscall can be done by adding a single line in a single file.
>
> Yes, that's definitely the idea, we want to make it easier for everyone.
> We need at least a special case for mips, which needs three separate
> input files (the tables are completely different) to generate four versions
> of the output, plus a future extension to use the generic table for their
> new one.
>
> For powerpc, I'm hoping that both the table format and script can be
> completely generic and not need a special case that is different
> from the others, but if we need some extra magic to handle the SPU
> syscalls, we can still do that with a private script.

Sounds good.

cheers

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [PATCH 0/3] System call table generation support
  2018-09-14  8:32 [PATCH 0/3] System call table generation support Firoz Khan
                   ` (2 preceding siblings ...)
  2018-09-14  8:33 ` [PATCH 3/3] powerpc: uapi header and system call table file generation Firoz Khan
@ 2018-11-29  6:34 ` Satheesh Rajendran
  2018-11-29  8:18   ` Firoz Khan
  3 siblings, 1 reply; 23+ messages in thread
From: Satheesh Rajendran @ 2018-11-29  6:34 UTC (permalink / raw)
  To: Firoz Khan
  Cc: Arnd Bergmann, linuxppc-dev, Benjamin Herrenschmidt,
	Paul Mackerras, Michael Ellerman, Ram Pai, Breno Leitao,
	Boqun Feng, Greg Kroah-Hartman, Philippe Ombredanne,
	Thomas Gleixner, Kate Stewart, linux-arch, y2038, linux-kernel,
	marcin.juszkiewicz, deepa.kernel

[-- Attachment #1: Type: text/plain, Size: 6163 bytes --]

On Fri, Sep 14, 2018 at 02:02:57PM +0530, Firoz Khan wrote:
> The purpose of this patch series is:
> 1. We can easily add/modify/delete system call by changing entry 
> in syscall.tbl file. No need to manually edit many files.
> 
> 2. It is easy to unify the system call implementation across all 
> the architectures. 
> 
> The system call tables are in different format in all architecture 
> and it will be difficult to manually add or modify the system calls
> in the respective files manually. To make it easy by keeping a script 
> and which'll generate the header file and syscall table file so this 
> change will unify them across all architectures.
> 
> syscall.tbl contains the list of available system calls along with 
> system call number and corresponding entry point. Add a new system 
> call in this architecture will be possible by adding new entry in 
> the syscall.tbl file.
> 
> Adding a new table entry consisting of:
>         - System call number.
>         - ABI.
>         - System call name.
>         - Entry point name.
>         - Compat entry name, if required.
> 
> ARM, s390 and x86 architecuture does exist the similar support. I 
> leverage their implementation to come up with a generic solution.
> 
> I have done the same support for work for alpha, m68k, microblaze, 
> ia64, mips, parisc, sh, sparc, and xtensa. But I started sending 
> the patch for one architecuture for review. Below mentioned git
> repository contains more details.
> Git repo:- https://github.com/frzkhn/system_call_table_generator/
> 
> 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.
> 
> I started working system call table generation on 4.17-rc1. I used 
> marcin's script - https://github.com/hrw/syscalls-table to generate 
> the syscall.tbl file. And this will be the input to the system call 
> table generation script. But there are couple system call got add 
> in the latest rc release. If run Marcin's script on latest release,
> It will generate a new syscall.tbl. But I still use the old file - 
> syscall.tbl and once all review got over I'll update syscall.tbl 
> alone w.r.to the tip of the kernel. The impact of this thing, few 
> of the system call won't work. 
> 
> Firoz Khan (3):
>   powerpc: Replace NR_syscalls macro from asm/unistd.h
>   powerpc: Add system call table generation support
>   powerpc: uapi header and system call table file generation
> 
>  arch/powerpc/Makefile                       |   3 +
>  arch/powerpc/include/asm/Kbuild             |   3 +
>  arch/powerpc/include/asm/unistd.h           |   3 +-
>  arch/powerpc/include/uapi/asm/Kbuild        |   2 +
>  arch/powerpc/include/uapi/asm/unistd.h      | 391 +---------------------------
>  arch/powerpc/kernel/Makefile                |   3 +-
>  arch/powerpc/kernel/syscall_table_32.S      |   9 +
>  arch/powerpc/kernel/syscall_table_64.S      |  17 ++
>  arch/powerpc/kernel/syscalls/Makefile       |  51 ++++
>  arch/powerpc/kernel/syscalls/syscall_32.tbl | 378 +++++++++++++++++++++++++++
>  arch/powerpc/kernel/syscalls/syscall_64.tbl | 372 ++++++++++++++++++++++++++
>  arch/powerpc/kernel/syscalls/syscallhdr.sh  |  37 +++
>  arch/powerpc/kernel/syscalls/syscalltbl.sh  |  38 +++
>  arch/powerpc/kernel/systbl.S                |  50 ----
>  14 files changed, 916 insertions(+), 441 deletions(-)
>  create mode 100644 arch/powerpc/kernel/syscall_table_32.S
>  create mode 100644 arch/powerpc/kernel/syscall_table_64.S
>  create mode 100644 arch/powerpc/kernel/syscalls/Makefile
>  create mode 100644 arch/powerpc/kernel/syscalls/syscall_32.tbl
>  create mode 100644 arch/powerpc/kernel/syscalls/syscall_64.tbl
>  create mode 100644 arch/powerpc/kernel/syscalls/syscallhdr.sh
>  create mode 100644 arch/powerpc/kernel/syscalls/syscalltbl.sh
>  delete mode 100644 arch/powerpc/kernel/systbl.S

Hi,

This patch series failed to boot in IBM Power8 box with below base commit and built with ppc64le_defconfig,
https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?h=merge&id=183cbf93be88d1a4fb572e27b1e08aa0ad853b2f

Complete boot log attached.


[    1.577383] SGI XFS with ACLs, security attributes, no debug enabled
[    1.581550] Bad kernel stack pointer 6e690000 at c000000000e2ceec
[    1.581558] Oops: Bad kernel stack pointer, sig: 6 [#1]
[    1.581562] LE SMP NR_CPUS=2048 NUMA PowerNV
[    1.581567] Modules linked in:
[    1.581572] CPU: 3 PID: 1937 Comm: modprobe Not tainted 4.20.0-rc4-gd35c78239 #1
[    1.581577] NIP:  c000000000e2ceec LR: c00000000000b9e4 CTR: c000000000e2cee0
[    1.581582] REGS: c0000007ffe77d30 TRAP: 0e40   Not tainted  (4.20.0-rc4-gd35c78239)
[    1.581586] MSR:  9000000000009033 <SF,HV,EE,ME,IR,DR,RI,LE>  CR: 48024488  XER: 00000000
[    1.5815
94] CFAR: c00000000000b9e0 IRQMASK: c0000000014d1bd8
[    1.581594] GPR00: 00000000000011e0 000000006e690000 c000000001498900 ffffffffffffff9c
[    1.581594] GPR04: c00000006ecb0ff8 0000000000080000 0000000000000000 7f7f7f7f7f7f7f7f
[    1.581594] GPR08: 0000000000000000 c000001e5104fe90 0000000000000000 c000000000c30ff8
[    1.581594] GPR12: c000000000e2cee0 c0000007ffffd800 4f4c5f4543415254 00007fffb55927d0
[    1.581594] GPR16: 00007fffb55bfbf0 00007fffc087b160 c000000065b70ff8 00007fffc087b5c8
[    1.581594] GPR20: 000000000000000d 0000000000000000 0000000000000000 000000000000
0000
[    1.581594] GPR24: 000000012b660d79 0000000000000000 00007fffb55c0000 0000000000000000
[    1.581594] GPR28: 00007fffb55c1110 0000000000000001 00007fffb55c1050 00007fffc087a880
[    1.58
1637] NIP [c000000000e2ceec] str_spec.65753+0x147da0/0x1f1c5c
[    1.581643] LR [c00000000000b9e4] system_call+0x5c/0x70
[    1.581646] Call Trace:
[    1.581648] Instruction dump:
[    1.581652]
XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX
[    1.581657] XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX
[    1.581664] ---[ end trace 37e56b4
4979b6992 ]---
[    1.582355]

Regards,
-Satheesh.
> 
> -- 
> 1.9.1
> 

[-- Attachment #2: debug.log --]
[-- Type: text/plain, Size: 167541 bytes --]

[console-expect]#
cd /home/kvmci && git clone --depth 1  git@github.com:sathnaga/linux.git -b _v3,4_4__powerpc_generate_uapi_header_and_system_call_table_files_mbox_merge linux
Cloning into 'linux'...
remote: Enumerating objects: 66330, done.^[[K
remote: Counting objects:   0% (1/66330)   ^[[K
remote: Counting objects:   0% (73/66330)   ^[[K
remote: Counting objects:   1% (664/66330)   ^[[K
remote: Counting objects:   2% (1327/66330)   ^[[K
remote: Counting objects:   3% (1990/66330)   ^[[K
remote: Counting objects:   4% (2654/66330)   ^[[K
remote: Counting objects:   5% (3317/66330)   ^[[K
remote: Counting objects:   6% (3980/66330)   ^[[K
remote: Counting objects:   7% (4644/66330)   ^[[K
remote: Counting objects:   8% (5307/66330)   ^[[K
remote: Counting objects:   9% (5970/66330)   ^[[K
remote: Counting objects:  10% (6633/66330)   ^[[K
remote: Counting objects:  11% (7297/66330)   ^[[K
remote: Counting objects:  12% (7960/66330)   ^[[K
remote: Counting objects:  13% (8623/66330)   ^[[K
remote: Counting objects:  14% (9287/66330)   ^[[K
remote: Counting objects:  15% (9950/66330)   ^[[K
remote: Counting objects:  16% (10613/66330)   ^[[K
remote: Counting objects:  17% (11277/66330)   ^[[K
remote: Counting objects:  18% (11940/66330)   ^[[K
remote: Counting objects:  19% (12603/66330)   ^[[K
remote: Counting objects:  20% (13266/66330)   ^[[K
remote: Counting objects:  21% (13930/66330)   ^[[K
remote: Counting objects:  22% (14593/66330)   ^[[K
remote: Counting objects:  23% (15256/66330)   ^[[K
remote: Counting objects:  24% (15920/66330)   ^[[K
remote: Counting objects:  25% (16583/66330)   ^[[K
remote: Counting objects:  26% (17246/66330)   ^[[K
remote: Counting objects:  27% (17910/66330)   ^[[K
remote: Counting objects:  28% (18573/66330)   ^[[K
remote: Counting objects:  29% (19236/66330)   ^[[K
remote: Counting objects:  30% (19899/66330)   ^[[K
remote: Counting objects:  31% (20563/66330)   ^[[K
remote: Counting objects:  32% (21226/66330)   ^[[K
remote: Counting objects:  33% (21889/66330)   ^[[K
remote: Counting objects:  34% (22553/66330)   ^[[K
remote: Counting objects:  35% (23216/66330)   ^[[K
remote: Counting objects:  36% (23879/66330)   ^[[K
remote: Counting objects:  37% (24543/66330)   ^[[K
remote: Counting objects:  38% (25206/66330)   ^[[K
remote: Counting objects:  39% (25869/66330)   ^[[K
remote: Counting objects:  39% (26248/66330)   ^[[K
remote: Counting objects:  40% (26532/66330)   ^[[K
remote: Counting objects:  41% (27196/66330)   ^[[K
remote: Counting objects:  42% (27859/66330)   ^[[K
remote: Counting objects:  43% (28522/66330)   ^[[K
remote: Counting objects:  44% (29186/66330)   ^[[K
remote: Counting objects:  45% (29849/66330)   ^[[K
remote: Counting objects:  46% (30512/66330)   ^[[K
remote: Counting objects:  47% (31176/66330)   ^[[K
remote: Counting objects:  48% (31839/66330)   ^[[K
remote: Counting objects:  49% (32502/66330)   ^[[K
remote: Counting objects:  50% (33165/66330)   ^[[K
remote: Counting objects:  51% (33829/66330)   ^[[K
remote: Counting objects:  52% (34492/66330)   ^[[K
remote: Counting objects:  53% (35155/66330)   ^[[K
remote: Counting objects:  54% (35819/66330)   ^[[K
remote: Counting objects:  55% (36482/66330)   ^[[K
remote: Counting objects:  56% (37145/66330)   ^[[K
remote: Counting objects:  57% (37809/66330)   ^[[K
remote: Counting objects:  58% (38472/66330)   ^[[K
remote: Counting objects:  59% (39135/66330)   ^[[K
remote: Counting objects:  60% (39798/66330)   ^[[K
remote: Counting objects:  61% (40462/66330)   ^[[K
remote: Counting objects:  62% (41125/66330)   ^[[K
remote: Counting objects:  63% (41788/66330)   ^[[K
remote: Counting objects:  64% (42452/66330)   ^[[K
remote: Counting objects:  65% (43115/66330)   ^[[K
remote: Counting objects:  66% (43778/66330)   ^[[K
remote: Counting objects:  67% (44442/66330)   ^[[K
remote: Counting objects:  68% (45105/66330)   ^[[K
remote: Counting objects:  69% (45768/66330)   ^[[K
remote: Counting objects:  70% (46431/66330)   ^[[K
remote: Counting objects:  71% (47095/66330)   ^[[K
remote: Counting objects:  72% (47758/66330)   ^[[K
remote: Counting objects:  73% (48421/66330)   ^[[K
remote: Counting objects:  74% (49085/66330)   ^[[K
remote: Counting objects:  75% (49748/66330)   ^[[K
remote: Counting objects:  76% (50411/66330)   ^[[K
remote: Counting objects:  77% (51075/66330)   ^[[K
remote: Counting objects:  78% (51738/66330)   ^[[K
remote: Counting objects:  79% (52401/66330)   ^[[K
remote: Counting objects:  80% (53064/66330)   ^[[K
remote: Counting objects:  81% (53728/66330)   ^[[K
remote: Counting objects:  82% (54391/66330)   ^[[K
remote: Counting objects:  83% (55054/66330)   ^[[K
remote: Counting objects:  84% (55718/66330)   ^[[K
remote: Counting objects:  85% (56381/66330)   ^[[K
remote: Counting objects:  86% (57044/66330)   ^[[K
remote: Counting objects:  87% (57708/66330)   ^[[K
remote: Counting objects:  88% (58371/66330)   ^[[K
remote: Counting objects:  89% (59034/66330)   ^[[K
remote: Counting objects:  90% (59697/66330)   ^[[K
remote: Counting objects:  91% (60361/66330)   ^[[K
remote: Counting objects:  92% (61024/66330)   ^[[K
remote: Counting objects:  93% (61687/66330)   ^[[K
remote: Counting objects:  94% (62351/66330)   ^[[K
remote: Counting objects:  95% (63014/66330)   ^[[K
remote: Counting objects:  96% (63677/66330)   ^[[K
remote: Counting objects:  97% (64341/66330)   ^[[K
remote: Counting objects:  98% (65004/66330)   ^[[K
remote: Counting objects:  99% (65667/66330)   ^[[K
remote: Counting objects: 100% (66330/66330)   ^[[K
remote: Counting objects: 100% (66330/66330), done.^[[K
remote: Compressing objects:   0% (1/62171)   ^[[K
remote: Compressing objects:   1% (622/62171)   ^[[K
remote: Compressing objects:   2% (1244/62171)   ^[[K
remote: Compressing objects:   3% (1866/62171)   ^[[K
remote: Compressing objects:   4% (2487/62171)   ^[[K
remote: Compressing objects:   5% (3109/62171)   ^[[K
remote: Compressing objects:   6% (3731/62171)   ^[[K
remote: Compressing objects:   7% (4352/62171)   ^[[K
remote: Compressing objects:   8% (4974/62171)   ^[[K
remote: Compressing objects:   9% (5596/62171)   ^[[K
remote: Compressing objects:   9% (6169/62171)   ^[[K
remote: Compressing objects:  10% (6218/62171)   ^[[K
remote: Compressing objects:  11% (6839/62171)   ^[[K
remote: Compressing objects:  12% (7461/62171)   ^[[K
remote: Compressing objects:  13% (8083/62171)   ^[[K
remote: Compressing objects:  14% (8704/62171)   ^[[K
remote: Compressing objects:  15% (9326/62171)   ^[[K
remote: Compressing objects:  16% (9948/62171)   ^[[K
remote: Compressing objects:  16% (10087/62171)   ^[[K
remote: Compressing objects:  17% (10570/62171)   ^[[K
remote: Compressing objects:  18% (11191/62171)   ^[[K
remote: Compressing objects:  19% (11813/62171)   ^[[K
remote: Compressing objects:  20% (12435/62171)   ^[[K
remote: Compressing objects:  21% (13056/62171)   ^[[K
remote: Compressing objects:  22% (13678/62171)   ^[[K
remote: Compressing objects:  23% (14300/62171)   ^[[K
remote: Compressing objects:  24% (14922/62171)   ^[[K
remote: Compressing objects:  25% (15543/62171)   ^[[K
remote: Compressing objects:  26% (16165/62171)   ^[[K
remote: Compressing objects:  26% (16487/62171)   ^[[K
remote: Compressing objects:  27% (16787/62171)   ^[[K
remote: Compressing objects:  28% (17408/62171)   ^[[K
remote: Compressing objects:  29% (18030/62171)   ^[[K
remote: Compressing objects:  30% (18652/62171)   ^[[K
remote: Compressing objects:  31% (19274/62171)   ^[[K
remote: Compressing objects:  32% (19895/62171)   ^[[K
remote: Compressing objects:  32% (20103/62171)   ^[[K
remote: Compressing objects:  33% (20517/62171)   ^[[K
remote: Compressing objects:  34% (21139/62171)   ^[[K
remote: Compressing objects:  34% (21548/62171)   ^[[K
remote: Compressing objects:  35% (21760/62171)   ^[[K
remote: Compressing objects:  36% (22382/62171)   ^[[K
remote: Compressing objects:  37% (23004/62171)   ^[[K
remote: Compressing objects:  38% (23625/62171)   ^[[K
remote: Compressing objects:  38% (24076/62171)   ^[[K
remote: Compressing objects:  39% (24247/62171)   ^[[K
remote: Compressing objects:  40% (24869/62171)   ^[[K
remote: Compressing objects:  41% (25491/62171)   ^[[K
remote: Compressing objects:  42% (26112/62171)   ^[[K
remote: Compressing objects:  43% (26734/62171)   ^[[K
remote: Compressing objects:  44% (27356/62171)   ^[[K
remote: Compressing objects:  44% (27795/62171)   ^[[K
remote: Compressing objects:  45% (27977/62171)   ^[[K
remote: Compressing objects:  46% (28599/62171)   ^[[K
remote: Compressing objects:  47% (29221/62171)   ^[[K
remote: Compressing objects:  48% (29843/62171)   ^[[K
remote: Compressing objects:  49% (30464/62171)   ^[[K
remote: Compressing objects:  49% (30477/62171)   ^[[K
remote: Compressing objects:  50% (31086/62171)   ^[[K
remote: Compressing objects:  51% (31708/62171)   ^[[K
remote: Compressing objects:  51% (31804/62171)   ^[[K
remote: Compressing objects:  52% (32329/62171)   ^[[K
remote: Compressing objects:  53% (32951/62171)   ^[[K
remote: Compressing objects:  53% (33336/62171)   ^[[K
remote: Compressing objects:  54% (33573/62171)   ^[[K
remote: Compressing objects:  55% (34195/62171)   ^[[K
remote: Compressing objects:  55% (34621/62171)   ^[[K
remote: Compressing objects:  56% (34816/62171)   ^[[K
remote: Compressing objects:  57% (35438/62171)   ^[[K
remote: Compressing objects:  57% (36047/62171)   ^[[K
remote: Compressing objects:  58% (36060/62171)   ^[[K
remote: Compressing objects:  59% (36681/62171)   ^[[K
remote: Compressing objects:  60% (37303/62171)   ^[[K
remote: Compressing objects:  60% (37304/62171)   ^[[K
remote: Compressing objects:  61% (37925/62171)   ^[[K
remote: Compressing objects:  62% (38547/62171)   ^[[K
remote: Compressing objects:  62% (38549/62171)   ^[[K
remote: Compressing objects:  63% (39168/62171)   ^[[K
remote: Compressing objects:  64% (39790/62171)   ^[[K
remote: Compressing objects:  64% (40163/62171)   ^[[K
remote: Compressing objects:  65% (40412/62171)   ^[[K
remote: Compressing objects:  66% (41033/62171)   ^[[K
remote: Compressing objects:  66% (41542/62171)   ^[[K
remote: Compressing objects:  67% (41655/62171)   ^[[K
remote: Compressing objects:  68% (42277/62171)   ^[[K
remote: Compressing objects:  68% (42297/62171)   ^[[K
remote: Compressing objects:  69% (42898/62171)   ^[[K
remote: Compressing objects:  69% (43485/62171)   ^[[K
remote: Compressing objects:  70% (43520/62171)   ^[[K
remote: Compressing objects:  71% (44142/62171)   ^[[K
remote: Compressing objects:  71% (44615/62171)   ^[[K
remote: Compressing objects:  72% (44764/62171)   ^[[K
remote: Compressing objects:  73% (45385/62171)   ^[[K
remote: Compressing objects:  73% (45935/62171)   ^[[K
remote: Compressing objects:  74% (46007/62171)   ^[[K
remote: Compressing objects:  74% (46615/62171)   ^[[K
remote: Compressing objects:  75% (46629/62171)   ^[[K
remote: Compressing objects:  76% (47250/62171)   ^[[K
remote: Compressing objects:  77% (47872/62171)   ^[[K
remote: Compressing objects:  77% (48049/62171)   ^[[K
remote: Compressing objects:  78% (48494/62171)   ^[[K
remote: Compressing objects:  79% (49116/62171)   ^[[K
remote: Compressing objects:  79% (49240/62171)   ^[[K
remote: Compressing objects:  80% (49737/62171)   ^[[K
remote: Compressing objects:  81% (50359/62171)   ^[[K
remote: Compressing objects:  81% (50499/62171)   ^[[K
remote: Compressing objects:  82% (50981/62171)   ^[[K
remote: Compressing objects:  83% (51602/62171)   ^[[K
remote: Compressing objects:  83% (51664/62171)   ^[[K
remote: Compressing objects:  84% (52224/62171)   ^[[K
remote: Compressing objects:  84% (52828/62171)   ^[[K
remote: Compressing objects:  85% (52846/62171)   ^[[K
remote: Compressing objects:  86% (53468/62171)   ^[[K
remote: Compressing objects:  87% (54089/62171)   ^[[K
remote: Compressing objects:  87% (54235/62171)   ^[[K
remote: Compressing objects:  88% (54711/62171)   ^[[K
remote: Compressing objects:  89% (55333/62171)   ^[[K
remote: Compressing objects:  89% (55560/62171)   ^[[K
remote: Compressing objects:  90% (55954/62171)   ^[[K
remote: Compressing objects:  91% (56576/62171)   ^[[K
remote: Compressing objects:  91% (56705/62171)   ^[[K
remote: Compressing objects:  92% (57198/62171)   ^[[K
remote: Compressing objects:  93% (57820/62171)   ^[[K
remote: Compressing objects:  94% (58441/62171)   ^[[K
remote: Compressing objects:  95% (59063/62171)   ^[[K
remote: Compressing objects:  96% (59685/62171)   ^[[K
remote: Compressing objects:  97% (60306/62171)   ^[[K
remote: Compressing objects:  98% (60928/62171)   ^[[K
remote: Compressing objects:  99% (61550/62171)   ^[[K
remote: Compressing objects: 100% (62171/62171)   ^[[K
remote: Compressing objects: 100% (62171/62171), done.^[[K
Receiving objects:   0% (1/66330)   
Receiving objects:   1% (664/66330)   
Receiving objects:   2% (1327/66330)   
Receiving objects:   3% (1990/66330)   
Receiving objects:   4% (2654/66330)   
Receiving objects:   5% (3317/66330)   
Receiving objects:   6% (3980/66330)   
Receiving objects:   7% (4644/66330), 3.78 MiB | 7.54 MiB/s   
Receiving objects:   8% (5307/66330), 3.78 MiB | 7.54 MiB/s   
Receiving objects:   9% (5970/66330), 3.78 MiB | 7.54 MiB/s   
Receiving objects:  10% (6633/66330), 3.78 MiB | 7.54 MiB/s   
Receiving objects:  10% (6706/66330), 3.78 MiB | 7.54 MiB/s   
Receiving objects:  11% (7297/66330), 9.37 MiB | 9.35 MiB/s   
Receiving objects:  12% (7960/66330), 9.37 MiB | 9.35 MiB/s   
Receiving objects:  13% (8623/66330), 9.37 MiB | 9.35 MiB/s   
Receiving objects:  14% (9287/66330), 9.37 MiB | 9.35 MiB/s   
Receiving objects:  15% (9950/66330), 9.37 MiB | 9.35 MiB/s   
Receiving objects:  16% (10613/66330), 9.37 MiB | 9.35 MiB/s   
Receiving objects:  17% (11277/66330), 14.57 MiB | 9.70 MiB/s   
Receiving objects:  18% (11940/66330), 14.57 MiB | 9.70 MiB/s   
Receiving objects:  19% (12603/66330), 14.57 MiB | 9.70 MiB/s   
Receiving objects:  20% (13266/66330), 14.57 MiB | 9.70 MiB/s   
Receiving objects:  21% (13930/66330), 14.57 MiB | 9.70 MiB/s   
Receiving objects:  21% (13944/66330), 14.57 MiB | 9.70 MiB/s   
Receiving objects:  22% (14593/66330), 19.20 MiB | 9.59 MiB/s   
Receiving objects:  23% (15256/66330), 19.20 MiB | 9.59 MiB/s   
Receiving objects:  24% (15920/66330), 19.20 MiB | 9.59 MiB/s   
Receiving objects:  25% (16583/66330), 19.20 MiB | 9.59 MiB/s   
Receiving objects:  26% (17246/66330), 19.20 MiB | 9.59 MiB/s   
Receiving objects:  27% (17910/66330), 23.94 MiB | 9.57 MiB/s   
Receiving objects:  28% (18573/66330), 23.94 MiB | 9.57 MiB/s   
Receiving objects:  29% (19236/66330), 23.94 MiB | 9.57 MiB/s   
Receiving objects:  30% (19899/66330), 23.94 MiB | 9.57 MiB/s   
Receiving objects:  30% (20399/66330), 23.94 MiB | 9.57 MiB/s   
Receiving objects:  31% (20563/66330), 28.86 MiB | 9.62 MiB/s   
Receiving objects:  32% (21226/66330), 28.86 MiB | 9.62 MiB/s   
Receiving objects:  33% (21889/66330), 28.86 MiB | 9.62 MiB/s   
Receiving objects:  34% (22553/66330), 32.76 MiB | 9.36 MiB/s   
Receiving objects:  35% (23216/66330), 32.76 MiB | 9.36 MiB/s   
Receiving objects:  35% (23862/66330), 32.76 MiB | 9.36 MiB/s   
Receiving objects:  36% (23879/66330), 36.13 MiB | 9.03 MiB/s   
Receiving objects:  37% (24543/66330), 36.13 MiB | 9.03 MiB/s   
Receiving objects:  38% (25206/66330), 39.94 MiB | 8.87 MiB/s   
Receiving objects:  39% (25869/66330), 39.94 MiB | 8.87 MiB/s   
Receiving objects:  39% (26245/66330), 39.94 MiB | 8.87 MiB/s   
Receiving objects:  40% (26532/66330), 43.59 MiB | 8.85 MiB/s   
Receiving objects:  41% (27196/66330), 43.59 MiB | 8.85 MiB/s   
Receiving objects:  41% (27532/66330), 49.32 MiB | 7.72 MiB/s   
Receiving objects:  42% (27859/66330), 53.34 MiB | 7.59 MiB/s   
Receiving objects:  43% (28522/66330), 53.34 MiB | 7.59 MiB/s   
Receiving objects:  44% (29186/66330), 53.34 MiB | 7.59 MiB/s   
Receiving objects:  44% (29273/66330), 53.34 MiB | 7.59 MiB/s   
Receiving objects:  45% (29849/66330), 57.98 MiB | 7.57 MiB/s   
Receiving objects:  46% (30512/66330), 57.98 MiB | 7.57 MiB/s   
Receiving objects:  47% (31176/66330), 62.26 MiB | 7.42 MiB/s   
Receiving objects:  48% (31839/66330), 62.26 MiB | 7.42 MiB/s   
Receiving objects:  48% (32414/66330), 62.26 MiB | 7.42 MiB/s   
Receiving objects:  49% (32502/66330), 66.50 MiB | 7.50 MiB/s   
Receiving objects:  50% (33165/66330), 66.50 MiB | 7.50 MiB/s   
Receiving objects:  51% (33829/66330), 70.67 MiB | 7.67 MiB/s   
Receiving objects:  51% (34388/66330), 74.28 MiB | 7.63 MiB/s   
Receiving objects:  52% (34492/66330), 74.28 MiB | 7.63 MiB/s   
Receiving objects:  53% (35155/66330), 74.28 MiB | 7.63 MiB/s   
Receiving objects:  54% (35819/66330), 78.46 MiB | 7.75 MiB/s   
Receiving objects:  55% (36482/66330), 78.46 MiB | 7.75 MiB/s   
Receiving objects:  55% (36962/66330), 78.46 MiB | 7.75 MiB/s   
Receiving objects:  56% (37145/66330), 82.54 MiB | 7.81 MiB/s   
Receiving objects:  57% (37809/66330), 82.54 MiB | 7.81 MiB/s   
Receiving objects:  58% (38472/66330), 86.89 MiB | 8.35 MiB/s   
Receiving objects:  58% (38699/66330), 86.89 MiB | 8.35 MiB/s   
Receiving objects:  59% (39135/66330), 90.06 MiB | 8.16 MiB/s   
Receiving objects:  60% (39798/66330), 93.28 MiB | 7.84 MiB/s   
Receiving objects:  60% (39926/66330), 93.28 MiB | 7.84 MiB/s   
Receiving objects:  61% (40462/66330), 96.56 MiB | 7.62 MiB/s   
Receiving objects:  62% (41125/66330), 100.32 MiB | 7.51 MiB/s   
Receiving objects:  62% (41303/66330), 100.32 MiB | 7.51 MiB/s   
Receiving objects:  63% (41788/66330), 103.75 MiB | 7.34 MiB/s   
Receiving objects:  64% (42452/66330), 107.31 MiB | 7.33 MiB/s   
Receiving objects:  65% (43115/66330), 107.31 MiB | 7.33 MiB/s   
Receiving objects:  65% (43316/66330), 107.31 MiB | 7.33 MiB/s   
Receiving objects:  66% (43778/66330), 111.11 MiB | 7.25 MiB/s   
Receiving objects:  67% (44442/66330), 111.11 MiB | 7.25 MiB/s   
Receiving objects:  67% (44999/66330), 114.94 MiB | 7.19 MiB/s   
Receiving objects:  68% (45105/66330), 118.25 MiB | 6.94 MiB/s   
Receiving objects:  69% (45768/66330), 121.57 MiB | 6.98 MiB/s   
Receiving objects:  70% (46431/66330), 121.57 MiB | 6.98 MiB/s   
Receiving objects:  70% (46902/66330), 121.57 MiB | 6.98 MiB/s   
Receiving objects:  71% (47095/66330), 125.04 MiB | 7.03 MiB/s   
Receiving objects:  72% (47758/66330), 125.04 MiB | 7.03 MiB/s   
Receiving objects:  73% (48421/66330), 128.26 MiB | 7.02 MiB/s   
Receiving objects:  73% (48662/66330), 128.26 MiB | 7.02 MiB/s   
Receiving objects:  74% (49085/66330), 131.68 MiB | 6.95 MiB/s   
Receiving objects:  75% (49748/66330), 131.68 MiB | 6.95 MiB/s   
Receiving objects:  76% (50411/66330), 136.07 MiB | 7.16 MiB/s   
Receiving objects:  76% (50650/66330), 136.07 MiB | 7.16 MiB/s   
Receiving objects:  77% (51075/66330), 139.36 MiB | 7.10 MiB/s   
Receiving objects:  78% (51738/66330), 142.46 MiB | 6.94 MiB/s   
Receiving objects:  79% (52401/66330), 142.46 MiB | 6.94 MiB/s   
Receiving objects:  79% (52977/66330), 142.46 MiB | 6.94 MiB/s   
Receiving objects:  80% (53064/66330), 142.46 MiB | 6.94 MiB/s   
Receiving objects:  81% (53728/66330), 146.50 MiB | 6.99 MiB/s   
Receiving objects:  82% (54391/66330), 146.50 MiB | 6.99 MiB/s   
Receiving objects:  83% (55054/66330), 146.50 MiB | 6.99 MiB/s   
Receiving objects:  84% (55718/66330), 146.50 MiB | 6.99 MiB/s   
Receiving objects:  85% (56381/66330), 150.96 MiB | 7.25 MiB/s   
Receiving objects:  86% (57044/66330), 150.96 MiB | 7.25 MiB/s   
Receiving objects:  86% (57487/66330), 150.96 MiB | 7.25 MiB/s   
Receiving objects:  87% (57708/66330), 155.18 MiB | 7.45 MiB/s   
Receiving objects:  88% (58371/66330), 155.18 MiB | 7.45 MiB/s   
Receiving objects:  89% (59034/66330), 158.97 MiB | 7.52 MiB/s   
Receiving objects:  89% (59509/66330), 158.97 MiB | 7.52 MiB/s   
Receiving objects:  90% (59697/66330), 162.74 MiB | 7.64 MiB/s   
Receiving objects:  91% (60361/66330), 162.74 MiB | 7.64 MiB/s   
Receiving objects:  92% (61024/66330), 162.74 MiB | 7.64 MiB/s   
Receiving objects:  93% (61687/66330), 166.41 MiB | 7.70 MiB/s   
Receiving objects:  93% (61944/66330), 166.41 MiB | 7.70 MiB/s   
Receiving objects:  94% (62351/66330), 169.82 MiB | 7.48 MiB/s   
Receiving objects:  95% (63014/66330), 169.82 MiB | 7.48 MiB/s   
Receiving objects:  96% (63677/66330), 173.47 MiB | 7.57 MiB/s   
Receiving objects:  97% (64341/66330), 173.47 MiB | 7.57 MiB/s   
Receiving objects:  98% (65004/66330), 173.47 MiB | 7.57 MiB/s   
Receiving objects:  99% (65667/66330), 173.47 MiB | 7.57 MiB/s   
Receiving objects: 100% (66330/66330), 173.47 MiB | 7.57 MiB/s   
Receiving objects: 100% (66330/66330), 177.05 MiB | 7.70 MiB/s, done.
Resolving deltas:   0% (0/5370)   
Resolving deltas:   1% (54/5370)   
Resolving deltas:   2% (110/5370)   
remote: Total 66330 (delta 5370), reused 16695 (delta 3229), pack-reused 0^[[K
Resolving deltas:   3% (162/5370)   
Resolving deltas:   4% (216/5370)   
Resolving deltas:   5% (269/5370)   
Resolving deltas:   6% (324/5370)   
Resolving deltas:   7% (376/5370)   
Resolving deltas:   8% (434/5370)   
Resolving deltas:   9% (485/5370)   
Resolving deltas:  10% (537/5370)   
Resolving deltas:  11% (593/5370)   
Resolving deltas:  12% (646/5370)   
Resolving deltas:  13% (699/5370)   
Resolving deltas:  14% (752/5370)   
Resolving deltas:  15% (808/5370)   
Resolving deltas:  16% (861/5370)   
Resolving deltas:  17% (916/5370)   
Resolving deltas:  18% (970/5370)   
Resolving deltas:  19% (1022/5370)   
Resolving deltas:  20% (1074/5370)   
Resolving deltas:  21% (1129/5370)   
Resolving deltas:  22% (1183/5370)   
Resolving deltas:  23% (1237/5370)   
Resolving deltas:  24% (1289/5370)   
Resolving deltas:  25% (1345/5370)   
Resolving deltas:  26% (1397/5370)   
Resolving deltas:  27% (1450/5370)   
Resolving deltas:  28% (1504/5370)   
Resolving deltas:  29% (1558/5370)   
Resolving deltas:  30% (1611/5370)   
Resolving deltas:  31% (1667/5370)   
Resolving deltas:  32% (1719/5370)   
Resolving deltas:  33% (1773/5370)   
Resolving deltas:  34% (1827/5370)   
Resolving deltas:  35% (1880/5370)   
Resolving deltas:  36% (1935/5370)   
Resolving deltas:  37% (1987/5370)   
Resolving deltas:  38% (2041/5370)   
Resolving deltas:  39% (2095/5370)   
Resolving deltas:  40% (2150/5370)   
Resolving deltas:  41% (2202/5370)   
Resolving deltas:  42% (2256/5370)   
Resolving deltas:  43% (2310/5370)   
Resolving deltas:  44% (2367/5370)   
Resolving deltas:  45% (2420/5370)   
Resolving deltas:  46% (2479/5370)   
Resolving deltas:  47% (2525/5370)   
Resolving deltas:  48% (2581/5370)   
Resolving deltas:  49% (2632/5370)   
Resolving deltas:  50% (2686/5370)   
Resolving deltas:  51% (2739/5370)   
Resolving deltas:  52% (2793/5370)   
Resolving deltas:  53% (2848/5370)   
Resolving deltas:  54% (2900/5370)   
Resolving deltas:  55% (2954/5370)   
Resolving deltas:  56% (3009/5370)   
Resolving deltas:  57% (3066/5370)   
Resolving deltas:  58% (3115/5370)   
Resolving deltas:  59% (3169/5370)   
Resolving deltas:  60% (3229/5370)   
Resolving deltas:  61% (3279/5370)   
Resolving deltas:  62% (3331/5370)   
Resolving deltas:  63% (3384/5370)   
Resolving deltas:  64% (3437/5370)   
Resolving deltas:  65% (3493/5370)   
Resolving deltas:  66% (3547/5370)   
Resolving deltas:  67% (3599/5370)   
Resolving deltas:  68% (3662/5370)   
Resolving deltas:  69% (3706/5370)   
Resolving deltas:  70% (3759/5370)   
Resolving deltas:  71% (3813/5370)   
Resolving deltas:  72% (3867/5370)   
Resolving deltas:  73% (3921/5370)   
Resolving deltas:  74% (3974/5370)   
Resolving deltas:  75% (4028/5370)   
Resolving deltas:  76% (4082/5370)   
Resolving deltas:  77% (4135/5370)   
Resolving deltas:  78% (4189/5370)   
Resolving deltas:  79% (4247/5370)   
Resolving deltas:  80% (4299/5370)   
Resolving deltas:  81% (4350/5370)   
Resolving deltas:  82% (4404/5370)   
Resolving deltas:  83% (4458/5370)   
Resolving deltas:  84% (4511/5370)   
Resolving deltas:  85% (4565/5370)   
Resolving deltas:  86% (4619/5370)   
Resolving deltas:  87% (4672/5370)   
Resolving deltas:  88% (4726/5370)   
Resolving deltas:  89% (4780/5370)   
Resolving deltas:  90% (4833/5370)   
Resolving deltas:  91% (4887/5370)   
Resolving deltas:  92% (4941/5370)   
Resolving deltas:  93% (4995/5370)   
Resolving deltas:  94% (5048/5370)   
Resolving deltas:  95% (5102/5370)   
Resolving deltas:  96% (5163/5370)   
Resolving deltas:  97% (5211/5370)   
Resolving deltas:  98% (5263/5370)   
Resolving deltas:  99% (5317/5370)   
Resolving deltas: 100% (5370/5370)   
Resolving deltas: 100% (5370/5370), done.
Checking out files:  28% (17710/62473)   
Checking out files:  29% (18118/62473)   
Checking out files:  30% (18742/62473)   
Checking out files:  31% (19367/62473)   
Checking out files:  32% (19992/62473)   
Checking out files:  33% (20617/62473)   
Checking out files:  34% (21241/62473)   
Checking out files:  35% (21866/62473)   
Checking out files:  36% (22491/62473)   
Checking out files:  37% (23116/62473)   
Checking out files:  38% (23740/62473)   
Checking out files:  39% (24365/62473)   
Checking out files:  40% (24990/62473)   
Checking out files:  41% (25614/62473)   
Checking out files:  42% (26239/62473)   
Checking out files:  43% (26864/62473)   
Checking out files:  44% (27489/62473)   
Checking out files:  44% (27764/62473)   
Checking out files:  45% (28113/62473)   
Checking out files:  46% (28738/62473)   
Checking out files:  47% (29363/62473)   
Checking out files:  48% (29988/62473)   
Checking out files:  49% (30612/62473)   
Checking out files:  50% (31237/62473)   
Checking out files:  51% (31862/62473)   
Checking out files:  52% (32486/62473)   
Checking out files:  53% (33111/62473)   
Checking out files:  54% (33736/62473)   
Checking out files:  55% (34361/62473)   
Checking out files:  56% (34985/62473)   
Checking out files:  57% (35610/62473)   
Checking out files:  58% (36235/62473)   
Checking out files:  59% (36860/62473)   
Checking out files:  60% (37484/62473)   
Checking out files:  60% (37662/62473)   
Checking out files:  61% (38109/62473)   
Checking out files:  62% (38734/62473)   
Checking out files:  63% (39358/62473)   
Checking out files:  64% (39983/62473)   
Checking out files:  65% (40608/62473)   
Checking out files:  66% (41233/62473)   
Checking out files:  67% (41857/62473)   
Checking out files:  68% (42482/62473)   
Checking out files:  69% (43107/62473)   
Checking out files:  70% (43732/62473)   
Checking out files:  71% (44356/62473)   
Checking out files:  72% (44981/62473)   
Checking out files:  73% (45606/62473)   
Checking out files:  74% (46231/62473)   
Checking out files:  75% (46855/62473)   
Checking out files:  75% (47090/62473)   
Checking out files:  76% (47480/62473)   
Checking out files:  77% (48105/62473)   
Checking out files:  78% (48729/62473)   
Checking out files:  79% (49354/62473)   
Checking out files:  80% (49979/62473)   
Checking out files:  81% (50604/62473)   
Checking out files:  82% (51228/62473)   
Checking out files:  83% (51853/62473)   
Checking out files:  84% (52478/62473)   
Checking out files:  85% (53103/62473)   
Checking out files:  86% (53727/62473)   
Checking out files:  87% (54352/62473)   
Checking out files:  88% (54977/62473)   
Checking out files:  89% (55601/62473)   
Checking out files:  90% (56226/62473)   
Checking out files:  91% (56851/62473)   
Checking out files:  92% (57476/62473)   
Checking out files:  93% (58100/62473)   
Checking out files:  94% (58725/62473)   
Checking out files:  94% (58787/62473)   
Checking out files:  95% (59350/62473)   
Checking out files:  96% (59975/62473)   
Checking out files:  97% (60599/62473)   
Checking out files:  98% (61224/62473)   
Checking out files:  99% (61849/62473)   
Checking out files: 100% (62473/62473)   
Checking out files: 100% (62473/62473), done.
[console-expect]#
echo $?
0
[console-expect]#
cd /home/kvmci/linux
[console-expect]#
echo $?
0
[console-expect]#
Downloading linux kernel config
make ppc64le_defconfig
Using ./arch/powerpc/configs/ppc64_defconfig as base
Merging ./arch/powerpc/configs/le.config
#
# merged configuration written to .config (needs make)
#
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  YACC    scripts/kconfig/zconf.tab.c
  LEX     scripts/kconfig/zconf.lex.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf  --olddefconfig Kconfig
#
# configuration written to .config
#
[console-expect]#
echo $?
0
[console-expect]#
Compile and install linux kernel
make -j 21 -s && make modules && make modules_install && make install
WARNING: modpost: Found 3 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
ld: warning: orphan section `.gnu.hash
' from `linker stubs' being placed in section `.gnu.hash'
ld: warning: orphan section `.gnu.hash' from `linker stubs' being placed in section `.gnu.hash'
ld: warning: orphan section `.gnu.hash' from `linker stubs' being placed in section `.gnu.hash'
  CALL    scripts/checksyscalls.sh
  CC      scripts/mod/empty.o
  MKELF   scripts/mod/elfconfig.h
  HOSTCC  scripts/mod/modpost.o
  CC      scripts/mod/devicetable-offsets.s
  HOSTCC  scripts/mod/file2alias.o
  HOSTCC  scripts/mod/sumversion.o
  HOSTLD  scripts/mod/modpost
  Building modules, stage 2.
  MODPOST 264 modules
  INSTALL arch/powerpc/crypto/crc32c-vpmsum.ko
  INSTALL arch/powerpc/crypto/md5-ppc.ko
  INSTALL arch/powerpc/crypto/sha1-powerpc.ko
  INSTALL arch/powerpc/kernel/rtas_flash.ko
  INSTALL arch/powerpc/kvm/kvm-hv.ko
  INSTALL arch/powerpc/kvm/kvm.ko
  INSTALL arch/powerpc/oprofile/oprofile.ko
  INSTALL arch/powerpc/platforms/pseries/hvcserver.ko
  INSTALL arch/powerpc/platforms/pseries/scanlog.ko
  INSTALL crypto/anubis.ko
  INSTALL crypto/arc4.ko
  INSTALL crypto/async_tx/async_memcpy.ko
  INSTALL crypto/async_tx/async_pq.ko
  INSTALL crypto/async_tx/async_raid6_recov.ko
  INSTALL crypto/async_tx/async_tx.ko
  INSTALL crypto/async_tx/async_xor.ko
  INSTALL crypto/authenc.ko
  INSTALL crypto/authencesn.ko
  INSTALL crypto/blowfish_common.ko
  INSTALL crypto/blowfish_generic.ko
  INSTALL crypto/cast6_generic.ko
  INSTALL crypto/cast_common.ko
  INSTALL crypto/cbc.ko
  INSTALL crypto/ccm.ko
  INSTALL crypto/cmac.ko
  INSTALL crypto/crct10dif_common.ko
  INSTALL crypto/crct10dif_generic.ko
  INSTALL crypto/crypto_engine.ko
  INSTALL crypto/ctr.ko
  INSTALL crypto/deflate.ko
  INSTALL crypto/des_generic.ko
  INSTALL crypto/drbg.ko
  INSTALL crypto/ecb.ko
  INSTALL crypto/echainiv.ko
  INSTALL crypto/gf128mul.ko
  INSTALL crypto/ghash-generic.ko
  INSTALL crypto/jitterentropy_rng.ko
  INSTALL crypto/khazad.ko
  INSTALL crypto/lzo.ko
  INSTALL crypto/md4.ko
  INSTALL crypto/md5.ko
  INSTALL crypto/michael_mic.ko
  INSTALL crypto/pcbc.ko
  INSTALL crypto/salsa20_generic.ko
  INSTALL crypto/seqiv.ko
  INSTALL crypto/serpent_generic.ko
  INSTALL crypto/sha1_generic.ko
  INSTALL crypto/sha512_generic.ko
  INSTALL crypto/tcrypt.ko
  INSTALL crypto/tea.ko
  INSTALL crypto/tgr192.ko
  INSTALL crypto/twofish_common.ko
  INSTALL crypto/twofish_generic.ko
  INSTALL crypto/wp512.ko
  INSTALL crypto/xor.ko
  INSTALL drivers/block/nbd.ko
  INSTALL drivers/block/virtio_blk.ko
  INSTALL drivers/char/bsr.ko
  INSTALL drivers/char/hw_random/powernv-rng.ko
  INSTALL drivers/char/hw_random/pseries-rng.ko
  INSTALL drivers/char/hw_random/rng-core.ko
  INSTALL drivers/char/powernv-op-panel.ko
  INSTALL drivers/char/virtio_console.ko
  INSTALL drivers/crypto/virtio/virtio_crypto.ko
  INSTALL drivers/crypto/vmx/vmx-crypto.ko
  INSTALL drivers/infiniband/core/ib_cm.ko
  INSTALL drivers/infiniband/core/ib_core.ko
  INSTALL drivers/infiniband/core/ib_umad.ko
  INSTALL drivers/infiniband/core/ib_uverbs.ko
  INSTALL drivers/infiniband/core/iw_cm.ko
  INSTALL drivers/infiniband/core/rdma_cm.ko
  INSTALL drivers/infiniband/core/rdma_ucm.ko
  INSTALL drivers/infiniband/hw/cxgb3/iw_cxgb3.ko
  INSTALL drivers/infiniband/hw/cxgb4/iw_cxgb4.ko
  INSTALL drivers/infiniband/hw/mlx4/mlx4_ib.ko
  INSTALL drivers/infiniband/hw/mthca/ib_mthca.ko
  INSTALL drivers/infiniband/ulp/ipoib/ib_ipoib.ko
  INSTALL drivers/infiniband/ulp/iser/ib_iser.ko
  INSTALL drivers/infiniband/ulp/srp/ib_srp.ko
  INSTALL drivers/input/evdev.ko
  INSTALL drivers/input/input-leds.ko
  INSTALL drivers/input/misc/pcspkr.ko
  INSTALL drivers/leds/led-class.ko
  INSTALL drivers/leds/leds-powernv.ko
  INSTALL drivers/md/dm-bufio.ko
  INSTALL drivers/md/dm-crypt.ko
  INSTALL drivers/md/dm-log.ko
  INSTALL drivers/md/dm-mirror.ko
  INSTALL drivers/md/dm-multipath.ko
  INSTALL drivers/md/dm-queue-length.ko
  INSTALL drivers/md/dm-region-hash.ko
  INSTALL drivers/md/dm-round-robin.ko
  INSTALL drivers/md/dm-service-time.ko
  INSTALL drivers/md/dm-snapshot.ko
  INSTALL drivers/md/dm-zero.ko
  INSTALL drivers/md/faulty.ko
  INSTALL drivers/md/multipath.ko
  INSTALL drivers/md/raid10.ko
  INSTALL drivers/md/raid456.ko
  INSTALL drivers/misc/cxl/cxl.ko
  INSTALL drivers/misc/ocxl/ocxl.ko
  INSTALL drivers/net/bonding/bonding.ko
  INSTALL drivers/net/dummy.ko
  INSTALL drivers/net/ethernet/3com/3c59x.ko
  INSTALL drivers/net/ethernet/alteon/acenic.ko
  INSTALL drivers/net/ethernet/amd/pcnet32.ko
  INSTALL drivers/net/ethernet/broadcom/bnx2.ko
  INSTALL drivers/net/ethernet/broadcom/bnx2x/bnx2x.ko
  INSTALL drivers/net/ethernet/broadcom/cnic.ko
  INSTALL drivers/net/ethernet/chelsio/cxgb/cxgb.ko
  INSTALL drivers/net/ethernet/chelsio/cxgb3/cxgb3.ko
  INSTALL drivers/net/ethernet/chelsio/cxgb4/cxgb4.ko
  INSTALL drivers/net/ethernet/chelsio/libcxgb/libcxgb.ko
  INSTALL drivers/net/ethernet/emulex/benet/be2net.ko
  INSTALL drivers/net/ethernet/ibm/ibmveth.ko
  INSTALL drivers/net/ethernet/intel/i40e/i40e.ko
  INSTALL drivers/net/ethernet/intel/ixgb/ixgb.ko
  INSTALL drivers/net/ethernet/intel/ixgbe/ixgbe.ko
  INSTALL drivers/net/ethernet/mellanox/mlx4/mlx4_core.ko
  INSTALL drivers/net/ethernet/mellanox/mlx4/mlx4_en.ko
  INSTALL drivers/net/ethernet/myricom/myri10ge/myri10ge.ko
  INSTALL drivers/net/ethernet/neterion/s2io.ko
  INSTALL drivers/net/ethernet/qlogic/netxen/netxen_nic.ko
  INSTALL drivers/net/ethernet/qlogic/qlge/qlge.ko
  INSTALL drivers/net/mdio.ko
  INSTALL drivers/net/net_failover.ko
  INSTALL drivers/net/phy/bcm-phy-lib.ko
  INSTALL drivers/net/phy/broadcom.ko
  INSTALL drivers/net/ppp/bsd_comp.ko
  INSTALL drivers/net/ppp/ppp_async.ko
  INSTALL drivers/net/ppp/ppp_deflate.ko
  INSTALL drivers/net/ppp/ppp_generic.ko
  INSTALL drivers/net/ppp/ppp_synctty.ko
  INSTALL drivers/net/ppp/pppoe.ko
  INSTALL drivers/net/ppp/pppox.ko
  INSTALL drivers/net/slip/slhc.ko
  INSTALL drivers/net/tun.ko
  INSTALL drivers/net/virtio_net.ko
  INSTALL drivers/pci/hotplug/rpadlpar_io.ko
  INSTALL drivers/pci/hotplug/rpaphp.ko
  INSTALL drivers/scsi/be2iscsi/be2iscsi.ko
  INSTALL drivers/scsi/bnx2i/bnx2i.ko
  INSTALL drivers/scsi/cxgbi/cxgb3i/cxgb3i.ko
  INSTALL drivers/scsi/cxgbi/cxgb4i/cxgb4i.ko
  INSTALL drivers/scsi/cxgbi/libcxgbi.ko
  INSTALL drivers/scsi/cxlflash/cxlflash.ko
  INSTALL drivers/scsi/device_handler/scsi_dh_alua.ko
  INSTALL drivers/scsi/device_handler/scsi_dh_rdac.ko
  INSTALL drivers/scsi/ibmvscsi/ibmvfc.ko
  INSTALL drivers/scsi/iscsi_boot_sysfs.ko
  INSTALL drivers/scsi/libiscsi.ko
  INSTALL drivers/scsi/libiscsi_tcp.ko
  INSTALL drivers/scsi/lpfc/lpfc.ko
  INSTALL drivers/scsi/mpt3sas/mpt3sas.ko
  INSTALL drivers/scsi/qla2xxx/qla2xxx.ko
  INSTALL drivers/scsi/qla4xxx/qla4xxx.ko
  INSTALL drivers/scsi/raid_class.ko
  INSTALL drivers/scsi/scsi_transport_iscsi.ko
  INSTALL drivers/scsi/scsi_transport_sas.ko
  INSTALL drivers/scsi/scsi_transport_spi.ko
  INSTALL drivers/scsi/st.ko
  INSTALL drivers/scsi/sym53c8xx_2/sym53c8xx.ko
  INSTALL drivers/scsi/virtio_scsi.ko
  INSTALL drivers/tty/hvc/hvcs.ko
  INSTALL drivers/tty/serial/icom.ko
  INSTALL drivers/tty/serial/jsm/jsm.ko
  INSTALL drivers/uio/uio.ko
  INSTALL drivers/usb/misc/appledisplay.ko
  INSTALL drivers/usb/mon/usbmon.ko
  INSTALL drivers/usb/storage/usb-storage.ko
  INSTALL drivers/vhost/vhost.ko
  INSTALL drivers/vhost/vhost_net.ko
  INSTALL drivers/video/fbdev/matrox/i2c-matroxfb.ko
  INSTALL drivers/video/fbdev/matrox/matroxfb_maven.ko
  INSTALL drivers/virtio/virtio.ko
  INSTALL drivers/virtio/virtio_balloon.ko
  INSTALL drivers/virtio/virtio_pci.ko
  INSTALL drivers/virtio/virtio_ring.ko
  INSTALL fs/autofs/autofs4.ko
  INSTALL fs/binfmt_misc.ko
  INSTALL fs/btrfs/btrfs.ko
  INSTALL fs/cifs/cifs.ko
  INSTALL fs/cramfs/cramfs.ko
  INSTALL fs/fat/vfat.ko
  INSTALL fs/fuse/fuse.ko
  INSTALL fs/hfs/hfs.ko
  INSTALL fs/hfsplus/hfsplus.ko
  INSTALL fs/jfs/jfs.ko
  INSTALL fs/nfsd/nfsd.ko
  INSTALL fs/nilfs2/nilfs2.ko
  INSTALL fs/overlayfs/overlay.ko
  INSTALL fs/reiserfs/reiserfs.ko
  INSTALL fs/squashfs/squashfs.ko
  INSTALL fs/udf/udf.ko
  INSTALL lib/crc-ccitt.ko
  INSTALL lib/crc-itu-t.ko
  INSTALL lib/crc-t10dif.ko
  INSTALL lib/lzo/lzo_compress.ko
  INSTALL lib/raid6/raid6_pq.ko
  INSTALL lib/xxhash.ko
  INSTALL lib/zstd/zstd_compress.ko
  INSTALL lib/zstd/zstd_decompress.ko
  INSTALL net/802/p8022.ko
  INSTALL net/802/psnap.ko
  INSTALL net/802/stp.ko
  INSTALL net/bridge/bridge.ko
  INSTALL net/core/failover.ko
  INSTALL net/ipv4/ah4.ko
  INSTALL net/ipv4/esp4.ko
  INSTALL net/ipv4/ipcomp.ko
  INSTALL net/ipv4/netfilter/ip_tables.ko
  INSTALL net/ipv4/netfilter/ipt_MASQUERADE.ko
  INSTALL net/ipv4/netfilter/ipt_REJECT.ko
  INSTALL net/ipv4/netfilter/iptable_filter.ko
  INSTALL net/ipv4/netfilter/iptable_mangle.ko
  INSTALL net/ipv4/netfilter/iptable_nat.ko
  INSTALL net/ipv4/netfilter/nf_defrag_ipv4.ko
  INSTALL net/ipv4/netfilter/nf_log_arp.ko
  INSTALL net/ipv4/netfilter/nf_log_ipv4.ko
  INSTALL net/ipv4/netfilter/nf_nat_ipv4.ko
  INSTALL net/ipv4/netfilter/nf_reject_ipv4.ko
  INSTALL net/ipv4/xfrm4_tunnel.ko
  INSTALL net/key/af_key.ko
  INSTALL net/llc/llc.ko
  INSTALL net/netfilter/nf_conntrack.ko
  INSTALL net/netfilter/nf_conntrack_ftp.ko
  INSTALL net/netfilter/nf_conntrack_irc.ko
  INSTALL net/netfilter/nf_conntrack_netlink.ko
  INSTALL net/netfilter/nf_conntrack_sip.ko
  INSTALL net/netfilter/nf_log_common.ko
  INSTALL net/netfilter/nf_nat.ko
  INSTALL net/netfilter/nf_nat_ftp.ko
  INSTALL net/netfilter/nf_nat_irc.ko
  INSTALL net/netfilter/nf_nat_sip.ko
  INSTALL net/netfilter/nfnetlink.ko
  INSTALL net/netfilter/nfnetlink_log.ko
  INSTALL net/netfilter/x_tables.ko
  INSTALL net/netfilter/xt_LOG.ko
  INSTALL net/netfilter/xt_NFLOG.ko
  INSTALL net/netfilter/xt_TCPMSS.ko
  INSTALL net/netfilter/xt_addrtype.ko
  INSTALL net/netfilter/xt_conntrack.ko
  INSTALL net/netfilter/xt_mark.ko
  INSTALL net/netfilter/xt_nat.ko
  INSTALL net/netfilter/xt_policy.ko
  INSTALL net/netfilter/xt_state.ko
  INSTALL net/netfilter/xt_tcpudp.ko
  INSTALL net/sched/act_bpf.ko
  INSTALL net/sched/cls_bpf.ko
  INSTALL net/sunrpc/xprtrdma/rpcrdma.ko
  INSTALL net/xfrm/xfrm_algo.ko
  INSTALL net/xfrm/xfrm_ipcomp.ko
  INSTALL net/xfrm/xfrm_user.ko
  INSTALL sound/core/oss/snd-mixer-oss.ko
  INSTALL sound/core/oss/snd-pcm-oss.ko
  INSTALL sound/core/seq/oss/snd-seq-oss.ko
  INSTALL sound/core/seq/snd-seq-dummy.ko
  INSTALL sound/core/seq/snd-seq-midi-event.ko
  INSTALL sound/core/seq/snd-seq.ko
  INSTALL sound/core/snd-pcm.ko
  INSTALL sound/core/snd-seq-device.ko
  INSTALL sound/core/snd-timer.ko
  INSTALL sound/core/snd.ko
  INSTALL sound/soundcore.ko
  DEPMOD  4.20.0-rc4-gd35c78239
  LDS     arch/powerpc/boot/zImage.lds
  WRAP    arch/powerpc/boot/zImage.pseries
  WRAP    arch/powerpc/boot/zImage.epapr
sh -x ./arch/powerpc/boot/install.sh "4.20.0-rc4-gd35c78239" vmlinux System.map "/boot"
+ set -e
+ '[' -x /root/bin/installkernel ']'
+ '[' -x /sbin/installkernel ']'
+ exec /sbin/installkernel 4.20.0-rc4-gd35c78239 vmlinux System.map /boot
[console-expect]#
echo $?
0
[console-expect]#
grub2-mkconfig  --output=/boot/grub2/grub.cfg
[ 3389.018774] sd 0:2:0:0: alua: port group df8d state A preferred supports TOlUSNA
[ 3389.018901] sd 0:2:0:0: alua: port group df8d state A preferred supports TOlUSNA
Generating grub configuration file ...

Found linux image: /boot/vmlinuz-4.20.0-rc4-gd35c78239
Found initrd image: /boot/initramfs-4.20.0-rc4-gd35c78239.img
Found linux image: /boot/vmlinuz-4.20.0-rc4-ga932cbc34
Found initrd image: /boot/initramfs-4.20.0-rc4-ga932cbc34.img
Found linux image: /boot/vmlinuz-0-rescue-c52acf7c8cd840f88608f77cc09506b5
Found initrd image: /boot/initramfs-0-rescue-c52acf7c8cd840f88608f77cc09506b5.img
done

[console-expect]#
echo $?
0
[console-expect]#
grubby --set-default /boot/vmlinuz-`cat include/config/kernel.release 2> /dev/null`
[console-expect]#
echo $?
0
[console-expect]#
Rebooting after kernel install...
OpTestSystem START STATE: 6 (target 1)
ipmitool -H X.X.X.X -I lanplus -P passwd chassis power off
OpTestSystem TRANSITIONED TO: 7
System is in standby/Soft-off state
OpTestSystem TRANSITIONED TO: 1
OpTestSystem START STATE: 1 (target 6)
ipmitool -H X.X.X.X -I lanplus -P passwd sel clear
ipmitool -H X.X.X.X -I lanplus -P passwd sel elist
ipmitool -H X.X.X.X -I lanplus -P passwd chassis bootdev none
ipmitool -H X.X.X.X -I lanplus -P passwd chassis power on
OpTestSystem TRANSITIONED TO: 2
Terminating SOL monitoring thread
~. [terminated ipmitool]
ipmitool -H X.X.X.X -I lanplus -P passwd sol deactivate
#IPMI SOL CONNECT
[SOL Session operational.  Use ~? for help]

 *** WaitForIt CURRENT STATE "02" TARGET STATE "06"
 *** WaitForIt working on transition
 *** Current loop iteration "02"             - Reconnect attempts "00" - loop_max "100"
 *** WaitForIt timeout interval "04" seconds - Stale buffer check every "12" times

 *** WaitForIt Refresh="0" Buffer Kicker="0" - Kill Cord="150"



zImage starting: loaded at 0x0000000020010000 (sp: 0x00000000203aeed8)

Allocating 0xa655d4 bytes for kernel ...

gunzipping (0x0000000000000000 <- 0x000000002001d000:0x00000000203acaab)...
done 0x8e0300 bytes



Linux/PowerPC load: 

Finalizing device tree... flat tree at 0x203bb520


 *** WaitForIt CURRENT STATE "02" TARGET STATE "06"
 *** WaitForIt working on transition
 *** Current loop iteration "03"             - Reconnect attempts "00" - loop_max "100"
 *** WaitForIt timeout interval "04" seconds - Stale buffer check every "12" times

 *** WaitForIt Refresh="0" Buffer Kicker="0" - Kill Cord="150"

[    0.000000] opal: OPAL V3 detected !
[    0.000000] Using PowerNV machine description
[    0.000000] Page sizes from device-tree:
[    0.000000] base_shift=12: shift=12, sllp=0x0000, avpnm=0x000
00000, tlbiel=1, penc=0
[    0.000000] base_shift=12: shift=16, sllp=0x0000, avpnm=0x00000000, tlbiel=1, penc=7
[    0.000000] base_shift=12: shift=24, sllp=0x0000, avpnm=0x00000000, tlbiel=1, penc=
56
[    0.000000] base_shift=16: shift=16, sllp=0x0110, avpnm=0x00000000, tlbiel=1, penc=1
[    0.000000] base_shift=16: shift=24, sllp=0x0110, avpnm=0x00000000, tlbiel=1, penc=8
[    0.000000
] base_shift=24: shift=24, sllp=0x0100, avpnm=0x00000001, tlbiel=0, penc=0
[    0.000000] base_shift=34: shift=34, sllp=0x0120, avpnm=0x000007ff, tlbiel=0, penc=3
[    0.000000] Using 1TB segments
[    0.000000] Found initrd at 0xc000000028000000:0xc000000028a2f108
[    0.000000] bootconsole [udbg0] enabled
[    0.000000] CPU maps initialized for 8 threads per core
 -> smp_release_cpus()
spinning_secondaries = 159
 <- smp_release_cpus()
[    0.000000] Starting Linux ppc64le #1 SMP Thu Feb 22 05:44:34 UTC 2018
[    0.000000] -----------------------------------------------------
[  
  0.000000] ppc64_pft_size    = 0x0
[    0.000000] phys_mem_size     = 0x2000000000
[    0.000000] cpu_features      = 0x177c7aed18500249
[    0.000000]   possible        = 0x1f7fffef18500649
[   
 0.000000]   always          = 0x0000000018100040
[    0.000000] cpu_user_features = 0xdc0065c2 0xae000000
[    0.000000] mmu_features      = 0x7c000001
[    0.000000] firmware_features = 0x0000000
430000000
[    0.000000] htab_address      = 0xc000001ff0000000
[    0.000000] htab_hash_mask    = 0xfffff
[    0.000000] ------------------------------
-----------------------
 <- setup_system()
[    0.000000] Linux version 4.4.116-openpower1 (jenkins@p88) (gcc version 4.9.3 (Buildroot 2016.05-00007-g81b8d98) ) #1 SMP Thu Feb 22 05:44:34 UTC 2018
[    0.000000] rfi-flush: Using ori type flush
[    0.000000] Initializing IODA2 OPAL PHB /pciex@3fffe40000000
[    0.000000] PCI host bridge /pciex@3fffe40000000 (primary) ranges:
[    0.000000]  
MEM 0x00003fe000000000..0x00003fe07ffeffff -> 0x0000000080000000 
[    0.000000]  MEM64 0x0000200000000000..0x000020ffffffffff -> 0x0000200000000000
[    0.000000]   256 (255) PE's M32: 0x80000000 [
segment=0x800000]
[    0.000000]                  M64: 0x10000000000 [segment=0x100000000]
[    0.000000]   Allocated bitmap for 2040 MSIs (base IRQ 0x800)
[    0.000000] Initializing IODA2 OPAL PH
B /pciex@3fffe40100000
[    0.000000] PCI hos
t bridge /pciex@3fffe40100000  ranges:
[    0.000000]  MEM 0x00003fe080000000..0x00003fe0fffeffff -> 0x0000000080000000 
[    0.000000]  MEM64 0x0000210000000000..0x000021ffffffffff -> 0x00002100000
00000
[    0.000000]   256 (255) PE's M32: 0x80000000 [segment=0x800000]
[    0.000000]                  M64: 0x10000000000 [segment=0x100000000]
[    0.000000]   Allocated bitmap for 2040 MSIs (ba
se IRQ 0x1000)
[    0.000000] Initializing IODA2 OPAL PHB /pciex@3fffe40400000
[    0.000000] PCI host bridge /pciex@3fffe40400000  ranges:
[    0.000000]  MEM 0x00003fe200000000..0x00003fe27ffefff
f -> 0x0000000080000000 
[    0.000000]  MEM64 0x0000240000000000..0x000024ffffffffff -> 0x0000240000000000
[    0.000000]   256 (255) PE's M32: 0x80000000 [segment=0x800000]
[    0.000000]        
          M64: 0x10000000000 [segment=0x100000000]
[    0.000000]   Allocated bitmap for 2040 MSIs (base IRQ 0x2800)
[    0.000000] Initializing IODA2 OPAL PHB /pc
iex@3fffe40500000
[    0.000000] PCI host bridge /pciex@3fffe40500000  ranges:
[    0.000000]  MEM 0x00003fe280000000..0x00003fe2fffeffff -> 0x0000000080000000 
[    0.000000]  MEM64 0x000025000000
0000..0x000025ffffffffff -> 0x0000250000000000
[    0.000000]   256 (255) PE's M32: 0x80000000 [segment=0x800000]
[    0.000000]                  M64: 0x10000000000 [segment=0x100000000]
[    0.000
000]   Allocated bitmap for 2040 MSIs (base IRQ 0x3000)
[    0.000000] Initializing IODA2 OPAL PHB /pciex@3fffe42000000
[    0.000000] PCI host bridge /pciex@3fffe42000000  ranges:
[    0.000000]  
MEM 0x00003ff000000000..0x00003ff07ffeffff -> 0x0000000080000000 
[    0.000000]  MEM64 0x0000280000000000..0x000028ffffffffff -> 0x0000280000000000
[    0.000000]   256 (255) PE's M32: 0x80000000 [
segment=0x800000]
[    0.000000]                  M64: 0x10000000000 [segment=0x100000000]
[    0.000000]   Allocated bitmap for 2040 MSIs (base IRQ 0x20800)
[
    0.000000] Initializing IODA2 OPAL PHB /pciex@3fffe42400000
[    0.000000] PCI host bridge /pciex@3fffe42400000  ranges:
[    0.000000]  MEM 0x00003ff200000000..0x00003ff27ffeffff -> 0x0000000080
000000 
[    0.000000]  MEM64 0x00002c0000000000..0x00002cffffffffff -> 0x00002c0000000000
[    0.000000]   256 (255) PE's M32: 0x80000000 [segment=0x800000]
[    0.000000]                  M64: 0x10000000000 [segment=0x100000000]
[    0.000000]   Allocated bitmap for 2040 MSIs (base IRQ 0x22800)
[    0.000000] Initializing IODA2 OPAL PHB /pciex@3fffe42500000
[    0.000000] PCI host bridge /
pciex@3fffe42500000  ranges:
[    0.000000]  MEM 0x00003ff280000000..0x00003ff2fffeffff -> 0x0000000080000000 
[    0.000000]  MEM64 0x00002d0000000000..0x00002dffffffffff -> 0x00002d0000000000
[  
  0.000000]   256 (255) PE's M32: 0x80000000 [segment=0x800000]
[    0.000000]                  M64: 0x10000000000 [segment=0x100000000]

[    0.000000]   Allocated bitmap for 2040 MSIs (base IRQ 0x23000)
[    0.000000] OPAL nvram setup, 1048576 bytes
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x0
000001fffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0:
 [mem 0x0000000000000000-0x0000001fffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000001fffffffff]
[    0.000000] PERCPU: Embedded 2 pages/cpu @c000001ffc100000 s43672 r0 d
87400 u131072
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 2095360
[  
  0.000000] Kernel command line: console=tty0 console=hvc0
[    0.000000] log_buf_len individual max cpu contribution: 4096 bytes
[    0.000000] log_buf_len total cpu_extra contributions: 651264 byt
es
[    0.000000] log_buf_len min size: 1048576 bytes
[    0.000000] log_buf_len: 2097152 bytes
[    0.000000] early log buf free: 1039944(99%)
[    0.000000] PID hash table entries: 4096 (order: 
-1, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 16777216 (order: 11, 134217728 bytes)
[    0.000000] Inode-cache hash table entries: 8388608 (order: 10, 67108864 bytes)
[    0.000000] Sorting __ex_table...
[    0.000000] Memory: 133575168K/134217728K available (5888K kernel code, 768K rwdata, 1964K rodata, 448K init, 1493K bss, 642560K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=128, Order=0-3, MinObjects=0, CPUs=160, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	Build-time adjustment of leaf fanout to 64.
[    0.00000
0] 	RCU restricting CPUs from NR_CPUS=2048 to nr_cpu_ids=160.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_lea
f=64, nr_cpu_ids=160
[    0.000000] NR_IRQS:512 nr_irqs:512 16
[    0.000000] ICS OPAL backend registered
[    0.000004] clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0x761537d007, max_idle_ns: 440795202126 ns
[    0.001582] clocksource: timebase mult[1f40000] shift[24] registered
[  
  0.003036] Console: colour dummy device 80x25
[    0.006348] console [tty0] enabled
[    0.007394] console [hvc0] enabled
[    0.007394] console [hvc0] enabled
[    0.008012] bootconsole [udbg0] disabled
[    0.008012] bootconsole [udbg0] disabled
[    0.008723] pid_max: default: 163840 minimum: 1280
[    0.009023] Security Framework initialized
[    0.009198] Mount-cache hash table entri
es: 262144 (order: 5, 2097152 bytes)
[    0.009300] Mountpoint-cache hash table entries: 262144 (order: 5, 2097152 bytes)
[    0.013983] EEH: PowerNV platform initialized
[    0.014139] POWER8 perf
ormance monitor hardware support registered
[    0.014362] power8-pmu: PMAO restore workaround active.
[    0.165493] random: nonblocking pool is initialized
[    0.241864] Brought up 160 CPUs
[    0.244578] devtmpfs: initialized
[    0.248488] evm: security.capability
[    0.248659] EEH: devices created
[    0.248784] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.248982] futex hash table entries: 65536 (order: 7, 8388608 bytes)
[    0.250495] NET: Registered protocol family 16
[    0.261902] PCI: Probing PCI hardware
[    0.261951] PCI: I/O resource not set f
or host bridge /pciex@3fffe40000000 (domain 0)
[    0.261990] PCI host bridge to bus 0000:00
[    0.262033] pci_bus 0000:00: root bus resource [mem 0x3fe000000000-0x3fe07ffeffff] (bus address [0x800
00000-0xfffeffff])
[    0.262133] pci_bus 0000:00: root bus resource [mem 0x200000000000-0x20feffffffff 64bit pref]
[    0.262221] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.262530] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    0.262620] PCI: I/O resource not set for host bridge /pciex@3fffe40100000 (domain 1)
[    0.262714] PCI host bridge to bus 0001:00
[    0.262754] pci_bus
 0001:00: root bus resource [mem 0x3fe080000000-0x3fe0fffeffff] (bus address [0x80000000-0xfffeffff])
[    0.262854] pci_bus 0001:00: root bus resource [mem 0x210000000000-0x21feffffffff 64bit pref]

[    0.262940] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.263511] pci 0001:00:00.0: PCI b
ridge to [bus 01-0d]
[    0.264512] pci 0001:01:00.0: PCI bridge to [bus 02-0d]
[    0.264809] pci 0001:02:01.0: PCI bridge to [bus 03-07]
[    0.265300] pci 0001:02:08.0: PCI bridge to [bus 08]
[
    0.265491] pci 0001:02:09.0: PCI bridge to [bus 09-0d]
[    0.265660] PCI: I/O resource not set for host bridge /pciex@3fffe40400000 (domain 2)
[    0.265820] PCI host bridge to bus 0002:00
[   
 0.265892] pci_bus 0002:00: root bus resource [mem 0x3fe200000000-0x3fe27ffeffff] (bus address [0x80000000-0xfffeffff])
[    0.266081] pci_bus 0002:00: root bus resource [mem 0x240000000000-0x24feffffffff 64bit pref]
[    0.266243] pci_bus 0002:00: root bus resource [bus 00-ff]
[    0.266557] pci 0002:00:00.0: PCI bridge to [bus 01-ff]
[    0.266685] PCI: I/O resource not set for host bridge /
pciex@3fffe40500000 (domain 3)
[    0.266843] PCI host bridge to bus 0003:00
[    0.266916] pci_bus 0003:00: root bus resource [mem 0x3fe280000000-0x3fe2fffeffff] (bus address [0x80000000-0xfffeffff
])
[    0.267104] pci_bus 0003:00: root bus resource [mem 0x250000000000-0x25feffffffff 64bit pref]
[    0.267267] pci_bus 0003:00: root bus resource [bus 00-ff]
[    0.267856] pci 0003:00:00.0: PCI bridge to [bus 01-0f]
[    0.269365] pci 0003:01:00.0: PCI bridge to [bus 02-0f]
[    0.270163] pci 0003:02:01.0: PCI bridge to [bus 03]
[    0.270589] pci 0003:02:08.0: PCI bridge to [bus 04]
[
    0.272122] pci 0003:02:09.0: PCI bridge to [bus 05]
[    0.272288] pci 0003:02:10.0: PCI bridge to [bus 06-0a]
[    0.272426] pci 0003:02:11.0: PCI bridge to [bus 0b-0f]
[    0.272562] PCI: I/O 
resource not set for host bridge /pciex@3fffe42000000 (domain 4)
[    0.272655] PCI host bridge to bus 0004:00
[    0.272695] pci_bus 0004:00: root bus resource [mem 0x3ff000000000-0x3ff07ffeffff] (
bus address [0x80000000-0xfffeffff])
[    0.272794] pci_bus 0004:00: root bus resource [mem 0x280000000000-0x28feffffffff 64bit pref]
[    0.272881] pci_bus 0004:00: root bus resource [bus 00-ff]
[
    0.273186] pci 0004:00:00.0: PCI bridge to [bus 01-ff]
[    0.273277] PCI: I/O resource not set for host bridge /pciex@3fffe42400000 (domain 5)
[    0.273371] PCI host bridge to bus 0005:00
[   
 0.273411] pci_bus 0005:00: root bus resource [mem 0x3ff200000000-0x3ff27ffeffff] (bus address [0x80000000-0xfffeffff])
[    0.273510] pci_bus 0005:00: root bus resource [mem 0x2c0000000000-0x2cfefff
fffff 64bit pref]
[    0.273597] pci_bus 0005:00: root bus resource [bus 00-ff]
[    0.273886] pci 0005:00:00.0: PCI bridge to [bus 01-ff]
[    0.273974] PCI: I/O resource not set for host bridge /
pciex@3fffe42500000 (domain 6)
[    0.274068] PCI host bridge to bus 0006:00
[    0.274109] pci_bus 0006:00: root bus resource [mem 0x3ff280000000-0x3ff2fffeffff] (bus address [0x80000000-0xfffeffff])
[    0.274208] pci_bus 0006:00: root bus resource [mem 0x2d0000000000-0x2dfeffffffff 64bit pref]
[    0.274296] pci_bus 0006:00: root bus resource [bus 00-ff]
[    0.274584] pci 0006:00:00.0: PC
I bridge to [bus 01-ff]
[    0.274828] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    0.275083] pci 0001:00:00.0: BAR 9: assigned [mem 0x210000000000-0x2102ffffffff 64bit pref]
[    0.275171] pci
 0001:00:00.0: BAR 8: assigned [mem 0x3fe080000000-0x3fe081ffffff]
[    0.275247] pci 0001:00:00.0: BAR 7: no space for [io  size 0x3000]
[    0.275310] pci 0001:00:00.0: BAR 7: failed to assign [io
  size 0x3000]
[    0.275374] pci 0001:00:00.0: BAR 7: no space for [io  size 0x3000]
[    0.275436] pci 0001:00:00.0: BAR 7: failed to assign [io  size 0x3000]
[    0.275518] pci 0001:01:00.0: BAR 9: assigned [mem 0x210000000000-0x2102ffffffff 64bit pref]
[    0.275605] pci 0001:01:00.0: BAR 8: assigned [mem 0x3fe080000000-0x3fe0817fffff]
[    0.275682] pci 0001:01:00.0: BAR 0: assigned [mem
 0x3fe081800000-0x3fe08183ffff]
[    0.275762] pci 0001:01:00.0: BAR 7: no space for [io  size 0x3000]
[    0.275824] pci 0001:01:00.0: BAR 7: failed to assign [io  size 0x3000]
[    0.275888] pci 
0001:01:00.0: BAR 7: no space for [io  size 0x3000]
[    0.275950] pci 0001:01:00.0: BAR 7: failed to assign [io  size 0x3000]
[    0.276063] pci 0001:02:01.0: BAR 9: assigned [mem 0x210000000000-0x
2100ffffffff 64bit pref]
[    0.276152] pci 0001:02:08.0: BAR 9: assigned [mem 0x210100000000-0x2101ffffffff 64bit pref]
[    0.276239] pci 0001:02:09.0: BAR 9: assigned [mem 0x210200000000-0x2102ffffffff 64bit pref]
[    0.276361] pci 0001:02:01.0: BAR 8: assigned [mem 0x3fe080000000-0x3fe0807fffff]
[    0.276502] pci 0001:02:08.0: BAR 8: assigned [mem 0x3fe080800000-0x3fe080ffffff]
[    0.2
76643] pci 0001:02:09.0: BAR 8: assigned [mem 0x3fe081000000-0x3fe0817fffff]
[    0.276785] pci 0001:02:01.0: BAR 7: no space for [io  size 0x1000]
[    0.276903] pci 0001:02:01.0: BAR 7: failed to 
assign [io  size 0x1000]
[    0.277022] pci 0001:02:08.0: BAR 7: no space for [io  size 0x1000]
[    0.277141] pci 0001:02:08.0: BAR 7: failed to assign [io  size 0x1000]
[    0.277260] pci 0001:02
:09.0: BAR 7: no space for [io  size 0x1000]
[    0.277379] pci 0001:02:09.0: BAR 7: failed to assign [io  size 0x1000]
[    0.277500] pci 0001:02:09.0: BAR 7: no space for [io  size 0x1000]
[    0
.277617] pci 0001:02:09.0: BAR 7: failed to assign [io  size 0x1000]
[    0.277737] pci 0001:02:08.0: BAR 7: no space for [io  size 0x1000]
[    0.277856] pci 0001:02:08.0: BAR 7: failed to assign [
io  size 0x1000]
[    0.277975] pci 0001:02:01.0: BAR 7: no space for [io  size 0x1000]
[    0.278094] pci 0001:02:01.0: BAR 7: failed to assign [io  size 0x1000]
[    0.278213] pci 0001:02:01.0: P
CI bridge to [bus 03-07]
[    0.278315] pci 0001:02:01.0:   bridge window [mem 0x3fe080000000-0x3fe0807fffff]
[    0.278462] pci 0001:02:01.0:   bridge window [mem 0x210000000000-0x2100ffffffff 64bi
t pref]
[    0.278634] pci 0001:08:00.0: BAR 6: assigned [mem 0x3fe080800000-0x3fe08081ffff pref]
[    0.278777] pci 0001:08:00.0: BAR 0: assigned [mem 0x3fe080820000-0x3fe08082ffff 64bit]
[    0.2
78933] pci 0001:08:00.0: BAR 2: assigned [mem 0x3fe080830000-0x3fe08083ffff 64bit]
[    0.279090] pci 0001:02:08.0: PCI bridge to [bus 08]
[    0.279189] pci 0001:02:08.0:   bridge window [mem 0x3fe
080800000-0x3fe080ffffff]
[    0.279335] pci 0001:02:08.0:   bridge window [mem 0x210100000000-0x2101ffffffff 64bit pref]
[    0.279506] pci 0001:02:09.0: PCI bridge to [bus 09-0d]
[    0.279608] p
ci 0001:02:09.0:   bridge window [mem 0x3fe081000000-0x3fe0817fffff]
[    0.279754] pci 0001:02:09.0:   bridge window [mem 0x210200000000-0x2102ffffffff 64bit pref]
[    0.279925] pci 0001:01:00.0: 
PCI bridge to [bus 02-0d]
[    0.280026] pci 0001:01:00.0:   bridge window [mem 0x3fe080000000-0x3fe0817fffff]
[    0.280172] pci 0001:01:00.0:   bridge window [mem 0x210000000000-0x2102ffffffff 64b
it pref]
[    0.280343] pci 0001:00:00.0: PCI bridge to [bus 01-0d]
[    0.280445] pci 0001:00:00.0:   bridge window [mem 0x3fe080000000-0x3fe081ffffff]
[    0.280591] pci 0001:00:00.0:   bridge window [mem 0x210000000000-0x2102ffffffff 64bit pref]
[    0.280802] pci 0002:00:00.0: PCI bridge to [bus 01-ff]
[    0.281080] pci 0003:00:00.0: BAR 9: assigned [mem 0x250000000000-0x2503ffffffff 64b
it pref]
[    0.281168] pci 0003:00:00.0: BAR 8: assigned [mem 0x3fe280000000-0x3fe282ffffff]
[    0.281244] pci 0003:00:00.0: BAR 7: no space for [io  size 0x4000]
[    0.281306] pci 0003:00:00.0:
 BAR 7: failed to assign [io  size 0x4000]
[    0.281369] pci 0003:00:00.0: BAR 7: no space for [io  size 0x4000]
[    0.281431] pci 0003:00:00.0: BAR 7: failed to assign [io  size 0x4000]
[    0.2
81513] pci 0003:01:00.0: BAR 9: assigned [mem 0x250000000000-0x2503ffffffff 64bit pref]
[    0.281600] pci 0003:01:00.0: BAR 8: assigned [mem 0x3fe280000000-0x3fe2827fffff]
[    0.281678] pci 0003:0
1:00.0: BAR 0: assigned [mem 0x3fe282800000-0x3fe28283ffff]
[    0.281758] pci 0003:01:00.0: BAR 7: no space for [io  size 0x4000]
[    0.281820] pci 0003:01:00.0: BAR 7: failed to assign [io  size 
0x4000]
[    0.281883] pci 0003:01:00.0: BAR 7: no space for [io  size 0x4000]
[    0.281945] pci 0003:01:00.0: BAR 7: failed to assign [io  size 0x4000]
[    0.282064] pci 0003:02:08.0: BAR 9: ass
igned [mem 0x250000000000-0x2500ffffffff 64bit pref]
[    0.282151] pci 0003:02:09.0: BAR 9: assigned [mem 0x250100000000-0x2501ffffffff 64bit pref]
[    0.282238] pci 0003:02:10.0: BAR 9: assigned [mem 0x250200000000-0x2502ffffffff 64bit pref]
[    0.282326] pci 0003:02:11.0: BAR 9: assigned [mem 0x250300000000-0x2503ffffffff 64bit pref]
[    0.282413] pci 0003:02:01.0: BAR 8: assigned [mem 0
x3fe280000000-0x3fe2807fffff]
[    0.282489] pci 0003:02:08.0: BAR 8: assigned [mem 0x3fe280800000-0x3fe280ffffff]
[    0.282624] pci 0003:02:09.0: BAR 8: assigned [mem 0x3fe281000000-0x3fe2817fffff
]
[    0.282766] pci 0003:02:10.0: BAR 8: assigned [mem 0x3fe281800000-0x3fe281ffffff]
[    0.282907] pci 0003:02:11.0: BAR 8: assigned [mem 0x3fe282000000-0x3fe2827fffff]
[    0.283048] pci 0003:0
2:08.0: BAR 7: no space for [io  size 0x1000]
[    0.283165] pci 0003:02:08.0: BAR 7: failed to assign [io  size 0x1000]
[    0.283285] pci 0003:02:09.0: BAR 7: no space for [io  size 0x1000]
[    
0.283404] pci 0003:02:09.0: BAR 7: failed to assign [io  size 0x1000]
[    0.283520] pci 0003:02:10.0: BAR 7: no space for [io  size 0x1000]
[    0.283640] pci 0003:02:10.0: BAR 7: failed to assign [io  size 0x1000]
[    0.283758] pci 0003:02:11.0: BAR 7: no space for [io  size 0x1000]
[    0.283877] pci 0003:02:11.0: BAR 7: failed to assign [io  size 0x1000]
[    0.283994] pci 0003:02:11.0: 
BAR 7: no space for [io  size 0x1000]
[    0.284112] pci 0003:02:11.0: BAR 7: failed to assign [io  size 0x1000]
[    0.284228] pci 0003:02:10.0: BAR 7: no space for [io  size 0x1000]
[    0.284347
] pci 0003:02:10.0: BAR 7: failed to assign [io  size 0x1000]
[    0.284464] pci 0003:02:09.0: BAR 7: no space for [io  size 0x1000]
[    0.284581] pci 0003:02:09.0: BAR 7: failed to assign [io  siz
e 0x1000]
[    0.284700] pci 0003:02:08.0: BAR 7: no space for [io  size 0x1000]
[    0.284819] pci 0003:02:08.0: BAR 7: failed to assign [io  size 0x1000]
[    0.284936] pci 0003:03:00.0: BAR 0: a
ssigned [mem 0x3fe280000000-0x3fe28000ffff 64bit]
[    0.285094] pci 0003:03:00.0: BAR 2: assigned [mem 0x3fe280010000-0x3fe280011fff 64bit]
[    0.285251] pci 0003:02:01.0: PCI bridge to [bus 03]
[    0.285350] pci 0003:02:01.0:   bridge window [mem 0x3fe280000000-0x3fe2807fffff]
[    0.285503] pci 0003:04:00.0: BAR 6: assigned [mem 0x3fe280800000-0x3fe28081ffff pref]
[    0.285643] pci 0003
:04:00.0: BAR 0: assigned [mem 0x3fe280820000-0x3fe28082ffff 64bit]
[    0.285799] pci 0003:04:00.0: BAR 2: assigned [mem 0x3fe280830000-0x3fe28083ffff 64bit]
[    0.285953] pci 0003:02:08.0: PCI br
idge to [bus 04]
[    0.286052] pci 0003:02:08.0:   bridge window [mem 0x3fe280800000-0x3fe280ffffff]
[    0.286198] pci 0003:02:08.0:   bridge window [mem 0x250000000000-0x2500ffffffff 64bit pref]

[    0.286371] pci 0003:05:00.0: BAR 6: assigned [mem 0x3fe281000000-0x3fe28107ffff pref]
[    0.286513] pci 0003:05:00.1: BAR 6: assigned [mem 0x3fe281080000-0x3fe2810fffff pref]
[    0.286654] pci 0003:05:00.2: BAR 6: assigned [mem 0x3fe281100000-0x3fe28117ffff pref]
[    0.286796] pci 0003:05:00.3: BAR 6: assigned [mem 0x3fe281180000-0x3fe2811fffff pref]
[    0.286937] pci 0003:05:00.0: BA
R 0: assigned [mem 0x250100000000-0x25010000ffff 64bit pref]
[    0.287083] pci 0003:05:00.0: BAR 2: assigned [mem 0x250100010000-0x25010001ffff 64bit pref]
[    0.287186] pci 0003:05:00.0: BAR 4: a
ssigned [mem 0x250100020000-0x25010002ffff 64bit pref]
[    0.287288] pci 0003:05:00.1: BAR 0: assigned [mem 0x250100030000-0x25010003ffff 64bit pref]
[    0.287391] pci 0003:05:00.1: BAR 2: assigne
d [mem 0x250100040000-0x25010004ffff 64bit pref]
[    0.287495] pci 0003:05:00.1: BAR 4: assigned [mem 0x250100050000-0x25010005ffff 64bit pref]
[    0.287599] pci 0003:05:00.2: BAR 0: assigned [mem
 0x250100060000-0x25010006ffff 64bit pref]
[    0.287702] pci 0003:05:00.2: BAR 2: assigned [mem 0x250100070000-0x25010007ffff 64bit pref]
[    0.287810] pci 0003:05:00.2: BAR 4: assigned [mem 0x250
100080000-0x25010008ffff 64bit pref]
[    0.287912] pci 0003:05:00.3: BAR 0: assigned [mem 0x250100090000-0x25010009ffff 64bit pref]
[    0.288015] pci 0003:05:00.3: BAR 2: assigned [mem 0x2501000a0000-0x2501000affff 64bit pref]
[    0.288120] pci 0003:05:00.3: BAR 4: assigned [mem 0x2501000b0000-0x2501000bffff 64bit pref]
[    0.288223] pci 0003:02:09.0: PCI bridge to [bus 05]
[    0.288279]
 pci 0003:02:09.0:   bridge window [mem 0x3fe281000000-0x3fe2817fffff]
[    0.288359] pci 0003:02:09.0:   bridge window [mem 0x250100000000-0x2501ffffffff 64bit pref]
[    0.288452] pci 0003:02:10.0
: PCI bridge to [bus 06-0a]
[    0.288508] pci 0003:02:10.0:   bridge window [mem 0x3fe281800000-0x3fe281ffffff]
[    0.288589] pci 0003:02:10.0:   bridge window [mem 0x250200000000-0x2502ffffffff 6
4bit pref]
[    0.288683] pci 0003:02:11.0: PCI bridge to [bus 0b-0f]
[    0.288739] pci 0003:02:11.0:   bridge window [mem 0x3fe282000000-0x3fe2827fffff]
[    0.288819] pci 0003:02:11.0:   bridge 
window [mem 0x250300000000-0x2503ffffffff 64bit pref]
[    0.288913] pci 0003:01:00.0: PCI bridge to [bus 02-0f]
[    0.288968] pci 0003:01:00.0:   bridge window [mem 0x3fe280000000-0x3fe2827fffff]
[    0.289047] pci 0003:01:00.0:   bridge window [mem 0x250000000000-0x2503ffffffff 64bit pref]
[    0.289141] pci 0003:00:00.0: PCI bridge to [bus 01-0f]
[    0.289196] pci 0003:00:00.0:   bridge 
window [mem 0x3fe280000000-0x3fe282ffffff]
[    0.289274] pci 0003:00:00.0:   bridge window [mem 0x250000000000-0x2503ffffffff 64bit pref]
[    0.289417] pci 0004:00:00.0: PCI bridge to [bus 01-ff]

[    0.289500] pci 0005:00:00.0: PCI bridge to [bus 01-ff]
[    0.289581] pci 0006:00:00.0: PCI bridge to [bus 01-ff]
[    0.289677] pci 0000:00     : [PE# 000] Secondary bus 0 associated with PE#0

[    0.289937] pci 0000:01     : [PE# 001] Secondary bus 1 associated with PE#1
[    0.290195] pci 0001:00     : [PE# 000] Secondary bus 0 associated with PE#0
[    0.290455] pci 0001:01     : [PE# 001] Secondary bus 1 associated with PE#1
[    0.290715] pci 0001:02     : [PE# 002] Secondary bus 2 associated with PE#2
[    0.290971] pci 0001:03     : [PE# 003] Secondary bus 3 associated with
 PE#3
[    0.291230] pci 0001:08     : [PE# 004] Secondary bus 8 associated with PE#4
[    0.291490] pci 0001:09     : [PE# 005] Secondary bus 9 associated with PE#5
[    0.291746] pci 0002:00     
: [PE# 000] Secondary bus 0 associated with PE#0
[    0.292006] pci 0002:01     : [PE# 001] Secondary bus 1 associated with PE#1
[    0.292262] pci 0003:00     : [PE# 000] Secondary bus 0 associated
 with PE#0
[    0.292521] pci 0003:01     : [PE# 002] Secondary bus 1 associated with PE#2
[    0.292777] pci 0003:02     : [PE# 003] Secondary bus 2 associated with PE#3
[    0.293033] pci 0003:03
     : [PE# 004] Secondary bus 3 associated with PE#4
[    0.293289] pci 0003:04     : [PE# 005] Secondary bus 4 associated with PE#5
[    0.293545] pci 0003:05     : [PE# 001] Secondary bus 5 assoc
iated with PE#1
[    0.293805] pci 0003:06     : [PE# 006] Secondary bus 6 associated with PE#6
[    0.294061] pci 0003:0b     : [PE# 007] Secondary bus 11 associated with PE#7
[    0.294254] pci 0004:00     : [PE# 000] Secondary bus 0 associated with PE#0
[    0.294447] pci 0004:01     : [PE# 001] Secondary bus 1 associated with PE#1
[    0.294641] pci 0005:00     : [PE# 000] Secondary bus 0
 associated with PE#0
[    0.294834] pci 0005:01     : [PE# 001] Secondary bus 1 associated with PE#1
[    0.295026] pci 0006:00     : [PE# 000] Secondary bus 0 associated with PE#0
[    0.295219] 
pci 0006:01     : [PE# 001] Secondary bus 1 associated with PE#1
[    0.296000] PCI: Domain 0000 has 8 available 32-bit DMA segments
[    0.296118] PCI: 0 PE# for a total weight of 0
[    0.296215]
 PCI: Domain 0001 has 8 available 32-bit DMA segments
[    0.296333] PCI: 1 PE# for a total weight of 15
[    0.296428] pci 0001:08     : [PE# 004] Assign DMA32 space
[    0.296524] pci 0001:08    
 : [PE# 004] Setting up 32-bit TCE table at 0..80000000
[    0.299465] IOMMU table initialized, virtual merging enabled
[    0.299585] pci 0001:08     : [PE# 004] Setting up window#0 0..7fffffff pg=
1000
[    0.299731] pci 0001:08     : [PE# 004] Enabling 64-bit DMA bypass
[    0.299850] PCI: Domain 0002 has 8 available 32-bit DMA segments
[    0.299970] PCI: 0 PE# for a total weight of 0
[    0.300066] PCI: Domain 0003 has 8 available 32-bit DMA segments
[    0.300163] PCI: 3 PE# for a total weight of 65
[    0.300214] pci 0003:05     : [PE# 001] Assign DMA32 space
[    0.300265] pci 
0003:05     : [PE# 001] Setting up 32-bit TCE table at 0..80000000
[    0.303130] pci 0003:05     : [PE# 001] Setting up window#0 0..7fffffff pg=1000
[    0.303272] pci 0003:05     : [PE# 001] Enabling 64-bit DMA bypass
[    0.303389] pci 0003:04     : [PE# 005] Assign DMA32 space
[    0.303484] pci 0003:04     : [PE# 005] Setting up 32-bit TCE table at 0..80000000
[    0.306449] pci 0003:04 
    : [PE# 005] Setting up window#0 0..7fffffff pg=1000
[    0.306527] pci 0003:04     : [PE# 005] Enabling 64-bit DMA bypass
[    0.306590] pci 0003:03     : [PE# 004] Assign DMA32 space
[    0.306641] pci 0003:03     : [PE# 004] Setting up 32-bit TCE table at 0..80000000
[    0.309528] pci 0003:03     : [PE# 004] Setting up window#0 0..7fffffff pg=1000
[    0.309669] pci 0003:03     : [PE# 
004] Enabling 64-bit DMA bypass
[    0.309787] PCI: Domain 0004 has 8 available 32-bit DMA segments
[    0.309904] PCI: 0 PE# for a total weight of 0
[    0.310004] PCI: Domain 0005 has 8 available 32-bit DMA segments
[    0.310120] PCI: 0 PE# for a total weight of 0
[    0.310215] PCI: Domain 0006 has 8 available 32-bit DMA segments
[    0.310332] PCI: 0 PE# for a total weight of 0
[    0.311519] EEH: PCI Enhanced I/O Error Handling Enabled
[    0.312269] create_dump_obj: New platform dump. ID = 0x41000000 Size 804576
[    0.312582] powernv-rng: Registering arch random hook.
[    0.
316994] opal-power: OPAL EPOW, DPO support detected.
[    0.346289] vgaarb: loaded
[    0.346419] SCSI subsystem initialized
[    0.346576] usbcore: registered new interface driver usbfs
[    0.346682] usbcore: registered new interface driver hub
[    0.347343] usbcore: registered new device driver usb
[    0.347476] pps_core: LinuxPPS API ver. 1 registered
[    0.347571] pps_core: Software
 ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.347739] PTP clock support registered
[    0.348640] clocksource: Switched to clocksource timebase
[    0.351459] NET: Registered protocol family 2
[    0.351780] TCP established hash table entries: 524288 (order: 6, 4194304 bytes)
[    0.352736] TCP bind hash table entries: 65536 (order: 4, 1048576 bytes)
[    0.352904] TCP: Hash tables configured (established 524288 bind 65536)
[    0.353016] UDP hash table entries: 65536 (order: 5, 2097152 bytes)
[    0.353298] UDP-Lite hash table entries: 65536 (order: 5, 
2097152 bytes)
[    0.354019] NET: Registered protocol family 1
[    0.354192] pci 0003:03:00.0: enabling device (0140 -> 0142)
[    0.354493] Trying to unpack rootfs image as initramfs...
[    2.085628] Freeing initrd memory: 10368K
[    2.123910] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    2.123994] io scheduler noop registered
[    2.124070] io scheduler cfq registered (default)
[    2.124293] i
pmi message handler version 39.2
[    2.124345] ipmi device interface
[    2.124406] ipmi-powernv ibm,opal:ipmi: Unable to map irq from device tree
[    2.152512] ipmi-powernv ibm,opal:ipmi: Found new BMC (man_id: 0x000000, prod_id: 0x0000, dev_id: 0x00)
[    2.163497] hvc0: raw protocol on /ibm,opal/consoles/serial@0 (boot console)
[    2.163936] hvc1: hvsi protocol on /ibm,opal/consoles/serial@1
[    2.164047] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    2.164419] powernv_rng: Registered powernv hwrng.
[    2.164521] [drm] Initialized drm 1.1.0 20060810
[    2.164583] [drm] radeon kernel modesetting enabled.
[    2.172801] brd: module loaded
[    2.181368] loop: module loaded
[    2.181509] Adaptec aacraid driver 1.2-1[41010]-ms
[    2.181704] tg3.c:v3.137 (May 11, 2014)
[    2.181804] tg3 0003:05:00.0: enabling device (0140 -> 0142)
[    2.206455] tg3 0003:05:00.0: Using 64-bit DMA iommu bypass
[    2.206832] tg3 0003:05:00.0 eth0: Tigon3 [partno(00RX892) rev 5719001] (PCI Express) MAC address 98:be:94:02:8f:64
[    2.206935] t
g3 0003:05:00.0 eth0: attached PHY is 5719C (10/100/1000Base-T Ethernet) (WireSpeed[1], EEE[1])
[    2.207036] tg3 0003:05:00.0 eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1]
[    2.207113] tg3 0003:05:00.0 eth0: dma_rwctrl[00000000] dma_mask[64-bit]
[    2.207267] tg3 0003:05:00.1: enabling device (0140 -> 0142)
[    2.227492] tg3 0003:05:00.1: Using 64-bit DMA iommu bypass
[    2.227809] tg3 0003:05:00.1 eth1: Tigon3 [partno(00RX892) rev 5719001] (PCI Express) MAC address 98:be:94:02:8f:65
[    2.227911] tg3 0003:05:00.1 eth1: attached PHY is 5719C (10/100/1000Base-T Ethernet
) (WireSpeed[1], EEE[1])
[    2.228012] tg3 0003:05:00.1 eth1: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1]
[    2.228088] tg3 0003:05:00.1 eth1: dma_rwctrl[00000000] dma_mask[64-bit]
[    2.228239] tg3 0003:05:00.2: enabling device (0140 -> 0142)
[    2.257477] tg3 0003:05:00.2: Using 64-bit DMA iommu bypass
[    2.257814] tg3 0003:05:00.2 eth2: Tigon3 [partno(00RX892) rev 5719001] (PCI Express) MAC address 98:be:94:02:8f:66
[    2.257917] t
g3 0003:05:00.2 eth2: attached PHY is 5719C (10/100/1000Base-T Ethernet) (WireSpeed[1], EEE[1])
[    2.258018] tg3 0003:05:00.2 eth2: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1]
[    2.258095] tg3 0003:05:00.2 eth2: dma_rwctrl[00000000] dma_mask[64-bit]
[    2.258246] tg3 0003:05:00.3: enabling device (0140 -> 0142)
[    2.287490] tg3 0003:05:00.3: Using 64-bit DMA iommu bypass
[    2.
287799] tg3 0003:05:00.3 eth3: Tigon3 [partno(00RX892) rev 5719001] (PCI Express) MAC address 98:be:94:02:8f:67
[    2.287902] tg3 0003:05:00.3 eth3: attached PHY is 5719C (10/100/1000Base-T Ethernet) (WireSpeed[1], EEE[1])
[    2.288002] tg3 0003:05:00.3 eth3: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1]
[    2.288079] tg3 0003:05:00.3 eth3: dma_rwctrl[00000000] dma_mask[64-bit]
[    2.
288294] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.288358] ehci-pci: EHCI PCI platform driver
[    2.288423] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.288
492] ohci-pci: OHCI PCI platform driver
[    2.288590] xhci_hcd 0003:03:00.0: xHCI Host Controller
[    2.288678] xhci_hcd 0003:03:00.0: new USB bus registered, assigned bus number 1
[    2.288839]
 xhci_hcd 0003:03:00.0: Using 64-bit DMA iommu bypass
[    2.288978] xhci_hcd 0003:03:00.0: hcc params 0x0270f06d hci version 0x96 quirks 0x00000000
[    2.289808] hub 1-0:1.0: USB hub found
[    2
.289863] hub 1-0:1.0: 4 ports detected
[    2.290127] xhci_hcd 0003:03:00.0: xHCI Host Controller
[    2.290229] xhci_hcd 0003:03:00.0: new USB bus registered, assigned bus number 2
[    2.290343] 
usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.290670] hub 2-0:1.0: USB hub found
[    2.290756] hub 2-0:1.0: 4 ports detected
[    2.290975] usbcore: registered new interface driver usb-storage
[    2.291283] mousedev: PS/2 mouse device common for all mice
[    2.368447] rtc rtc0: invalid alarm value: -1-1--1041528870 2005511117:71582844:32
[    2.368607] rtc-opal opal-rtc: rtc core: registered rtc-opal as rtc0
[    2.368684] i2c /dev entries driver
[    2.369111] powernv-cpufreq: cpufreq pstate min -49 nominal -8 max 0
[    2.372144] usbcore: registered new interface driver usbhid
[    2.372194] usbhid: USB HID core driver
[    2.372609] ipip: IPv4 over IPv4 tunneling driver
[    2.372820] NET: Registered protocol family 17
[    2.372883] Key type dns_resolver registered
[    2.373186] registered taskstats version 1
[    2.379171] Key type encrypted registered
[    2.379236] ima: No TPM chip found, activating TPM-bypass!
[    2.379324] evm: HMAC attrs: 0x1
[    2.418625] rtc-opal opal-rtc: setting system clock to 2018-11-29 04:58:07 UTC (1543467487)
[    2.420072] Freeing unused kernel memory: 448K
[    2.437028] udevd[2442]: starting version 3.1.5
[    2.477740] ipr: IBM Power RAID SCSI Device Driver version: 2.6.3 (October 17, 2015)
[    2.477990] ipr 0001:08:00.0: Found IOA with IRQ: 0
[    2.478107] tg3 0003:05:00.0 enP3p5s0f0: renamed fro
m eth0
[    2.478284] ipr 0001:08:00.0: enabling device (0140 -> 0142)
[    2.478401] ipr 0001:08:00.0: Using 64-bit DMA iommu bypass
[    2.479071] ipr 0001:08:00.0: Received IRQ : 505
[    2.479159] ipr 0001:08:00.0: Request for 2 MSIXs succeeded.
[    2.479984] ipr 0001:08:00.0: Initializing IOA.
[    2.480046] scsi host0: IBM 0 Storage Adapter
[    2.480359] ipr 0003:04:00.0: Found IOA with IRQ: 0
[    2.480645] ipr 0003:04:00.0: enabling device (0140 -> 0142)
[    2.480787] ipr 0003:04:00.0: Using 64-bit DMA iommu bypass
[    2.481136] ipr 0003:04:00.0: Received IRQ : 499
[    
2.481264] ipr 0003:04:00.0: Request for 2 MSIXs succeeded.
[    2.482043] ipr 0003:04:00.0: Initializing IOA.
[    2.482149] scsi host1: IBM 0 Storage Adapter

^[(B^[)0^[[1;24r^[[m\x0f^[[?7h^[[?1h^[=^[[H^[[J^[[H^[[J Petitboot (v1.4.4-e1658ec)
^[[1B ^[[0m\x0eqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq\x0f
^[[2B  ^[[0m\x0e\x0fSystem information
^[[1B  Sy
ipmitool -H X.X.X.X -I lanplus -P passwd sel elist
OpTestSystem TRANSITIONED TO: 3
OpTestSystem TRANSITIONED TO: 5
stem configuration
^[[1B  System status log
^[[1B  Language
^[[1B  Rescan devices
^[[1B  Retrieve config from URL
^[[1B *^[[0;7m\x0fExit to shell           ^[[12B^[[25D^[[0m\x0eqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq\x0f
^[[1B ^[[0m\x0e\x0fEnter=accept, e=edit, n=new, x=exit, l=language, g=log, h=help
^[[1B Welcome to Petitboot
 Info: Waiting for device discovery
^[[J^[[1;64H8247-22L 2139F6A
^[[23B [enP3p5s0f0] Configuring with static address (ip: 9.40.192.88/24)

 *** WaitForIt CURRENT STATE "05" TARGET STATE "06"
 *** WaitForIt working on transition
 *** Current loop iteration "02"             - Reconnect attempts "00" - loop_max "100"
 *** WaitForIt timeout interval "05" seconds - Stale buffer check every "12" times

 *** WaitForIt Refresh="0" Buffer Kicker="1" - Kill Cord="150"


 *** WaitForIt CURRENT STATE "05" TARGET STATE "06"
 *** WaitForIt working on transition
 *** Current loop iteration "03"             - Reconnect attempts "00" - loop_max "100"
 *** WaitForIt timeout interval "05" seconds - Stale buffer check every "12" times

 *** WaitForIt Refresh="0" Buffer Kicker="1" - Kill Cord="150"


 [sdc6] Processing new Disk device^[[K
^[[29D5^[[24;35H
^[[29D2^[[24;35H
^[[24;10Harsed GRUB configuration from /grub2/grub.cfg^[[3;21r^[[3;1H^[M^[M^[[1;24r^[[3;3H[Disk: sdc2 / 410f86ac-2e27-479b-a4ea-137c120f380a]^[[1B^[[49DFedora (4.19.0-0.rc5.git3.1.fc30.ppc64le) 30 (Server Edit
ion)^[[12;27H^[[0;7m\x0f                                       ^[[24;55H^[[m\x0f^[[4;21r^[[4;1H^[M^[[1;24r^[[4;5HFedora (0-rescue-ee34a2f03c71412a9e456d1d75624320) 30 (Server Edition)^[[13;66H^[[0;7m\x0f         ^[[24;55H
^[[m\x0f^[[50Db2] Processing new Disk device^[[K
^[[24;10Harsed GRUB configuration from /grub2/grub.cfg
 Booting in 10 sec: Fedora (4.20.0-rc4-gd35c78239) 30 (Rawhide)^[[6;21r^[[6;1H^[M^[M^[[1;24r^[[6;3H[Disk: sdb2 / 8ba09aad-722c-412a-8f79-d65aabc6127d]^[[
1B^[[49DFedora (4.20.0-rc4-gd35c78239) 30 (Rawhide)^[[24;64H^[[7;21r^[[7;1H^[M^[[1;24r^[[7;5HFedora (4.20.0-rc4-ga932cbc34) 30 (Rawhide)^[[24;64H^[[7;21r^[[7;1H^[M^[[1;24r^[[7;5HFedora (0-rescue-c52acf7c8cd840f88608f77cc09506b5) 30 (Rawhide)^[[24;64H
^[[24;13H9 sec: Fedora (4.20.0-rc4-gd35c78239) 30 (Rawhide) \b

 *** WaitForIt CURRENT STATE "05" TARGET STATE "06"
 *** WaitForIt working on transition
 *** Current loop iteration "04"             - Reconnect attempts "00" - loop_max "100"
 *** WaitForIt timeout interval "05" seconds - Stale buffer check every "12" times

 *** WaitForIt Refresh="0" Buffer Kicker="1" - Kill Cord="150"

^[[24;13H8^[[24;63H
^[[24;13H7^[[24;63H
^[[24;13H6^[[24;63H
^[[24;13H5^[[24;63H
^[[24;13H4^[[24;63H

 *** WaitForIt CURRENT STATE "05" TARGET STATE "06"
 *** WaitForIt working on transition
 *** Current loop iteration "05"             - Reconnect attempts "00" - loop_max "100"
 *** WaitForIt timeout interval "05" seconds - Stale buffer check every "12" times

 *** WaitForIt Refresh="0" Buffer Kicker="1" - Kill Cord="150"

^[[24;13H3^[[24;63H
^[[24;13H2^[[24;63H
^[[24;13H1^[[24;63H
^[[24;10HFedora (4.20.0-rc4-gd35c78239) 30 (Rawhide)          ^[[24;53H
 Loaded kernel image from file:///var/petitboot/mnt/dev/sdb2/vmlinuz-4.20.0-rc4^[[?7l-^[[?7h^[[24;9Hinitrd from file:///var/petitboot
/mnt/dev/sdb2/initramfs-4.20.0-rc4-gd3^[[?7l5^[[?7h
 Running boot hooks^[[K

 Performing kexec load
\b\b\b\breboot

The system is going down NOW!

Sent SIGTERM to all processes

 *** WaitForIt CURRENT STATE "05" TARGET STATE "06"
 *** WaitForIt working on transition
 *** Current loop iteration "06"             - Reconnect attempts "00" - loop_max "100"
 *** WaitForIt timeout interval "05" seconds - Stale buffer check every "12" times

 *** WaitForIt Refresh="0" Buffer Kicker="1" - Kill Cord="150"


Sent SIGKILL to all processes

 *** WaitForIt CURRENT STATE "05" TARGET STATE "06"
 *** WaitForIt working on transition
 *** Current loop iteration "07"             - Reconnect attempts "00" - loop_max "100"
 *** WaitForIt timeout interval "05" seconds - Stale buffer check every "12" times

 *** WaitForIt Refresh="0" Buffer Kicker="1" - Kill Cord="150"


 *** WaitForIt CURRENT STATE "05" TARGET STATE "06"
 *** WaitForIt working on transition
 *** Current loop iteration "08"             - Reconnect attempts "00" - loop_max "100"
 *** WaitForIt timeout interval "05" seconds - Stale buffer check every "12" times

 *** WaitForIt Refresh="0" Buffer Kicker="1" - Kill Cord="150"


 *** WaitForIt CURRENT STATE "05" TARGET STATE "06"
 *** WaitForIt working on transition
 *** Current loop iteration "09"             - Reconnect attempts "00" - loop_max "100"
 *** WaitForIt timeout interval "05" seconds - Stale buffer check every "12" times

 *** WaitForIt Refresh="0" Buffer Kicker="1" - Kill Cord="150"

[   81.529556] kexec_core: Starting new kernel
[    0.000000] Using PowerNV machine description
[    0.000000] CPU maps initialized for 8 threads per core
[    0.000000]  (thread shift is 3)
[    0.000000] Allocated 4608 bytes for 160 pacas
[ 
   0.000000] -----------------------------------------------------
[    0.000000] ppc64_pft_size    = 0x0
[    0.000000] phys_mem_size     = 0x2000000000
[    0.000000] dcache_bsize      = 0x80
[ 
   0.000000] icache_bsize      = 0x80
[    0.000000] cpu_features      = 0x000002ff8f5db1a7
[    0.000000]   possible        = 0x0000fbffcf5fb1a7
[    0.000000]   always          = 0x00000003800081
a1
[    0.000000] cpu_user_features = 0xdc0065c2 0xef000000
[    0.000000] mmu_features      = 0x7c006001
[    0.000000] firmware_features = 0x0000000110000000
[    0.000000] htab_address      = 0
x(____ptrval____)
[    0.000000] htab_hash_mask    = 0xfffff
[    0.000000] -----------------------------------------------------
[    0.000000] cma: Reserved 6560 MiB at 0x0000001e56000000
[    0
.000000] numa:   NODE_DATA [mem 0x7ffcb2300-0x7ffcbbfff]
[    0.000000] numa:   NODE_DATA [mem 0xfffcb2300-0xfffcbbfff]
[    0.000000] numa:   NODE_DATA [mem 0x17ffcb2300-0x17ffcbbfff]
[    0.00000
0] numa:   NODE_DATA [mem 0x1fffc06300-0x1fffc0ffff]
[    0.000000] rfi-flush: ori type flush available
[    0.000000] rfi-flush: patched 8 locations (ori type flush)
[    0.000000] count-cache-flu
sh: software flush disabled.
[    0.000000] stf-barrier: hwsync barrier available
[    0.000000] stf-barrier: patched 61 entry locations (hwsync barrier)
[    0.000000] stf-barrier: patched 8 exit 
locations (hwsync barrier)
[    0.000000] Initializing IODA2 PHB (/pciex@3fffe40000000)
[    0.000000] PCI host bridge /pciex@3fffe40000000 (primary) ranges:
[    0.000000]  MEM 0x00003fe000000000.
.0x00003fe07ffeffff -> 0x0000000080000000 
[    0.000000]  MEM 0x0000200000000000..0x000020ffffffffff -> 0x0000200000000000 (M64 #0..15)
[    0.000000]  Using M64 #15 as default window
[    0.00000
0]   256 (255) PE's M32: 0x80000000 [segment=0x800000]
[    0.000000]                  M64: 0x10000000000 [segment=0x100000000]
[    0.000000]   Allocated bitmap for 2040 MSIs (base IRQ 0x800)
[   
 0.000000] Initializing IODA2 PHB (/pciex@3fffe40100000)
[    0.000000] PCI host bridge /pciex@3fffe40100000  ranges:
[    0.000000]  MEM 0x00003fe080000000..0x00003fe0fffeffff -> 0x0000000080000000
 
[    0.000000]  MEM 0x0000210000000000..0x000021ffffffffff -> 0x0000210000000000 (M64 #0..15)
[    0.000000]  Using M64 #15 as default window
[    0.000000]   256 (255) PE's M32: 0x80000000 [segm
ent=0x800000]
[    0.000000]                  M64: 0x10000000000 [segment=0x100000000]
[    0.000000]   Allocated bitmap for 2040 MSIs (base IRQ 0x1000)
[    0.000000] Initializing IODA2 PHB (/pcie
x@3fffe40400000)
[    0.000000] PCI host bridge /pciex@3fffe40400000  ranges:
[    0.000000]  MEM 0x00003fe200000000..0x00003fe27ffeffff -> 0x0000000080000000 
[    0.000000]  MEM 0x000024000000000
0..0x000024ffffffffff -> 0x0000240000000000 (M64 #0..15)
[    0.000000]  Using M64 #15 as default window
[    0.000000]   256 (255) PE's M32: 0x80000000 [segment=0x800000]
[    0.000000]           
       M64: 0x10000000000 [segment=0x100000000]
[    0.000000]   Allocated bitmap for 2040 MSIs (base IRQ 0x2800)
[    0.000000] Initializing IODA2 PHB (/pciex@3fffe40500000)
[    0.000000] PCI hos
t bridge /pciex@3fffe40500000  ranges:
[    0.000000]  MEM 0x00003fe280000000..0x00003fe2fffeffff -> 0x0000000080000000 
[    0.000000]  MEM 0x0000250000000000..0x000025ffffffffff -> 0x0000250000000
000 (M64 #0..15)
[    0.000000]  Using M64 #15 as default window
[    0.000000]   256 (255) PE's M32: 0x80000000 [segment=0x800000]
[    0.000000]                  M64: 0x10000000000 [segment=0x100
000000]
[    0.000000]   Allocated bitmap for 2040 MSIs (base IRQ 0x3000)
[    0.000000] Initializing IODA2 PHB (/pciex@3fffe42000000)
[    0.000000] PCI host bridge /pciex@3fffe42000000  ranges:
[    0.000000]  MEM 0x00003ff000000000..0x00003ff07ffeffff -> 0x0000000080000000 
[    0.000000]  MEM 0x0000280000000000..0x000028ffffffffff -> 0x0000280000000000 (M64 #0..15)
[    0.000000]  Using 
M64 #15 as default window
[    0.000000]   256 (255) PE's M32: 0x80000000 [segment=0x800000]
[    0.000000]                  M64: 0x10000000000 [segment=0x100000000]
[    0.000000]   Allocated bitm
ap for 2040 MSIs (base IRQ 0x20800)
[    0.000000] Initializing IODA2 PHB (/pciex@3fffe42400000)
[    0.000000] PCI host bridge /pciex@3fffe42400000  ranges:
[    0.000000]  MEM 0x00003ff200000000.
.0x00003ff27ffeffff -> 0x0000000080000000 
[    0.000000]  MEM 0x00002c0000000000..0x00002cffffffffff -> 0x00002c0000000000 (M64 #0..15)
[    0.000000]  Using M64 #15 as default window
[    0.00000
0]   256 (255) PE's M32: 0x80000000 [segment=0x800000]
[    0.000000]                  M64: 0x10000000000 [segment=0x100000000]
[    0.000000]   Allocated bitmap for 2040 MSIs (base IRQ 0x22800)
[ 
   0.000000] Initializing IODA2 PHB (/pciex@3fffe42500000)
[    0.000000] PCI host bridge /pciex@3fffe42500000  ranges:
[    0.000000]  MEM 0x00003ff280000000..0x00003ff2fffeffff -> 0x00000000800000
00 
[    0.000000]  MEM 0x00002d0000000000..0x00002dffffffffff -> 0x00002d0000000000 (M64 #0..15)
[    0.000000]  Using M64 #15 as default window
[    0.000000]   256 (255) PE's M32: 0x80000000 [se
gment=0x800000]
[    0.000000]                  M64: 0x10000000000 [segment=0x100000000]
[    0.000000]   Allocated bitmap for 2040 MSIs (base IRQ 0x23000)
[    0.000000] OPAL nvram setup, 1048576 
bytes
[    0.000000] barrier-nospec: using ORI speculation barrier
[    0.000000] barrier-nospec: patched 521 locations
[    0.000000] Top of RAM: 0x2000000000, Total RAM: 0x2000000000
[    0.0000
00] Memory hole size: 0MB
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x0000001fffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.
000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x00000007ffffffff]
[    0.000000]   node   1: [mem 0x00000008000
00000-0x0000000fffffffff]
[    0.000000]   node  16: [mem 0x0000001000000000-0x00000017ffffffff]
[    0.000000]   node  17: [mem 0x0000001800000000-0x0000001fffffffff]
[    0.000000] Initmem setup 
node 0 [mem 0x0000000000000000-0x00000007ffffffff]
[    0.000000] On node 0 totalpages: 524288
[    0.000000]   DMA zone: 512 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[   
 0.000000]   DMA zone: 524288 pages, LIFO batch:3
[    0.000000] Initmem setup node 1 [mem 0x0000000800000000-0x0000000fffffffff]
[    0.000000] On node 1 totalpages: 524288
[    0.000000]   DMA zo
ne: 512 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 524288 pages, LIFO batch:3
[    0.000000] Initmem setup node 16 [mem 0x0000001000000000-0x000000
17ffffffff]
[    0.000000] On node 16 totalpages: 524288
[    0.000000]   DMA zone: 512 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 524288 pages, L
IFO batch:3
[    0.000000] Initmem setup node 17 [mem 0x0000001800000000-0x0000001fffffffff]
[    0.000000] On node 17 totalpages: 524288
[    0.000000]   DMA zone: 512 pages used for memmap
[    
0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 524288 pages, LIFO batch:3
[    0.000000] random: get_random_u64 called from start_kernel+0xb8/0x628 with crng_init=0
[    0.000000
] percpu: Embedded 4 pages/cpu @(____ptrval____) s169112 r0 d93032 u262144
[    0.000000] pcpu-alloc: s169112 r0 d93032 u262144 alloc=1*1048576
[    0.000000] pcpu-alloc: [0] 000 001 002 003 [0] 004
 005 006 007 
[    0.000000] pcpu-alloc: [0] 008 009 010 011 [0] 012 013 014 015 
[    0.000000] pcpu-alloc: [0] 016 017 018 019 [0] 020 021 022 023 
[    0.000000] pcpu-alloc: [0] 024 025 026 027 
[0] 028 029 030 031 
[    0.000000] pcpu-alloc: [0] 032 033 034 035 [0] 036 037 038 039 
[    0.000000] pcpu-alloc: [1] 040 041 042 043 [1] 044 045 046 047 
[    0.000000] pcpu-alloc: [1] 048 049 0
50 051 [1] 052 053 054 055 
[    0.000000] pcpu-alloc: [1] 056 057 058 059 [1] 060 061 062 063 
[    0.000000] pcpu-alloc: [1] 064 065 066 067 [1] 068 069 070 071 
[    0.000000] pcpu-alloc: [1] 07
2 073 074 075 [1] 076 077 078 079 
[    0.000000] pcpu-alloc: [2] 080 081 082 083 [2] 084 085 086 087 
[    0.000000] pcpu-alloc: [2] 088 089 090 091 [2] 092 093 094 095 
[    0.000000] pcpu-alloc:
 [2] 096 097 098 099 [2] 100 101 102 103 
[    0.000000] pcpu-alloc: [2] 104 105 106 107 [2] 108 109 110 111 
[    0.000000] pcpu-alloc: [2] 112 113 114 115 [2] 116 117 118 119 
[    0.000000] pcpu
-alloc: [3] 120 121 122 123 [3] 124 125 126 127 
[    0.000000] pcpu-alloc: [3] 128 129 130 131 [3] 132 133 134 135 
[    0.000000] pcpu-alloc: [3] 136 137 138 139 [3] 140 141 142 143 
[    0.00000
0] pcpu-alloc: [3] 144 145 146 147 [3] 148 149 150 151 
[    0.000000] pcpu-alloc: [3] 152 153 154 155 [3] 156 157 158 159 
[    0.000000] Built 4 zonelists, mobility grouping on.  Total pages: 2095
104
[    0.000000] Policy zone: DMA
[    0.000000] Kernel command line: root=/dev/mapper/fedora_ltc--test--ci2-root ro rd.lvm.lv=fedora_ltc-test-ci2/root rd.lvm.lv=fedora_ltc-test-ci2/swap
[    0.0
00000] printk: log_buf_len individual max cpu contribution: 8192 bytes
[    0.000000] printk: log_buf_len total cpu_extra contributions: 1302528 bytes
[    0.000000] printk: log_buf_len min size: 262144 bytes
[    0.000000] printk: log_buf_len: 2097152 bytes
[    0.000000] printk: early log buf free: 251136(95%)
[    0.000000] Memory: 126992000K/134217728K available (12480K kernel code, 1728K
 rwdata, 3200K rodata, 4096K init, 1544K bss, 508288K reserved, 6717440K cma-reserved)
[    0.000000] SLUB: HWalign=128, Order=0-3, MinObjects=0, CPUs=160, Nodes=18
[    0.000000] ftrace: allocating
 31274 entries in 12 pages
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: 	RCU event tracing is enabled.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=2048 to nr_
cpu_ids=160.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=160
[    0.000000] NR_IR
QS: 512, nr_irqs: 512, preallocated irqs: 16
[    0.000000] ICS OPAL backend registered
[    0.000000] time_init: decrementer frequency = 512.000000 MHz
[    0.000000] time_init: processor frequenc
y   = 3425.000000 MHz
[    0.000004] clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0x761537d007, max_idle_ns: 440795202126 ns
[    0.000161] clocksource: timebase mult[1f40000] shift[2
4] registered
[    0.000267] clockevent: decrementer mult[83126e98] shift[32] cpu[0]
[    0.000924] Console: colour dummy device 80x25
[    0.000997] printk: console [hvc0] enabled
[    0.000997] printk: console [hvc0] enabled
[    0.001066] printk: bootconsole [udbg0] disabled
[    0.001066] printk: bootconsole [udbg0] disabled
[    0.001679] mempolicy: Enabling automatic NUMA balancing. C
onfigure with numa_balancing= or the kernel.numa_balancing sysctl
[    0.001697] pid_max: default: 163840 minimum: 1280
[    0.012411] Dentry cache hash table entries: 8388608 (order: 10, 67108864 b
ytes)
[    0.016013] Inode-cache hash table entries: 4194304 (order: 9, 33554432 bytes)
[    0.016468] Mount-cache hash table entries: 131072 (order: 4, 1048576 bytes)
[    0.016586] Mountpoint-cac
he hash table entries: 131072 (order: 4, 1048576 bytes)
[    0.020428] EEH: PowerNV platform initialized
[    0.020441] POWER8 performance monitor hardware support registered
[    0.020525] power8-pmu: PMAO restore workaround active.
[    0.020569] rcu: Hierarchical SRCU implementation.
[    0.022808] smp: Bringing up secondary CPUs ...
[    0.681125] smp: Brought up 4 nodes, 160 CPUs
[    0.681159] numa: Node 0 CPUs: 0-39
[    0.681176] numa: Node 1 CPUs: 40-79
[    0.681193] numa: Node 16 CPUs: 80-119
[    0.681210] numa: Node 17 CPUs: 120-159
[    0.681227] Using standard scheduler topology
[    0.726038] devtmpfs: initialized
[    0.760792] kworker/u321:0 (816) used greatest stack depth: 12400 bytes left
[    0.761099
] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.761227] futex hash table entries: 65536 (order: 7, 8388608 bytes)
[    0.775915] NET: Registered protocol family 16
[    0.777384] kworker/u321:0 (829) used greatest stack depth: 12352 bytes left
[    0.777904] cpuidle: using governor menu

 *** WaitForIt CURRENT STATE "05" TARGET STATE "06"
 *** WaitForIt working on transition
 *** Current loop iteration "10"             - Reconnect attempts "00" - loop_max "100"
 *** WaitForIt timeout interval "05" seconds - Stale buffer check every "12" times

 *** WaitForIt Refresh="0" Buffer Kicker="1" - Kill Cord="150"

[    0.922707] PCI: Probing PCI hardware
[    0.922853] PCI host bridge to bus 0000:00
[    0.922874] pci_bus 0000:00: root bus resource [mem 0x3fe000000000-0x3fe07ffeffff] (bus address [0x80000000-
0xfffeffff])
[    0.922898] pci_bus 0000:00: root bus resource [mem 0x200000000000-0x20fdffffffff 64bit pref]
[    0.922919] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.922937] pci_bus 00
00:00: busn_res: [bus 00-ff] end is updated to ff
[    0.923016] pci 0000:00:00.0: [1014:03dc] type 01 class 0x060400
[    0.923305] pci 0000:00:00.0: PME# supported from D0 D3hot D3cold
[    0.933001] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    0.933092] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to ff
[    0.933199] PCI host bridge to bus 0001:00
[    0.933217] pci_bus 0001
:00: root bus resource [mem 0x3fe080000000-0x3fe0fffeffff] (bus address [0x80000000-0xfffeffff])
[    0.933240] pci_bus 0001:00: root bus resource [mem 0x210000000000-0x21fdffffffff 64bit pref]
[   
 0.933260] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.933277] pci_bus 0001:00: busn_res: [bus 00-ff] end is updated to ff
[    0.933337] pci 0001:00:00.0: [1014:03dc] type 01 class 0x060400
[    0.933608] pci 0001:00:00.0: PME# supported from D0 D3hot D3cold
[    0.938718] pci 0001:01:00.0: [10b5:8732] type 01 class 0x060400
[    0.938836] pci 0001:01:00.0: reg 0x10: [mem 0x3fe081800000-0x3fe08183ffff]
[    0.939208] pci 0001:01:00.0: PME# supported fro
m D0 D3hot D3cold
[    0.944118] pci 0001:00:00.0: PCI bridge to [bus 01-0d]
[    0.944622] pci 0001:02:01.0: [10b5:8732] type 01 class 0x060400
[    0.945109] pci 0001:02:01.0: PME# supported from
 D0 D3hot D3cold
[    0.946387] pci 0001:02:08.0: [10b5:8732] type 01 class 0x060400
[    0.946881] pci 0001:02:08.0: PME# supported from D0 D3hot D3cold
[    0.947284] pci 0001:02:09.0: [10b5:8732
] type 01 class 0x060400
[    0.947781] pci 0001:02:09.0: PME# supported from D0 D3hot D3cold
[    0.951345] pci 0001:01:00.0: PCI bridge to [bus 02-0d]
[    0.956374] pci 0001:02:01.0: PCI bridge to [bus 03-07]
[    0.956651] pci 0001:08:00.0: [1014:034a] type 00 class 0x010400
[    0.956763] pci 0001:08:00.0: reg 0x10: [mem 0x3fe080820000-0x3fe080
82ffff 64bit]
[    0.956827] pci 0001:08:00.0: reg 0x18: [mem 0x3fe080830000-0x3fe08083ffff 64bit]
[    0.956931] pci 0001:08:00.0: reg 0x30: [mem 0x00000000-0x0001ffff pref]
[    0.957181] pci 0001:08:00.0: PME# supported from D0 D3hot D3cold
[    0.957287] pci 0001:08:00.0: 63.008 Gb/s available PCIe bandwidth, limited by 8 GT/s x8 link at 0001:00:00.0 (capable of 126.016 Gb/s with 8 GT/s x1
6 link)
[    0.962117] pci 0001:02:08.0: PCI bridge to [bus 08]
[    0.967007] pci 0001:02:09.0: PCI bridge to [bus 09-0d]
[    0.967165] pci_bus 0001:00: busn_res: [bus 00-ff] end is updated to 0d
[    0.967278] PCI host bridge to bus 0004:00
[    0.967296] pci_bus 0004:00: root bus resource [mem 0x3fe200000000-0x3fe27ffeffff] (bus address [0x80000000-0xfffeffff])
[    0.967320] pci_bus 000
4:00: root bus resource [mem 0x240000000000-0x24fdffffffff 64bit pref]
[    0.967341] pci_bus 0004:00: root bus resource [bus 00-ff]
[    0.967357] pci_bus 0004:00: busn_res: [bus 00-ff] end is upda
ted to ff
[    0.967420] pci 0004:00:00.0: [1014:03dc] type 01 class 0x060400
[    0.967702] pci 0004:00:00.0: PME# supported from D0 D3hot D3cold
[    0.977389] pci 0004:00:00.0: PCI bridge to [bus 01-ff]
[    0.977481] pci_bus 0004:00: busn_res: [bus 00-ff] end is updated to ff
[    0.977587] PCI host bridge to bus 0005:00
[    0.977605] pci_bus 0005:00: root bus resource [mem 0x3fe280000000-0x3fe2fffeffff] (bus address [0x80000000-0xfffeffff])
[    0.977628] pci_bus 0005:00: root bus resource [mem 0x250000000000-0x25fdffffffff 64bit p
ref]
[    0.977648] pci_bus 0005:00: root bus resource [bus 00-ff]
[    0.977664] pci_bus 0005:00: busn_res: [bus 00-ff] end is updated to ff
[    0.977726] pci 0005:00:00.0: [1014:03dc] type 01 cl
ass 0x060400
[    0.978006] pci 0005:00:00.0: PME# supported from D0 D3hot D3cold
[    0.983045] pci 0005:01:00.0: [10b5:8748] type 01 class 0x060400
[    0.983165] pci 0005:01:00.0: reg 0x10: [mem 0x3fe282800000-0x3fe28283ffff]
[    0.983544] pci 0005:01:00.0: PME# supported from D0 D3hot D3cold
[    0.988446] pci 0005:00:00.0: PCI bridge to [bus 01-0f]
[    0.988916] pci 0005:02:01.0: [10b5:8748] type 01 class 0x060400
[    0.989412] pci 0005:02:01.0: PME# supported from
 D0 D3hot D3cold
[    0.990689] pci 0005:02:08.0: [10b5:8748] type 01 class 0x060400
[    0.991196] pci 0005:02:08.0: PME# supported from D0 D3hot D3cold
[    0.991687] pci 0005:02:09.0: [10b5:8748] type 01 class 0x
060400
[    0.992200] pci 0005:02:09.0: PME# supported from D0 D3hot D3cold
[    0.993486] pci 0005:02:10.0: [10b5:8748] type 01 class 0x060400
[    0.994008] pci 0005:02:10.0: PME# supported from D0 D3hot D3cold
[    0.994420] pci 0005:02:11.0: [10b5:8748] type 01 class 0x060400
[    0.994947] pci 0005:02:11.0: PME# supported from D0 D3hot D3cold
[    0.997338] pci 0005:01:00.0: PCI bridge 
to [bus 02-0f]
[    0.997957] pci 0005:03:00.0: [104c:8241] type 00 class 0x0c0330
[    0.998074] pci 0005:03:00.0: reg 0x10: [mem 0x3fe280000000-0x3fe28000ffff 64bit]
[    0.998140] pci 0005:03:00
.0: reg 0x18: [mem 0x3fe280010000-0x3fe280011fff 64bit]
[    0.998290] pci 0005:03:00.0: BAR2 [mem size 0x00002000 64bit]: requesting alignment to 0x10000
[    0.998505] pci 0005:03:00.0: supports D
1 D2
[    0.998520] pci 0005:03:00.0: PME# supported from D0 D1 D2 D3hot
[    0.998636] pci 0005:03:00.0: 4.000 Gb/s available PCIe bandwidth, limited by 5 GT/s x1 link at 0005:02:01.0 (capable of 7.876 Gb/s with 8 GT/s x1 link)
[    1.003441] pci 0005:02:01.0: PCI bridge to [bus 03]
[    1.003773] pci 0005:04:00.0: [1014:034a] type 00 class 0x010400
[    1.003890] pci 0005:04:00.0: reg 0x10:
 [mem 0x3fe280820000-0x3fe28082ffff 64bit]
[    1.003958] pci 0005:04:00.0: reg 0x18: [mem 0x3fe280830000-0x3fe28083ffff 64bit]
[    1.004068] pci 0005:04:00.0: reg 0x30: [mem 0x00000000-0x0001ffff 
pref]
[    1.004341] pci 0005:04:00.0: PME# supported from D0 D3hot D3cold
[    1.004454] pci 0005:04:00.0: 63.008 Gb/s available PCIe bandwidth, limited by 8 GT/s x8 link at 0005:00:00.0 (capable o
f 126.016 Gb/s with 8 GT/s x16 link)
[    1.009276] pci 0005:02:08.0: PCI bridge to [bus 04]
[    1.009591] pci 0005:05:00.0: [14e4:1657] type 00 class 0x020000
[    1.009734] pci 0005:05:00.0: reg
 0x10: [mem 0x250100000000-0x25010000ffff 64bit pref]
[    1.009805] pci 0005:05:00.0: reg 0x18: [mem 0x250100010000-0x25010001ffff 64bit pref]
[    1.009876] pci 0005:05:00.0: reg 0x20: [mem 0x2501
00020000-0x25010002ffff 64bit pref]
[    1.009928] pci 0005:05:00.0: reg 0x30: [mem 0x00000000-0x0007ffff pref]
[    1.010299] pci 0005:05:00.0: PME# supported from D0 D3hot D3cold
[    1.010428] pci 0005:05:00.0: 8.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x4 link at 0005:02:09.0 (capable of 31.504 Gb/s with 8 GT/s x4 link)
[    1.010643] pci 0005:05:00.1: [14e4:1657] type 00 cla
ss 0x020000
[    1.010786] pci 0005:05:00.1: reg 0x10: [mem 0x250100030000-0x25010003ffff 64bit pref]
[    1.010858] pci 0005:05:00.1: reg 0x18: [mem 0x250100040000-0x25010004ffff 64bit pref]
[    1.010929] pci 0005:05:00.1: reg 0x20: [mem 0x250100050000-0x25010005ffff 64bit pref]
[    1.010982] pci 0005:05:00.1: reg 0x30: [mem 0x00000000-0x0007ffff pref]
[    1.011360] pci 0005:05:00.1: PME#
 supported from D0 D3hot D3cold
[    1.011605] pci 0005:05:00.2: [14e4:1657] type 00 class 0x020000
[    1.011748] pci 0005:05:00.2: reg 0x10: [mem 0x250100060000-0x25010006ffff 64bit pref]
[    1.011820] pci 0005:05:00.2: reg 0x18: [mem 0x250100070000-0x25010007ffff 64bit pref]
[    1.011892] pci 0005:05:00.2: reg 0x20: [mem 0x250100080000-0x25010008ffff 64bit pref]
[    1.011945] pci 0005:0
5:00.2: reg 0x30: [mem 0x00000000-0x0007ffff pref]
[    1.012323] pci 0005:05:00.2: PME# supported from D0 D3hot D3cold
[    1.012569] pci 0005:05:00.3: [14e4:1657] type 00 class 0x020000
[    1.012716] pci 0005:05:00.3: reg 0x10: [mem 0x250100090000-0x25010009ffff 64bit pref]
[    1.012789] pci 0005:05:00.3: reg 0x18: [mem 0x2501000a0000-0x2501000affff 64bit pref]
[    1.012861] pci 0005:05:
00.3: reg 0x20: [mem 0x2501000b0000-0x2501000bffff 64bit pref]
[    1.012914] pci 0005:05:00.3: reg 0x30: [mem 0x00000000-0x0007ffff pref]
[    1.013296] pci 0005:05:00.3: PME# supported from D0 D3hot D3cold
[    1.018123] pci 0005:02:09.0: PCI bridge to [bus 05]
[    1.023077] pci 0005:02:10.0: PCI bridge to [bus 06-0a]
[    1.027958] pci 0005:02:11.0: PCI bridge to [bus 0b-0f]
[    1.02815
3] pci_bus 0005:00: busn_res: [bus 00-ff] end is updated to 0f
[    1.028272] PCI host bridge to bus 0040:00
[    1.028290] pci_bus 0040:00: root bus resource [mem 0x3ff000000000-0x3ff07ffeffff] (bus address [0x80000000-0xfffeffff])
[    1.028313] pci_bus 0040:00: root bus resource [mem 0x280000000000-0x28fdffffffff 64bit pref]
[    1.028333] pci_bus 0040:00: root bus resource [bus 00-ff]
[  
  1.028349] pci_bus 0040:00: busn_res: [bus 00-ff] end is updated to ff
[    1.028411] pci 0040:00:00.0: [1014:03dc] type 01 class 0x060400
[    1.028693] pci 0040:00:00.0: PME# supported from D0 D3
hot D3cold
[    1.038339] pci 0040:00:00.0: PCI bridge to [bus 01-ff]
[    1.038431] pci_bus 0040:00: busn_res: [bus 00-ff] end is updated to ff
[    1.038534] PCI host bridge to bus 0044:00
[    
1.038552] pci_bus 0044:00: root bus resource [mem 0x3ff200000000-0x3ff27ffeffff] (bus address [0x80000000-0xfffeffff])
[    1.038576] pci_bus 0044:00: root bus resource [mem 0x2c0000000000-0x2cfdffffffff 64bit pref]
[    1.038596] pci_bus 0044:00: root bus resource [bus 00-ff]
[    1.038612] pci_bus 0044:00: busn_res: [bus 00-ff] end is updated to ff
[    1.038675] pci 0044:00:00.0: [1014:03dc
] type 01 class 0x060400
[    1.038967] pci 0044:00:00.0: PME# supported from D0 D3hot D3cold
[    1.048667] pci 0044:00:00.0: PCI bridge to [bus 01-ff]
[    1.048761] pci_bus 0044:00: busn_res: [b
us 00-ff] end is updated to ff
[    1.048866] PCI host bridge to bus 0045:00
[    1.048884] pci_bus 0045:00: root bus resource [mem 0x3ff280000000-0x3ff2fffeffff] (bus address [0x80000000-0xfffeffff])
[    1.048906] pci_bus 0045:00: root bus resource [mem 0x2d0000000000-0x2dfdffffffff 64bit pref]
[    1.048927] pci_bus 0045:00: root bus resource [bus 00-ff]
[    1.048943] pci_bus 0045:00: bus
n_res: [bus 00-ff] end is updated to ff
[    1.049006] pci 0045:00:00.0: [1014:03dc] type 01 class 0x060400
[    1.049297] pci 0045:00:00.0: PME# supported from D0 D3hot D3cold
[    1.058945] pci 0045:00:00.0: PCI bridge to [bus 01-ff]
[    1.059039] pci_bus 0045:00: busn_res: [bus 00-ff] end is updated to ff
[    1.059100] pci 0000:00     : [PE# fe] Secondary bus 0 associated with PE#fe
[    1.059599] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    1.059646] pci_bus 0000:00: resource 4 [mem 0x3fe000000000-0x3fe07ffeffff]
[    1.059664] pci_bus 0000:00: resource 5 
[mem 0x200000000000-0x20fdffffffff 64bit pref]
[    1.059710] pci 0001:02:01.0: bridge window [io  0x1000-0x0fff] to [bus 03-07] add_size 1000
[    1.059734] pci 0001:02:01.0: bridge window [mem 0x100000000-0xffffffff 64bit pref] to [bus 03-07] add_size 100000000 add_align 100000000
[    1.059761] pci 0001:02:01.0: bridge window [mem 0x00800000-0x007fffff] to [bus 03-07] add_size 800000 add_ali
gn 800000
[    1.059808] pci 0001:02:08.0: bridge window [io  0x1000-0x0fff] to [bus 08] add_size 1000
[    1.059830] pci 0001:02:08.0: bridge window [mem 0x100000000-0xffffffff 64bit pref] to [bus 08] add_size 100000000 add_align 100000000
[    1.059880] pci 0001:02:09.0: bridge window [io  0x1000-0x0fff] to [bus 09-0d] add_size 1000
[    1.059903] pci 0001:02:09.0: bridge window [mem 0x10000
0000-0xffffffff 64bit pref] to [bus 09-0d] add_size 100000000 add_align 100000000
[    1.059929] pci 0001:02:09.0: bridge window [mem 0x00800000-0x007fffff] to [bus 09-0d] add_size 800000 add_align 800000
[    1.059975] pci 0001:01:00.0: bridge window [io  0x1000-0x0fff] to [bus 02-0d] add_size 3000
[    1.059999] pci 0001:01:00.0: bridge window [mem 0x100000000-0x3ffffffff 64bit pref] to [bus 
02-0d] add_size 300000000 add_align 100000000
[    1.060027] pci 0001:01:00.0: bridge window [mem 0x00800000-0x01ffffff] to [bus 02-0d] add_size 1000000 add_align 800000
[    1.060070] pci 0001:00:00.0: bridge window [io  0x1000-0x0fff] to [bus 01-0d] add_size 3000
[    1.060094] pci 0001:00:00.0: bridge window [mem 0x100000000-0x3ffffffff 64bit pref] to [bus 01-0d] add_size 300000000 add_align
 100000000
[    1.060120] pci 0001:00:00.0: bridge window [mem 0x00800000-0x027fffff] to [bus 01-0d] add_size 1000000 add_align 800000
[    1.060149] pci 0001:00:00.0: BAR 9: assigned [mem 0x210000000000-0x2105ffffffff 64bit pref]
[    1.060170] pci 0001:00:00.0: BAR 8: assigned [mem 0x3fe080000000-0x3fe082ffffff]
[    1.060190] pci 0001:00:00.0: BAR 7: no space for [io  size 0x3000]
[    1.0
60206] pci 0001:00:00.0: BAR 7: failed to assign [io  size 0x3000]
[    1.060226] pci 0001:00:00.0: BAR 7: no space for [io  size 0x3000]
[    1.060243] pci 0001:00:00.0: BAR 7: failed to assign [io
  size 0x3000]
[    1.060265] pci 0001:01:00.0: BAR 9: assigned [mem 0x210000000000-0x2105ffffffff 64bit pref]
[    1.060286] pci 0001:01:00.0: BAR 8: assigned [mem 0x3fe080000000-0x3fe0827fffff]
[    1.060305] pci 0001:01:00.0: BAR 0: assigned [mem 0x3fe082800000-0x3fe08283ffff]
[    1.060332] pci 0001:01:00.0: BAR 7: no space for [io  size 0x3000]
[    1.060349] pci 0001:01:00.0: BAR 7: fai
led to assign [io  size 0x3000]
[    1.060368] pci 0001:01:00.0: BAR 7: no space for [io  size 0x3000]
[    1.060385] pci 0001:01:00.0: BAR 7: failed to assign [io  size 0x3000]
[    1.060410] pci 
0001:02:01.0: BAR 9: assigned [mem 0x210000000000-0x2100ffffffff 64bit pref]
[    1.060432] pci 0001:02:08.0: BAR 9: assigned [mem 0x210100000000-0x2101ffffffff 64bit pref]
[    1.060454] pci 0001:02:09.0: BAR 9: assigned [mem 0x210200000000-0x2102ffffffff 64bit pref]
[    1.060475] pci 0001:02:01.0: BAR 8: assigned [mem 0x3fe080000000-0x3fe0807fffff]
[    1.060494] pci 0001:02:08.0: BAR 8: as
signed [mem 0x3fe080800000-0x3fe080ffffff]
[    1.060514] pci 0001:02:09.0: BAR 8: assigned [mem 0x3fe081000000-0x3fe0817fffff]
[    1.060532] pci 0001:02:01.0: BAR 7: no space for [io  size 0x1000]
[    1.060549] pci 0001:02:01.0: BAR 7: failed to assign [io  size 0x1000]
[    1.060566] pci 0001:02:08.0: BAR 7: no space for [io  size 0x1000]
[    1.060583] pci 0001:02:08.0: BAR 7: failed to 
assign [io  size 0x1000]
[    1.060601] pci 0001:02:09.0: BAR 7: no space for [io  size 0x1000]
[    1.060618] pci 0001:02:09.0: BAR 7: failed to assign [io  size 0x1000]
[    1.060639] pci 0001:02:09.0: BAR 7: no space for [io  size 0x1000]
[    1.060656] pci 0001:02:09.0: BAR 7: failed to assign [io  size 0x1000]
[    1.060673] pci 0001:02:08.0: BAR 7: no space for [io  size 0x1000]
[    1
.060689] pci 0001:02:08.0: BAR 7: failed to assign [io  size 0x1000]
[    1.060706] pci 0001:02:01.0: BAR 7: no space for [io  size 0x1000]
[    1.060723] pci 0001:02:01.0: BAR 7: failed to assign [io  size 0x1000]
[    1.060742] pci 0001:00     : [PE# fe] Secondary bus 0 associated with PE#fe
[    1.061235] pci 0001:02:01.0: PCI bridge to [bus 03-07]
[    1.061261] pci 0001:02:01.0:   bridge
 window [mem 0x3fe080000000-0x3fe0807fffff]
[    1.061287] pci 0001:02:01.0:   bridge window [mem 0x210000000000-0x2100ffffffff 64bit pref]
[    1.061324] pci 0001:08:00.0: BAR 6: assigned [mem 0x3f
e080800000-0x3fe08081ffff pref]
[    1.061346] pci 0001:08:00.0: BAR 0: assigned [mem 0x3fe080820000-0x3fe08082ffff 64bit]
[    1.061396] pci 0001:08:00.0: BAR 2: assigned [mem 0x3fe080830000-0x3fe08083ffff 64bit]
[    1.061448] pci 0001:08     : [PE# fd] Secondary bus 8 associated with PE#fd
[    1.061994] pci 0001:08     : [PE# fd] Setting up 32-bit TCE table at 0..80000000
[    1.095643] I
OMMU table initialized, virtual merging enabled
[    1.095662] pci 0001:08     : [PE# fd] Setting up window#0 0..7fffffff pg=1000
[    1.095685] pci 0001:08     : [PE# fd] Enabling 64-bit DMA bypass

[    1.095708] iommu: Adding device 0001:08:00.0 to group 0
[    1.095724] pci 0001:02:08.0: PCI bridge to [bus 08]
[    1.095751] pci 0001:02:08.0:   bridge window [mem 0x3fe080800000-0x3fe080fff
fff]
[    1.095778] pci 0001:02:08.0:   bridge window [mem 0x210100000000-0x2101ffffffff 64bit pref]
[    1.095812] pci 0001:02:09.0: PCI bridge to [bus 09-0d]
[    1.095839] pci 0001:02:09.0:   bridge window [mem 0x3fe081000000-0x3fe0817fffff]
[    1.095865] pci 0001:02:09.0:   bridge window [mem 0x210200000000-0x2102ffffffff 64bit pref]
[    1.095905] pci 0001:02     : [PE# fc] Secondary bu
s 2 associated with PE#fc
[    1.096401] pci 0001:01:00.0: PCI bridge to [bus 02-0d]
[    1.096428] pci 0001:01:00.0:   bridge window [mem 0x3fe080000000-0x3fe0ffefffff]
[    1.096454] pci 0001:01:
00.0:   bridge window [mem 0x210000000000-0x21fdfff0ffff 64bit pref]
[    1.096492] pci 0001:01     : [PE# fb] Secondary bus 1 associated with PE#fb
[    1.096987] pci 0001:00:00.0: PCI bridge to [b
us 01-0d]
[    1.097013] pci 0001:00:00.0:   bridge window [mem 0x3fe080000000-0x3fe0ffefffff]
[    1.097039] pci 0001:00:00.0:   bridge window [mem 0x210000000000-0x21fdfff0ffff 64bit pref]
[    1.097073] pci_bus 0001:00: resource 4 [mem 0x3fe080000000-0x3fe0fffeffff]
[    1.097091] pci_bus 0001:00: resource 5 [mem 0x210000000000-0x21fdffffffff 64bit pref]
[    1.097109] pci_bus 0001:01: res
ource 1 [mem 0x3fe080000000-0x3fe0ffefffff]
[    1.097127] pci_bus 0001:01: resource 2 [mem 0x210000000000-0x21fdfff0ffff 64bit pref]
[    1.097146] pci_bus 0001:02: resource 1 [mem 0x3fe080000000-0
x3fe0ffefffff]
[    1.097164] pci_bus 0001:02: resource 2 [mem 0x210000000000-0x21fdfff0ffff 64bit pref]
[    1.097183] pci_bus 0001:03: resource 1 [mem 0x3fe080000000-0x3fe0807fffff]
[    1.097200
] pci_bus 0001:03: resource 2 [mem 0x210000000000-0x2100ffffffff 64bit pref]
[    1.097220] pci_bus 0001:08: resource 1 [mem 0x3fe080800000-0x3fe080ffffff]
[    1.097237] pci_bus 0001:08: resource 2 [mem 0x210100000000-0x2101ffffffff 64bit pref]
[    1.097257] pci_bus 0001:09: resource 1 [mem 0x3fe081000000-0x3fe0817fffff]
[    1.097274] pci_bus 0001:09: resource 2 [mem 0x210200000000-0x2102ff
ffffff 64bit pref]
[    1.097319] pci 0004:00     : [PE# fe] Secondary bus 0 associated with PE#fe
[    1.097815] pci 0004:00:00.0: PCI bridge to [bus 01-ff]
[    1.097861] pci_bus 0004:00: resource 4 [mem 0x3fe200000000-0x3fe27ffeffff]
[    1.097879] pci_bus 0004:00: resource 5 [mem 0x240000000000-0x24fdffffffff 64bit pref]
[    1.097949] pci 0005:02:08.0: bridge window [io  0x1000-0x0fff] t
o [bus 04] add_size 1000
[    1.097971] pci 0005:02:08.0: bridge window [mem 0x100000000-0xffffffff 64bit pref] to [bus 04] add_size 100000000 add_align 100000000
[    1.098022] pci 0005:02:09.0: bridge window [io  0x1000-0x0fff] to [bus 05] add_size 1000
[    1.098071] pci 0005:02:10.0: bridge window [io  0x1000-0x0fff] to [bus 06-0a] add_size 1000
[    1.098094] pci 0005:02:10.0: bridge wind
ow [mem 0x100000000-0xffffffff 64bit pref] to [bus 06-0a] add_size 100000000 add_align 100000000
[    1.098120] pci 0005:02:10.0: bridge window [mem 0x00800000-0x007fffff] to [bus 06-0a] add_size 800000 add_align 800000
[    1.098169] pci 0005:02:11.0: bridge window [io  0x1000-0x0fff] to [bus 0b-0f] add_size 1000
[    1.098192] pci 0005:02:11.0: bridge window [mem 0x100000000-0xffffffff 64bit 
pref] to [bus 0b-0f] add_size 100000000 add_align 100000000
[    1.098218] pci 0005:02:11.0: bridge window [mem 0x00800000-0x007fffff] to [bus 0b-0f] add_size 800000 add_align 800000
[    1.098265] 
pci 0005:01:00.0: bridge window [io  0x1000-0x0fff] to [bus 02-0f] add_size 4000
[    1.098290] pci 0005:01:00.0: bridge window [mem 0x100000000-0x4ffffffff 64bit pref] to [bus 02-0f] add_size 300000
000 add_align 100000000
[    1.098318] pci 0005:01:00.0: bridge window [mem 0x00800000-0x02ffffff] to [bus 02-0f] add_size 1000000 add_align 800000
[    1.098363] pci 0005:00:00.0: bridge window [io  0x1000-0x0fff] to [bus 01-0f] add_size 4000
[    1.098387] pci 0005:00:00.0: bridge window [mem 0x100000000-0x4ffffffff 64bit pref] to [bus 01-0f] add_size 300000000 add_align 100000000
[    1.098
413] pci 0005:00:00.0: bridge window [mem 0x00800000-0x037fffff] to [bus 01-0f] add_size 1000000 add_align 800000
[    1.098439] pci 0005:00:00.0: BAR 9: assigned [mem 0x250000000000-0x2506ffffffff 6
4bit pref]
[    1.098460] pci 0005:00:00.0: BAR 8: assigned [mem 0x3fe280000000-0x3fe283ffffff]
[    1.098479] pci 0005:00:00.0: BAR 7: no space for [io  size 0x4000]
[    1.098496] pci 0005:00:00.
0: BAR 7: failed to assign [io  size 0x4000]
[    1.098515] pci 0005:00:00.0: BAR 7: no space for [io  size 0x4000]
[    1.098532] pci 0005:00:00.0: BAR 7: failed to assign [io  size 0x4000]
[    1.098553] pci 0005:01:00.0: BAR 9: assigned [mem 0x250000000000-0x2506ffffffff 64bit pref]
[    1.098574] pci 0005:01:00.0: BAR 8: assigned [mem 0x3fe280000000-0x3fe2837fffff]
[    1.098594] pci 0005
:01:00.0: BAR 0: assigned [mem 0x3fe283800000-0x3fe28383ffff]
[    1.098621] pci 0005:01:00.0: BAR 7: no space for [io  size 0x4000]
[    1.098638] pci 0005:01:00.0: BAR 7: failed to assign [io  size 0x4000]
[    1.098657] pci 0005:01:00.0: BAR 7: no space for [io  size 0x4000]
[    1.098674] pci 0005:01:00.0: BAR 7: failed to assign [io  size 0x4000]
[    1.098702] pci 0005:02:08.0: BAR 9: a
ssigned [mem 0x250000000000-0x2500ffffffff 64bit pref]
[    1.098724] pci 0005:02:09.0: BAR 9: assigned [mem 0x250100000000-0x2501ffffffff 64bit pref]
[    1.098745] pci 0005:02:10.0: BAR 9: assigne
d [mem 0x250200000000-0x2502ffffffff 64bit pref]
[    1.098767] pci 0005:02:11.0: BAR 9: assigned [mem 0x250300000000-0x2503ffffffff 64bit pref]
[    1.098787] pci 0005:02:01.0: BAR 8: assigned [mem 0x3fe280000000-0x3fe2807fffff]
[    1.098807] pci 0005:02:08.0: BAR 8: assigned [mem 0x3fe280800000-0x3fe280ffffff]
[    1.098827] pci 0005:02:09.0: BAR 8: assigned [mem 0x3fe281000000-0x3fe2817fff
ff]
[    1.098846] pci 0005:02:10.0: BAR 8: assigned [mem 0x3fe281800000-0x3fe281ffffff]
[    1.098867] pci 0005:02:11.0: BAR 8: assigned [mem 0x3fe282000000-0x3fe2827fffff]
[    1.098885] pci 0005:02:08.0: BAR 7: no space for [io  size 0x1000]
[    1.098902] pci 0005:02:08.0: BAR 7: failed to assign [io  size 0x1000]
[    1.098919] pci 0005:02:09.0: BAR 7: no space for [io  size 0x1000]
[  
  1.098936] pci 0005:02:09.0: BAR 7: failed to assign [io  size 0x1000]
[    1.098953] pci 0005:02:10.0: BAR 7: no space for [io  size 0x1000]
[    1.098970] pci 0005:02:10.0: BAR 7: failed to assign [io  size 0x1000]
[    1.098988] pci 0005:02:11.0: BAR 7: no space for [io  size 0x1000]
[    1.099005] pci 0005:02:11.0: BAR 7: failed to assign [io  size 0x1000]
[    1.099027] pci 0005:02:11.0
: BAR 7: no space for [io  size 0x1000]
[    1.099044] pci 0005:02:11.0: BAR 7: failed to assign [io  size 0x1000]
[    1.099061] pci 0005:02:10.0: BAR 7: no space for [io  size 0x1000]
[    1.099078] pci 0005:02:10.0: BAR 7: failed to assign [io  size 0x1000]
[    1.099095] pci 0005:02:09.0: BAR 7: no space for [io  size 0x1000]
[    1.099112] pci 0005:02:09.0: BAR 7: failed to assign [io  s
ize 0x1000]
[    1.099129] pci 0005:02:08.0: BAR 7: no space for [io  size 0x1000]
[    1.099145] pci 0005:02:08.0: BAR 7: failed to assign [io  size 0x1000]
[    1.099167] pci 0005:03:00.0: BAR 0: assigned [mem 0x3fe280000000-0x3fe28000ffff 64bit]
[    1.099217] pci 0005:03:00.0: BAR 2: assigned [mem 0x3fe280010000-0x3fe280011fff 64bit]
[    1.099266] pci 0005:00     : [PE# fe] Secondary bus
 0 associated with PE#fe
[    1.099766] pci 0005:03     : [PE# fd] Secondary bus 3 associated with PE#fd
[    1.100277] pci 0005:03     : [PE# fd] Setting up 32-bit TCE table at 0..80000000
[    1.
136982] pci 0005:03     : [PE# fd] Setting up window#0 0..7fffffff pg=1000
[    1.137149] pci 0005:03     : [PE# fd] Enabling 64-bit DMA bypass
[    1.137179] iommu: Adding device 0005:03:00.0 to group 1
[    1.137197] pci 0005:02:01.0: PCI bridge to [bus 03]
[    1.137238] pci 0005:02:01.0:   bridge window [mem 0x3fe280000000-0x3fe2807fffff]
[    1.137286] pci 0005:04:00.0: BAR 6: assigned [
mem 0x3fe280800000-0x3fe28081ffff pref]
[    1.137308] pci 0005:04:00.0: BAR 0: assigned [mem 0x3fe280820000-0x3fe28082ffff 64bit]
[    1.137367] pci 0005:04:00.0: BAR 2: assigned [mem 0x3fe28083000
0-0x3fe28083ffff 64bit]
[    1.137425] pci 0005:04     : [PE# fc] Secondary bus 4 associated with PE#fc
[    1.137955] pci 0005:04     : [PE# fc] Setting up 32-bit TCE table at 0..80000000
[    1.172330] pci 0005:04     : [PE# fc] Setting up window#0 0..7fffffff pg=1000
[    1.172364] pci 0005:04     : [PE# fc] Enabling 64-bit DMA bypass
[    1.172387] iommu: Adding device 0005:04:00.0 to gro
up 2
[    1.172403] pci 0005:02:08.0: PCI bridge to [bus 04]
[    1.172433] pci 0005:02:08.0:   bridge window [mem 0x3fe280800000-0x3fe280ffffff]
[    1.172462] pci 0005:02:08.0:   bridge window [mem 0x250000000000-0x2500ffffffff 64bit pref]
[    1.172507] pci 0005:05:00.0: BAR 6: assigned [mem 0x3fe281000000-0x3fe28107ffff pref]
[    1.172527] pci 0005:05:00.1: BAR 6: assigned [mem 0x3fe2810
80000-0x3fe2810fffff pref]
[    1.172548] pci 0005:05:00.2: BAR 6: assigned [mem 0x3fe281100000-0x3fe28117ffff pref]
[    1.172569] pci 0005:05:00.3: BAR 6: assigned [mem 0x3fe281180000-0x3fe2811fff
ff pref]
[    1.172589] pci 0005:05:00.0: BAR 0: assigned [mem 0x250100000000-0x25010000ffff 64bit pref]
[    1.172645] pci 0005:05:00.0: BAR 2: assigned [mem 0x250100010000-0x25010001ffff 64bit pref]
[    1.172699] pci 0005:05:00.0: BAR 4: assigned [mem 0x250100020000-0x25010002ffff 64bit pref]
[    1.172754] pci 0005:05:00.1: BAR 0: assigned [mem 0x250100030000-0x25010003ffff 64bit pref]
[ 
   1.172809] pci 0005:05:00.1: BAR 2: assigned [mem 0x250100040000-0x25010004ffff 64bit pref]
[    1.172864] pci 0005:05:00.1: BAR 4: assigned [mem 0x250100050000-0x25010005ffff 64bit pref]
[    1.172919] pci 0005:05:00.2: BAR 0: assigned [mem 0x250100060000-0x25010006ffff 64bit pref]
[    1.172975] pci 0005:05:00.2: BAR 2: assigned [mem 0x250100070000-0x25010007ffff 64bit pref]
[    1.173031] pci 0005:05:00.2: BAR 4: assigned [mem 0x250100080000-0x25010008ffff 64bit pref]
[    1.173086] pci 0005:05:00.3: BAR 0: assigned [mem 0x250100090000-0x25010009ffff 64bit pref]
[    1.173141] pci 0
005:05:00.3: BAR 2: assigned [mem 0x2501000a0000-0x2501000affff 64bit pref]
[    1.173196] pci 0005:05:00.3: BAR 4: assigned [mem 0x2501000b0000-0x2501000bffff 64bit pref]
[    1.173286] pci 0005:05     : [PE# 01] Secondary bus 5 associated with PE#1
[    1.173808] pci 0005:05     : [PE# 01] Setting up 32-bit TCE table at 0..80000000
[    1.208100] pci 0005:05     : [PE# 01] Setting up window#0 0..7fffffff pg=1000
[    1.208126] pci 0005:05     : [PE# 01] Enabling 64-bit DMA bypass
[    1.208149] iommu: Adding device 0005:05:00.0 to group 3
[    1.208168] iommu: Adding device 0005:05:00.1 to group 3
[    1.208187] iommu: Adding device 0005:05:00.2 to group 3
[    1.208206] iommu: Adding device 0005:05:00.3 to group 3
[    1.208222] pci 0005:02:09.0: PCI bridge to [bus 05]
[    1.208251] pci 0005:02:09.0:   bridge window [mem 0x3fe281000000-0x3fe2817fffff]
[    1.208278] pci 0005:02:09.0:   bridge window [mem 0x2501
00000000-0x2501ffffffff 64bit pref]
[    1.208313] pci 0005:02:10.0: PCI bridge to [bus 06-0a]
[    1.208340] pci 0005:02:10.0:   bridge window [mem 0x3fe281800000-0x3fe281ffffff]
[    1.208367] pci 0005:02:10.0:   bridge window [mem 0x250200000000-0x2502ffffffff 64bit pref]
[    1.208402] pci 0005:02:11.0: PCI bridge to [bus 0b-0f]
[    1.208430] pci 0005:02:11.0:   bridge window [mem 0x3fe2
82000000-0x3fe2827fffff]
[    1.208457] pci 0005:02:11.0:   bridge window [mem 0x250300000000-0x2503ffffffff 64bit pref]
[    1.208499] pci 0005:02     : [PE# fb] Secondary bus 2 associated with PE#fb
[    1.208998] pci 0005:01:00.0: PCI bridge to [bus 02-0f]
[    1.209025] pci 0005:01:00.0:   bridge window [mem 0x3fe280000000-0x3fe2ffefffff]
[    1.209051] pci 0005:01:00.0:   bridge window [
mem 0x250000000000-0x25fdfff0ffff 64bit pref]
[    1.209089] pci 0005:01     : [PE# fa] Secondary bus 1 associated with PE#fa
[    1.209585] pci 0005:00:00.0: PCI bridge to [bus 01-0f]
[    1.209611] pci 0005:00:00.0:   bridge window [mem 0x3fe280000000-0x3fe2ffefffff]
[    1.209637] pci 0005:00:00.0:   bridge window [mem 0x250000000000-0x25fdfff0ffff 64bit pref]
[    1.209672] pci_bus 0005:0
0: resource 4 [mem 0x3fe280000000-0x3fe2fffeffff]
[    1.209690] pci_bus 0005:00: resource 5 [mem 0x250000000000-0x25fdffffffff 64bit pref]
[    1.209709] pci_bus 0005:01: resource 1 [mem 0x3fe280000000-0x3fe2ffefffff]
[    1.209727] pci_bus 0005:01: resource 2 [mem 0x250000000000-0x25fdfff0ffff 64bit pref]
[    1.209746] pci_bus 0005:02: resource 1 [mem 0x3fe280000000-0x3fe2ffefffff]
[    1.209764] pci_bus 0005:02: resource 2 [mem 0x250000000000-0x25fdfff0ffff 64bit pref]
[    1.209783] pci_bus 0005:03: resource 1 [mem 0x3fe280000000-0x3fe2807fffff]
[    1.209801] pci_bus 0005:04: reso
urce 1 [mem 0x3fe280800000-0x3fe280ffffff]
[    1.209819] pci_bus 0005:04: resource 2 [mem 0x250000000000-0x2500ffffffff 64bit pref]
[    1.209838] pci_bus 0005:05: resource 1 [mem 0x3fe281000000-0x
3fe2817fffff]
[    1.209856] pci_bus 0005:05: resource 2 [mem 0x250100000000-0x2501ffffffff 64bit pref]
[    1.209876] pci_bus 0005:06: resource 1 [mem 0x3fe281800000-0x3fe281ffffff]
[    1.209894] pci_bus 0005:06: resource 2 [mem 0x250200000000-0x2502ffffffff 64bit pref]
[    1.209913] pci_bus 0005:0b: resource 1 [mem 0x3fe282000000-0x3fe2827fffff]
[    1.209932] pci_bus 0005:0b: resource 2 [mem 0x250300000000-0x2503ffffffff 64bit pref]
[    1.209982] pci 0040:00     : [PE# fe] Secondary bus 0 associated with PE#fe
[    1.210478] pci 0040:00:00.0: PCI bridge to [bus 01-ff]
[    1.2105
25] pci_bus 0040:00: resource 4 [mem 0x3ff000000000-0x3ff07ffeffff]
[    1.210543] pci_bus 0040:00: resource 5 [mem 0x280000000000-0x28fdffffffff 64bit pref]
[    1.210590] pci 0044:00     : [PE# fe
] Secondary bus 0 associated with PE#fe
[    1.211085] pci 0044:00:00.0: PCI bridge to [bus 01-ff]
[    1.211133] pci_bus 0044:00: resource 4 [mem 0x3ff200000000-0x3ff27ffeffff]
[    1.211153] pci_
bus 0044:00: resource 5 [mem 0x2c0000000000-0x2cfdffffffff 64bit pref]
[    1.211201] pci 0045:00     : [PE# fe] Secondary bus 0 associated with PE#fe
[    1.211700] pci 0045:00:00.0: PCI bridge to [bus 01-ff]
[    1.211747] pci_bus 0045:00: resource 4 [mem 0x3ff280000000-0x3ff2fffeffff]
[    1.211765] pci_bus 0045:00: resource 5 [mem 0x2d0000000000-0x2dfdffffffff 64bit pref]
[    1.211901] p
ci 0001:00:00.0: enabling device (0141 -> 0143)
[    1.211944] pci 0001:01:00.0: enabling device (0141 -> 0143)
[    1.211991] pci 0001:02:08.0: enabling device (0141 -> 0143)
[    1.212035] pci 0005:00:00.0: enabling device (0141 -> 0143)
[    1.212074] pci 0005:01:00.0: enabling device (0141 -> 0143)
[    1.212118] pci 0005:02:01.0: enabling device (0141 -> 0143)
[    1.212162] pci 0005:02
:08.0: enabling device (0141 -> 0143)
[    1.212208] pci 0005:02:09.0: enabling device (0141 -> 0143)
[    1.214548] EEH: PCI Enhanced I/O Error Handling Enabled
[    1.215025] PCI: Probing PCI har
dware done
[    1.217170] create_dump_obj: New platform dump. ID = 0x41000000 Size 804576
[    1.222318] powernv-rng: Registering arch random hook.
[    1.225721] opal-power: OPAL EPOW, DPO support detected.
[    1.227748] random: fast init done
[    1.229239] HugeTLB registered 16.0 MiB page size, pre-allocated 0 pages
[    1.229247] HugeTLB registered 16.0 GiB page size, pre-allocated 0 pa
ges
[    1.230582] random: crng init done
[    1.232113] vgaarb: loaded
[    1.232406] SCSI subsystem initialized
[    1.232760] libata version 3.00 loaded.
[    1.232882] usbcore: registered new interface driver usbfs
[    1.232900] usbcore: registered new interface driver hub
[    1.233469] usbcore: registered new device driver usb
[    1.233544] pps_core: LinuxPPS API ver. 1 registered
[    1.233552] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.233568] PTP clock support registered
[    1.234107] EDAC MC: Ver: 3.0.0
[    1.235142
] clocksource: Switched to clocksource timebase
[    1.250735] NET: Registered protocol family 2
[    1.251486] tcp_listen_portaddr_hash hash table entries: 65536 (order: 4, 1048576 bytes)
[    1.251642] TCP established hash table entries: 524288 (order: 6, 4194304 bytes)
[    1.252490] TCP bind hash table entries: 65536 (order: 4, 1048576 bytes)
[    1.252624] TCP: Hash tables configured (es
tablished 524288 bind 65536)
[    1.252798] UDP hash table entries: 65536 (order: 5, 2097152 bytes)
[    1.253070] UDP-Lite hash table entries: 65536 (order: 5, 2097152 bytes)
[    1.253841] NET: Registered protocol family 1
[    1.254594] RPC: Registered named UNIX socket transport module.
[    1.254599] RPC: Registered udp transport module.
[    1.254602] RPC: Registered tcp transport module.
[    1.254606] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.254670] pci 0005:03:00.0: enabling device (0140 -> 0142)
[    1.254728] PCI: CLS 128 bytes, default 128
[    1.2
54786] Trying to unpack rootfs image as initramfs...
[    1.565749] Freeing initrd memory: 18880K
[    1.566060] numa: Starting topology update
[    1.570671] workingset: timestamp_bits=38 max_order=21 bucket_order=0
[    1.577354] NFS: Registering the id_resolver key type
[    1.577370] Key type id_resolver registered
[    1.577373] Key type id_legacy registered
[    1.577383] SGI XFS with ACLs, security attributes, no debug enabled
[    1.581550] Bad kernel stack pointer 6e690000 at c000000000e2ceec
[    1.581558] Oops: Bad kernel stack pointer, sig: 6 [#1]
[    1.581562] LE SMP NR_CPUS=2048 NUMA PowerNV
[    1.581567] Modules linked in:
[    1.581572] CPU: 3 PID: 1937 Comm: modprobe Not tainted 4.20.0-rc4-gd35c78239 #1
[    1.581577] NIP:  c000000000e2ceec LR: c00000000000b9e4 CTR: c000000000e2cee0
[    1.581582] REGS: c0000007ffe77d30 TRAP: 0e40   Not tainted  (4.20.0-rc4-gd35c78239)
[    1.581586] MSR:  9000000000009033 <SF,HV,EE,ME,IR,DR,RI,LE>  CR: 48024488  XER: 00000000
[    1.5815
94] CFAR: c00000000000b9e0 IRQMASK: c0000000014d1bd8 
[    1.581594] GPR00: 00000000000011e0 000000006e690000 c000000001498900 ffffffffffffff9c 
[    1.581594] GPR04: c00000006ecb0ff8 0000000000080000 0000000000000000 7f7f7f7f7f7f7f7f 
[    1.581594] GPR08: 0000000000000000 c000001e5104fe90 0000000000000000 c000000000c30ff8 
[    1.581594] GPR12: c000000000e2cee0 c0000007ffffd800 4f4c5f4543415254 00007fffb55927d0 
[    1.581594] GPR16: 00007fffb55bfbf0 00007fffc087b160 c000000065b70ff8 00007fffc087b5c8 
[    1.581594] GPR20: 000000000000000d 0000000000000000 0000000000000000 000000000000
0000 
[    1.581594] GPR24: 000000012b660d79 0000000000000000 00007fffb55c0000 0000000000000000 
[    1.581594] GPR28: 00007fffb55c1110 0000000000000001 00007fffb55c1050 00007fffc087a880 
[    1.58
1637] NIP [c000000000e2ceec] str_spec.65753+0x147da0/0x1f1c5c
[    1.581643] LR [c00000000000b9e4] system_call+0x5c/0x70
[    1.581646] Call Trace:
[    1.581648] Instruction dump:
[    1.581652] 
XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX 
[    1.581657] XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX 
[    1.581664] ---[ end trace 37e56b4
4979b6992 ]---
[    1.582355] 
[    1.582585] Bad kernel stack pointer 6e690000 at c000000000e2ceec
[    1.582590] Oops: Bad kernel stack pointer, sig: 6 [#2]
[    1.582593] LE SMP NR_CPUS=2048 NU
MA PowerNV
[    1.582597] Modules linked in:
[    1.582601] CPU: 5 PID: 1939 Comm: modprobe Tainted: G      D           4.20.0-rc4-gd35c78239 #1
[    1.582606] NIP:  c000000000e2ceec LR: c000000000
00b9e4 CTR: c000000000e2cee0
[    1.582611] REGS: c0000007ffe5fd30 TRAP: 0e40   Tainted: G      D            (4.20.0-rc4-gd35c78239)
[    1.582616] MSR:  9000000000009033 <SF,HV,EE,ME,IR,DR,RI,LE>  
CR: 48024488  XER: 00000000
[    1.582622] CFAR: c00000000000b9e0 IRQMASK: f000000003ff0000 
[    1.582622] GPR00: 00000000000011e0 000000006e690000 c000000001498900 ffffffffffffff9c 
[    1.582622
] GPR04: c00000006ecb0ff8 0000000000080000 0000000000000000 7f7f7f7f7f7f7f7f 
[    1.582622] GPR08: 0000000000000000 c000001e51057e90 0000000000000000 c000000000c30ff8 
[    1.582622] GPR12: c000000000e2cee0 c0000007ffffbd00 4f4c5f4543415254 00007fff930127d0 
[    1.582622] GPR16: 00007fff9303fbf0 00007fffeb7b0510 c000000065b70ff8 00007fffeb7b0978 
[    1.582622] GPR20: 000000000000000d 000000
0000000000 0000000000000000 0000000000000000 
[    1.582622] GPR24: 0000000130920d79 0000000000000000 00007fff93040000 0000000000000000 
[    1.582622] GPR28: 00007fff93041110 0000000000000001 00007
fff93041050 00007fffeb7afc30 
[    1.582663] NIP [c000000000e2ceec] str_spec.65753+0x147da0/0x1f1c5c
[    1.582668] LR [c00000000000b9e4] system_call+0x5c/0x70
[    1.582672] Call Trace:
[    1.582674] Instruction dump:
[    1.582676] XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX 
[    1.582682] XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX
 
[    1.582687] ---[ end trace 37e56b44979b6993 ]---
[    1.583344] 
[    1.583546] Bad kernel stack pointer 6e690000 at c000000000e2ceec
[    1.583551] Oops: Bad kernel stack pointer, sig: 6 [#3
]
[    1.583553] LE SMP NR_CPUS=2048 NUMA PowerNV
[    1.583557] Modules linked in:
[    1.583562] CPU: 4 PID: 1941 Comm: modprobe Tainted: G      D           4.20.0-rc4-gd35c78239 #1
[    1.583567] NIP:  c000000000e2ceec LR: c00000000000b9e4 CTR: c000000000e2cee0
[    1.583571] REGS: c0000007ffe6bd30 TRAP: 0e40   Tainted: G      D            (4.20.0-rc4-gd35c78239)
[    1.583576] MSR:  9000
000000009033 <SF,HV,EE,ME,IR,DR,RI,LE>  CR: 48024488  XER: 00000000
[    1.583582] CFAR: c00000000000b9e0 IRQMASK: c0000007ff313710 
[    1.583582] GPR00: 00000000000011e0 000000006e690000 c000000001498900 ffffffffffffff9c 
[    1.583582] GPR04: c00000006ecb0ff8 0000000000080000 0000000000000000 7f7f7f7f7f7f7f7f 
[    1.583582] GPR08: 0000000000000000 c000001e5105fe90 0000000000000000 c0000000
00c30ff8 
[    1.583582] GPR12: c000000000e2cee0 c0000007ffffca80 4f4c5f4543415254 00007fffb2c027d0 
[    1.583582] GPR16: 00007fffb2c2fbf0 00007fffd560c8a0 c000000065b70ff8 00007fffd560cd08 
[    
1.583582] GPR20: 000000000000000d 0000000000000000 0000000000000000 0000000000000000 
[    1.583582] GPR24: 000000013cb90d79 0000000000000000 00007fffb2c30000 0000000000000000 
[    1.583582] GPR28:
 00007fffb2c31110 0000000000000001 00007fffb2c31050 00007fffd560bfc0 
[    1.583623] NIP [c000000000e2ceec] str_spec.65753+0x147da0/0x1f1c5c
[    1.583628] LR [c00000000000b9e4] system_call+0x5c/0x70
[    1.583631] Call Trace:
[    1.583633] Instruction dump:
[    1.583636] XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX 
[    1.583641] XXXXXXXX XXXXXXXX XXXXXXXX XXXX
XXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX 
[    1.583647] ---[ end trace 37e56b44979b6994 ]---
[    1.584280] 
[    1.584481] Bad kernel stack pointer 6e690000 at c000000000e2ceec
[    1.584486] Oo
ps: Bad kernel stack pointer, sig: 6 [#4]
[    1.584488] LE SMP NR_CPUS=2048 NUMA PowerNV
[    1.584493] Modules linked in:
[    1.584497] CPU: 6 PID: 1943 Comm: modprobe Tainted: G      D           4.20.0-rc4-gd35c78239 #1
[    1.584502] NIP:  c000000000e2ceec LR: c00000000000b9e4 CTR: c000000000e2cee0
[    1.584506] REGS: c0000007ffe53d30 TRAP: 0e40   Tainted: G      D            (4.20.0-rc
4-gd35c78239)
[    1.584511] MSR:  9000000000009033 <SF,HV,EE,ME,IR,DR,RI,LE>  CR: 48024488  XER: 00000000
[    1.584518] CFAR: c00000000000b9e0 IRQMASK: c0000007ffcb2300 
[    1.584518] GPR00: 00000000000011e0 000000006e690000 c000000001498900 ffffffffffffff9c 
[    1.584518] GPR04: c00000006ecb0ff8 0000000000080000 0000000000000000 7f7f7f7f7f7f7f7f 
[    1.584518] GPR08: 0000000000000000 c0
00000002c83e90 0000000000000000 c000000000c30ff8 
[    1.584518] GPR12: c000000000e2cee0 c0000007ffffaf80 4f4c5f4543415254 00007fff86c727d0 
[    1.584518] GPR16: 00007fff86c9fbf0 00007fffea344410 c
000000065b70ff8 00007fffea344878 
[    1.584518] GPR20: 000000000000000d 0000000000000000 0000000000000000 0000000000000000 
[    1.584518] GPR24: 000000013a450d79 0000000000000000 00007fff86ca0000 0000000000000000 
[    1.584518] GPR28: 00007fff86ca1110 0000000000000001 00007fff86ca1050 00007fffea343b30 
[    1.584558] NIP [c000000000e2ceec] str_spec.65753+0x147da0/0x1f1c5c
[    1.584564] LR
 [c00000000000b9e4] system_call+0x5c/0x70
[    1.584567] Call Trace:
[    1.584569] Instruction dump:
[    1.584572] XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX 
[    1.584577] XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX 
[    1.584583] ---[ end trace 37e56b44979b6995 ]---
[    1.585204] 
[    1.585351] Bad kernel stack pointer 6e69000
0 at c000000000e2ceec
[    1.585356] Oops: Bad kernel stack pointer, sig: 6 [#5]
[    1.585359] LE SMP NR_CPUS=2048 NUMA PowerNV
[    1.585363] Modules linked in:
[    1.585367] CPU: 4 PID: 1945 C
omm: modprobe Tainted: G      D           4.20.0-rc4-gd35c78239 #1
[    1.585372] NIP:  c000000000e2ceec LR: c00000000000b9e4 CTR: c000000000e2cee0
[    1.585376] REGS: c0000007ffe6bd30 TRAP: 0e40   Tainted: G      D            (4.20.0-rc4-gd35c78239)
[    1.585381] MSR:  9000000000009033 <SF,HV,EE,ME,IR,DR,RI,LE>  CR: 48024488  XER: 00000000
[    1.585387] CFAR: c00000000000b9e0 IRQMASK: c0000007ff313710 
[    1.585387] GPR00: 00000000000011e0 000000006e690000 c000000001498900 ffffffffffffff9c 
[    1.585387] GPR04: c00000006ecb0ff8 0000000000080000 0000000000000000 7f7f7f7f7f7f7f7f 
[
    1.585387] GPR08: 0000000000000000 c000000002c8be90 0000000000000000 c000000000c30ff8 
[    1.585387] GPR12: c000000000e2cee0 c0000007ffffca80 4f4c5f4543415254 00007fffb8cd27d0 
[    1.585387] GP
R16: 00007fffb8cffbf0 00007ffff19bacb0 c000000065b70ff8 00007ffff19bb118 
[    1.585387] GPR20: 000000000000000d 0000000000000000 0000000000000000 0000000000000000 
[    1.585387] GPR24: 00000001181
10d79 0000000000000000 00007fffb8d00000 0000000000000000 
[    1.585387] GPR28: 00007fffb8d01110 0000000000000001 00007fffb8d01050 00007ffff19ba3d0 
[    1.585429] NIP [c000000000e2ceec] str_spec.65753+0x147da0/0x1f1c5c
[    1.585434] LR [c00000000000b9e4] system_call+0x5c/0x70
[    1.585437] Call Trace:
[    1.585439] Instruction dump:
[    1.585441] XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXX
XXXX XXXXXXXX XXXXXXXX XXXXXXXX 
[    1.585447] XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX 
[    1.585452] ---[ end trace 37e56b44979b6996 ]---
[    1.586032] 
[    1.586270] Bad kernel stack pointer 6e690000 at c000000000e2ceec
[    1.586278] Oops: Bad kernel stack pointer, sig: 6 [#6]
[    1.586281] LE SMP NR_CPUS=2048 NUMA PowerNV
[    1.586286] Modules linke
d in:
[    1.586290] CPU: 10 PID: 1947 Comm: modprobe Tainted: G      D           4.20.0-rc4-gd35c78239 #1
[    1.586296] NIP:  c000000000e2ceec LR: c00000000000b9e4 CTR: c000000000e2cee0
[    1.58
6300] REGS: c0000007ffe23d30 TRAP: 0e40   Tainted: G      D            (4.20.0-rc4-gd35c78239)
[    1.586305] MSR:  9000000000009033 <SF,HV,EE,ME,IR,DR,RI,LE>  CR: 48024488  XER: 00000000
[    1.586
312] CFAR: c00000000000b9e0 IRQMASK: c0000007ff493710 
[    1.586312] GPR00: 00000000000011e0 000000006e690000 c000000001498900 ffffffffffffff9c 
[    1.586312] GPR04: c00000006ecb0ff8 0000000000080
000 0000000000000000 7f7f7f7f7f7f7f7f 
[    1.586312] GPR08: 0000000000000000 c000000002c93e90 0000000000000000 c000000000c30ff8 
[    1.586312] GPR12: c000000000e2cee0 c0000007ffff7980 4f4c5f454341
5254 00007fff8b6d27d0 
[    1.586312] GPR16: 00007fff8b6ffbf0 00007fffde9bb230 c000000065b70ff8 00007fffde9bb698 
[    1.586312] GPR20: 000000000000000d 0000000000000000 0000000000000000 0000000000000000 
[    1.586312] GPR24: 0000000132500d79 0000000000000000 00007fff8b700000 0000000000000000 
[    1.586312] GPR28: 00007fff8b701110 0000000000000001 00007fff8b701050 00007fffde9ba950 
[    1.5
86354] NIP [c000000000e2ceec] str_spec.65753+0x147da0/0x1f1c5c
[    1.586359] LR [c00000000000b9e4] system_call+0x5c/0x70
[    1.586362] Call Trace:
[    1.586365] Instruction dump:
[    1.586368]
 XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX 
[    1.586373] XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX 
[    1.586379] ---[ end trace 37e56b44979b6997 ]---
[    1.586977] 
[    1.587167] Bad kernel stack pointer 6e690000 at c000000000e2ceec
[    1.587172] Oops: Bad kernel stack pointer, sig: 6 [#7]
[    1.587175] LE SMP NR_CPUS=2048 NUMA PowerNV
[    1.587179] Modules linked in:
[    1.587183] CPU: 8 PID: 1949 Comm: modprobe Tainted: G      D           4.20.0-rc4-gd35c78239 #1
[    1.587188] NIP:  c000000000e2ceec LR: c00000000
000b9e4 CTR: c000000000e2cee0
[    1.587193] REGS: c0000007ffe3bd30 TRAP: 0e40   Tainted: G      D            (4.20.0-rc4-gd35c78239)
[    1.587197] MSR:  9000000000009033 <SF,HV,EE,ME,IR,DR,RI,LE> 
 CR: 48024488  XER: 00000000
[    1.587204] CFAR: c00000000000b9e0 IRQMASK: c000000001088c80 
[    1.587204] GPR00: 00000000000011e0 000000006e690000 c000000001498900 ffffffffffffff9c 
[    1.58720
4] GPR04: c00000006ecb0ff8 0000000000080000 0000000000000000 7f7f7f7f7f7f7f7f 
[    1.587204] GPR08: 0000000000000000 c000000002c9be90 0000000000000000 c000000000c30ff8 
[    1.587204] GPR12: c00000
0000e2cee0 c0000007ffff9480 4f4c5f4543415254 00007fff956727d0 
[    1.587204] GPR16: 00007fff9569fbf0 00007fffc9b08ba0 c000000065b70ff8 00007fffc9b09008 
[    1.587204] GPR20: 000000000000000d 0000000000000000 0000000000000000 0000000000000000 
[    1.587204] GPR24: 000000012ab80d79 0000000000000000 00007fff956a0000 0000000000000000 
[    1.587204] GPR28: 00007fff956a1110 0000000000000001 0000
7fff956a1050 00007fffc9b082c0 
[    1.587245] NIP [c000000000e2ceec] str_spec.65753+0x147da0/0x1f1c5c
[    1.587250] LR [c00000000000b9e4] system_call+0x5c/0x70
[    1.587253] Call Trace:
[    1.587255] Instruction dump:
[    1.587258] XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX 
[    1.587263] XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX 
[    1.587269] ---[ end trace 37e56b44979b6998 ]---
[    1.587864] 
[    1.588070] Bad kernel stack pointer 6e690000 at c000000000e2ceec
[    1.588075] Oops: Bad kernel stack pointer, sig: 6 [#
8]
[    1.588078] LE SMP NR_CPUS=2048 NUMA PowerNV
[    1.588082] Modules linked in:
[    1.588086] CPU: 12 PID: 1951 Comm: modprobe Tainted: G      D           4.20.0-rc4-gd35c78239 #1
[    1.588091] NIP:  c000000000e2ceec LR: c00000000000b9e4 CTR: c000000000e2cee0
[    1.588095] REGS: c0000007ffe0bd30 TRAP: 0e40   Tainted: G      D            (4.20.0-rc4-gd35c78239)
[    1.588100] MSR:  9000000000009033 <SF,HV,EE,ME,IR,DR,RI,LE>  CR: 48024488  XER: 00000000
[    1.588107] CFAR: c00000000000b9e0 IRQMASK: c0000000014d1bd8 
[    1.588107] GPR00: 00000000000011e0 000000006e690000 c000000
001498900 ffffffffffffff9c 
[    1.588107] GPR04: c00000006ecb0ff8 0000000000080000 0000000000000000 7f7f7f7f7f7f7f7f 
[    1.588107] GPR08: 0000000000000000 c000000002ca3e90 0000000000000000 c000000000c30ff8 
[    1.588107] GPR12: c000000000e2cee0 c0000007ffff5e80 4f4c5f4543415254 00007fff8f2027d0 
[    1.588107] GPR16: 00007fff8f22fbf0 00007fffff95f810 c000000065b70ff8 00007fffff95fc78 
[    1.588107] GPR20: 000000000000000d 0000000000000000 0000000000000000 0000000000000000 
[    1.588107] GPR24: 0000000116cf0d79 0000000000000000 00007fff8f230000 0000000000000000 
[    1.588107] GPR28: 00007fff8f231110 0000000000000001 00007fff8f231050 00007fffff95ef30 
[    1.588147] NIP [c000000000e2ceec] str_spec.65753+0x147da0/0x1f1c5c
[    1.588152] LR [c00000000000b9e4] system_call+0x5c/0
x70
[    1.588156] Call Trace:
[    1.588158] Instruction dump:
[    1.588160] XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX 
[    1.588166] XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX 
[    1.588172] ---[ end trace 37e56b44979b6999 ]---
[    1.588778] 
[    1.588819] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    1.588828] io scheduler noop registered
[    1.588832] io scheduler deadline registered
[    1.589033] io scheduler cfq registered (default)
[    1.589039] io scheduler mq-deadline registered
[    1.589044] io scheduler kyber registered
[    1.602488] __vio_register_driver: driver hvc_console registering
[    1.602530] hvc0: raw protocol on /ibm,opal/consoles/serial@0 (boot console)
[  
  1.602758] hvc1: hvsi protocol on /ibm,opal/consoles/serial@1
[    1.602792] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.606507] brd: module loaded
[    1.615736] loop: module loaded
[    1.615817] ipr: IBM Power RAID SCSI Device Driver version: 2.6.4 (March 14, 2017)
[    1.615864] ipr 0001:08:00.0: Found IOA with IRQ: 0
[    1.615977] ipr 0001:08:00.0: enabling device (0140 -> 0142)
[    1.615990] ipr 0001:08:00.0: Using 64-bit DMA iommu bypass
[    1.616268] ipr 0001:08:00.0: Received IRQ : 505
[    1.616282] ipr 0001:08:00.0: Request for 16 MSI-Xs succeeded.
[    1.616701] ipr 0001:08:00.0: Initializing IOA.
[    1.616707] scsi host0: IBM 0 Storage Adapter

 *** WaitForIt CURRENT STATE "05" TARGET STATE "06"
 *** WaitForIt working on transition
 *** Current loop iteration "11"             - Reconnect attempts "00" - loop_max "100"
 *** WaitForIt timeout interval "05" seconds - Stale buffer check every "12" times

 *** WaitForIt Refresh="0" Buffer Kicker="1" - Kill Cord="150"


 *** WaitForIt CURRENT STATE "05" TARGET STATE "06"
 *** WaitForIt working on transition
 *** Current loop iteration "12"             - Reconnect attempts "00" - loop_max "100"
 *** WaitForIt timeout interval "05" seconds - Stale buffer check every "12" times

 *** WaitForIt Refresh="0" Buffer Kicker="1" - Kill Cord="150"


 *** WaitForIt CURRENT STATE "05" TARGET STATE "06"
 *** WaitForIt working on transition
 *** Current loop iteration "13"             - Reconnect attempts "00" - loop_max "100"
 *** WaitForIt timeout interval "05" seconds - Stale buffer check every "12" times

 *** WaitForIt Refresh="0" Buffer Kicker="1" - Kill Cord="150"


 *** WaitForIt CURRENT STATE "05" TARGET STATE "06"
 *** WaitForIt working on transition
 *** Current loop iteration "14"             - Reconnect attempts "00" - loop_max "100"
 *** WaitForIt timeout interval "05" seconds - Stale buffer check every "12" times

 *** WaitForIt Refresh="0" Buffer Kicker="1" - Kill Cord="150"


 *** WaitForIt CURRENT STATE "05" TARGET STATE "06"
 *** WaitForIt working on transition
 *** Current loop iteration "15"             - Reconnect attempts "00" - loop_max "100"
 *** WaitForIt timeout interval "05" seconds - Stale buffer check every "12" times

 *** WaitForIt Refresh="0" Buffer Kicker="1" - Kill Cord="150"

[   29.553279] ipr 0001:08:00.0: Starting IOA initialization sequence.
[   29.568930] ipr 0001:08:00.0: Adapter firmware version: 13512400
[   29.570584] ipr 0001:08:00.0: IOA initialized.
[   29.571026] scsi 0:3:0:0: No Device         IBM      57D8001SISIOA    0150 PQ: 0 ANSI: 0
[   29.571034] scsi 0:3:0:0: Resource path: 0/FE
[   29.575672] scsi 0:0:0:0: Direct-Access     IBM      ST600MP0064      7D0F PQ: 0 ANSI: 6
[   29.575679] scsi 0:0:0:0: Resource path: 0/00-0C-00
[   29.629047] scsi 0:0:1:0: Direct-Access     IBM      ST1200MM0007     BF05 PQ: 0 ANSI: 6
[   29.629059] scsi 0:0:1:0: Resource path: 0/00-0C-01
[   29.629434] scsi 0:1:0:0: No Device         IBM      IPR-0   5EDF3D00      PQ: 0 ANSI: 3
[   29.629440] scsi 0:1:0:0: Resource path: 0/FD-00
[   29.629974] scsi 0:1:1:0: No Device         IBM      IPR-0   5EDF3D00      PQ: 0 ANSI: 3
[   29.629980] scsi 0:1:1:0: Resource path: 0/FD-01
[   29.630333] scsi 0:2:0:0: Direct-Access     IBM      IPR-0   5EDF3D00      PQ: 0 ANSI: 3
[   29.630341] scsi 0:2:0:0: Resource path: 0/FC-01-00
[   29.630776] scsi 0:2:1:0: Direct-Access     IBM      IPR-0   5EDF3D00      PQ: 0 ANSI: 3
[   29.630783] scsi 0:2:1:0: Resource path: 0/FC-00-00
[   29.631861] scsi 0:0:2:0: Enclosure         IBM      PSBPD14M1 6GSAS  1508 PQ: 0 ANSI: 4
[   29.631867] scsi 0:0:2:0: Resource path: 0/00-08-18
[   29.633164] scsi 0:0:3:0: Enclosure         IBM 
     PSBPD14M1 6GSAS  1508 PQ: 0 ANSI: 4
[   29.633171] scsi 0:0:3:0: Resource path: 0/00-0C-18
[   29.635079] ipr 0005:04:00.0: Found IOA with IRQ: 0
[   29.635177] ipr 0005:04:00.0: enabling device (0140 -> 0142)
[   29.635194] ipr 0005:04:00.0: Using 64-bit DMA iommu bypass
[   29.635492] ipr 0005:04:00.0: Received IRQ : 397
[   29.635511] ipr 0005:04:00.0: Request for 16 MSI-Xs succeeded.
[   29.635938] ipr 0005:04:00.0: Initializing IOA.
[   29.635945] scsi host1: IBM 0 Storage Adapter

 *** WaitForIt CURRENT STATE "05" TARGET STATE "06"
 *** WaitForIt working on transition
 *** Current loop iteration "16"             - Reconnect attempts "00" - loop_max "100"
 *** WaitForIt timeout interval "05" seconds - Stale buffer check every "12" times

 *** WaitForIt Refresh="0" Buffer Kicker="1" - Kill Cord="150"


 *** WaitForIt CURRENT STATE "05" TARGET STATE "06"
 *** WaitForIt working on transition
 *** Current loop iteration "17"             - Reconnect attempts "00" - loop_max "100"
 *** WaitForIt timeout interval "05" seconds - Stale buffer check every "12" times

 *** WaitForIt Refresh="0" Buffer Kicker="1" - Kill Cord="150"


 *** WaitForIt CURRENT STATE "05" TARGET STATE "06"
 *** WaitForIt working on transition
 *** Current loop iteration "18"             - Reconnect attempts "00" - loop_max "100"
 *** WaitForIt timeout interval "05" seconds - Stale buffer check every "12" times

 *** WaitForIt Refresh="0" Buffer Kicker="1" - Kill Cord="150"


 *** WaitForIt CURRENT STATE "05" TARGET STATE "06"
 *** WaitForIt working on transition
 *** Current loop iteration "19"             - Reconnect attempts "00" - loop_max "100"
 *** WaitForIt timeout interval "05" seconds - Stale buffer check every "12" times

 *** WaitForIt Refresh="0" Buffer Kicker="1" - Kill Cord="150"


 *** WaitForIt CURRENT STATE "05" TARGET STATE "06"
 *** WaitForIt working on transition
 *** Current loop iteration "20"             - Reconnect attempts "00" - loop_max "100"
 *** WaitForIt timeout interval "05" seconds - Stale buffer check every "12" times

 *** WaitForIt Refresh="0" Buffer Kicker="1" - Kill Cord="150"


 *** WaitForIt CURRENT STATE "05" TARGET STATE "06"
 *** WaitForIt working on transition
 *** Current loop iteration "21"             - Reconnect attempts "00" - loop_max "100"
 *** WaitForIt timeout interval "05" seconds - Stale buffer check every "12" times

 *** WaitForIt Refresh="0" Buffer Kicker="1" - Kill Cord="150"


 *** WaitForIt CURRENT STATE "05" TARGET STATE "06"
 *** WaitForIt working on transition
 *** Current loop iteration "22"             - Reconnect attempts "00" - loop_max "100"
 *** WaitForIt timeout interval "05" seconds - Stale buffer check every "12" times

 *** WaitForIt Refresh="0" Buffer Kicker="1" - Kill Cord="150"

[   64.491925] ipr 0005:04:00.0: Starting IOA initialization sequence.
[   64.577068] ipr 0005:04:00.0: Adapter firmware version: 13512400
[   64.578736] ipr 0005:04:00.0: IOA initialized.
[   64.628396] scsi 1:3:0:0: No Device         IBM      57D8001SISIOA    0150 PQ: 0 ANSI: 0
[   64.628406] scsi 1:3:0:0: Resource path: 1/FE
[   64.754741] scsi 1:0:0:0: Enclosure         IBM      VSBPD14M1 6GSAS    03 PQ: 0 ANSI: 2
[   64.754753] scsi 1:0:0:0: Resource path: 1/00-14
[   64.755909] scsi 1:0:2:0: Enclosure         IBM    
  PSBPD14M1 6GSAS  1508 PQ: 0 ANSI: 4
[   64.755916] scsi 1:0:2:0: Resource path: 1/00-08-18
[   64.757257] scsi 1:0:3:0: Enclosure         IBM      PSBPD14M1 6GSAS  1508 PQ: 0 ANSI: 4
[   64.757264] scsi 1:0:3:0: Resource path: 1/00-0C-18
[   64.761685] scsi 1:0:4:0: Direct-Access     IBM      ST600MP0064      7D0F PQ: 0 ANSI: 6
[   64.761692] scsi 1:0:4:0: Resource path: 1/00-0C-00
[   64.765637] scsi 1:0:5:0: Direct-Access     IBM      ST1200MM0007     BF05 PQ: 0 ANSI: 6
[   64.765643] scsi 1:0:5:0: Resource path: 1/00-0C-01
[   64.766001] scsi 1:1:0:0: No Device         IBM 
     IPR-0   5EDF3D00      PQ: 0 ANSI: 3
[   64.766007] scsi 1:1:0:0: Resource path: 1/FD-00
[   64.766372] scsi 1:1:1:0: No Device         IBM      IPR-0   5EDF3D00      PQ: 0 ANSI: 3
[   64.766378] scsi 1:1:1:0: Resource path: 1/FD-01
[   64.774245] scsi 1:2:0:0: Direct-Access     IBM      IPR-0   5EDF3D00      PQ: 0 ANSI: 3
[   64.774251] scsi 1:2:0:0: Resource path: 1/FC-01-00
[   64.782273] scsi 1:2:1:0: Direct-Access     IBM      IPR-0   5EDF3D00      PQ: 0 ANSI: 3
[   64.782287] scsi 1:2:1:0: Resource path: 1/FC-00-00
[   64.795250] sd 0:2:0:0: Power-on or device reset occurred
[   64.795283] sd 0:2:1:0: Power-on or device reset occurred
[   64.795492] sd 0:2:0:0: [sda] Spinning up disk...
[   64.795527] sd 0:2:
1:0: [sdb] Spinning up disk...
[   64.795628] sd 1:2:0:0: Power-on or device reset occurred
[   64.795719] scsi 0:3:0:0: Attached scsi generic sg0 type 31
[   64.795783] scsi 0:0:0:0: Attached scsi generic sg1 type 12
[   64.795850] scsi 0:0:1:0: Attached scsi generic sg2 type 12
[   64.795892] sd 1:2:1:0: Power-on or device reset occurred
[   64.795921] scsi 0:1:0:0: Attached scsi generic sg3 type 31
[   64.795989] scsi 0:1:1:0: Attached scsi generic sg4 type 31
[   64.796054] sd 0:2:0:0: Attached scsi generic sg5 type 0
[   64.796118] sd 0:2:1:0: Attached scsi generic sg6 type 0
[   64.796153] scsi 0:0:2:0: Attached scsi generic sg7 type 13
[   64.796225] scsi 0:0:3:0: Attached scsi generic sg8 type 13
[   64.796290] scsi 1:3:0:0: Attached scsi generic sg9 type 31
[   64.796
354] scsi 1:0:0:0: Attached scsi generic sg10 type 13
[   64.796418] scsi 1:0:2:0: Attached scsi generic sg11 type 13
[   64.796483] scsi 1:0:3:0: Attached scsi generic sg12 type 13
[   64.796548] scsi 1:0:4:0: Attached scsi generic sg13 type 12
[   64.796615] scsi 1:0:5:0: Attached scsi generic sg14 type 12
[   64.796680] scsi 1:1:0:0: Attached scsi generic sg15 type 31
[   64.796745] scsi 1:1:1:0: Attached scsi generic sg16 type 31
[   64.796809] sd 1:2:0:0: Attached scsi generic sg17 type 0
[   64.796879] sd 1:2:1:0: Attached scsi generic sg18 type 0
[   64.797070] libphy: Fixed MDIO Bus: probed
[   64.797203] tg3.c:v3.137 (May 11, 2014)
[   64.797216] tg3 0005:05:00.0: enabling device (0140 -> 0142)
[   64.832953] tg3 0005:05:00.0: Using 64-bit DMA iommu bypass
[   64.833446] tg3 0005:05:00.0 eth0: Tigon3 [partno(00RX892) rev 5719001] (PCI Express) MAC address 98:be:94:02:8f:64
[   64.833458] t
g3 0005:05:00.0 eth0: attached PHY is 5719C (10/100/1000Base-T Ethernet) (WireSpeed[1], EEE[1])
[   64.833464] tg3 0005:05:00.0 eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1]
[   64.833470] tg3 0005:05:00.0 eth0: dma_rwctrl[00000000] dma_mask[64-bit]
[   64.833586] tg3 0005:05:00.1: enabling device (0140 -> 0142)
[   64.864036] tg3 0005:05:00.1: Using 64-bit DMA iommu bypass
[   64.864299] tg3 0005:05:00.1 eth1: Tigon3 [partno(00RX892) rev 5719001] (PCI Express) MAC address 98:be:94:02:8f:65
[   64.864309] tg3 0005:05:00.1 eth1: attached PHY is 5719C (10/100/1000Base-T Ethernet) (WireSpeed[1], EEE[1])
[   64.864316] tg3 0005:05:00.1 eth1: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1]
[   64.864321] tg3 0005:05:00.1 eth1: dma_rwctrl[00000000] dma_mask[64-bit]
[   64.864434] tg3 0005:05:00.2: enabling device (0140 -> 0142)
[   64.894032] tg3 0005:05:00.2: Using 64-bit DMA iommu bypass
[   64.894293] tg3 0005:05:00.2 eth2: Tigon3 [partno(00RX892) rev 5719001] (PCI Express) MAC address 98:be:94:02:8f:66
[   64.894303] t
g3 0005:05:00.2 eth2: attached PHY is 5719C (10/100/1000Base-T Ethernet) (WireSpeed[1], EEE[1])
[   64.894310] tg3 0005:05:00.2 eth2: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1]
[   64.894315] tg3 0005:05:00.2 eth2: dma_rwctrl[00000000] dma_mask[64-bit]
[   64.894429] tg3 0005:05:00.3: enabling device (0140 -> 0142)
[   64.898483] sd 1:2:0:0: [sdc] Spinning up disk...
[   64.924033] tg3 0005:05:00.3: Using 64-bit DMA iommu bypass
[   64.924283] tg3 0005:05:00.3 eth3: Tigon3 [partno(00RX892) rev 5719001] (PCI Express) MAC address 98:be:94:02:8f:67
[   64.924293] t
g3 0005:05:00.3 eth3: attached PHY is 5719C (10/100/1000Base-T Ethernet) (WireSpeed[1], EEE[1])
[   64.924300] tg3 0005:05:00.3 eth3: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1]
[   64.924305] tg3 0005:05:00.3 eth3: dma_rwctrl[00000000] dma_mask[64-bit]
[   64.924307] sd 1:2:1:0: [sdd] Spinning up disk...
[   64.924432] e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI
[   64.924439] e100: Copyright(c) 1999-2006 Intel Corporation
[   64.924457] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[   64.924463] e1000: Copyright (c) 1999-2006 Intel Corporation.
[ 
  64.924485] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[   64.924491] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[   64.924534] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   64.924542] ehci-pci: EHCI PCI platform driver
[   64.924554] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   64.924565] ohci-pci: OHCI PCI platform driver
[   64.960302] rtc-opal opal-rtc: rtc core: registered rtc-opal as rtc0
[   64.960324] i2c /dev entries driver
[   64.963642] device-mapper: uevent: version 1.0.3
[   64.963862] device-mapper: ioctl: 4.39.0-ioctl (2018-04-03) initialised: dm-devel@redhat.com
[   64.963877] powernv-cpufreq: cpufreq pstate min
 0xffffffcf nominal 0xfffffff8 max 0x0
[   64.963881] powernv-cpufreq: Workload Optimized Frequency is disabled in the platform
[   64.967626] powernv_idle_driver registered
[   64.967734] nx_compress_powernv: coprocessor found on chip 0, CT 3 CI 1
[   64.967740] nx_compress_powernv: coprocessor found on chip 1, CT 3 CI 2
[   64.967745] nx_compress_powernv: coprocessor found on chip 16, CT 3 
CI 17
[   64.967750] nx_compress_powernv: coprocessor found on chip 17, CT 3 CI 18
[   64.968148] Bad kernel stack pointer 6e690000 at c000000000e2ceec
[   64.968158] Oops: Bad kernel stack pointer
, sig: 6 [#9]
[   64.968163] LE SMP NR_CPUS=2048 NUMA PowerNV
[   64.968172] Modules linked in:
[   64.968180] CPU: 5 PID: 2792 Comm: modprobe Tainted: G      D           4.20.0-rc4-gd35c78239 #1
[   64.968189] NIP:  c000000000e2ceec LR: c00000000000b9e4 CTR: c000000000e2cee0
[   64.968197] REGS: c0000007ffe5fd30 TRAP: 0e40   Tainted: G      D            (4.20.0-rc4-gd35c78239)
[   64.968204
] MSR:  9000000000009033 <SF,HV,EE,ME,IR,DR,RI,LE>  CR: 48024488  XER: 00000000
[   64.968217] CFAR: c00000000000b9e0 IRQMASK: f000000003ff0000 
[   64.968217] GPR00: 00000000000011e0 000000006e690000 c000000001498900 ffffffffffffff9c 
[   64.968217] GPR04: c00000006ecb0ff8 0000000000080000 0000000000000000 7f7f7f7f7f7f7f7f 
[   64.968217] GPR08: 0000000000000000 c0000007efb07e90 0000000000000
000 c000000000c30ff8 
[   64.968217] GPR12: c000000000e2cee0 c0000007ffffbd00 4f4c5f4543415254 00007fff9ba227d0 
[   64.968217] GPR16: 00007fff9ba4fbf0 00007fffdc860570 c000000065b70ff8 00007fffdc86
09d8 
[   64.968217] GPR20: 000000000000000d 0000000000000000 0000000000000000 0000000000000000 
[   64.968217] GPR24: 0000000128be0d79 0000000000000000 00007fff9ba50000 0000000000000000 
[   64.968217] GPR28: 00007fff9ba51110 0000000000000001 00007fff9ba51050 00007fffdc85fc90 
[   64.968291] NIP [c000000000e2ceec] str_spec.65753+0x147da0/0x1f1c5c
[   64.968300] LR [c00000000000b9e4] system_call+0x5c/0x70
[   64.968305] Call Trace:
[   64.968309] Instruction dump:
[   64.968316] XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX 
[   64.968326] XXXXXXXX XXXXXXXX X
XXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX 
[   64.968337] ---[ end trace 37e56b44979b699a ]---
[   64.969254] 
[   64.969611] usbcore: registered new interface driver usbhid
[   64.9696
17] usbhid: USB HID core driver
[   64.969973] ipip: IPv4 and MPLS over IPv4 tunneling driver
[   64.970217] NET: Registered protocol family 17
[   64.970255] Key type dns_resolver registered
[   64.970315] drmem: No dynamic reconfiguration memory found
[   64.970319] Running code patching self-tests ...
[   64.970471] Running feature fixup self-tests ...
[   64.970478] Running MSI bitmap s
elf-tests ...
[   64.970680] registered taskstats version 1
[   64.970931] printk: console [netcon0] enabled
[   64.970937] netconsole: network logging started
[   65.026942] rtc-opal opal-rtc: se
tting system clock to 2018-11-29 05:00:35 UTC (1543467635)

 *** WaitForIt CURRENT STATE "05" TARGET STATE "06"
 *** WaitForIt working on transition
 *** Current loop iteration "23"             - Reconnect attempts "00" - loop_max "100"
 *** WaitForIt timeout interval "05" seconds - Stale buffer check every "12" times

 *** WaitForIt Refresh="0" Buffer Kicker="1" - Kill Cord="150"

[   65.915019] .
[   65.915651] .
[   65.915696] ready
[   65.915755] ready
[   65.916247] sd 0:2:0:0: [sda] 139466752 4096-byte logical blocks: (571 GB/532 GiB)
[   65.916314] sd 0:2:0:0: [sda] Write Protect is off
[   65.916326] sd 0:2:0:0: [sda] Mode Sense: 0b 00 00 08
[   65.917129] sd 1:2:0:0: [sdc] 139466752 4096-byte logical blocks: (571 GB/532 GiB)
[   65.917269] sd 1:2:0:0: [sdc] Write Protect is off
[   65.917276] sd 1:2:0:0: [sdc] Mode Sense: 0b 00 00 08
[   65.995025] .
[   65.995032] .ready
[   65.995387] sd 0:2:1:0: [sdb] 2231484416 512-byte logical blocks: (1.14 TB/1.04 TiB)
[   65.995400] sd 0:2:1:0: [sdb] 4096-byte physical blocks
[   65.995401] ready
[   65.995492] sd 0:2:1:0: [sdb] Write Protect is off
[   65.995503] sd 0:2:1:0: [sdb] Mode Sense: 0b 00 00
 08
[   65.996372] sd 1:2:1:0: [sdd] 2231484416 512-byte logical blocks: (1.14 TB/1.04 TiB)
[   65.996383] sd 1:2:1:0: [sdd] 4096-byte physical blocks
[   65.996449] sd 1:2:1:0: [sdd] Write Protect is off
[   65.996459] sd 1:2:1:0: [sdd] Mode Sense: 0b 00 00 08
[   66.155085] sd 0:2:0:0: [sda] Cache data unavailable
[   66.155101] sd 0:2:0:0: [sda] Assuming drive cache: write through
[   66.155306] sd 1:2:0:0: [sdc] Cache data unavailable
[   66.155320] sd 1:2:0:0: [sdc] Assuming drive cache: write through
[   66.235084] sd 0:2:1:0: [sdb] Cache data unavailable
[   66.235099] sd 0:2:1:0: [sdb] Assuming drive cache: write through
[   66.235350] sd 1:2:1:0: [sdd] Cache data unavailable
[   66.235360] sd 1:2:1:0: [sdd] Assuming drive cache: write through
[   66.386112]  sda: sda1 sda2 sda3 sda4 < sda5 sda6 >
[   66.387966]  sdc: sdc1 sdc2 sdc3 sdc4 < sdc5 sdc6 >
[   66.455435]  sdb: sdb1 sdb2 sdb3
[   66.457072]  sdd: sdd1 sdd2 sdd3
[   66.635114] sd 0:2:0:0: [sda] Attached SCSI disk
[   66.636507] sd 1:2:0:0: [sdc] Attached SCSI disk
[   66.695457] sd 0:2:1:0: [sdb] Attached SCSI disk
[   66.696747] sd 1:2:1:0: [sdd] Attached SCSI disk
[   66.698543] Freeing unused kernel memory: 4096K
[   66.698550] This architecture does not have kernel memory protection.
[   66.698567] Run /init as init process
[   66.698827] Bad kernel stack pointer 6e690000 at c000000000e2ceec
[   66.698837] Oops: Bad kernel stack pointer, sig: 6 [#10]
[   66.698842] LE SMP NR_CPUS=2048 NUMA PowerNV
[   66.698850] Modules linked in:
[   66.698859] CPU: 5 PID: 1 Comm: init Tainted: G      D           4.20.0-rc4-gd35c78239 #1
[   66.698867] NIP:  c000000000e2ceec LR: c00000000000b9e4 CTR: c000000000e2cee0
[   66.698874] REGS: c0000007ffe5fd30 TRAP: 0e40   Tainted: G      D            (4.20.0-rc4-gd35c78239)
[   66.698882] MSR:  9000000000009033 <SF,HV,EE,ME,IR,DR,RI,LE>  CR: 44042448  XER: 20000000
[   66.698894] CFAR: c00000000000b9e0 IRQM
ASK: f000000003ff0000 
[   66.698894] GPR00: 00000000000011e0 000000006e690000 c000000001498900 ffffffffffffff9c 
[   66.698894] GPR04: c00000006ecb0ff8 0000000000080000 0000000000000000 0000000000000000 
[   66.698894] GPR08: 0000000000000000 c000000ffb983e90 0000000000000000 c000000000c30ff8 
[   66.698894] GPR12: c000000000e2cee0 c0000007ffffbd00 0000000000000000 00000001116c6b81 
[   66.6
98894] GPR16: 0000000000000002 00007fffe8d5d878 c000000065b70ff8 00007fffe8d5d520 
[   66.698894] GPR20: 0000000000000000 0000000000000019 00007fffe8d5d2e1 00007fff9c70f2a8 
[   66.698894] GPR24: 00
007fff9c711110 00007fffe8d5d520 00007fffe8d5d878 0000000000000000 
[   66.698894] GPR28: 00007fff9c70f2a8 00007fffe8d5d2d0 0000000000000000 00007fffe8d5d190 
[   66.698963] NIP [c000000000e2ceec] st
r_spec.65753+0x147da0/0x1f1c5c
[   66.698972] LR [c00000000000b9e4] system_call+0x5c/0x70
[   66.698978] Call Trace:
[   66.698981] Instruction dump:
[   66.698987] XXXXXXXX XXXXXXXX XXXXXXXX XXXX
XXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX 
[   66.698995] XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX 
[   66.699005] ---[ end trace 37e56b44979b699c ]---
[   66.700530] 
[   67.700653] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000006
[   67.703647] Rebooting in 10 seconds..
Exit with Result errors="1" and failures="0"

----------------------------------------------------------
OpTestSystem Firmware Versions Tested
(if flashed things like skiboot.lid, may not be accurate)
----------------------------------------------------------
Firmware Versions Unavailable
----------------------------------------------------------
----------------------------------------------------------

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [PATCH 0/3] System call table generation support
  2018-11-29  6:34 ` [PATCH 0/3] System call table generation support Satheesh Rajendran
@ 2018-11-29  8:18   ` Firoz Khan
  2018-11-30  7:01     ` Satheesh Rajendran
  0 siblings, 1 reply; 23+ messages in thread
From: Firoz Khan @ 2018-11-29  8:18 UTC (permalink / raw)
  To: sathnaga
  Cc: Arnd Bergmann, linuxppc-dev, Benjamin Herrenschmidt,
	Paul Mackerras, Michael Ellerman, Ram Pai, Breno Leitao,
	Boqun Feng, Greg Kroah-Hartman, Philippe Ombredanne,
	Thomas Gleixner, Kate Stewart, Linux-Arch, y2038 Mailman List,
	Linux Kernel Mailing List, Marcin Juszkiewicz, Deepa Dinamani

Hi Sathish,

Thanks for your email.

On Thu, 29 Nov 2018 at 12:05, Satheesh Rajendran
<sathnaga@linux.vnet.ibm.com> wrote:
>
> On Fri, Sep 14, 2018 at 02:02:57PM +0530, Firoz Khan wrote:
> > The purpose of this patch series is:
> > 1. We can easily add/modify/delete system call by changing entry
> > in syscall.tbl file. No need to manually edit many files.
> >
> > 2. It is easy to unify the system call implementation across all
> > the architectures.
> >
> > The system call tables are in different format in all architecture
> > and it will be difficult to manually add or modify the system calls
> > in the respective files manually. To make it easy by keeping a script
> > and which'll generate the header file and syscall table file so this
> > change will unify them across all architectures.
> >
> > syscall.tbl contains the list of available system calls along with
> > system call number and corresponding entry point. Add a new system
> > call in this architecture will be possible by adding new entry in
> > the syscall.tbl file.
> >
> > Adding a new table entry consisting of:
> >         - System call number.
> >         - ABI.
> >         - System call name.
> >         - Entry point name.
> >         - Compat entry name, if required.
> >
> > ARM, s390 and x86 architecuture does exist the similar support. I
> > leverage their implementation to come up with a generic solution.
> >
> > I have done the same support for work for alpha, m68k, microblaze,
> > ia64, mips, parisc, sh, sparc, and xtensa. But I started sending
> > the patch for one architecuture for review. Below mentioned git
> > repository contains more details.
> > Git repo:- https://github.com/frzkhn/system_call_table_generator/
> >
> > 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.
> >
> > I started working system call table generation on 4.17-rc1. I used
> > marcin's script - https://github.com/hrw/syscalls-table to generate
> > the syscall.tbl file. And this will be the input to the system call
> > table generation script. But there are couple system call got add
> > in the latest rc release. If run Marcin's script on latest release,
> > It will generate a new syscall.tbl. But I still use the old file -
> > syscall.tbl and once all review got over I'll update syscall.tbl
> > alone w.r.to the tip of the kernel. The impact of this thing, few
> > of the system call won't work.
> >
> > Firoz Khan (3):
> >   powerpc: Replace NR_syscalls macro from asm/unistd.h
> >   powerpc: Add system call table generation support
> >   powerpc: uapi header and system call table file generation
> >
> >  arch/powerpc/Makefile                       |   3 +
> >  arch/powerpc/include/asm/Kbuild             |   3 +
> >  arch/powerpc/include/asm/unistd.h           |   3 +-
> >  arch/powerpc/include/uapi/asm/Kbuild        |   2 +
> >  arch/powerpc/include/uapi/asm/unistd.h      | 391 +---------------------------
> >  arch/powerpc/kernel/Makefile                |   3 +-
> >  arch/powerpc/kernel/syscall_table_32.S      |   9 +
> >  arch/powerpc/kernel/syscall_table_64.S      |  17 ++
> >  arch/powerpc/kernel/syscalls/Makefile       |  51 ++++
> >  arch/powerpc/kernel/syscalls/syscall_32.tbl | 378 +++++++++++++++++++++++++++
> >  arch/powerpc/kernel/syscalls/syscall_64.tbl | 372 ++++++++++++++++++++++++++
> >  arch/powerpc/kernel/syscalls/syscallhdr.sh  |  37 +++
> >  arch/powerpc/kernel/syscalls/syscalltbl.sh  |  38 +++
> >  arch/powerpc/kernel/systbl.S                |  50 ----
> >  14 files changed, 916 insertions(+), 441 deletions(-)
> >  create mode 100644 arch/powerpc/kernel/syscall_table_32.S
> >  create mode 100644 arch/powerpc/kernel/syscall_table_64.S
> >  create mode 100644 arch/powerpc/kernel/syscalls/Makefile
> >  create mode 100644 arch/powerpc/kernel/syscalls/syscall_32.tbl
> >  create mode 100644 arch/powerpc/kernel/syscalls/syscall_64.tbl
> >  create mode 100644 arch/powerpc/kernel/syscalls/syscallhdr.sh
> >  create mode 100644 arch/powerpc/kernel/syscalls/syscalltbl.sh
> >  delete mode 100644 arch/powerpc/kernel/systbl.S
>
> Hi,
>
> This patch series failed to boot in IBM Power8 box with below base commit and built with ppc64le_defconfig,
> https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?h=merge&id=183cbf93be88d1a4fb572e27b1e08aa0ad85

I think you are applied some old patch series. Could you please
perform the boot test on powerpc v3 which I have sent few hour before.

Thanks
Firoz

>
> Complete boot log attached.
>
>
> [    1.577383] SGI XFS with ACLs, security attributes, no debug enabled
> [    1.581550] Bad kernel stack pointer 6e690000 at c000000000e2ceec
> [    1.581558] Oops: Bad kernel stack pointer, sig: 6 [#1]
> [    1.581562] LE SMP NR_CPUS=2048 NUMA PowerNV
> [    1.581567] Modules linked in:
> [    1.581572] CPU: 3 PID: 1937 Comm: modprobe Not tainted 4.20.0-rc4-gd35c78239 #1
> [    1.581577] NIP:  c000000000e2ceec LR: c00000000000b9e4 CTR: c000000000e2cee0
> [    1.581582] REGS: c0000007ffe77d30 TRAP: 0e40   Not tainted  (4.20.0-rc4-gd35c78239)
> [    1.581586] MSR:  9000000000009033 <SF,HV,EE,ME,IR,DR,RI,LE>  CR: 48024488  XER: 00000000
> [    1.5815
> 94] CFAR: c00000000000b9e0 IRQMASK: c0000000014d1bd8
> [    1.581594] GPR00: 00000000000011e0 000000006e690000 c000000001498900 ffffffffffffff9c
> [    1.581594] GPR04: c00000006ecb0ff8 0000000000080000 0000000000000000 7f7f7f7f7f7f7f7f
> [    1.581594] GPR08: 0000000000000000 c000001e5104fe90 0000000000000000 c000000000c30ff8
> [    1.581594] GPR12: c000000000e2cee0 c0000007ffffd800 4f4c5f4543415254 00007fffb55927d0
> [    1.581594] GPR16: 00007fffb55bfbf0 00007fffc087b160 c000000065b70ff8 00007fffc087b5c8
> [    1.581594] GPR20: 000000000000000d 0000000000000000 0000000000000000 000000000000
> 0000
> [    1.581594] GPR24: 000000012b660d79 0000000000000000 00007fffb55c0000 0000000000000000
> [    1.581594] GPR28: 00007fffb55c1110 0000000000000001 00007fffb55c1050 00007fffc087a880
> [    1.58
> 1637] NIP [c000000000e2ceec] str_spec.65753+0x147da0/0x1f1c5c
> [    1.581643] LR [c00000000000b9e4] system_call+0x5c/0x70
> [    1.581646] Call Trace:
> [    1.581648] Instruction dump:
> [    1.581652]
> XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX
> [    1.581657] XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX
> [    1.581664] ---[ end trace 37e56b4
> 4979b6992 ]---
> [    1.582355]
>
> Regards,
> -Satheesh.
> >
> > --
> > 1.9.1
> >

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [PATCH 0/3] System call table generation support
  2018-11-29  8:18   ` Firoz Khan
@ 2018-11-30  7:01     ` Satheesh Rajendran
  2018-11-30  9:40       ` Firoz Khan
  0 siblings, 1 reply; 23+ messages in thread
From: Satheesh Rajendran @ 2018-11-30  7:01 UTC (permalink / raw)
  To: Firoz Khan
  Cc: sathnaga, Kate Stewart, Linux-Arch, Arnd Bergmann,
	Greg Kroah-Hartman, y2038 Mailman List, Boqun Feng,
	Philippe Ombredanne, Ram Pai, Linux Kernel Mailing List,
	Marcin Juszkiewicz, Paul Mackerras, Deepa Dinamani, Breno Leitao,
	Thomas Gleixner, linuxppc-dev

On Thu, Nov 29, 2018 at 01:48:16PM +0530, Firoz Khan wrote:
> Hi Sathish,
> 
> Thanks for your email.
> 
> On Thu, 29 Nov 2018 at 12:05, Satheesh Rajendran
> <sathnaga@linux.vnet.ibm.com> wrote:
> >
> > On Fri, Sep 14, 2018 at 02:02:57PM +0530, Firoz Khan wrote:
> > > The purpose of this patch series is:
> > > 1. We can easily add/modify/delete system call by changing entry
> > > in syscall.tbl file. No need to manually edit many files.
> > >
> > > 2. It is easy to unify the system call implementation across all
> > > the architectures.
> > >
> > > The system call tables are in different format in all architecture
> > > and it will be difficult to manually add or modify the system calls
> > > in the respective files manually. To make it easy by keeping a script
> > > and which'll generate the header file and syscall table file so this
> > > change will unify them across all architectures.
> > >
> > > syscall.tbl contains the list of available system calls along with
> > > system call number and corresponding entry point. Add a new system
> > > call in this architecture will be possible by adding new entry in
> > > the syscall.tbl file.
> > >
> > > Adding a new table entry consisting of:
> > >         - System call number.
> > >         - ABI.
> > >         - System call name.
> > >         - Entry point name.
> > >         - Compat entry name, if required.
> > >
> > > ARM, s390 and x86 architecuture does exist the similar support. I
> > > leverage their implementation to come up with a generic solution.
> > >
> > > I have done the same support for work for alpha, m68k, microblaze,
> > > ia64, mips, parisc, sh, sparc, and xtensa. But I started sending
> > > the patch for one architecuture for review. Below mentioned git
> > > repository contains more details.
> > > Git repo:- https://github.com/frzkhn/system_call_table_generator/
> > >
> > > 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.
> > >
> > > I started working system call table generation on 4.17-rc1. I used
> > > marcin's script - https://github.com/hrw/syscalls-table to generate
> > > the syscall.tbl file. And this will be the input to the system call
> > > table generation script. But there are couple system call got add
> > > in the latest rc release. If run Marcin's script on latest release,
> > > It will generate a new syscall.tbl. But I still use the old file -
> > > syscall.tbl and once all review got over I'll update syscall.tbl
> > > alone w.r.to the tip of the kernel. The impact of this thing, few
> > > of the system call won't work.
> > >
> > > Firoz Khan (3):
> > >   powerpc: Replace NR_syscalls macro from asm/unistd.h
> > >   powerpc: Add system call table generation support
> > >   powerpc: uapi header and system call table file generation
> > >
> > >  arch/powerpc/Makefile                       |   3 +
> > >  arch/powerpc/include/asm/Kbuild             |   3 +
> > >  arch/powerpc/include/asm/unistd.h           |   3 +-
> > >  arch/powerpc/include/uapi/asm/Kbuild        |   2 +
> > >  arch/powerpc/include/uapi/asm/unistd.h      | 391 +---------------------------
> > >  arch/powerpc/kernel/Makefile                |   3 +-
> > >  arch/powerpc/kernel/syscall_table_32.S      |   9 +
> > >  arch/powerpc/kernel/syscall_table_64.S      |  17 ++
> > >  arch/powerpc/kernel/syscalls/Makefile       |  51 ++++
> > >  arch/powerpc/kernel/syscalls/syscall_32.tbl | 378 +++++++++++++++++++++++++++
> > >  arch/powerpc/kernel/syscalls/syscall_64.tbl | 372 ++++++++++++++++++++++++++
> > >  arch/powerpc/kernel/syscalls/syscallhdr.sh  |  37 +++
> > >  arch/powerpc/kernel/syscalls/syscalltbl.sh  |  38 +++
> > >  arch/powerpc/kernel/systbl.S                |  50 ----
> > >  14 files changed, 916 insertions(+), 441 deletions(-)
> > >  create mode 100644 arch/powerpc/kernel/syscall_table_32.S
> > >  create mode 100644 arch/powerpc/kernel/syscall_table_64.S
> > >  create mode 100644 arch/powerpc/kernel/syscalls/Makefile
> > >  create mode 100644 arch/powerpc/kernel/syscalls/syscall_32.tbl
> > >  create mode 100644 arch/powerpc/kernel/syscalls/syscall_64.tbl
> > >  create mode 100644 arch/powerpc/kernel/syscalls/syscallhdr.sh
> > >  create mode 100644 arch/powerpc/kernel/syscalls/syscalltbl.sh
> > >  delete mode 100644 arch/powerpc/kernel/systbl.S
> >
> > Hi,
> >
> > This patch series failed to boot in IBM Power8 box with below base commit and built with ppc64le_defconfig,
> > https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?h=merge&id=183cbf93be88d1a4fb572e27b1e08aa0ad85
> 
> I think you are applied some old patch series. Could you please
> perform the boot test on powerpc v3 which I have sent few hour before.

Hi Firoz,

Looks like I chose a wrong mail to reply, but did test with v3 series itself.

_v3,4_4__powerpc_generate_uapi_header_and_system_call_table_files_mbox_merge

Thanks,
-Satheesh.
> 
> Thanks
> Firoz
> 
> >
> > Complete boot log attached.
> >
> >
> > [    1.577383] SGI XFS with ACLs, security attributes, no debug enabled
> > [    1.581550] Bad kernel stack pointer 6e690000 at c000000000e2ceec
> > [    1.581558] Oops: Bad kernel stack pointer, sig: 6 [#1]
> > [    1.581562] LE SMP NR_CPUS=2048 NUMA PowerNV
> > [    1.581567] Modules linked in:
> > [    1.581572] CPU: 3 PID: 1937 Comm: modprobe Not tainted 4.20.0-rc4-gd35c78239 #1
> > [    1.581577] NIP:  c000000000e2ceec LR: c00000000000b9e4 CTR: c000000000e2cee0
> > [    1.581582] REGS: c0000007ffe77d30 TRAP: 0e40   Not tainted  (4.20.0-rc4-gd35c78239)
> > [    1.581586] MSR:  9000000000009033 <SF,HV,EE,ME,IR,DR,RI,LE>  CR: 48024488  XER: 00000000
> > [    1.5815
> > 94] CFAR: c00000000000b9e0 IRQMASK: c0000000014d1bd8
> > [    1.581594] GPR00: 00000000000011e0 000000006e690000 c000000001498900 ffffffffffffff9c
> > [    1.581594] GPR04: c00000006ecb0ff8 0000000000080000 0000000000000000 7f7f7f7f7f7f7f7f
> > [    1.581594] GPR08: 0000000000000000 c000001e5104fe90 0000000000000000 c000000000c30ff8
> > [    1.581594] GPR12: c000000000e2cee0 c0000007ffffd800 4f4c5f4543415254 00007fffb55927d0
> > [    1.581594] GPR16: 00007fffb55bfbf0 00007fffc087b160 c000000065b70ff8 00007fffc087b5c8
> > [    1.581594] GPR20: 000000000000000d 0000000000000000 0000000000000000 000000000000
> > 0000
> > [    1.581594] GPR24: 000000012b660d79 0000000000000000 00007fffb55c0000 0000000000000000
> > [    1.581594] GPR28: 00007fffb55c1110 0000000000000001 00007fffb55c1050 00007fffc087a880
> > [    1.58
> > 1637] NIP [c000000000e2ceec] str_spec.65753+0x147da0/0x1f1c5c
> > [    1.581643] LR [c00000000000b9e4] system_call+0x5c/0x70
> > [    1.581646] Call Trace:
> > [    1.581648] Instruction dump:
> > [    1.581652]
> > XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX
> > [    1.581657] XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX
> > [    1.581664] ---[ end trace 37e56b4
> > 4979b6992 ]---
> > [    1.582355]
> >
> > Regards,
> > -Satheesh.
> > >
> > > --
> > > 1.9.1
> > >
> 


^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [PATCH 0/3] System call table generation support
  2018-11-30  7:01     ` Satheesh Rajendran
@ 2018-11-30  9:40       ` Firoz Khan
  0 siblings, 0 replies; 23+ messages in thread
From: Firoz Khan @ 2018-11-30  9:40 UTC (permalink / raw)
  To: sathnaga
  Cc: Kate Stewart, Linux-Arch, Arnd Bergmann, Greg Kroah-Hartman,
	y2038 Mailman List, Boqun Feng, Philippe Ombredanne, Ram Pai,
	Linux Kernel Mailing List, Marcin Juszkiewicz, Paul Mackerras,
	Deepa Dinamani, Breno Leitao, Thomas Gleixner, linuxppc-dev

Hi Satheesh,

On Fri, 30 Nov 2018 at 12:32, Satheesh Rajendran
<sathnaga@linux.vnet.ibm.com> wrote:
>
> On Thu, Nov 29, 2018 at 01:48:16PM +0530, Firoz Khan wrote:
> > Hi Sathish,
> >
> > Thanks for your email.
> >
> > On Thu, 29 Nov 2018 at 12:05, Satheesh Rajendran
> > <sathnaga@linux.vnet.ibm.com> wrote:
> > >
> > > On Fri, Sep 14, 2018 at 02:02:57PM +0530, Firoz Khan wrote:
> > > > The purpose of this patch series is:
> > > > 1. We can easily add/modify/delete system call by changing entry
> > > > in syscall.tbl file. No need to manually edit many files.
> > > >
> > > > 2. It is easy to unify the system call implementation across all
> > > > the architectures.
> > > >
> > > > The system call tables are in different format in all architecture
> > > > and it will be difficult to manually add or modify the system calls
> > > > in the respective files manually. To make it easy by keeping a script
> > > > and which'll generate the header file and syscall table file so this
> > > > change will unify them across all architectures.
> > > >
> > > > syscall.tbl contains the list of available system calls along with
> > > > system call number and corresponding entry point. Add a new system
> > > > call in this architecture will be possible by adding new entry in
> > > > the syscall.tbl file.
> > > >
> > > > Adding a new table entry consisting of:
> > > >         - System call number.
> > > >         - ABI.
> > > >         - System call name.
> > > >         - Entry point name.
> > > >         - Compat entry name, if required.
> > > >
> > > > ARM, s390 and x86 architecuture does exist the similar support. I
> > > > leverage their implementation to come up with a generic solution.
> > > >
> > > > I have done the same support for work for alpha, m68k, microblaze,
> > > > ia64, mips, parisc, sh, sparc, and xtensa. But I started sending
> > > > the patch for one architecuture for review. Below mentioned git
> > > > repository contains more details.
> > > > Git repo:- https://github.com/frzkhn/system_call_table_generator/
> > > >
> > > > 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.
> > > >
> > > > I started working system call table generation on 4.17-rc1. I used
> > > > marcin's script - https://github.com/hrw/syscalls-table to generate
> > > > the syscall.tbl file. And this will be the input to the system call
> > > > table generation script. But there are couple system call got add
> > > > in the latest rc release. If run Marcin's script on latest release,
> > > > It will generate a new syscall.tbl. But I still use the old file -
> > > > syscall.tbl and once all review got over I'll update syscall.tbl
> > > > alone w.r.to the tip of the kernel. The impact of this thing, few
> > > > of the system call won't work.
> > > >
> > > > Firoz Khan (3):
> > > >   powerpc: Replace NR_syscalls macro from asm/unistd.h
> > > >   powerpc: Add system call table generation support
> > > >   powerpc: uapi header and system call table file generation
> > > >
> > > >  arch/powerpc/Makefile                       |   3 +
> > > >  arch/powerpc/include/asm/Kbuild             |   3 +
> > > >  arch/powerpc/include/asm/unistd.h           |   3 +-
> > > >  arch/powerpc/include/uapi/asm/Kbuild        |   2 +
> > > >  arch/powerpc/include/uapi/asm/unistd.h      | 391 +---------------------------
> > > >  arch/powerpc/kernel/Makefile                |   3 +-
> > > >  arch/powerpc/kernel/syscall_table_32.S      |   9 +
> > > >  arch/powerpc/kernel/syscall_table_64.S      |  17 ++
> > > >  arch/powerpc/kernel/syscalls/Makefile       |  51 ++++
> > > >  arch/powerpc/kernel/syscalls/syscall_32.tbl | 378 +++++++++++++++++++++++++++
> > > >  arch/powerpc/kernel/syscalls/syscall_64.tbl | 372 ++++++++++++++++++++++++++
> > > >  arch/powerpc/kernel/syscalls/syscallhdr.sh  |  37 +++
> > > >  arch/powerpc/kernel/syscalls/syscalltbl.sh  |  38 +++
> > > >  arch/powerpc/kernel/systbl.S                |  50 ----
> > > >  14 files changed, 916 insertions(+), 441 deletions(-)
> > > >  create mode 100644 arch/powerpc/kernel/syscall_table_32.S
> > > >  create mode 100644 arch/powerpc/kernel/syscall_table_64.S
> > > >  create mode 100644 arch/powerpc/kernel/syscalls/Makefile
> > > >  create mode 100644 arch/powerpc/kernel/syscalls/syscall_32.tbl
> > > >  create mode 100644 arch/powerpc/kernel/syscalls/syscall_64.tbl
> > > >  create mode 100644 arch/powerpc/kernel/syscalls/syscallhdr.sh
> > > >  create mode 100644 arch/powerpc/kernel/syscalls/syscalltbl.sh
> > > >  delete mode 100644 arch/powerpc/kernel/systbl.S
> > >
> > > Hi,
> > >
> > > This patch series failed to boot in IBM Power8 box with below base commit and built with ppc64le_defconfig,
> > > https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?h=merge&id=183cbf93be88d1a4fb572e27b1e08aa0ad85
> >
> > I think you are applied some old patch series. Could you please
> > perform the boot test on powerpc v3 which I have sent few hour before.
>
> Hi Firoz,
>
> Looks like I chose a wrong mail to reply, but did test with v3 series itself.

Thanks for the update. I'll have look into it and update you asap.

Firoz

>
> _v3,4_4__powerpc_generate_uapi_header_and_system_call_table_files_mbox_merge
>
> Thanks,
> -Satheesh.
> >
> > Thanks
> > Firoz
> >
> > >
> > > Complete boot log attached.
> > >
> > >
> > > [    1.577383] SGI XFS with ACLs, security attributes, no debug enabled
> > > [    1.581550] Bad kernel stack pointer 6e690000 at c000000000e2ceec
> > > [    1.581558] Oops: Bad kernel stack pointer, sig: 6 [#1]
> > > [    1.581562] LE SMP NR_CPUS=2048 NUMA PowerNV
> > > [    1.581567] Modules linked in:
> > > [    1.581572] CPU: 3 PID: 1937 Comm: modprobe Not tainted 4.20.0-rc4-gd35c78239 #1
> > > [    1.581577] NIP:  c000000000e2ceec LR: c00000000000b9e4 CTR: c000000000e2cee0
> > > [    1.581582] REGS: c0000007ffe77d30 TRAP: 0e40   Not tainted  (4.20.0-rc4-gd35c78239)
> > > [    1.581586] MSR:  9000000000009033 <SF,HV,EE,ME,IR,DR,RI,LE>  CR: 48024488  XER: 00000000
> > > [    1.5815
> > > 94] CFAR: c00000000000b9e0 IRQMASK: c0000000014d1bd8
> > > [    1.581594] GPR00: 00000000000011e0 000000006e690000 c000000001498900 ffffffffffffff9c
> > > [    1.581594] GPR04: c00000006ecb0ff8 0000000000080000 0000000000000000 7f7f7f7f7f7f7f7f
> > > [    1.581594] GPR08: 0000000000000000 c000001e5104fe90 0000000000000000 c000000000c30ff8
> > > [    1.581594] GPR12: c000000000e2cee0 c0000007ffffd800 4f4c5f4543415254 00007fffb55927d0
> > > [    1.581594] GPR16: 00007fffb55bfbf0 00007fffc087b160 c000000065b70ff8 00007fffc087b5c8
> > > [    1.581594] GPR20: 000000000000000d 0000000000000000 0000000000000000 000000000000
> > > 0000
> > > [    1.581594] GPR24: 000000012b660d79 0000000000000000 00007fffb55c0000 0000000000000000
> > > [    1.581594] GPR28: 00007fffb55c1110 0000000000000001 00007fffb55c1050 00007fffc087a880
> > > [    1.58
> > > 1637] NIP [c000000000e2ceec] str_spec.65753+0x147da0/0x1f1c5c
> > > [    1.581643] LR [c00000000000b9e4] system_call+0x5c/0x70
> > > [    1.581646] Call Trace:
> > > [    1.581648] Instruction dump:
> > > [    1.581652]
> > > XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX
> > > [    1.581657] XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX
> > > [    1.581664] ---[ end trace 37e56b4
> > > 4979b6992 ]---
> > > [    1.582355]
> > >
> > > Regards,
> > > -Satheesh.
> > > >
> > > > --
> > > > 1.9.1
> > > >
> >
>

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [PATCH 0/3] System call table generation support
  2018-09-21  6:09       ` Christoph Hellwig
@ 2018-09-21 19:32         ` Paul Burton
  0 siblings, 0 replies; 23+ messages in thread
From: Paul Burton @ 2018-09-21 19:32 UTC (permalink / raw)
  To: Christoph Hellwig
  Cc: Arnd Bergmann, Firoz Khan, Hauke Mehrtens,
	Rafał Miłecki, open list:RALINK MIPS ARCHITECTURE,
	Ralf Baechle, James Hogan, gregkh, Philippe Ombredanne,
	Thomas Gleixner, Kate Stewart, y2038 Mailman List,
	Linux Kernel Mailing List, linux-arch, Deepa Dinamani,
	Marcin Juszkiewicz

Hi Christoph,

On Thu, Sep 20, 2018 at 11:09:41PM -0700, Christoph Hellwig wrote:
> On Thu, Sep 20, 2018 at 08:48:37PM +0000, Paul Burton wrote:
> > > Speaking of nanoMIPS, what is your plan for the syscall ABI there?
> > > I can see two ways of approaching it:
> > > 
> > > a) keep all the MIPSisms in the data structures, and just use a subset of
> > >     o32 that drops all the obsolete entry points
> > > b) start over and stay as close as possible to the generic ABI, using the
> > >     asm-generic versions of both the syscall table and the uapi header
> > >     files instead of the traditional version.
> > 
> > We've taken option b in our current downstream kernel & that's what I
> > hope we'll get upstream too. There's no expectation that we'll ever need
> > to mix pre-nanoMIPS & nanoMIPS ISAs or their associated ABIs across the
> > kernel/user boundary so it's felt like a great opportunity to clean up &
> > standardise.
> > 
> > Getting nanoMIPS/p32 support submitted upstream is on my to-do list, but
> > there's a bunch of prep work to get in first & of course that to-do list
> > is forever growing. Hopefully in the next couple of cycles.
> 
> p32 is just the ABI name for nanoMIPS or yet another MIPS ABI?

p32 is the ABI for nanoMIPS - ie. it is a new ABI, but it's not for use
with pre-nanoMIPS ISAs & nanoMIPS isn't used with o32/n32/n64.

Some of the code density improvements nanoMIPS brings are due to the ISA
& p32 ABI being developed together - eg. the load/store multiple &
save/restore instructions make it easy to save sequences of $sp, $fp,
$ra & some number of the $sN callee-saved registers. Compressed register
number encodings generally include registers that make sense for the p32
ABI, and I'm sure there were other things I've forgotten.

> Either way, І think if there is yet another ABI even on an existing port
> we should always aim for the asm-generic syscall table indeed.
> 
> Especially for mips where o32 has a rather awkward ABI only explained by
> odd decisions more than 20 years ago.

Glad to hear we're on the same page :)

I'm all for being less "special" & couldn't care less if our nanoMIPS
support isn't compatible with IRIX.

Thanks,
    Paul

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [PATCH 0/3] System call table generation support
  2018-09-20 20:48     ` Paul Burton
@ 2018-09-21  6:09       ` Christoph Hellwig
  2018-09-21 19:32         ` Paul Burton
  0 siblings, 1 reply; 23+ messages in thread
From: Christoph Hellwig @ 2018-09-21  6:09 UTC (permalink / raw)
  To: Paul Burton
  Cc: Arnd Bergmann, Firoz Khan, Hauke Mehrtens,
	Rafał Miłecki, open list:RALINK MIPS ARCHITECTURE,
	Ralf Baechle, James Hogan, gregkh, Philippe Ombredanne,
	Thomas Gleixner, Kate Stewart, y2038 Mailman List,
	Linux Kernel Mailing List, linux-arch, Deepa Dinamani,
	Marcin Juszkiewicz

On Thu, Sep 20, 2018 at 08:48:37PM +0000, Paul Burton wrote:
> > Speaking of nanoMIPS, what is your plan for the syscall ABI there?
> > I can see two ways of approaching it:
> > 
> > a) keep all the MIPSisms in the data structures, and just use a subset of
> >     o32 that drops all the obsolete entry points
> > b) start over and stay as close as possible to the generic ABI, using the
> >     asm-generic versions of both the syscall table and the uapi header
> >     files instead of the traditional version.
> 
> We've taken option b in our current downstream kernel & that's what I
> hope we'll get upstream too. There's no expectation that we'll ever need
> to mix pre-nanoMIPS & nanoMIPS ISAs or their associated ABIs across the
> kernel/user boundary so it's felt like a great opportunity to clean up &
> standardise.
> 
> Getting nanoMIPS/p32 support submitted upstream is on my to-do list, but
> there's a bunch of prep work to get in first & of course that to-do list
> is forever growing. Hopefully in the next couple of cycles.

p32 is just the ABI name for nanoMIPS or yet another MIPS ABI?

Either way, І think if there is yet another ABI even on an existing port
we should always aim for the asm-generic syscall table indeed.

Especially for mips where o32 has a rather awkward ABI only explained by
odd decisions more than 20 years ago.

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [PATCH 0/3] System call table generation support
  2018-09-20 14:52   ` Arnd Bergmann
@ 2018-09-20 20:48     ` Paul Burton
  2018-09-21  6:09       ` Christoph Hellwig
  0 siblings, 1 reply; 23+ messages in thread
From: Paul Burton @ 2018-09-20 20:48 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: Firoz Khan, Hauke Mehrtens, Rafał Miłecki,
	open list:RALINK MIPS ARCHITECTURE, Ralf Baechle, James Hogan,
	gregkh, Philippe Ombredanne, Thomas Gleixner, Kate Stewart,
	y2038 Mailman List, Linux Kernel Mailing List, linux-arch,
	Deepa Dinamani, Marcin Juszkiewicz

Hi Arnd,

On Thu, Sep 20, 2018 at 07:52:03AM -0700, Arnd Bergmann wrote:
> On Mon, Sep 17, 2018 at 10:17 AM Paul Burton <paul.burton@mips.com> wrote:
> > On Fri, Sep 14, 2018 at 02:08:31PM +0530, Firoz Khan wrote:
> > > The purpose of this patch series is:
> > > 1. We can easily add/modify/delete system call by changing entry
> > > in syscall.tbl file. No need to manually edit many files.
> > >
> > > 2. It is easy to unify the system call implementation across all
> > > the architectures.
> > >
> > > The system call tables are in different format in all architecture
> > > and it will be difficult to manually add or modify the system calls
> > > in the respective files manually. To make it easy by keeping a script
> > > and which'll generate the header file and syscall table file so this
> > > change will unify them across all architectures.
> >
> > Interesting :)
> >
> > I actually started on something similar recently with the goals of
> > reducing the need to adjust both asm/unistd.h & the syscall entry tables
> > when adding syscalls, clean up asm/unistd.h a bit & make it
> > easier/cleaner to add support for nanoMIPS & the P32 ABI.
> >
> > My branch still needed some work but it's here if you're interested:
> >
> >     git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git wip-mips-syscalls
> >
> >     https://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git/log/?h=wip-mips-syscalls
> 
> This looks like a very nice approach that we would probably prefer if we wanted
> to do it only for mips. The way Firoz did it makes sense in the context of doing
> it the same way on all architectures, where usually the information is more
> accessible to human readers by using the number as the primary key.

Yup, I completely agree that moving all this towards being common
infrastructure for all architectures is a worthy goal :)

> Speaking of nanoMIPS, what is your plan for the syscall ABI there?
> I can see two ways of approaching it:
> 
> a) keep all the MIPSisms in the data structures, and just use a subset of
>     o32 that drops all the obsolete entry points
> b) start over and stay as close as possible to the generic ABI, using the
>     asm-generic versions of both the syscall table and the uapi header
>     files instead of the traditional version.

We've taken option b in our current downstream kernel & that's what I
hope we'll get upstream too. There's no expectation that we'll ever need
to mix pre-nanoMIPS & nanoMIPS ISAs or their associated ABIs across the
kernel/user boundary so it's felt like a great opportunity to clean up &
standardise.

Getting nanoMIPS/p32 support submitted upstream is on my to-do list, but
there's a bunch of prep work to get in first & of course that to-do list
is forever growing. Hopefully in the next couple of cycles.

Thanks,
    Paul

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [PATCH 0/3] System call table generation support
  2018-09-17 17:17 ` Paul Burton
  2018-09-18 14:13   ` Firoz Khan
@ 2018-09-20 14:52   ` Arnd Bergmann
  2018-09-20 20:48     ` Paul Burton
  1 sibling, 1 reply; 23+ messages in thread
From: Arnd Bergmann @ 2018-09-20 14:52 UTC (permalink / raw)
  To: Paul Burton
  Cc: Firoz Khan, Hauke Mehrtens, Rafał Miłecki,
	open list:RALINK MIPS ARCHITECTURE, Ralf Baechle, James Hogan,
	gregkh, Philippe Ombredanne, Thomas Gleixner, Kate Stewart,
	y2038 Mailman List, Linux Kernel Mailing List, linux-arch,
	Deepa Dinamani, Marcin Juszkiewicz

On Mon, Sep 17, 2018 at 10:17 AM Paul Burton <paul.burton@mips.com> wrote:
> On Fri, Sep 14, 2018 at 02:08:31PM +0530, Firoz Khan wrote:
> > The purpose of this patch series is:
> > 1. We can easily add/modify/delete system call by changing entry
> > in syscall.tbl file. No need to manually edit many files.
> >
> > 2. It is easy to unify the system call implementation across all
> > the architectures.
> >
> > The system call tables are in different format in all architecture
> > and it will be difficult to manually add or modify the system calls
> > in the respective files manually. To make it easy by keeping a script
> > and which'll generate the header file and syscall table file so this
> > change will unify them across all architectures.
>
> Interesting :)
>
> I actually started on something similar recently with the goals of
> reducing the need to adjust both asm/unistd.h & the syscall entry tables
> when adding syscalls, clean up asm/unistd.h a bit & make it
> easier/cleaner to add support for nanoMIPS & the P32 ABI.
>
> My branch still needed some work but it's here if you're interested:
>
>     git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git wip-mips-syscalls
>
>     https://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git/log/?h=wip-mips-syscalls

This looks like a very nice approach that we would probably prefer if we wanted
to do it only for mips. The way Firoz did it makes sense in the context of doing
it the same way on all architectures, where usually the information is more
accessible to human readers by using the number as the primary key.

Speaking of nanoMIPS, what is your plan for the syscall ABI there?
I can see two ways of approaching it:

a) keep all the MIPSisms in the data structures, and just use a subset of
    o32 that drops all the obsolete entry points
b) start over and stay as close as possible to the generic ABI, using the
    asm-generic versions of both the syscall table and the uapi header
    files instead of the traditional version.

         Arnd

         Arnd

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [PATCH 0/3] System call table generation support
  2018-09-17 17:17 ` Paul Burton
@ 2018-09-18 14:13   ` Firoz Khan
  2018-09-20 14:52   ` Arnd Bergmann
  1 sibling, 0 replies; 23+ messages in thread
From: Firoz Khan @ 2018-09-18 14:13 UTC (permalink / raw)
  To: Paul Burton
  Cc: Hauke Mehrtens, Rafał Miłecki, linux-mips,
	Ralf Baechle, James Hogan, Greg Kroah-Hartman,
	Philippe Ombredanne, Thomas Gleixner, Kate Stewart, y2038,
	linux-kernel, linux-arch, arnd, deepa.kernel, marcin.juszkiewicz

On 17 September 2018 at 22:47, Paul Burton <paul.burton@mips.com> wrote:
> Hi Firoz,
>
> On Fri, Sep 14, 2018 at 02:08:31PM +0530, Firoz Khan wrote:
>> The purpose of this patch series is:
>> 1. We can easily add/modify/delete system call by changing entry
>> in syscall.tbl file. No need to manually edit many files.
>>
>> 2. It is easy to unify the system call implementation across all
>> the architectures.
>>
>> The system call tables are in different format in all architecture
>> and it will be difficult to manually add or modify the system calls
>> in the respective files manually. To make it easy by keeping a script
>> and which'll generate the header file and syscall table file so this
>> change will unify them across all architectures.
>
> Interesting :)
>
> I actually started on something similar recently with the goals of
> reducing the need to adjust both asm/unistd.h & the syscall entry tables
> when adding syscalls, clean up asm/unistd.h a bit & make it
> easier/cleaner to add support for nanoMIPS & the P32 ABI.
>
> My branch still needed some work but it's here if you're interested:
>
>     git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git wip-mips-syscalls
>
>     https://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git/log/?h=wip-mips-syscalls
>
> There are some differences:
>
>   - I'd placed syscall numbers the 3 current MIPS ABIs in one table,
>     rather than splitting it up. I can see pros & cons to both though so
>     I'm not tied to having a single all-encompassing table.
>
>   - I'd mostly inferred the entry point names from the syscall names,
>     only specifying them where they differ. Again I'm not particularly
>     tied to this.
>
>   - I'd made asm/unistd.h behave like asm-generic/unistd.h with the
>     __SYSCALL() macro, where you generate separate syscall_table_*
>     headers. I'm fine with that too.
>
> So I'm pretty happy to go with your series, though I agree with Arnd on
> the ABI/file naming & the missing syscalls that were added in the 4.18
> cycle. We probably need to provide mipsmt_sys_sched_[gs]etaffinity as
> aliases to sys_sched_[gs]etaffinity when CONFIG_MIPS_MT_FPAFF isn't
> enabled in order to fix the issue the kbuild test robot reported.
>
> But I'm looking forward to v2 :)
>
> Thanks,
>     Paul

Thanks for your comments :)

We're planning to come up with a generic script for system call table
generation across all the architecture. So certain things I have to keep
same across  all the architecture.

Having a single script is always our plan for long run. But I have to keep a
separate versions for the start so each architecture can be handled  in one
series. Which would make easier to merge in the initial version.

we could probably add it to scripts/*.sh first, but that requires more
coordination between the architectures.

- Firoz

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [PATCH 0/3] System call table generation support
  2018-09-14  8:38 Firoz Khan
@ 2018-09-17 17:17 ` Paul Burton
  2018-09-18 14:13   ` Firoz Khan
  2018-09-20 14:52   ` Arnd Bergmann
  0 siblings, 2 replies; 23+ messages in thread
From: Paul Burton @ 2018-09-17 17:17 UTC (permalink / raw)
  To: Firoz Khan
  Cc: Hauke Mehrtens, Rafał Miłecki, linux-mips,
	Ralf Baechle, James Hogan, Greg Kroah-Hartman,
	Philippe Ombredanne, Thomas Gleixner, Kate Stewart, y2038,
	linux-kernel, linux-arch, arnd, deepa.kernel, marcin.juszkiewicz

Hi Firoz,

On Fri, Sep 14, 2018 at 02:08:31PM +0530, Firoz Khan wrote:
> The purpose of this patch series is:
> 1. We can easily add/modify/delete system call by changing entry 
> in syscall.tbl file. No need to manually edit many files.
> 
> 2. It is easy to unify the system call implementation across all 
> the architectures. 
> 
> The system call tables are in different format in all architecture 
> and it will be difficult to manually add or modify the system calls
> in the respective files manually. To make it easy by keeping a script 
> and which'll generate the header file and syscall table file so this 
> change will unify them across all architectures.

Interesting :)

I actually started on something similar recently with the goals of
reducing the need to adjust both asm/unistd.h & the syscall entry tables
when adding syscalls, clean up asm/unistd.h a bit & make it
easier/cleaner to add support for nanoMIPS & the P32 ABI.

My branch still needed some work but it's here if you're interested:

    git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git wip-mips-syscalls

    https://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git/log/?h=wip-mips-syscalls

There are some differences:

  - I'd placed syscall numbers the 3 current MIPS ABIs in one table,
    rather than splitting it up. I can see pros & cons to both though so
    I'm not tied to having a single all-encompassing table.

  - I'd mostly inferred the entry point names from the syscall names,
    only specifying them where they differ. Again I'm not particularly
    tied to this.

  - I'd made asm/unistd.h behave like asm-generic/unistd.h with the
    __SYSCALL() macro, where you generate separate syscall_table_*
    headers. I'm fine with that too.

So I'm pretty happy to go with your series, though I agree with Arnd on
the ABI/file naming & the missing syscalls that were added in the 4.18
cycle. We probably need to provide mipsmt_sys_sched_[gs]etaffinity as
aliases to sys_sched_[gs]etaffinity when CONFIG_MIPS_MT_FPAFF isn't
enabled in order to fix the issue the kbuild test robot reported.

But I'm looking forward to v2 :)

Thanks,
    Paul

^ permalink raw reply	[flat|nested] 23+ messages in thread

* [PATCH 0/3] System call table generation support
@ 2018-09-14  8:38 Firoz Khan
  2018-09-17 17:17 ` Paul Burton
  0 siblings, 1 reply; 23+ messages in thread
From: Firoz Khan @ 2018-09-14  8:38 UTC (permalink / raw)
  To: Hauke Mehrtens, Rafał Miłecki, linux-mips,
	Ralf Baechle, Paul Burton, James Hogan, Greg Kroah-Hartman,
	Philippe Ombredanne, Thomas Gleixner, Kate Stewart
  Cc: y2038, linux-kernel, linux-arch, arnd, deepa.kernel,
	marcin.juszkiewicz, firoz.khan

The purpose of this patch series is:
1. We can easily add/modify/delete system call by changing entry 
in syscall.tbl file. No need to manually edit many files.

2. It is easy to unify the system call implementation across all 
the architectures. 

The system call tables are in different format in all architecture 
and it will be difficult to manually add or modify the system calls
in the respective files manually. To make it easy by keeping a script 
and which'll generate the header file and syscall table file so this 
change will unify them across all architectures.

syscall.tbl contains the list of available system calls along with 
system call number and corresponding entry point. Add a new system 
call in this architecture will be possible by adding new entry in 
the syscall.tbl file.

Adding a new table entry consisting of:
        - System call number.
        - ABI.
        - System call name.
        - Entry point name.
        - Compat entry name, if required.

ARM, s390 and x86 architecuture does exist the similar support. I 
leverage their implementation to come up with a generic solution.

I have done the same support for work for alpha, m68k, microblaze, 
ia64, powerpc, parisc, sh, sparc, and xtensa. But I started sending 
the patch for one architecuture for review. Below mentioned git
repository contains more details.
Git repo:- https://github.com/frzkhn/system_call_table_generator/

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.

I started working system call table generation on 4.17-rc1. I used 
marcin's script - https://github.com/hrw/syscalls-table to generate 
the syscall.tbl file. And this will be the input to the system call 
table generation script. But there are couple system call got add 
in the latest rc release. If run Marcin's script on latest release,
It will generate a new syscall.tbl. But I still use the old file - 
syscall.tbl and once all review got over I'll update syscall.tbl 
alone w.r.to the tip of the kernel. The impact of this thing, few 
of the system call won't work. 

Firoz Khan (3):
  mips: Add __NR_syscalls macro in uapi/asm/unistd.h
  mips: Add system call table generation support
  mips: uapi header and system call table file generation

 arch/mips/Makefile                        |    3 +
 arch/mips/include/asm/Kbuild              |    4 +
 arch/mips/include/uapi/asm/Kbuild         |    3 +
 arch/mips/include/uapi/asm/unistd.h       | 1053 +----------------------------
 arch/mips/kernel/scall32-o32.S            |  385 +----------
 arch/mips/kernel/scall64-64.S             |  334 +--------
 arch/mips/kernel/scall64-n32.S            |  337 +--------
 arch/mips/kernel/scall64-o32.S            |  374 +---------
 arch/mips/kernel/syscall_table_32_o32.S   |    8 +
 arch/mips/kernel/syscall_table_64_64.S    |    9 +
 arch/mips/kernel/syscall_table_64_n32.S   |    8 +
 arch/mips/kernel/syscall_table_64_o32.S   |    9 +
 arch/mips/kernel/syscalls/Makefile        |   62 ++
 arch/mips/kernel/syscalls/README.md       |   16 +
 arch/mips/kernel/syscalls/syscall_32.tbl  |  375 ++++++++++
 arch/mips/kernel/syscalls/syscall_64.tbl  |  335 +++++++++
 arch/mips/kernel/syscalls/syscall_n32.tbl |  339 ++++++++++
 arch/mips/kernel/syscalls/syscallhdr.sh   |   37 +
 arch/mips/kernel/syscalls/syscalltbl.sh   |   44 ++
 19 files changed, 1268 insertions(+), 2467 deletions(-)
 create mode 100644 arch/mips/kernel/syscall_table_32_o32.S
 create mode 100644 arch/mips/kernel/syscall_table_64_64.S
 create mode 100644 arch/mips/kernel/syscall_table_64_n32.S
 create mode 100644 arch/mips/kernel/syscall_table_64_o32.S
 create mode 100644 arch/mips/kernel/syscalls/Makefile
 create mode 100644 arch/mips/kernel/syscalls/README.md
 create mode 100644 arch/mips/kernel/syscalls/syscall_32.tbl
 create mode 100644 arch/mips/kernel/syscalls/syscall_64.tbl
 create mode 100644 arch/mips/kernel/syscalls/syscall_n32.tbl
 create mode 100644 arch/mips/kernel/syscalls/syscallhdr.sh
 create mode 100644 arch/mips/kernel/syscalls/syscalltbl.sh

-- 
1.9.1


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [PATCH 0/3] System call table generation support
@ 2018-08-09  5:36 Firoz Khan
  0 siblings, 0 replies; 23+ messages in thread
From: Firoz Khan @ 2018-08-09  5:36 UTC (permalink / raw)
  To: linux-sh, Yoshinori Sato, Rich Felker, Steven Rostedt,
	Ingo Molnar, Greg Kroah-Hartman, Philippe Ombredanne,
	Thomas Gleixner, Kate Stewart
  Cc: y2038, linux-kernel, linux-arch, arnd, deepa.kernel,
	marcin.juszkiewicz, firoz.khan

The purpose of this patch series is:
1. We can easily add/modify/delete system call by changing entry 
in syscall.tbl file. No need to manually edit many files.

2. It is easy to unify the system call implementation across all 
the architectures. 

The system call tables are in different format in all architecture 
and it will be difficult to manually add or modify the system calls
manually in the respective files. To make it easy by keeping a script 
and which'll generate the header file and syscall table file so this 
change will unify the implementation across all architectures.

syscall.tbl contains the list of available system calls along with 
system call number and corresponding entry point. Add a new system 
call in this architecture will be possible by adding new entry in 
the syscall.tbl file.

Adding a new table entry consisting of:
        - System call number.
        - ABI.
        - System call name.
        - Entry point name.

Important thing to note, I have added this support only for 32-bit
ABI. It seems like no one using 64-bit ABI for long time. But it is
very easy to add the support for64-bit. Please let me know if any-
one need this support:)

ARM, s390 and x86 architecuture does exist the similar support. I 
leverage their implementation to come up with a generic solution.

I have done the same support for work for alpha, m68k, microblaze, 
ia64, mips, parisc, powerpc, sparc, and xtensa. But I started sending 
the patch for one architecuture for review. Below mentioned git
repository contains more details.
Git repo:- https://github.com/frzkhn/system_call_table_generator/

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.

I started working system call table generation on 4.17-rc1. I used 
marcin's script - https://github.com/hrw/syscalls-table to generate 
the syscall.tbl file. And this will be the input to the system call 
table generation script. But there are couple system call got add 
in the latest rc release. If run Marcin's script on latest release,
it will generate a different syscall.tbl. But I still use the old 
file - syscall.tbl and once all review got over I'll update 
syscall.tbl alone w.r.to the tip of the kernel. The impact of this
is, few of the system call won't work.

Firoz Khan (3):
  sh: Rename NR_syscalls macro to __NR_syscalls
  sh: Added system call table generation support
  sh: uapi header and system call table file generation

 arch/sh/Makefile                      |   3 +
 arch/sh/include/asm/Kbuild            |   2 +
 arch/sh/include/asm/ftrace.h          |   2 +-
 arch/sh/include/uapi/asm/Kbuild       |   2 +
 arch/sh/include/uapi/asm/unistd_32.h  |   2 +-
 arch/sh/include/uapi/asm/unistd_64.h  |   2 +-
 arch/sh/kernel/Makefile               |   2 +-
 arch/sh/kernel/cpu/sh5/entry.S        |   2 +-
 arch/sh/kernel/entry-common.S         |   2 +-
 arch/sh/kernel/syscall.S              |   9 +
 arch/sh/kernel/syscalls/Makefile      |  37 ++++
 arch/sh/kernel/syscalls/syscall.tbl   | 388 ++++++++++++++++++++++++++++++++
 arch/sh/kernel/syscalls/syscallhdr.sh |  33 +++
 arch/sh/kernel/syscalls/syscalltbl.sh |  28 +++
 arch/sh/kernel/syscalls_32.S          | 402 ----------------------------------
 15 files changed, 508 insertions(+), 408 deletions(-)
 create mode 100644 arch/sh/kernel/syscall.S
 create mode 100644 arch/sh/kernel/syscalls/Makefile
 create mode 100644 arch/sh/kernel/syscalls/syscall.tbl
 create mode 100644 arch/sh/kernel/syscalls/syscallhdr.sh
 create mode 100644 arch/sh/kernel/syscalls/syscalltbl.sh
 delete mode 100644 arch/sh/kernel/syscalls_32.S

-- 
1.9.1


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [PATCH 0/3] System call table generation support
@ 2018-08-09  5:27 Firoz Khan
  0 siblings, 0 replies; 23+ messages in thread
From: Firoz Khan @ 2018-08-09  5:27 UTC (permalink / raw)
  To: Michal Simek, Greg Kroah-Hartman, Philippe Ombredanne,
	Thomas Gleixner, Kate Stewart
  Cc: y2038, linux-kernel, linux-arch, arnd, deepa.kernel,
	marcin.juszkiewicz, firoz.khan

The purpose of this patch series is:
1. We can easily add/modify/delete system call by changing entry 
in syscall.tbl file. No need to manually edit many files.

2. It is easy to unify the system call implementation across all 
the architectures. 

The system call tables are in different format in all architecture 
and it will be difficult to manually add or modify the system calls
manually in the respective files. To make it easy by keeping a script 
and which'll generate the header file and syscall table file so this 
change will unify the implementation across all architectures.

syscall.tbl contains the list of available system calls along with 
system call number and corresponding entry point. Add a new system 
call in this architecture will be possible by adding new entry in 
the syscall.tbl file.

Adding a new table entry consisting of:
        - System call number.
        - ABI.
        - System call name.
        - Entry point name.

ARM, s390 and x86 architecuture does exist the similar support. I 
leverage their implementation to come up with a generic solution.

I have done the same support for work for alpha, ia64,m68k, mips,
parisc, powerpc, sh, sparc, and xtensa. But I started sending 
the patch for one architecuture for review. Below mentioned git
repository contains more details.
Git repo:- https://github.com/frzkhn/system_call_table_generator/

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.

I started working system call table generation on 4.17-rc1. I used 
marcin's script - https://github.com/hrw/syscalls-table to generate 
the syscall.tbl file. And this will be the input to the system call 
table generation script. But there are couple system call got add 
in the latest rc release. If run Marcin's script on latest release,
it will generate a different syscall.tbl. But I still use the old 
file - syscall.tbl and once all review got over I'll update 
syscall.tbl alone w.r.to the tip of the kernel. The impact of this
is, few of the system call won't work.

Firoz Khan (3):
  microblaze: Replace NR_syscalls macro from asm/unistd.h
  microblaze: Added system call table generation support
  microblaze: uapi header and system call table file generation

 arch/microblaze/Makefile                      |   3 +
 arch/microblaze/include/asm/Kbuild            |   2 +
 arch/microblaze/include/asm/unistd.h          |   2 -
 arch/microblaze/include/uapi/asm/Kbuild       |   2 +
 arch/microblaze/include/uapi/asm/unistd.h     | 407 +-------------------------
 arch/microblaze/kernel/syscall_table.S        | 406 +------------------------
 arch/microblaze/kernel/syscalls/Makefile      |  37 +++
 arch/microblaze/kernel/syscalls/syscall.tbl   | 404 +++++++++++++++++++++++++
 arch/microblaze/kernel/syscalls/syscallhdr.sh |  33 +++
 arch/microblaze/kernel/syscalls/syscalltbl.sh |  28 ++
 10 files changed, 514 insertions(+), 810 deletions(-)
 create mode 100644 arch/microblaze/kernel/syscalls/Makefile
 create mode 100644 arch/microblaze/kernel/syscalls/syscall.tbl
 create mode 100644 arch/microblaze/kernel/syscalls/syscallhdr.sh
 create mode 100644 arch/microblaze/kernel/syscalls/syscalltbl.sh

-- 
1.9.1


^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, back to index

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-14  8:32 [PATCH 0/3] System call table generation support Firoz Khan
2018-09-14  8:32 ` [PATCH 1/3] powerpc: Replace NR_syscalls macro from asm/unistd.h Firoz Khan
2018-09-14  8:32 ` [PATCH 2/3] powerpc: Add system call table generation support Firoz Khan
2018-09-14 10:01   ` Arnd Bergmann
2018-09-18 12:15     ` Firoz Khan
2018-09-24 20:59       ` Arnd Bergmann
2018-09-25  0:48         ` Michael Ellerman
2018-09-25  6:00           ` Arnd Bergmann
2018-09-25 12:25             ` Michael Ellerman
2018-09-14  8:33 ` [PATCH 3/3] powerpc: uapi header and system call table file generation Firoz Khan
2018-11-29  6:34 ` [PATCH 0/3] System call table generation support Satheesh Rajendran
2018-11-29  8:18   ` Firoz Khan
2018-11-30  7:01     ` Satheesh Rajendran
2018-11-30  9:40       ` Firoz Khan
  -- strict thread matches above, loose matches on Subject: below --
2018-09-14  8:38 Firoz Khan
2018-09-17 17:17 ` Paul Burton
2018-09-18 14:13   ` Firoz Khan
2018-09-20 14:52   ` Arnd Bergmann
2018-09-20 20:48     ` Paul Burton
2018-09-21  6:09       ` Christoph Hellwig
2018-09-21 19:32         ` Paul Burton
2018-08-09  5:36 Firoz Khan
2018-08-09  5:27 Firoz Khan

LKML Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/lkml/0 lkml/git/0.git
	git clone --mirror https://lore.kernel.org/lkml/1 lkml/git/1.git
	git clone --mirror https://lore.kernel.org/lkml/2 lkml/git/2.git
	git clone --mirror https://lore.kernel.org/lkml/3 lkml/git/3.git
	git clone --mirror https://lore.kernel.org/lkml/4 lkml/git/4.git
	git clone --mirror https://lore.kernel.org/lkml/5 lkml/git/5.git
	git clone --mirror https://lore.kernel.org/lkml/6 lkml/git/6.git
	git clone --mirror https://lore.kernel.org/lkml/7 lkml/git/7.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 lkml lkml/ https://lore.kernel.org/lkml \
		linux-kernel@vger.kernel.org linux-kernel@archiver.kernel.org
	public-inbox-index lkml


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-kernel


AGPL code for this site: git clone https://public-inbox.org/ public-inbox