* [PATCH 0/3] System call table generation support
@ 2018-08-09 5:36 Firoz Khan
2018-08-09 5:36 ` [PATCH 1/3] sh: Rename NR_syscalls macro to __NR_syscalls Firoz Khan
` (2 more replies)
0 siblings, 3 replies; 20+ 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] 20+ messages in thread
* [PATCH 1/3] sh: Rename NR_syscalls macro to __NR_syscalls
2018-08-09 5:36 [PATCH 0/3] System call table generation support Firoz Khan
@ 2018-08-09 5:36 ` Firoz Khan
2018-08-09 12:58 ` kbuild test robot
2018-08-09 5:36 ` [PATCH 2/3] sh: Added system call table generation support Firoz Khan
2018-08-09 5:36 ` [PATCH 3/3] sh: uapi header and system call table file generation Firoz Khan
2 siblings, 1 reply; 20+ 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
NR_syscalls macro holds the number of system call exist in SH arch-
itecture. 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 total number of system call information, which will
be used to update NR_syscalls.
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/sh/include/asm/ftrace.h | 2 +-
arch/sh/include/uapi/asm/unistd_32.h | 2 +-
arch/sh/include/uapi/asm/unistd_64.h | 2 +-
arch/sh/kernel/cpu/sh5/entry.S | 2 +-
arch/sh/kernel/entry-common.S | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/arch/sh/include/asm/ftrace.h b/arch/sh/include/asm/ftrace.h
index b1c1dc0..968a9bb 100644
--- a/arch/sh/include/asm/ftrace.h
+++ b/arch/sh/include/asm/ftrace.h
@@ -5,7 +5,7 @@
#ifdef CONFIG_FUNCTION_TRACER
#define MCOUNT_INSN_SIZE 4 /* sizeof mcount call */
-#define FTRACE_SYSCALL_MAX NR_syscalls
+#define FTRACE_SYSCALL_MAX __NR_syscalls
#ifndef __ASSEMBLY__
extern void mcount(void);
diff --git a/arch/sh/include/uapi/asm/unistd_32.h b/arch/sh/include/uapi/asm/unistd_32.h
index 58f04cf..2c4f087 100644
--- a/arch/sh/include/uapi/asm/unistd_32.h
+++ b/arch/sh/include/uapi/asm/unistd_32.h
@@ -396,6 +396,6 @@
#define __NR_preadv2 381
#define __NR_pwritev2 382
-#define NR_syscalls 383
+#define __NR_syscalls 383
#endif /* __ASM_SH_UNISTD_32_H */
diff --git a/arch/sh/include/uapi/asm/unistd_64.h b/arch/sh/include/uapi/asm/unistd_64.h
index 6f809a5..9e6e8cb 100644
--- a/arch/sh/include/uapi/asm/unistd_64.h
+++ b/arch/sh/include/uapi/asm/unistd_64.h
@@ -416,6 +416,6 @@
#define __NR_preadv2 392
#define __NR_pwritev2 393
-#define NR_syscalls 394
+#define __NR_syscalls 394
#endif /* __ASM_SH_UNISTD_64_H */
diff --git a/arch/sh/kernel/cpu/sh5/entry.S b/arch/sh/kernel/cpu/sh5/entry.S
index 0c8d037..d2ff022 100644
--- a/arch/sh/kernel/cpu/sh5/entry.S
+++ b/arch/sh/kernel/cpu/sh5/entry.S
@@ -1192,7 +1192,7 @@ system_call:
STI()
pta syscall_allowed, tr0
- movi NR_syscalls - 1, r4 /* Last valid */
+ movi __NR_syscalls - 1, r4 /* Last valid */
bgeu/l r4, r5, tr0
syscall_bad:
diff --git a/arch/sh/kernel/entry-common.S b/arch/sh/kernel/entry-common.S
index 28cc612..80ea3c4 100644
--- a/arch/sh/kernel/entry-common.S
+++ b/arch/sh/kernel/entry-common.S
@@ -396,7 +396,7 @@ syscall_exit:
#if !defined(CONFIG_CPU_SH2)
1: .long TRA
#endif
-2: .long NR_syscalls
+2: .long __NR_syscalls
3: .long sys_call_table
7: .long do_syscall_trace_enter
8: .long do_syscall_trace_leave
--
1.9.1
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH 2/3] sh: Added system call table generation support
2018-08-09 5:36 [PATCH 0/3] System call table generation support Firoz Khan
2018-08-09 5:36 ` [PATCH 1/3] sh: Rename NR_syscalls macro to __NR_syscalls Firoz Khan
@ 2018-08-09 5:36 ` Firoz Khan
2018-08-09 5:36 ` [PATCH 3/3] sh: uapi header and system call table file generation Firoz Khan
2 siblings, 0 replies; 20+ 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 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.tbl file which'll be the input for the scripts.
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.
syscallhdr.sh and syscalltbl.sh will generate uapi header-
unistd.h and syscall_table.h files respectively. File
syscall_table.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. And this is the ground work for y2038 issue. We need
to change 52 system call implementation and this work will
reduce the effort by simply modify 52 entries in syscall.tbl.
Signed-off-by: Firoz Khan <firoz.khan@linaro.org>
---
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 +++
4 files changed, 486 insertions(+)
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
diff --git a/arch/sh/kernel/syscalls/Makefile b/arch/sh/kernel/syscalls/Makefile
new file mode 100644
index 0000000..7624044
--- /dev/null
+++ b/arch/sh/kernel/syscalls/Makefile
@@ -0,0 +1,37 @@
+# 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)')
+
+syscall := $(srctree)/$(src)/syscall.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: $(syscall) $(syshdr)
+ $(call if_changed,syshdr)
+
+$(out)/syscall_table.h: $(syscall) $(systbl)
+ $(call if_changed,systbl)
+
+uapisyshdr-y += unistd_32.h
+syshdr-y += syscall_table.h
+
+targets += $(uapisyshdr-y) $(syshdr-y)
+
+PHONY += all
+all: $(addprefix $(uapi)/,$(uapisyshdr-y))
+all: $(addprefix $(out)/,$(syshdr-y))
+ @:
diff --git a/arch/sh/kernel/syscalls/syscall.tbl b/arch/sh/kernel/syscalls/syscall.tbl
new file mode 100644
index 0000000..8fe5187
--- /dev/null
+++ b/arch/sh/kernel/syscalls/syscall.tbl
@@ -0,0 +1,388 @@
+#
+# Linux system call numbers and entry vectors
+#
+# The format is:
+# <number> <abi> <name> <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 sys_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_lchown16
+17 common break sys_ni_syscall
+18 common oldstat sys_stat
+19 common lseek sys_lseek
+20 common getpid sys_getpid
+21 common mount sys_mount
+22 common umount sys_oldumount
+23 common setuid sys_setuid16
+24 common getuid sys_getuid16
+25 common stime sys_stime
+26 common ptrace sys_ptrace
+27 common alarm sys_alarm
+28 common oldfstat sys_fstat
+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_sh_pipe
+43 common times sys_times
+44 common prof sys_ni_syscall
+45 common brk sys_brk
+46 common setgid sys_setgid16
+47 common getgid sys_getgid16
+48 common signal sys_signal
+49 common geteuid sys_geteuid16
+50 common getegid sys_getegid16
+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_sigaction
+68 common sgetmask sys_sgetmask
+69 common ssetmask sys_ssetmask
+70 common setreuid sys_setreuid16
+71 common setregid sys_setregid16
+72 common sigsuspend sys_sigsuspend
+73 common sigpending sys_sigpending
+74 common sethostname sys_sethostname
+75 common setrlimit sys_setrlimit
+76 common getrlimit sys_old_getrlimit
+77 common getrusage sys_getrusage
+78 common gettimeofday sys_gettimeofday
+79 common settimeofday sys_settimeofday
+80 common getgroups sys_getgroups16
+81 common setgroups sys_setgroups16
+82 common select sys_ni_syscall
+83 common symlink sys_symlink
+84 common oldlstat sys_lstat
+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
+90 common mmap old_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_fchown16
+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_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 vm86old 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_sigreturn
+120 common clone sys_clone
+121 common setdomainname sys_setdomainname
+122 common uname sys_newuname
+123 common cacheflush sys_cacheflush
+124 common adjtimex sys_adjtimex
+125 common mprotect sys_mprotect
+126 common sigprocmask 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
+137 common afs_syscall sys_ni_syscall
+138 common setfsuid sys_setfsuid16
+139 common setfsgid sys_setfsgid16
+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_setresuid16
+165 common getresuid sys_getresuid16
+166 common vm86 sys_ni_syscall
+167 common query_module sys_ni_syscall
+168 common poll sys_poll
+169 common nfsservctl sys_ni_syscall
+170 common setresgid sys_setresgid16
+171 common getresgid sys_getresgid16
+172 common prctl sys_prctl
+173 common rt_sigreturn sys_rt_sigreturn
+174 common rt_sigaction sys_rt_sigaction
+175 common rt_sigprocmask sys_rt_sigprocmask
+176 common rt_sigpending sys_rt_sigpending
+177 common rt_sigtimedwait sys_rt_sigtimedwait
+178 common rt_sigqueueinfo sys_rt_sigqueueinfo
+179 common rt_sigsuspend sys_rt_sigsuspend
+180 common pread64 sys_pread_wrapper
+181 common pwrite64 sys_pwrite_wrapper
+182 common chown sys_chown16
+183 common getcwd sys_getcwd
+184 common capget sys_capget
+185 common capset sys_capset
+186 common sigaltstack sys_sigaltstack
+187 common sendfile sys_sendfile
+188 common getpmsg sys_ni_syscall
+189 common putpmsg sys_ni_syscall
+190 common vfork sys_vfork
+191 common ugetrlimit sys_getrlimit
+192 common mmap2 sys_mmap2
+193 common truncate64 sys_truncate64
+194 common ftruncate64 sys_ftruncate64
+195 common stat64 sys_stat64
+196 common lstat64 sys_lstat64
+197 common fstat64 sys_fstat64
+198 common lchown32 sys_lchown
+199 common getuid32 sys_getuid
+200 common getgid32 sys_getgid
+201 common geteuid32 sys_geteuid
+202 common getegid32 sys_getegid
+203 common setreuid32 sys_setreuid
+204 common setregid32 sys_setregid
+205 common getgroups32 sys_getgroups
+206 common setgroups32 sys_setgroups
+207 common fchown32 sys_fchown
+208 common setresuid32 sys_setresuid
+209 common getresuid32 sys_getresuid
+210 common setresgid32 sys_setresgid
+211 common getresgid32 sys_getresgid
+212 common chown32 sys_chown
+213 common setuid32 sys_setuid
+214 common setgid32 sys_setgid
+215 common setfsuid32 sys_setfsuid
+216 common setfsgid32 sys_setfsgid
+217 common pivot_root sys_pivot_root
+218 common mincore sys_mincore
+219 common madvise sys_madvise
+220 common getdents64 sys_getdents64
+221 common fcntl64 sys_fcntl64
+222 common tux sys_ni_syscall
+224 common gettid sys_gettid
+225 common readahead sys_readahead
+226 common setxattr sys_setxattr
+227 common lsetxattr sys_lsetxattr
+228 common fsetxattr sys_fsetxattr
+229 common getxattr sys_getxattr
+230 common lgetxattr sys_lgetxattr
+231 common fgetxattr sys_fgetxattr
+232 common listxattr sys_listxattr
+233 common llistxattr sys_llistxattr
+234 common flistxattr sys_flistxattr
+235 common removexattr sys_removexattr
+236 common lremovexattr sys_lremovexattr
+237 common fremovexattr sys_fremovexattr
+238 common tkill sys_tkill
+239 common sendfile64 sys_sendfile64
+240 common futex sys_futex
+241 common sched_setaffinity sys_sched_setaffinity
+242 common sched_getaffinity sys_sched_getaffinity
+243 common set_thread_area sys_ni_syscall
+244 common get_thread_area sys_ni_syscall
+245 common io_setup sys_io_setup
+246 common io_destroy sys_io_destroy
+247 common io_getevents sys_io_getevents
+248 common io_submit sys_io_submit
+249 common io_cancel sys_io_cancel
+250 common fadvise64 sys_fadvise64
+252 common exit_group sys_exit_group
+253 common lookup_dcookie sys_lookup_dcookie
+254 common epoll_create sys_epoll_create
+255 common epoll_ctl sys_epoll_ctl
+256 common epoll_wait sys_epoll_wait
+257 common remap_file_pages sys_remap_file_pages
+258 common set_tid_address sys_set_tid_address
+259 common timer_create sys_timer_create
+260 common timer_settime sys_timer_settime
+261 common timer_gettime sys_timer_gettime
+262 common timer_getoverrun sys_timer_getoverrun
+263 common timer_delete sys_timer_delete
+264 common clock_settime sys_clock_settime
+265 common clock_gettime sys_clock_gettime
+266 common clock_getres sys_clock_getres
+267 common clock_nanosleep sys_clock_nanosleep
+268 common statfs64 sys_statfs64
+269 common fstatfs64 sys_fstatfs64
+270 common tgkill sys_tgkill
+271 common utimes sys_utimes
+272 common fadvise64_64 sys_fadvise64_64_wrapper
+273 common vserver sys_ni_syscall
+274 common mbind sys_mbind
+275 common get_mempolicy sys_get_mempolicy
+276 common set_mempolicy sys_set_mempolicy
+277 common mq_open sys_mq_open
+278 common mq_unlink sys_mq_unlink
+279 common mq_timedsend sys_mq_timedsend
+280 common mq_timedreceive sys_mq_timedreceive
+281 common mq_notify sys_mq_notify
+282 common mq_getsetattr sys_mq_getsetattr
+283 common kexec_load sys_kexec_load
+284 common waitid sys_waitid
+285 common add_key sys_add_key
+286 common request_key sys_request_key
+287 common keyctl sys_keyctl
+288 common ioprio_set sys_ioprio_set
+289 common ioprio_get sys_ioprio_get
+290 common inotify_init sys_inotify_init
+291 common inotify_add_watch sys_inotify_add_watch
+292 common inotify_rm_watch sys_inotify_rm_watch
+294 common migrate_pages sys_migrate_pages
+295 common openat sys_openat
+296 common mkdirat sys_mkdirat
+297 common mknodat sys_mknodat
+298 common fchownat sys_fchownat
+299 common futimesat sys_futimesat
+300 common fstatat64 sys_fstatat64
+301 common unlinkat sys_unlinkat
+302 common renameat sys_renameat
+303 common linkat sys_linkat
+304 common symlinkat sys_symlinkat
+305 common readlinkat sys_readlinkat
+306 common fchmodat sys_fchmodat
+307 common faccessat sys_faccessat
+308 common pselect6 sys_pselect6
+309 common ppoll sys_ppoll
+310 common unshare sys_unshare
+311 common set_robust_list sys_set_robust_list
+312 common get_robust_list sys_get_robust_list
+313 common splice sys_splice
+314 common sync_file_range sys_sync_file_range
+315 common tee sys_tee
+316 common vmsplice sys_vmsplice
+317 common move_pages sys_move_pages
+318 common getcpu sys_getcpu
+319 common epoll_pwait sys_epoll_pwait
+320 common utimensat sys_utimensat
+321 common signalfd sys_signalfd
+322 common timerfd_create sys_timerfd_create
+323 common eventfd sys_eventfd
+324 common fallocate sys_fallocate
+325 common timerfd_settime sys_timerfd_settime
+326 common timerfd_gettime sys_timerfd_gettime
+327 common signalfd4 sys_signalfd4
+328 common eventfd2 sys_eventfd2
+329 common epoll_create1 sys_epoll_create1
+330 common dup3 sys_dup3
+331 common pipe2 sys_pipe2
+332 common inotify_init1 sys_inotify_init1
+333 common preadv sys_preadv
+334 common pwritev sys_pwritev
+335 common rt_tgsigqueueinfo sys_rt_tgsigqueueinfo
+336 common perf_event_open sys_perf_event_open
+337 common fanotify_init sys_fanotify_init
+338 common fanotify_mark sys_fanotify_mark
+339 common prlimit64 sys_prlimit64
+340 common socket sys_socket
+341 common bind sys_bind
+342 common connect sys_connect
+343 common listen sys_listen
+344 common accept sys_accept
+345 common getsockname sys_getsockname
+346 common getpeername sys_getpeername
+347 common socketpair sys_socketpair
+348 common send sys_send
+349 common sendto sys_sendto
+350 common recv sys_recv
+351 common recvfrom sys_recvfrom
+352 common shutdown sys_shutdown
+353 common setsockopt sys_setsockopt
+354 common getsockopt sys_getsockopt
+355 common sendmsg sys_sendmsg
+356 common recvmsg sys_recvmsg
+357 common recvmmsg sys_recvmmsg
+358 common accept4 sys_accept4
+359 common name_to_handle_at sys_name_to_handle_at
+360 common open_by_handle_at sys_open_by_handle_at
+361 common clock_adjtime sys_clock_adjtime
+362 common syncfs sys_syncfs
+363 common sendmmsg sys_sendmmsg
+364 common setns sys_setns
+365 common process_vm_readv sys_process_vm_readv
+366 common process_vm_writev sys_process_vm_writev
+367 common kcmp sys_kcmp
+368 common finit_module sys_finit_module
+369 common sched_getattr sys_sched_getattr
+370 common sched_setattr sys_sched_setattr
+371 common renameat2 sys_renameat2
+372 common seccomp sys_seccomp
+373 common getrandom sys_getrandom
+374 common memfd_create sys_memfd_create
+375 common bpf sys_bpf
+376 common execveat sys_execveat
+377 common userfaultfd sys_userfaultfd
+378 common membarrier sys_membarrier
+379 common mlock2 sys_mlock2
+380 common copy_file_range sys_copy_file_range
+381 common preadv2 sys_preadv2
+382 common pwritev2 sys_pwritev2
diff --git a/arch/sh/kernel/syscalls/syscallhdr.sh b/arch/sh/kernel/syscalls/syscallhdr.sh
new file mode 100644
index 0000000..1b99fff
--- /dev/null
+++ b/arch/sh/kernel/syscalls/syscallhdr.sh
@@ -0,0 +1,33 @@
+#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0
+
+in="$1"
+out="$2"
+my_abis=`echo "($3)" | tr ',' '|'`
+prefix="$4"
+offset="$5"
+
+fileguard=__ASM_SH_`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 ; 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 ""
+ echo -e "#define __NR_syscalls\t$nxt"
+ echo ""
+ echo "#endif /* ${fileguard} */"
+) > "$out"
diff --git a/arch/sh/kernel/syscalls/syscalltbl.sh b/arch/sh/kernel/syscalls/syscalltbl.sh
new file mode 100644
index 0000000..04d4e4e
--- /dev/null
+++ b/arch/sh/kernel/syscalls/syscalltbl.sh
@@ -0,0 +1,28 @@
+#!/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 ; do
+ emit $nxt $nr $entry
+ nxt=$nr
+ let nxt=nxt+1
+ done
+) > "$out"
--
1.9.1
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH 3/3] sh: uapi header and system call table file generation
2018-08-09 5:36 [PATCH 0/3] System call table generation support Firoz Khan
2018-08-09 5:36 ` [PATCH 1/3] sh: Rename NR_syscalls macro to __NR_syscalls Firoz Khan
2018-08-09 5:36 ` [PATCH 2/3] sh: Added system call table generation support Firoz Khan
@ 2018-08-09 5:36 ` Firoz Khan
2 siblings, 0 replies; 20+ 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
System call table generation script must be run to generate
unistd_64.h and syscall_table.h files. This patch will have
changes which will invokes the script.
This patch will generate unistd_64.h and syscall_table.h
files by the syscall table generation script invoked by
arch/ia64/Makefile and the generated files against the
removed files will be identical.
The generated uapi header file will be included in
uapi/asm/unistd.h and generated system call table support
file will be included by ia64/kernel/syscall_table.S file.
Signed-off-by: Firoz Khan <firoz.khan@linaro.org>
---
arch/sh/Makefile | 3 +
arch/sh/include/asm/Kbuild | 2 +
arch/sh/include/uapi/asm/Kbuild | 2 +
arch/sh/kernel/Makefile | 2 +-
arch/sh/kernel/syscall.S | 9 +
arch/sh/kernel/syscalls_32.S | 402 ----------------------------------------
6 files changed, 17 insertions(+), 403 deletions(-)
create mode 100644 arch/sh/kernel/syscall.S
delete mode 100644 arch/sh/kernel/syscalls_32.S
diff --git a/arch/sh/Makefile b/arch/sh/Makefile
index 65300193..19ca795 100644
--- a/arch/sh/Makefile
+++ b/arch/sh/Makefile
@@ -228,6 +228,9 @@ archclean:
$(Q)$(MAKE) $(clean)=$(boot)
$(Q)$(MAKE) $(clean)=arch/sh/kernel/vsyscall
+archheaders:
+ $(Q)$(MAKE) $(build)=arch/sh/kernel/syscalls all
+
define archhelp
@echo ' zImage - Compressed kernel image'
@echo ' romImage - Compressed ROM image, if supported'
diff --git a/arch/sh/include/asm/Kbuild b/arch/sh/include/asm/Kbuild
index 46dd82a..a907c57 100644
--- a/arch/sh/include/asm/Kbuild
+++ b/arch/sh/include/asm/Kbuild
@@ -18,3 +18,5 @@ generic-y += serial.h
generic-y += sizes.h
generic-y += trace_clock.h
generic-y += xor.h
+
+generated-y += syscall_table.h
\ No newline at end of file
diff --git a/arch/sh/include/uapi/asm/Kbuild b/arch/sh/include/uapi/asm/Kbuild
index ba4d39c..443b746 100644
--- a/arch/sh/include/uapi/asm/Kbuild
+++ b/arch/sh/include/uapi/asm/Kbuild
@@ -21,3 +21,5 @@ generic-y += statfs.h
generic-y += termbits.h
generic-y += termios.h
generic-y += ucontext.h
+
+generated-y += unistd_32.h
\ No newline at end of file
diff --git a/arch/sh/kernel/Makefile b/arch/sh/kernel/Makefile
index dc80041..a042981 100644
--- a/arch/sh/kernel/Makefile
+++ b/arch/sh/kernel/Makefile
@@ -18,7 +18,7 @@ obj-y := debugtraps.o dma-nommu.o dumpstack.o \
process_$(BITS).o ptrace.o ptrace_$(BITS).o \
reboot.o return_address.o \
setup.o signal_$(BITS).o sys_sh.o \
- syscalls_$(BITS).o time.o topology.o traps.o \
+ syscall.o time.o topology.o traps.o \
traps_$(BITS).o unwinder.o
ifndef CONFIG_GENERIC_IOMAP
diff --git a/arch/sh/kernel/syscall.S b/arch/sh/kernel/syscall.S
new file mode 100644
index 0000000..317a2a9
--- /dev/null
+++ b/arch/sh/kernel/syscall.S
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#include <linux/sys.h>
+#include <linux/linkage.h>
+
+#define __SYSCALL(nr, entry, nargs) .long entry
+
+.data
+ENTRY(sys_call_table)
+#include <asm/syscall_table.h>
diff --git a/arch/sh/kernel/syscalls_32.S b/arch/sh/kernel/syscalls_32.S
deleted file mode 100644
index 254bc22..0000000
--- a/arch/sh/kernel/syscalls_32.S
+++ /dev/null
@@ -1,402 +0,0 @@
-/*
- * arch/sh/kernel/syscalls.S
- *
- * System call table for SuperH
- *
- * Copyright (C) 1999, 2000, 2002 Niibe Yutaka
- * Copyright (C) 2003 Paul Mundt
- *
- * This file is subject to the terms and conditions of the GNU General Public
- * License. See the file "COPYING" in the main directory of this archive
- * for more details.
- *
- */
-#include <linux/sys.h>
-#include <linux/linkage.h>
-
- .data
-ENTRY(sys_call_table)
- .long sys_restart_syscall /* 0 - old "setup()" system call*/
- .long sys_exit
- .long sys_fork
- .long sys_read
- .long sys_write
- .long sys_open /* 5 */
- .long sys_close
- .long sys_waitpid
- .long sys_creat
- .long sys_link
- .long sys_unlink /* 10 */
- .long sys_execve
- .long sys_chdir
- .long sys_time
- .long sys_mknod
- .long sys_chmod /* 15 */
- .long sys_lchown16
- .long sys_ni_syscall /* old break syscall holder */
- .long sys_stat
- .long sys_lseek
- .long sys_getpid /* 20 */
- .long sys_mount
- .long sys_oldumount
- .long sys_setuid16
- .long sys_getuid16
- .long sys_stime /* 25 */
- .long sys_ptrace
- .long sys_alarm
- .long sys_fstat
- .long sys_pause
- .long sys_utime /* 30 */
- .long sys_ni_syscall /* old stty syscall holder */
- .long sys_ni_syscall /* old gtty syscall holder */
- .long sys_access
- .long sys_nice
- .long sys_ni_syscall /* 35 */ /* old ftime syscall holder */
- .long sys_sync
- .long sys_kill
- .long sys_rename
- .long sys_mkdir
- .long sys_rmdir /* 40 */
- .long sys_dup
- .long sys_sh_pipe
- .long sys_times
- .long sys_ni_syscall /* old prof syscall holder */
- .long sys_brk /* 45 */
- .long sys_setgid16
- .long sys_getgid16
- .long sys_signal
- .long sys_geteuid16
- .long sys_getegid16 /* 50 */
- .long sys_acct
- .long sys_umount /* recycled never used phys() */
- .long sys_ni_syscall /* old lock syscall holder */
- .long sys_ioctl
- .long sys_fcntl /* 55 */
- .long sys_ni_syscall /* old mpx syscall holder */
- .long sys_setpgid
- .long sys_ni_syscall /* old ulimit syscall holder */
- .long sys_ni_syscall /* sys_olduname */
- .long sys_umask /* 60 */
- .long sys_chroot
- .long sys_ustat
- .long sys_dup2
- .long sys_getppid
- .long sys_getpgrp /* 65 */
- .long sys_setsid
- .long sys_sigaction
- .long sys_sgetmask
- .long sys_ssetmask
- .long sys_setreuid16 /* 70 */
- .long sys_setregid16
- .long sys_sigsuspend
- .long sys_sigpending
- .long sys_sethostname
- .long sys_setrlimit /* 75 */
- .long sys_old_getrlimit
- .long sys_getrusage
- .long sys_gettimeofday
- .long sys_settimeofday
- .long sys_getgroups16 /* 80 */
- .long sys_setgroups16
- .long sys_ni_syscall /* sys_oldselect */
- .long sys_symlink
- .long sys_lstat
- .long sys_readlink /* 85 */
- .long sys_uselib
- .long sys_swapon
- .long sys_reboot
- .long sys_old_readdir
- .long old_mmap /* 90 */
- .long sys_munmap
- .long sys_truncate
- .long sys_ftruncate
- .long sys_fchmod
- .long sys_fchown16 /* 95 */
- .long sys_getpriority
- .long sys_setpriority
- .long sys_ni_syscall /* old profil syscall holder */
- .long sys_statfs
- .long sys_fstatfs /* 100 */
- .long sys_ni_syscall /* ioperm */
- .long sys_socketcall
- .long sys_syslog
- .long sys_setitimer
- .long sys_getitimer /* 105 */
- .long sys_newstat
- .long sys_newlstat
- .long sys_newfstat
- .long sys_uname
- .long sys_ni_syscall /* 110 */ /* iopl */
- .long sys_vhangup
- .long sys_ni_syscall /* idle */
- .long sys_ni_syscall /* vm86old */
- .long sys_wait4
- .long sys_swapoff /* 115 */
- .long sys_sysinfo
- .long sys_ipc
- .long sys_fsync
- .long sys_sigreturn
- .long sys_clone /* 120 */
- .long sys_setdomainname
- .long sys_newuname
- .long sys_cacheflush /* x86: sys_modify_ldt */
- .long sys_adjtimex
- .long sys_mprotect /* 125 */
- .long sys_sigprocmask
- .long sys_ni_syscall /* old "create_module" */
- .long sys_init_module
- .long sys_delete_module
- .long sys_ni_syscall /* 130: old "get_kernel_syms" */
- .long sys_quotactl
- .long sys_getpgid
- .long sys_fchdir
- .long sys_bdflush
- .long sys_sysfs /* 135 */
- .long sys_personality
- .long sys_ni_syscall /* for afs_syscall */
- .long sys_setfsuid16
- .long sys_setfsgid16
- .long sys_llseek /* 140 */
- .long sys_getdents
- .long sys_select
- .long sys_flock
- .long sys_msync
- .long sys_readv /* 145 */
- .long sys_writev
- .long sys_getsid
- .long sys_fdatasync
- .long sys_sysctl
- .long sys_mlock /* 150 */
- .long sys_munlock
- .long sys_mlockall
- .long sys_munlockall
- .long sys_sched_setparam
- .long sys_sched_getparam /* 155 */
- .long sys_sched_setscheduler
- .long sys_sched_getscheduler
- .long sys_sched_yield
- .long sys_sched_get_priority_max
- .long sys_sched_get_priority_min /* 160 */
- .long sys_sched_rr_get_interval
- .long sys_nanosleep
- .long sys_mremap
- .long sys_setresuid16
- .long sys_getresuid16 /* 165 */
- .long sys_ni_syscall /* vm86 */
- .long sys_ni_syscall /* old "query_module" */
- .long sys_poll
- .long sys_ni_syscall /* was nfsservctl */
- .long sys_setresgid16 /* 170 */
- .long sys_getresgid16
- .long sys_prctl
- .long sys_rt_sigreturn
- .long sys_rt_sigaction
- .long sys_rt_sigprocmask /* 175 */
- .long sys_rt_sigpending
- .long sys_rt_sigtimedwait
- .long sys_rt_sigqueueinfo
- .long sys_rt_sigsuspend
- .long sys_pread_wrapper /* 180 */
- .long sys_pwrite_wrapper
- .long sys_chown16
- .long sys_getcwd
- .long sys_capget
- .long sys_capset /* 185 */
- .long sys_sigaltstack
- .long sys_sendfile
- .long sys_ni_syscall /* getpmsg */
- .long sys_ni_syscall /* putpmsg */
- .long sys_vfork /* 190 */
- .long sys_getrlimit
- .long sys_mmap2
- .long sys_truncate64
- .long sys_ftruncate64
- .long sys_stat64 /* 195 */
- .long sys_lstat64
- .long sys_fstat64
- .long sys_lchown
- .long sys_getuid
- .long sys_getgid /* 200 */
- .long sys_geteuid
- .long sys_getegid
- .long sys_setreuid
- .long sys_setregid
- .long sys_getgroups /* 205 */
- .long sys_setgroups
- .long sys_fchown
- .long sys_setresuid
- .long sys_getresuid
- .long sys_setresgid /* 210 */
- .long sys_getresgid
- .long sys_chown
- .long sys_setuid
- .long sys_setgid
- .long sys_setfsuid /* 215 */
- .long sys_setfsgid
- .long sys_pivot_root
- .long sys_mincore
- .long sys_madvise
- .long sys_getdents64 /* 220 */
- .long sys_fcntl64
- .long sys_ni_syscall /* reserved for TUX */
- .long sys_ni_syscall /* Reserved for Security */
- .long sys_gettid
- .long sys_readahead /* 225 */
- .long sys_setxattr
- .long sys_lsetxattr
- .long sys_fsetxattr
- .long sys_getxattr
- .long sys_lgetxattr /* 230 */
- .long sys_fgetxattr
- .long sys_listxattr
- .long sys_llistxattr
- .long sys_flistxattr
- .long sys_removexattr /* 235 */
- .long sys_lremovexattr
- .long sys_fremovexattr
- .long sys_tkill
- .long sys_sendfile64
- .long sys_futex /* 240 */
- .long sys_sched_setaffinity
- .long sys_sched_getaffinity
- .long sys_ni_syscall /* reserved for set_thread_area */
- .long sys_ni_syscall /* reserved for get_thread_area */
- .long sys_io_setup /* 245 */
- .long sys_io_destroy
- .long sys_io_getevents
- .long sys_io_submit
- .long sys_io_cancel
- .long sys_fadvise64 /* 250 */
- .long sys_ni_syscall
- .long sys_exit_group
- .long sys_lookup_dcookie
- .long sys_epoll_create
- .long sys_epoll_ctl /* 255 */
- .long sys_epoll_wait
- .long sys_remap_file_pages
- .long sys_set_tid_address
- .long sys_timer_create
- .long sys_timer_settime /* 260 */
- .long sys_timer_gettime
- .long sys_timer_getoverrun
- .long sys_timer_delete
- .long sys_clock_settime
- .long sys_clock_gettime /* 265 */
- .long sys_clock_getres
- .long sys_clock_nanosleep
- .long sys_statfs64
- .long sys_fstatfs64
- .long sys_tgkill /* 270 */
- .long sys_utimes
- .long sys_fadvise64_64_wrapper
- .long sys_ni_syscall /* Reserved for vserver */
- .long sys_mbind
- .long sys_get_mempolicy /* 275 */
- .long sys_set_mempolicy
- .long sys_mq_open
- .long sys_mq_unlink
- .long sys_mq_timedsend
- .long sys_mq_timedreceive /* 280 */
- .long sys_mq_notify
- .long sys_mq_getsetattr
- .long sys_kexec_load
- .long sys_waitid
- .long sys_add_key /* 285 */
- .long sys_request_key
- .long sys_keyctl
- .long sys_ioprio_set
- .long sys_ioprio_get
- .long sys_inotify_init /* 290 */
- .long sys_inotify_add_watch
- .long sys_inotify_rm_watch
- .long sys_ni_syscall
- .long sys_migrate_pages
- .long sys_openat /* 295 */
- .long sys_mkdirat
- .long sys_mknodat
- .long sys_fchownat
- .long sys_futimesat
- .long sys_fstatat64 /* 300 */
- .long sys_unlinkat
- .long sys_renameat
- .long sys_linkat
- .long sys_symlinkat
- .long sys_readlinkat /* 305 */
- .long sys_fchmodat
- .long sys_faccessat
- .long sys_pselect6
- .long sys_ppoll
- .long sys_unshare /* 310 */
- .long sys_set_robust_list
- .long sys_get_robust_list
- .long sys_splice
- .long sys_sync_file_range
- .long sys_tee /* 315 */
- .long sys_vmsplice
- .long sys_move_pages
- .long sys_getcpu
- .long sys_epoll_pwait
- .long sys_utimensat /* 320 */
- .long sys_signalfd
- .long sys_timerfd_create
- .long sys_eventfd
- .long sys_fallocate
- .long sys_timerfd_settime /* 325 */
- .long sys_timerfd_gettime
- .long sys_signalfd4
- .long sys_eventfd2
- .long sys_epoll_create1
- .long sys_dup3 /* 330 */
- .long sys_pipe2
- .long sys_inotify_init1
- .long sys_preadv
- .long sys_pwritev
- .long sys_rt_tgsigqueueinfo /* 335 */
- .long sys_perf_event_open
- .long sys_fanotify_init
- .long sys_fanotify_mark
- .long sys_prlimit64
- /* Broken-out socket family */
- .long sys_socket /* 340 */
- .long sys_bind
- .long sys_connect
- .long sys_listen
- .long sys_accept
- .long sys_getsockname /* 345 */
- .long sys_getpeername
- .long sys_socketpair
- .long sys_send
- .long sys_sendto
- .long sys_recv /* 350 */
- .long sys_recvfrom
- .long sys_shutdown
- .long sys_setsockopt
- .long sys_getsockopt
- .long sys_sendmsg /* 355 */
- .long sys_recvmsg
- .long sys_recvmmsg
- .long sys_accept4
- .long sys_name_to_handle_at
- .long sys_open_by_handle_at /* 360 */
- .long sys_clock_adjtime
- .long sys_syncfs
- .long sys_sendmmsg
- .long sys_setns
- .long sys_process_vm_readv /* 365 */
- .long sys_process_vm_writev
- .long sys_kcmp
- .long sys_finit_module
- .long sys_sched_getattr
- .long sys_sched_setattr /* 370 */
- .long sys_renameat2
- .long sys_seccomp
- .long sys_getrandom
- .long sys_memfd_create
- .long sys_bpf /* 375 */
- .long sys_execveat
- .long sys_userfaultfd
- .long sys_membarrier
- .long sys_mlock2
- .long sys_copy_file_range /* 380 */
- .long sys_preadv2
- .long sys_pwritev2
--
1.9.1
^ permalink raw reply related [flat|nested] 20+ messages in thread
* Re: [PATCH 1/3] sh: Rename NR_syscalls macro to __NR_syscalls
2018-08-09 5:36 ` [PATCH 1/3] sh: Rename NR_syscalls macro to __NR_syscalls Firoz Khan
@ 2018-08-09 12:58 ` kbuild test robot
2018-08-10 19:38 ` Steven Rostedt
0 siblings, 1 reply; 20+ messages in thread
From: kbuild test robot @ 2018-08-09 12:58 UTC (permalink / raw)
To: Firoz Khan
Cc: kbuild-all, linux-sh, Yoshinori Sato, Rich Felker,
Steven Rostedt, Ingo Molnar, Greg Kroah-Hartman,
Philippe Ombredanne, Thomas Gleixner, Kate Stewart, y2038,
linux-kernel, linux-arch, arnd, deepa.kernel, marcin.juszkiewicz,
firoz.khan
[-- Attachment #1: Type: text/plain, Size: 10160 bytes --]
Hi Firoz,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on linus/master]
[also build test ERROR on v4.18-rc8 next-20180808]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Firoz-Khan/sh-Rename-NR_syscalls-macro-to-__NR_syscalls/20180809-171759
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=7.2.0 make.cross ARCH=sh
All errors (new ones prefixed by >>):
In file included from kernel/trace/trace_selftest_dynamic.c:3:0:
>> kernel/trace/trace.h:243:53: error: 'NR_syscalls' undeclared here (not in a function); did you mean '__NR_syscalls'?
struct trace_event_file __rcu *enter_syscall_files[NR_syscalls];
^~~~~~~~~~~
__NR_syscalls
--
In file included from kernel/trace/trace_output.h:6:0,
from kernel/trace/trace_syscalls.c:12:
>> kernel/trace/trace.h:243:53: error: 'NR_syscalls' undeclared here (not in a function); did you mean '__NR_syscalls'?
struct trace_event_file __rcu *enter_syscall_files[NR_syscalls];
^~~~~~~~~~~
__NR_syscalls
In file included from include/linux/smp.h:11:0,
from include/linux/tracepoint.h:17,
from include/trace/syscall.h:5,
from kernel/trace/trace_syscalls.c:2:
kernel/trace/trace_syscalls.c:559:23: warning: 'enabled_perf_exit_syscalls' defined but not used [-Wunused-variable]
static DECLARE_BITMAP(enabled_perf_exit_syscalls, NR_syscalls);
^
include/linux/types.h:11:16: note: in definition of macro 'DECLARE_BITMAP'
unsigned long name[BITS_TO_LONGS(bits)]
^~~~
kernel/trace/trace_syscalls.c:558:23: warning: 'enabled_perf_enter_syscalls' defined but not used [-Wunused-variable]
static DECLARE_BITMAP(enabled_perf_enter_syscalls, NR_syscalls);
^
include/linux/types.h:11:16: note: in definition of macro 'DECLARE_BITMAP'
unsigned long name[BITS_TO_LONGS(bits)]
^~~~
vim +243 kernel/trace/trace.h
490901078 Steven Rostedt (Red Hat 2015-09-24 196)
bc0c38d13 Steven Rostedt 2008-05-12 197 /*
bc0c38d13 Steven Rostedt 2008-05-12 198 * The trace array - an array of per-CPU trace arrays. This is the
bc0c38d13 Steven Rostedt 2008-05-12 199 * highest level data structure that individual tracers deal with.
bc0c38d13 Steven Rostedt 2008-05-12 200 * They have on/off state as well:
bc0c38d13 Steven Rostedt 2008-05-12 201 */
bc0c38d13 Steven Rostedt 2008-05-12 202 struct trace_array {
ae63b31e4 Steven Rostedt 2012-05-03 203 struct list_head list;
277ba0446 Steven Rostedt 2012-08-03 204 char *name;
12883efb6 Steven Rostedt (Red Hat 2013-03-05 205) struct trace_buffer trace_buffer;
12883efb6 Steven Rostedt (Red Hat 2013-03-05 206) #ifdef CONFIG_TRACER_MAX_TRACE
12883efb6 Steven Rostedt (Red Hat 2013-03-05 207) /*
12883efb6 Steven Rostedt (Red Hat 2013-03-05 208) * The max_buffer is used to snapshot the trace when a maximum
12883efb6 Steven Rostedt (Red Hat 2013-03-05 209) * latency is reached, or when the user initiates a snapshot.
12883efb6 Steven Rostedt (Red Hat 2013-03-05 210) * Some tracers will use this to store a maximum trace while
12883efb6 Steven Rostedt (Red Hat 2013-03-05 211) * it continues examining live traces.
12883efb6 Steven Rostedt (Red Hat 2013-03-05 212) *
12883efb6 Steven Rostedt (Red Hat 2013-03-05 213) * The buffers for the max_buffer are set up the same as the trace_buffer
12883efb6 Steven Rostedt (Red Hat 2013-03-05 214) * When a snapshot is taken, the buffer of the max_buffer is swapped
12883efb6 Steven Rostedt (Red Hat 2013-03-05 215) * with the buffer of the trace_buffer and the buffers are reset for
12883efb6 Steven Rostedt (Red Hat 2013-03-05 216) * the trace_buffer so the tracing can continue.
12883efb6 Steven Rostedt (Red Hat 2013-03-05 217) */
12883efb6 Steven Rostedt (Red Hat 2013-03-05 218) struct trace_buffer max_buffer;
45ad21ca5 Steven Rostedt (Red Hat 2013-03-05 219) bool allocated_snapshot;
f971cc9aa Steven Rostedt (Red Hat 2016-09-07 220) #endif
f971cc9aa Steven Rostedt (Red Hat 2016-09-07 221) #if defined(CONFIG_TRACER_MAX_TRACE) || defined(CONFIG_HWLAT_TRACER)
6d9b3fa5e Steven Rostedt (Red Hat 2014-01-14 222) unsigned long max_latency;
12883efb6 Steven Rostedt (Red Hat 2013-03-05 223) #endif
490901078 Steven Rostedt (Red Hat 2015-09-24 224) struct trace_pid_list __rcu *filtered_pids;
0b9b12c1b Steven Rostedt (Red Hat 2014-01-14 225) /*
0b9b12c1b Steven Rostedt (Red Hat 2014-01-14 226) * max_lock is used to protect the swapping of buffers
0b9b12c1b Steven Rostedt (Red Hat 2014-01-14 227) * when taking a max snapshot. The buffers themselves are
0b9b12c1b Steven Rostedt (Red Hat 2014-01-14 228) * protected by per_cpu spinlocks. But the action of the swap
0b9b12c1b Steven Rostedt (Red Hat 2014-01-14 229) * needs its own lock.
0b9b12c1b Steven Rostedt (Red Hat 2014-01-14 230) *
0b9b12c1b Steven Rostedt (Red Hat 2014-01-14 231) * This is defined as a arch_spinlock_t in order to help
0b9b12c1b Steven Rostedt (Red Hat 2014-01-14 232) * with performance when lockdep debugging is enabled.
0b9b12c1b Steven Rostedt (Red Hat 2014-01-14 233) *
0b9b12c1b Steven Rostedt (Red Hat 2014-01-14 234) * It is also used in other places outside the update_max_tr
0b9b12c1b Steven Rostedt (Red Hat 2014-01-14 235) * so it needs to be defined outside of the
0b9b12c1b Steven Rostedt (Red Hat 2014-01-14 236) * CONFIG_TRACER_MAX_TRACE.
0b9b12c1b Steven Rostedt (Red Hat 2014-01-14 237) */
0b9b12c1b Steven Rostedt (Red Hat 2014-01-14 238) arch_spinlock_t max_lock;
499e54705 Steven Rostedt 2012-02-22 239 int buffer_disabled;
12ab74ee0 Steven Rostedt 2012-08-08 240 #ifdef CONFIG_FTRACE_SYSCALLS
12ab74ee0 Steven Rostedt 2012-08-08 241 int sys_refcount_enter;
12ab74ee0 Steven Rostedt 2012-08-08 242 int sys_refcount_exit;
7f1d2f821 Steven Rostedt (Red Hat 2015-05-05 @243) struct trace_event_file __rcu *enter_syscall_files[NR_syscalls];
7f1d2f821 Steven Rostedt (Red Hat 2015-05-05 244) struct trace_event_file __rcu *exit_syscall_files[NR_syscalls];
12ab74ee0 Steven Rostedt 2012-08-08 245 #endif
2b6080f28 Steven Rostedt 2012-05-11 246 int stop_count;
2b6080f28 Steven Rostedt 2012-05-11 247 int clock_id;
37aea98b8 Steven Rostedt (Red Hat 2015-09-30 248) int nr_topts;
065e63f95 Steven Rostedt (VMware 2017-08-31 249) bool clear_trace;
2b6080f28 Steven Rostedt 2012-05-11 250 struct tracer *current_trace;
983f938ae Steven Rostedt (Red Hat 2015-09-30 251) unsigned int trace_flags;
9a38a8856 Steven Rostedt (Red Hat 2015-09-30 252) unsigned char trace_flags_index[TRACE_FLAGS_MAX_SIZE];
ae63b31e4 Steven Rostedt 2012-05-03 253 unsigned int flags;
2b6080f28 Steven Rostedt 2012-05-11 254 raw_spinlock_t start_lock;
ae63b31e4 Steven Rostedt 2012-05-03 255 struct dentry *dir;
2b6080f28 Steven Rostedt 2012-05-11 256 struct dentry *options;
2b6080f28 Steven Rostedt 2012-05-11 257 struct dentry *percpu_dir;
ae63b31e4 Steven Rostedt 2012-05-03 258 struct dentry *event_dir;
37aea98b8 Steven Rostedt (Red Hat 2015-09-30 259) struct trace_options *topts;
ae63b31e4 Steven Rostedt 2012-05-03 260 struct list_head systems;
ae63b31e4 Steven Rostedt 2012-05-03 261 struct list_head events;
3dd809536 Steven Rostedt (VMware 2018-05-09 262) struct trace_event_file *trace_marker_file;
ccfe9e42e Alexander Z Lam 2013-08-08 263 cpumask_var_t tracing_cpumask; /* only trace on set CPUs */
a695cb581 Steven Rostedt (Red Hat 2013-03-06 264) int ref;
f20a58062 Steven Rostedt (Red Hat 2013-11-07 265) #ifdef CONFIG_FUNCTION_TRACER
f20a58062 Steven Rostedt (Red Hat 2013-11-07 266) struct ftrace_ops *ops;
345ddcc88 Steven Rostedt (Red Hat 2016-04-22 267) struct trace_pid_list __rcu *function_pids;
04ec7bb64 Steven Rostedt (VMware 2017-04-05 268) #ifdef CONFIG_DYNAMIC_FTRACE
673feb9d7 Steven Rostedt (VMware 2017-06-23 269) /* All of these are protected by the ftrace_lock */
04ec7bb64 Steven Rostedt (VMware 2017-04-05 270) struct list_head func_probes;
673feb9d7 Steven Rostedt (VMware 2017-06-23 271) struct list_head mod_trace;
673feb9d7 Steven Rostedt (VMware 2017-06-23 272) struct list_head mod_notrace;
04ec7bb64 Steven Rostedt (VMware 2017-04-05 273) #endif
f20a58062 Steven Rostedt (Red Hat 2013-11-07 274) /* function tracing enabled */
f20a58062 Steven Rostedt (Red Hat 2013-11-07 275) int function_enabled;
f20a58062 Steven Rostedt (Red Hat 2013-11-07 276) #endif
00b414529 Tom Zanussi 2018-01-15 277 int time_stamp_abs_ref;
067fe038e Tom Zanussi 2018-01-15 278 struct list_head hist_vars;
bc0c38d13 Steven Rostedt 2008-05-12 279 };
bc0c38d13 Steven Rostedt 2008-05-12 280
:::::: The code at line 243 was first introduced by commit
:::::: 7f1d2f8210195c8c309d424a77dbf06a6d2186f4 tracing: Rename ftrace_event_file to trace_event_file
:::::: TO: Steven Rostedt (Red Hat) <rostedt@goodmis.org>
:::::: CC: Steven Rostedt <rostedt@goodmis.org>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 48548 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH 1/3] sh: Rename NR_syscalls macro to __NR_syscalls
2018-08-09 12:58 ` kbuild test robot
@ 2018-08-10 19:38 ` Steven Rostedt
2018-09-18 9:06 ` Firoz Khan
0 siblings, 1 reply; 20+ messages in thread
From: Steven Rostedt @ 2018-08-10 19:38 UTC (permalink / raw)
To: kbuild test robot
Cc: Firoz Khan, kbuild-all, linux-sh, Yoshinori Sato, Rich Felker,
Ingo Molnar, Greg Kroah-Hartman, Philippe Ombredanne,
Thomas Gleixner, Kate Stewart, y2038, linux-kernel, linux-arch,
arnd, deepa.kernel, marcin.juszkiewicz
On Thu, 9 Aug 2018 20:58:58 +0800
kbuild test robot <lkp@intel.com> wrote:
> Hi Firoz,
>
> Thank you for the patch! Yet something to improve:
>
> [auto build test ERROR on linus/master]
> [also build test ERROR on v4.18-rc8 next-20180808]
> [if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
>
> url: https://github.com/0day-ci/linux/commits/Firoz-Khan/sh-Rename-NR_syscalls-macro-to-__NR_syscalls/20180809-171759
> config: sh-allmodconfig (attached as .config)
> compiler: sh4-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
> reproduce:
> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> # save the attached .config to linux build tree
> GCC_VERSION=7.2.0 make.cross ARCH=sh
>
> All errors (new ones prefixed by >>):
>
> In file included from kernel/trace/trace_selftest_dynamic.c:3:0:
> >> kernel/trace/trace.h:243:53: error: 'NR_syscalls' undeclared here (not in a function); did you mean '__NR_syscalls'?
> struct trace_event_file __rcu *enter_syscall_files[NR_syscalls];
> ^~~~~~~~~~~
> __NR_syscalls
> --
> In file included from kernel/trace/trace_output.h:6:0,
> from kernel/trace/trace_syscalls.c:12:
> >> kernel/trace/trace.h:243:53: error: 'NR_syscalls' undeclared here (not in a function); did you mean '__NR_syscalls'?
> struct trace_event_file __rcu *enter_syscall_files[NR_syscalls];
> ^~~~~~~~~~~
> __NR_syscalls
Most archs have a:
#define NR_syscalls __NR_syscalls
-- Steve
> In file included from include/linux/smp.h:11:0,
> from include/linux/tracepoint.h:17,
> from include/trace/syscall.h:5,
> from kernel/trace/trace_syscalls.c:2:
> kernel/trace/trace_syscalls.c:559:23: warning: 'enabled_perf_exit_syscalls' defined but not used [-Wunused-variable]
> static DECLARE_BITMAP(enabled_perf_exit_syscalls, NR_syscalls);
> ^
> include/linux/types.h:11:16: note: in definition of macro 'DECLARE_BITMAP'
> unsigned long name[BITS_TO_LONGS(bits)]
> ^~~~
> kernel/trace/trace_syscalls.c:558:23: warning: 'enabled_perf_enter_syscalls' defined but not used [-Wunused-variable]
> static DECLARE_BITMAP(enabled_perf_enter_syscalls, NR_syscalls);
> ^
> include/linux/types.h:11:16: note: in definition of macro 'DECLARE_BITMAP'
> unsigned long name[BITS_TO_LONGS(bits)]
> ^~~~
>
> vim +243 kernel/trace/trace.h
>
> 490901078 Steven Rostedt (Red Hat 2015-09-24 196)
> bc0c38d13 Steven Rostedt 2008-05-12 197 /*
> bc0c38d13 Steven Rostedt 2008-05-12 198 * The trace array - an array of per-CPU trace arrays. This is the
> bc0c38d13 Steven Rostedt 2008-05-12 199 * highest level data structure that individual tracers deal with.
> bc0c38d13 Steven Rostedt 2008-05-12 200 * They have on/off state as well:
> bc0c38d13 Steven Rostedt 2008-05-12 201 */
> bc0c38d13 Steven Rostedt 2008-05-12 202 struct trace_array {
> ae63b31e4 Steven Rostedt 2012-05-03 203 struct list_head list;
> 277ba0446 Steven Rostedt 2012-08-03 204 char *name;
> 12883efb6 Steven Rostedt (Red Hat 2013-03-05 205) struct trace_buffer trace_buffer;
> 12883efb6 Steven Rostedt (Red Hat 2013-03-05 206) #ifdef CONFIG_TRACER_MAX_TRACE
> 12883efb6 Steven Rostedt (Red Hat 2013-03-05 207) /*
> 12883efb6 Steven Rostedt (Red Hat 2013-03-05 208) * The max_buffer is used to snapshot the trace when a maximum
> 12883efb6 Steven Rostedt (Red Hat 2013-03-05 209) * latency is reached, or when the user initiates a snapshot.
> 12883efb6 Steven Rostedt (Red Hat 2013-03-05 210) * Some tracers will use this to store a maximum trace while
> 12883efb6 Steven Rostedt (Red Hat 2013-03-05 211) * it continues examining live traces.
> 12883efb6 Steven Rostedt (Red Hat 2013-03-05 212) *
> 12883efb6 Steven Rostedt (Red Hat 2013-03-05 213) * The buffers for the max_buffer are set up the same as the trace_buffer
> 12883efb6 Steven Rostedt (Red Hat 2013-03-05 214) * When a snapshot is taken, the buffer of the max_buffer is swapped
> 12883efb6 Steven Rostedt (Red Hat 2013-03-05 215) * with the buffer of the trace_buffer and the buffers are reset for
> 12883efb6 Steven Rostedt (Red Hat 2013-03-05 216) * the trace_buffer so the tracing can continue.
> 12883efb6 Steven Rostedt (Red Hat 2013-03-05 217) */
> 12883efb6 Steven Rostedt (Red Hat 2013-03-05 218) struct trace_buffer max_buffer;
> 45ad21ca5 Steven Rostedt (Red Hat 2013-03-05 219) bool allocated_snapshot;
> f971cc9aa Steven Rostedt (Red Hat 2016-09-07 220) #endif
> f971cc9aa Steven Rostedt (Red Hat 2016-09-07 221) #if defined(CONFIG_TRACER_MAX_TRACE) || defined(CONFIG_HWLAT_TRACER)
> 6d9b3fa5e Steven Rostedt (Red Hat 2014-01-14 222) unsigned long max_latency;
> 12883efb6 Steven Rostedt (Red Hat 2013-03-05 223) #endif
> 490901078 Steven Rostedt (Red Hat 2015-09-24 224) struct trace_pid_list __rcu *filtered_pids;
> 0b9b12c1b Steven Rostedt (Red Hat 2014-01-14 225) /*
> 0b9b12c1b Steven Rostedt (Red Hat 2014-01-14 226) * max_lock is used to protect the swapping of buffers
> 0b9b12c1b Steven Rostedt (Red Hat 2014-01-14 227) * when taking a max snapshot. The buffers themselves are
> 0b9b12c1b Steven Rostedt (Red Hat 2014-01-14 228) * protected by per_cpu spinlocks. But the action of the swap
> 0b9b12c1b Steven Rostedt (Red Hat 2014-01-14 229) * needs its own lock.
> 0b9b12c1b Steven Rostedt (Red Hat 2014-01-14 230) *
> 0b9b12c1b Steven Rostedt (Red Hat 2014-01-14 231) * This is defined as a arch_spinlock_t in order to help
> 0b9b12c1b Steven Rostedt (Red Hat 2014-01-14 232) * with performance when lockdep debugging is enabled.
> 0b9b12c1b Steven Rostedt (Red Hat 2014-01-14 233) *
> 0b9b12c1b Steven Rostedt (Red Hat 2014-01-14 234) * It is also used in other places outside the update_max_tr
> 0b9b12c1b Steven Rostedt (Red Hat 2014-01-14 235) * so it needs to be defined outside of the
> 0b9b12c1b Steven Rostedt (Red Hat 2014-01-14 236) * CONFIG_TRACER_MAX_TRACE.
> 0b9b12c1b Steven Rostedt (Red Hat 2014-01-14 237) */
> 0b9b12c1b Steven Rostedt (Red Hat 2014-01-14 238) arch_spinlock_t max_lock;
> 499e54705 Steven Rostedt 2012-02-22 239 int buffer_disabled;
> 12ab74ee0 Steven Rostedt 2012-08-08 240 #ifdef CONFIG_FTRACE_SYSCALLS
> 12ab74ee0 Steven Rostedt 2012-08-08 241 int sys_refcount_enter;
> 12ab74ee0 Steven Rostedt 2012-08-08 242 int sys_refcount_exit;
> 7f1d2f821 Steven Rostedt (Red Hat 2015-05-05 @243) struct trace_event_file __rcu *enter_syscall_files[NR_syscalls];
> 7f1d2f821 Steven Rostedt (Red Hat 2015-05-05 244) struct trace_event_file __rcu *exit_syscall_files[NR_syscalls];
> 12ab74ee0 Steven Rostedt 2012-08-08 245 #endif
> 2b6080f28 Steven Rostedt 2012-05-11 246 int stop_count;
> 2b6080f28 Steven Rostedt 2012-05-11 247 int clock_id;
> 37aea98b8 Steven Rostedt (Red Hat 2015-09-30 248) int nr_topts;
> 065e63f95 Steven Rostedt (VMware 2017-08-31 249) bool clear_trace;
> 2b6080f28 Steven Rostedt 2012-05-11 250 struct tracer *current_trace;
> 983f938ae Steven Rostedt (Red Hat 2015-09-30 251) unsigned int trace_flags;
> 9a38a8856 Steven Rostedt (Red Hat 2015-09-30 252) unsigned char trace_flags_index[TRACE_FLAGS_MAX_SIZE];
> ae63b31e4 Steven Rostedt 2012-05-03 253 unsigned int flags;
> 2b6080f28 Steven Rostedt 2012-05-11 254 raw_spinlock_t start_lock;
> ae63b31e4 Steven Rostedt 2012-05-03 255 struct dentry *dir;
> 2b6080f28 Steven Rostedt 2012-05-11 256 struct dentry *options;
> 2b6080f28 Steven Rostedt 2012-05-11 257 struct dentry *percpu_dir;
> ae63b31e4 Steven Rostedt 2012-05-03 258 struct dentry *event_dir;
> 37aea98b8 Steven Rostedt (Red Hat 2015-09-30 259) struct trace_options *topts;
> ae63b31e4 Steven Rostedt 2012-05-03 260 struct list_head systems;
> ae63b31e4 Steven Rostedt 2012-05-03 261 struct list_head events;
> 3dd809536 Steven Rostedt (VMware 2018-05-09 262) struct trace_event_file *trace_marker_file;
> ccfe9e42e Alexander Z Lam 2013-08-08 263 cpumask_var_t tracing_cpumask; /* only trace on set CPUs */
> a695cb581 Steven Rostedt (Red Hat 2013-03-06 264) int ref;
> f20a58062 Steven Rostedt (Red Hat 2013-11-07 265) #ifdef CONFIG_FUNCTION_TRACER
> f20a58062 Steven Rostedt (Red Hat 2013-11-07 266) struct ftrace_ops *ops;
> 345ddcc88 Steven Rostedt (Red Hat 2016-04-22 267) struct trace_pid_list __rcu *function_pids;
> 04ec7bb64 Steven Rostedt (VMware 2017-04-05 268) #ifdef CONFIG_DYNAMIC_FTRACE
> 673feb9d7 Steven Rostedt (VMware 2017-06-23 269) /* All of these are protected by the ftrace_lock */
> 04ec7bb64 Steven Rostedt (VMware 2017-04-05 270) struct list_head func_probes;
> 673feb9d7 Steven Rostedt (VMware 2017-06-23 271) struct list_head mod_trace;
> 673feb9d7 Steven Rostedt (VMware 2017-06-23 272) struct list_head mod_notrace;
> 04ec7bb64 Steven Rostedt (VMware 2017-04-05 273) #endif
> f20a58062 Steven Rostedt (Red Hat 2013-11-07 274) /* function tracing enabled */
> f20a58062 Steven Rostedt (Red Hat 2013-11-07 275) int function_enabled;
> f20a58062 Steven Rostedt (Red Hat 2013-11-07 276) #endif
> 00b414529 Tom Zanussi 2018-01-15 277 int time_stamp_abs_ref;
> 067fe038e Tom Zanussi 2018-01-15 278 struct list_head hist_vars;
> bc0c38d13 Steven Rostedt 2008-05-12 279 };
> bc0c38d13 Steven Rostedt 2008-05-12 280
>
> :::::: The code at line 243 was first introduced by commit
> :::::: 7f1d2f8210195c8c309d424a77dbf06a6d2186f4 tracing: Rename ftrace_event_file to trace_event_file
>
> :::::: TO: Steven Rostedt (Red Hat) <rostedt@goodmis.org>
> :::::: CC: Steven Rostedt <rostedt@goodmis.org>
>
> ---
> 0-DAY kernel test infrastructure Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all Intel Corporation
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH 1/3] sh: Rename NR_syscalls macro to __NR_syscalls
2018-08-10 19:38 ` Steven Rostedt
@ 2018-09-18 9:06 ` Firoz Khan
0 siblings, 0 replies; 20+ messages in thread
From: Firoz Khan @ 2018-09-18 9:06 UTC (permalink / raw)
To: Steven Rostedt
Cc: kbuild test robot, kbuild-all, linux-sh, Yoshinori Sato,
Rich Felker, Ingo Molnar, Greg Kroah-Hartman,
Philippe Ombredanne, Thomas Gleixner, Kate Stewart,
y2038 Mailman List, Linux Kernel Mailing List, Linux-Arch,
Arnd Bergmann, Deepa Dinamani, Marcin Juszkiewicz
On 11 August 2018 at 01:08, Steven Rostedt <rostedt@goodmis.org> wrote:
> On Thu, 9 Aug 2018 20:58:58 +0800
> kbuild test robot <lkp@intel.com> wrote:
>
>> Hi Firoz,
>>
>> Thank you for the patch! Yet something to improve:
>>
>> [auto build test ERROR on linus/master]
>> [also build test ERROR on v4.18-rc8 next-20180808]
>> [if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
>>
>> url: https://github.com/0day-ci/linux/commits/Firoz-Khan/sh-Rename-NR_syscalls-macro-to-__NR_syscalls/20180809-171759
>> config: sh-allmodconfig (attached as .config)
>> compiler: sh4-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
>> reproduce:
>> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>> chmod +x ~/bin/make.cross
>> # save the attached .config to linux build tree
>> GCC_VERSION=7.2.0 make.cross ARCH=sh
>>
>> All errors (new ones prefixed by >>):
>>
>> In file included from kernel/trace/trace_selftest_dynamic.c:3:0:
>> >> kernel/trace/trace.h:243:53: error: 'NR_syscalls' undeclared here (not in a function); did you mean '__NR_syscalls'?
>> struct trace_event_file __rcu *enter_syscall_files[NR_syscalls];
>> ^~~~~~~~~~~
>> __NR_syscalls
>> --
>> In file included from kernel/trace/trace_output.h:6:0,
>> from kernel/trace/trace_syscalls.c:12:
>> >> kernel/trace/trace.h:243:53: error: 'NR_syscalls' undeclared here (not in a function); did you mean '__NR_syscalls'?
>> struct trace_event_file __rcu *enter_syscall_files[NR_syscalls];
>> ^~~~~~~~~~~
>> __NR_syscalls
>
> Most archs have a:
>
> #define NR_syscalls __NR_syscalls
Thanks for your reply!
Sorry for the delayed response :(
Yes. I'll add this change in the next version of the patch series.
- Firoz
>
>> In file included from include/linux/smp.h:11:0,
>> from include/linux/tracepoint.h:17,
>> from include/trace/syscall.h:5,
>> from kernel/trace/trace_syscalls.c:2:
>> kernel/trace/trace_syscalls.c:559:23: warning: 'enabled_perf_exit_syscalls' defined but not used [-Wunused-variable]
>> static DECLARE_BITMAP(enabled_perf_exit_syscalls, NR_syscalls);
>> ^
>> include/linux/types.h:11:16: note: in definition of macro 'DECLARE_BITMAP'
>> unsigned long name[BITS_TO_LONGS(bits)]
>> ^~~~
>> kernel/trace/trace_syscalls.c:558:23: warning: 'enabled_perf_enter_syscalls' defined but not used [-Wunused-variable]
>> static DECLARE_BITMAP(enabled_perf_enter_syscalls, NR_syscalls);
>> ^
>> include/linux/types.h:11:16: note: in definition of macro 'DECLARE_BITMAP'
>> unsigned long name[BITS_TO_LONGS(bits)]
>> ^~~~
>>
>> vim +243 kernel/trace/trace.h
>>
>> 490901078 Steven Rostedt (Red Hat 2015-09-24 196)
>> bc0c38d13 Steven Rostedt 2008-05-12 197 /*
>> bc0c38d13 Steven Rostedt 2008-05-12 198 * The trace array - an array of per-CPU trace arrays. This is the
>> bc0c38d13 Steven Rostedt 2008-05-12 199 * highest level data structure that individual tracers deal with.
>> bc0c38d13 Steven Rostedt 2008-05-12 200 * They have on/off state as well:
>> bc0c38d13 Steven Rostedt 2008-05-12 201 */
>> bc0c38d13 Steven Rostedt 2008-05-12 202 struct trace_array {
>> ae63b31e4 Steven Rostedt 2012-05-03 203 struct list_head list;
>> 277ba0446 Steven Rostedt 2012-08-03 204 char *name;
>> 12883efb6 Steven Rostedt (Red Hat 2013-03-05 205) struct trace_buffer trace_buffer;
>> 12883efb6 Steven Rostedt (Red Hat 2013-03-05 206) #ifdef CONFIG_TRACER_MAX_TRACE
>> 12883efb6 Steven Rostedt (Red Hat 2013-03-05 207) /*
>> 12883efb6 Steven Rostedt (Red Hat 2013-03-05 208) * The max_buffer is used to snapshot the trace when a maximum
>> 12883efb6 Steven Rostedt (Red Hat 2013-03-05 209) * latency is reached, or when the user initiates a snapshot.
>> 12883efb6 Steven Rostedt (Red Hat 2013-03-05 210) * Some tracers will use this to store a maximum trace while
>> 12883efb6 Steven Rostedt (Red Hat 2013-03-05 211) * it continues examining live traces.
>> 12883efb6 Steven Rostedt (Red Hat 2013-03-05 212) *
>> 12883efb6 Steven Rostedt (Red Hat 2013-03-05 213) * The buffers for the max_buffer are set up the same as the trace_buffer
>> 12883efb6 Steven Rostedt (Red Hat 2013-03-05 214) * When a snapshot is taken, the buffer of the max_buffer is swapped
>> 12883efb6 Steven Rostedt (Red Hat 2013-03-05 215) * with the buffer of the trace_buffer and the buffers are reset for
>> 12883efb6 Steven Rostedt (Red Hat 2013-03-05 216) * the trace_buffer so the tracing can continue.
>> 12883efb6 Steven Rostedt (Red Hat 2013-03-05 217) */
>> 12883efb6 Steven Rostedt (Red Hat 2013-03-05 218) struct trace_buffer max_buffer;
>> 45ad21ca5 Steven Rostedt (Red Hat 2013-03-05 219) bool allocated_snapshot;
>> f971cc9aa Steven Rostedt (Red Hat 2016-09-07 220) #endif
>> f971cc9aa Steven Rostedt (Red Hat 2016-09-07 221) #if defined(CONFIG_TRACER_MAX_TRACE) || defined(CONFIG_HWLAT_TRACER)
>> 6d9b3fa5e Steven Rostedt (Red Hat 2014-01-14 222) unsigned long max_latency;
>> 12883efb6 Steven Rostedt (Red Hat 2013-03-05 223) #endif
>> 490901078 Steven Rostedt (Red Hat 2015-09-24 224) struct trace_pid_list __rcu *filtered_pids;
>> 0b9b12c1b Steven Rostedt (Red Hat 2014-01-14 225) /*
>> 0b9b12c1b Steven Rostedt (Red Hat 2014-01-14 226) * max_lock is used to protect the swapping of buffers
>> 0b9b12c1b Steven Rostedt (Red Hat 2014-01-14 227) * when taking a max snapshot. The buffers themselves are
>> 0b9b12c1b Steven Rostedt (Red Hat 2014-01-14 228) * protected by per_cpu spinlocks. But the action of the swap
>> 0b9b12c1b Steven Rostedt (Red Hat 2014-01-14 229) * needs its own lock.
>> 0b9b12c1b Steven Rostedt (Red Hat 2014-01-14 230) *
>> 0b9b12c1b Steven Rostedt (Red Hat 2014-01-14 231) * This is defined as a arch_spinlock_t in order to help
>> 0b9b12c1b Steven Rostedt (Red Hat 2014-01-14 232) * with performance when lockdep debugging is enabled.
>> 0b9b12c1b Steven Rostedt (Red Hat 2014-01-14 233) *
>> 0b9b12c1b Steven Rostedt (Red Hat 2014-01-14 234) * It is also used in other places outside the update_max_tr
>> 0b9b12c1b Steven Rostedt (Red Hat 2014-01-14 235) * so it needs to be defined outside of the
>> 0b9b12c1b Steven Rostedt (Red Hat 2014-01-14 236) * CONFIG_TRACER_MAX_TRACE.
>> 0b9b12c1b Steven Rostedt (Red Hat 2014-01-14 237) */
>> 0b9b12c1b Steven Rostedt (Red Hat 2014-01-14 238) arch_spinlock_t max_lock;
>> 499e54705 Steven Rostedt 2012-02-22 239 int buffer_disabled;
>> 12ab74ee0 Steven Rostedt 2012-08-08 240 #ifdef CONFIG_FTRACE_SYSCALLS
>> 12ab74ee0 Steven Rostedt 2012-08-08 241 int sys_refcount_enter;
>> 12ab74ee0 Steven Rostedt 2012-08-08 242 int sys_refcount_exit;
>> 7f1d2f821 Steven Rostedt (Red Hat 2015-05-05 @243) struct trace_event_file __rcu *enter_syscall_files[NR_syscalls];
>> 7f1d2f821 Steven Rostedt (Red Hat 2015-05-05 244) struct trace_event_file __rcu *exit_syscall_files[NR_syscalls];
>> 12ab74ee0 Steven Rostedt 2012-08-08 245 #endif
>> 2b6080f28 Steven Rostedt 2012-05-11 246 int stop_count;
>> 2b6080f28 Steven Rostedt 2012-05-11 247 int clock_id;
>> 37aea98b8 Steven Rostedt (Red Hat 2015-09-30 248) int nr_topts;
>> 065e63f95 Steven Rostedt (VMware 2017-08-31 249) bool clear_trace;
>> 2b6080f28 Steven Rostedt 2012-05-11 250 struct tracer *current_trace;
>> 983f938ae Steven Rostedt (Red Hat 2015-09-30 251) unsigned int trace_flags;
>> 9a38a8856 Steven Rostedt (Red Hat 2015-09-30 252) unsigned char trace_flags_index[TRACE_FLAGS_MAX_SIZE];
>> ae63b31e4 Steven Rostedt 2012-05-03 253 unsigned int flags;
>> 2b6080f28 Steven Rostedt 2012-05-11 254 raw_spinlock_t start_lock;
>> ae63b31e4 Steven Rostedt 2012-05-03 255 struct dentry *dir;
>> 2b6080f28 Steven Rostedt 2012-05-11 256 struct dentry *options;
>> 2b6080f28 Steven Rostedt 2012-05-11 257 struct dentry *percpu_dir;
>> ae63b31e4 Steven Rostedt 2012-05-03 258 struct dentry *event_dir;
>> 37aea98b8 Steven Rostedt (Red Hat 2015-09-30 259) struct trace_options *topts;
>> ae63b31e4 Steven Rostedt 2012-05-03 260 struct list_head systems;
>> ae63b31e4 Steven Rostedt 2012-05-03 261 struct list_head events;
>> 3dd809536 Steven Rostedt (VMware 2018-05-09 262) struct trace_event_file *trace_marker_file;
>> ccfe9e42e Alexander Z Lam 2013-08-08 263 cpumask_var_t tracing_cpumask; /* only trace on set CPUs */
>> a695cb581 Steven Rostedt (Red Hat 2013-03-06 264) int ref;
>> f20a58062 Steven Rostedt (Red Hat 2013-11-07 265) #ifdef CONFIG_FUNCTION_TRACER
>> f20a58062 Steven Rostedt (Red Hat 2013-11-07 266) struct ftrace_ops *ops;
>> 345ddcc88 Steven Rostedt (Red Hat 2016-04-22 267) struct trace_pid_list __rcu *function_pids;
>> 04ec7bb64 Steven Rostedt (VMware 2017-04-05 268) #ifdef CONFIG_DYNAMIC_FTRACE
>> 673feb9d7 Steven Rostedt (VMware 2017-06-23 269) /* All of these are protected by the ftrace_lock */
>> 04ec7bb64 Steven Rostedt (VMware 2017-04-05 270) struct list_head func_probes;
>> 673feb9d7 Steven Rostedt (VMware 2017-06-23 271) struct list_head mod_trace;
>> 673feb9d7 Steven Rostedt (VMware 2017-06-23 272) struct list_head mod_notrace;
>> 04ec7bb64 Steven Rostedt (VMware 2017-04-05 273) #endif
>> f20a58062 Steven Rostedt (Red Hat 2013-11-07 274) /* function tracing enabled */
>> f20a58062 Steven Rostedt (Red Hat 2013-11-07 275) int function_enabled;
>> f20a58062 Steven Rostedt (Red Hat 2013-11-07 276) #endif
>> 00b414529 Tom Zanussi 2018-01-15 277 int time_stamp_abs_ref;
>> 067fe038e Tom Zanussi 2018-01-15 278 struct list_head hist_vars;
>> bc0c38d13 Steven Rostedt 2008-05-12 279 };
>> bc0c38d13 Steven Rostedt 2008-05-12 280
>>
>> :::::: The code at line 243 was first introduced by commit
>> :::::: 7f1d2f8210195c8c309d424a77dbf06a6d2186f4 tracing: Rename ftrace_event_file to trace_event_file
>>
>> :::::: TO: Steven Rostedt (Red Hat) <rostedt@goodmis.org>
>> :::::: CC: Steven Rostedt <rostedt@goodmis.org>
>>
>> ---
>> 0-DAY kernel test infrastructure Open Source Technology Center
>> https://lists.01.org/pipermail/kbuild-all Intel Corporation
>
^ permalink raw reply [flat|nested] 20+ 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; 20+ 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] 20+ 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; 20+ 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] 20+ messages in thread
* Re: [PATCH 0/3] System call table generation support
2018-11-29 6:34 ` Satheesh Rajendran
@ 2018-11-29 8:18 ` Firoz Khan
2018-11-30 7:01 ` Satheesh Rajendran
0 siblings, 1 reply; 20+ 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] 20+ messages in thread
* Re: [PATCH 0/3] System call table generation support
2018-09-14 8:32 Firoz Khan
@ 2018-11-29 6:34 ` Satheesh Rajendran
2018-11-29 8:18 ` Firoz Khan
0 siblings, 1 reply; 20+ 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] 20+ 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; 20+ 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] 20+ 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; 20+ 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] 20+ 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; 20+ 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] 20+ 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; 20+ 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] 20+ 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; 20+ 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] 20+ messages in thread
* Re: [PATCH 0/3] System call table generation support
2018-09-14 8:38 [PATCH 0/3] System call table generation support 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; 20+ 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] 20+ 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; 20+ 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] 20+ messages in thread
* [PATCH 0/3] System call table generation support
@ 2018-09-14 8:32 Firoz Khan
2018-11-29 6:34 ` Satheesh Rajendran
0 siblings, 1 reply; 20+ 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] 20+ messages in thread
* [PATCH 0/3] System call table generation support
@ 2018-08-09 5:27 Firoz Khan
0 siblings, 0 replies; 20+ 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] 20+ messages in thread
end of thread, other threads:[~2018-11-30 9:41 UTC | newest]
Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-09 5:36 [PATCH 0/3] System call table generation support Firoz Khan
2018-08-09 5:36 ` [PATCH 1/3] sh: Rename NR_syscalls macro to __NR_syscalls Firoz Khan
2018-08-09 12:58 ` kbuild test robot
2018-08-10 19:38 ` Steven Rostedt
2018-09-18 9:06 ` Firoz Khan
2018-08-09 5:36 ` [PATCH 2/3] sh: Added system call table generation support Firoz Khan
2018-08-09 5:36 ` [PATCH 3/3] sh: uapi header and system call table file generation Firoz Khan
-- strict thread matches above, loose matches on Subject: below --
2018-09-14 8:38 [PATCH 0/3] System call table generation support 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-09-14 8:32 Firoz Khan
2018-11-29 6:34 ` Satheesh Rajendran
2018-11-29 8:18 ` Firoz Khan
2018-11-30 7:01 ` Satheesh Rajendran
2018-11-30 9:40 ` Firoz Khan
2018-08-09 5:27 Firoz Khan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).