# git rev-parse -q --verify 9e314890292c0dd357eadef6a043704fa0b4c157^{commit} 9e314890292c0dd357eadef6a043704fa0b4c157 already have revision, skipping fetch # git checkout -q -f -B kisskb 9e314890292c0dd357eadef6a043704fa0b4c157 # git clean -qxdf # git log -1 commit 9e314890292c0dd357eadef6a043704fa0b4c157 Merge: f8e6859 a4d4426 Author: Linus Torvalds Date: Fri Feb 24 18:37:03 2017 -0800 Merge tag 'openrisc-for-linus' of git://github.com/openrisc/linux Pull OpenRISC updates from Stafford Horne: "Highlights include: - optimized memset and memcpy routines, ~20% boot time saving - support for cpu idling - adding support for l.swa and l.lwa atomic operations (in spec from 2014) - use atomics to implement: bitops, cmpxchg, futex - the atomics are in preparation for SMP support" * tag 'openrisc-for-linus' of git://github.com/openrisc/linux: (25 commits) openrisc: head: Init r0 to 0 on start openrisc: Export ioremap symbols used by modules arch/openrisc/lib/memcpy.c: use correct OR1200 option openrisc: head: Remove unused strings openrisc: head: Move init strings to rodata section openrisc: entry: Fix delay slot detection openrisc: entry: Whitespace and comment cleanups scripts/checkstack.pl: Add openrisc support MAINTAINERS: Add the openrisc official repository openrisc: Add .gitignore openrisc: Add optimized memcpy routine openrisc: Add optimized memset openrisc: Initial support for the idle state openrisc: Fix the bitmask for the unit present register openrisc: remove unnecessary stddef.h include openrisc: add futex_atomic_* implementations openrisc: add optimized atomic operations openrisc: add cmpxchg and xchg implementations openrisc: add atomic bitops openrisc: add l.lwa/l.swa emulation ... # < /opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux-gcc --version # < git log --format=%s --max-count=1 9e314890292c0dd357eadef6a043704fa0b4c157 # < make -j 48 ARCH=sh O=/home/kisskb/slave/build/linus_sh-randconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- randconfig KCONFIG_SEED=0x9770DB68 # Added to kconfig CONFIG_STANDALONE=y # yes \n | make -j 48 ARCH=sh O=/home/kisskb/slave/build/linus_sh-randconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- oldconfig yes: standard output: Broken pipe yes: write error # make -j 48 ARCH=sh O=/home/kisskb/slave/build/linus_sh-randconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- make[1]: Entering directory '/home/kisskb/slave/build/linus_sh-randconfig_sh4' GEN ./Makefile scripts/kconfig/conf --silentoldconfig Kconfig CHK include/config/kernel.release UPD include/config/kernel.release GEN ./Makefile WRAP arch/sh/include/generated/asm/bitsperlong.h WRAP arch/sh/include/generated/asm/clkdev.h WRAP arch/sh/include/generated/asm/delay.h WRAP arch/sh/include/generated/asm/current.h WRAP arch/sh/include/generated/asm/div64.h WRAP arch/sh/include/generated/asm/errno.h WRAP arch/sh/include/generated/asm/emergency-restart.h WRAP arch/sh/include/generated/asm/ioctl.h WRAP arch/sh/include/generated/asm/exec.h WRAP arch/sh/include/generated/asm/fcntl.h WRAP arch/sh/include/generated/asm/irq_work.h WRAP arch/sh/include/generated/asm/ipcbuf.h WRAP arch/sh/include/generated/asm/local64.h WRAP arch/sh/include/generated/asm/irq_regs.h WRAP arch/sh/include/generated/asm/kvm_para.h WRAP arch/sh/include/generated/asm/mman.h WRAP arch/sh/include/generated/asm/local.h WRAP arch/sh/include/generated/asm/parport.h WRAP arch/sh/include/generated/asm/mm-arch-hooks.h WRAP arch/sh/include/generated/asm/msgbuf.h WRAP arch/sh/include/generated/asm/percpu.h WRAP arch/sh/include/generated/asm/mcs_spinlock.h WRAP arch/sh/include/generated/asm/param.h WRAP arch/sh/include/generated/asm/poll.h WRAP arch/sh/include/generated/asm/resource.h WRAP arch/sh/include/generated/asm/preempt.h WRAP arch/sh/include/generated/asm/rwsem.h WRAP arch/sh/include/generated/asm/sembuf.h WRAP arch/sh/include/generated/asm/serial.h WRAP arch/sh/include/generated/asm/shmbuf.h WRAP arch/sh/include/generated/asm/siginfo.h WRAP arch/sh/include/generated/asm/sizes.h WRAP arch/sh/include/generated/asm/socket.h WRAP arch/sh/include/generated/asm/statfs.h WRAP arch/sh/include/generated/asm/termbits.h WRAP arch/sh/include/generated/asm/termios.h WRAP arch/sh/include/generated/asm/trace_clock.h WRAP arch/sh/include/generated/asm/ucontext.h WRAP arch/sh/include/generated/asm/xor.h CHK include/generated/uapi/linux/version.h UPD include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h UPD include/generated/utsrelease.h Using /home/kisskb/slave/src as source for kernel HOSTCC scripts/kallsyms HOSTCC scripts/pnmtologo HOSTCC scripts/asn1_compiler HOSTCC scripts/extract-cert CC scripts/mod/empty.o HOSTCC scripts/mod/mk_elfconfig CC scripts/mod/devicetable-offsets.s GEN scripts/mod/devicetable-offsets.h MKELF scripts/mod/elfconfig.h HOSTCC scripts/mod/modpost.o HOSTCC scripts/mod/file2alias.o HOSTCC scripts/mod/sumversion.o HOSTLD scripts/mod/modpost Generating include/generated/machtypes.h CHK include/generated/timeconst.h CC kernel/bounds.s UPD include/generated/timeconst.h CHK include/generated/bounds.h UPD include/generated/bounds.h CC arch/sh/kernel/asm-offsets.s CHK include/generated/asm-offsets.h UPD include/generated/asm-offsets.h CALL /home/kisskb/slave/src/scripts/checksyscalls.sh :1316:2: warning: #warning syscall pkey_mprotect not implemented [-Wcpp] :1319:2: warning: #warning syscall pkey_alloc not implemented [-Wcpp] :1322:2: warning: #warning syscall pkey_free not implemented [-Wcpp] CC init/main.o CHK include/generated/compile.h CC init/do_mounts.o CC init/do_mounts_md.o CC init/noinitramfs.o CC init/init_task.o UPD include/generated/compile.h CC init/version.o LD usr/built-in.o AS arch/sh/kernel/debugtraps.o CC arch/sh/kernel/dma-nommu.o CC arch/sh/kernel/dumpstack.o CC arch/sh/kernel/idle.o CC arch/sh/kernel/io.o CC arch/sh/kernel/irq.o CC arch/sh/kernel/irq_32.o CC arch/sh/kernel/machvec.o CC arch/sh/kernel/kdebugfs.o CC arch/sh/kernel/process_32.o CC arch/sh/kernel/nmi_debug.o CC arch/sh/kernel/process.o CC arch/sh/kernel/reboot.o CC arch/sh/kernel/ptrace_32.o CC arch/sh/kernel/sys_sh.o CC arch/sh/kernel/signal_32.o CC arch/sh/kernel/topology.o CC arch/sh/kernel/setup.o CC arch/sh/kernel/return_address.o CC arch/sh/kernel/ptrace.o CC arch/sh/kernel/traps.o CC arch/sh/kernel/traps_32.o CC arch/sh/kernel/unwinder.o CC arch/sh/kernel/sh_bios.o CC arch/sh/kernel/time.o CC arch/sh/kernel/iomap.o CC arch/sh/kernel/hw_breakpoint.o CC arch/sh/kernel/sys_sh32.o AS arch/sh/kernel/syscalls_32.o CC arch/sh/kernel/stacktrace.o CC arch/sh/kernel/kgdb.o CC arch/sh/kernel/perf_callchain.o CC arch/sh/kernel/dwarf.o LDS arch/sh/kernel/vmlinux.lds CC arch/sh/kernel/perf_event.o AS arch/sh/kernel/head_32.o CC arch/sh/kernel/cpu/pfc.o CC arch/sh/kernel/cpu/fpu.o CC arch/sh/kernel/cpu/clock-cpg.o CC arch/sh/kernel/cpu/init.o CC arch/sh/kernel/cpu/clock.o CC arch/sh/kernel/cpu/proc.o CC arch/sh/kernel/cpu/irq/imask.o CC arch/sh/mm/mmap.o CC arch/sh/mm/alignment.o CC arch/sh/mm/nommu.o CC arch/sh/mm/consistent.o CC arch/sh/mm/flush-sh4.o CC arch/sh/mm/init.o CC arch/sh/mm/cache.o CC arch/sh/mm/extable_32.o CC arch/sh/mm/asids-debugfs.o CC arch/sh/mm/cache-sh4.o CC arch/sh/mm/cache-debugfs.o CC arch/sh/kernel/cpu/sh4a/setup-sh7780.o CC arch/sh/kernel/cpu/sh4a/perf_event.o CC arch/sh/kernel/cpu/sh4a/clock-sh7780.o CC arch/sh/kernel/cpu/sh4a/ubc.o CC arch/sh/kernel/cpu/sh4/probe.o CC arch/sh/kernel/cpu/sh4/softfloat.o CC arch/sh/kernel/cpu/sh4/fpu.o AS arch/sh/kernel/cpu/sh4/../sh3/ex.o AS arch/sh/kernel/cpu/sh4/../sh3/entry.o CC arch/sh/boards/board-sh2007.o /home/kisskb/slave/src/arch/sh/kernel/cpu/sh4/../sh3/../../entry-common.S: Assembler messages: /home/kisskb/slave/src/arch/sh/kernel/cpu/sh4/../sh3/../../entry-common.S:89: Warning: overflow in branch to __restore_all; converted into longer instruction sequence /home/kisskb/slave/src/arch/sh/kernel/cpu/sh4/../sh3/../../entry-common.S:208: Warning: overflow in branch to syscall_call; converted into longer instruction sequence /home/kisskb/slave/src/arch/sh/kernel/cpu/sh4/../sh3/../../entry-common.S:356: Warning: overflow in branch to syscall_trace_entry; converted into longer instruction sequence /home/kisskb/slave/src/arch/sh/kernel/cpu/sh4/../sh3/../../entry-common.S:358: Warning: overflow in branch to syscall_trace_entry; converted into longer instruction sequence /home/kisskb/slave/src/arch/sh/kernel/cpu/sh4/../sh3/../../entry-common.S:389: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /home/kisskb/slave/src/arch/sh/kernel/cpu/sh4/../sh3/../../entry-common.S:392: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence LD arch/sh/kernel/cpu/sh4/common.o /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c: In function 'cpg_clk_init': /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c:52:3: warning: 'arch_init_clk_ops' is deprecated (declared at /home/kisskb/slave/src/arch/sh/include/asm/clock.h:7) [-Wdeprecated-declarations] /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c: In function 'arch_clk_init': /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c:76:2: warning: 'cpg_clk_init' is deprecated (declared at /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c:46) [-Wdeprecated-declarations] CC arch/sh/boards/mach-sdk7780/setup.o CC arch/sh/boards/mach-sdk7780/irq.o /home/kisskb/slave/src/arch/sh/mm/cache-sh4.c: In function 'flush_cache_one': /home/kisskb/slave/src/arch/sh/mm/cache-sh4.c:99:17: error: 'cached_to_uncached' undeclared (first use in this function) /home/kisskb/slave/src/arch/sh/mm/cache-sh4.c:99:17: note: each undeclared identifier is reported only once for each function it appears in /home/kisskb/slave/src/arch/sh/mm/cache-sh4.c: In function 'sh4_flush_cache_mm': /home/kisskb/slave/src/arch/sh/mm/cache-sh4.c:192:2: error: implicit declaration of function 'cpu_context' [-Werror=implicit-function-declaration] /home/kisskb/slave/src/arch/sh/kernel/cpu/sh4a/clock-sh7780.c: In function 'arch_clk_init': /home/kisskb/slave/src/arch/sh/kernel/cpu/sh4a/clock-sh7780.c:110:2: warning: 'cpg_clk_init' is deprecated (declared at /home/kisskb/slave/src/arch/sh/include/asm/clock.h:11) [-Wdeprecated-declarations] cc1: all warnings being treated as errors /home/kisskb/slave/src/scripts/Makefile.build:294: recipe for target 'arch/sh/mm/cache-sh4.o' failed make[2]: *** [arch/sh/mm/cache-sh4.o] Error 1 make[2]: *** Waiting for unfinished jobs.... LD init/mounts.o LD arch/sh/kernel/cpu/irq/built-in.o CC kernel/fork.o CC kernel/exec_domain.o CC kernel/exit.o CC kernel/softirq.o CC kernel/resource.o CC kernel/panic.o CC kernel/capability.o CC kernel/sysctl.o CC kernel/cpu.o CC kernel/ptrace.o CC kernel/sysctl_binary.o CC kernel/signal.o CC kernel/user.o CC kernel/sys.o CC kernel/kmod.o CC kernel/workqueue.o CC kernel/sys_ni.o CC kernel/pid.o CC kernel/task_work.o CC kernel/params.o CC kernel/ksysfs.o CC kernel/kthread.o CC kernel/extable.o CC kernel/notifier.o CC kernel/nsproxy.o CC kernel/reboot.o EXTRACT_CERTS CC kernel/cred.o CC certs/system_keyring.o CC kernel/range.o CC kernel/ucount.o CC kernel/async.o CC kernel/smpboot.o AS certs/system_certificates.o LD kernel/livepatch/built-in.o LD init/built-in.o CC kernel/printk/printk.o LD arch/sh/kernel/cpu/sh4a/built-in.o CC kernel/debug/debug_core.o CC kernel/power/qos.o LD arch/sh/boards/built-in.o CC kernel/events/core.o LD arch/sh/boards/mach-sdk7780/built-in.o CC kernel/events/ring_buffer.o /home/kisskb/slave/src/Makefile:990: recipe for target 'arch/sh/mm' failed make[1]: *** [arch/sh/mm] Error 2 make[1]: *** Waiting for unfinished jobs.... CC kernel/debug/gdbstub.o CC kernel/power/main.o CC kernel/power/process.o CC kernel/events/callchain.o CC kernel/events/hw_breakpoint.o CC kernel/irq/irqdesc.o CC kernel/freezer.o CC kernel/irq/handle.o CC kernel/irq/manage.o CC kernel/rcu/update.o CC kernel/bpf/core.o CC kernel/bpf/syscall.o CC kernel/bpf/verifier.o CC kernel/locking/mutex.o CC kernel/irq/spurious.o LD certs/built-in.o CC kernel/locking/semaphore.o CC kernel/bpf/inode.o CC kernel/sched/core.o CC kernel/stacktrace.o CC kernel/profile.o CC kernel/up.o CC kernel/rcu/sync.o CC kernel/kallsyms.o CC kernel/backtracetest.o CC kernel/time/time.o CC kernel/time/timer.o CC kernel/time/hrtimer.o LD arch/sh/kernel/cpu/sh4/built-in.o CC kernel/time/timekeeping.o CC kernel/time/ntp.o CC kernel/irq/resend.o CC kernel/irq/chip.o LD arch/sh/kernel/cpu/built-in.o /home/kisskb/slave/src/kernel/sched/core.c: In function 'pick_next_task': /home/kisskb/slave/src/kernel/sched/core.c:3302:1: warning: control reaches end of non-void function [-Wreturn-type] LD arch/sh/kernel/built-in.o CC kernel/cgroup.o CC kernel/cgroup_freezer.o CC kernel/hung_task.o CC kernel/watchdog.o CC kernel/time/jiffies.o CC kernel/time/clocksource.o CC kernel/time/timer_list.o CC kernel/rcu/srcu.o CC kernel/seccomp.o /home/kisskb/slave/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /home/kisskb/slave/src/kernel/printk/printk.c:183:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] CC kernel/locking/rwsem.o CC kernel/locking/mutex-debug.o CC kernel/locking/percpu-rwsem.o CC kernel/locking/lockdep.o CC kernel/locking/lockdep_proc.o CC kernel/elfcore.o CC kernel/utsname_sysctl.o CC kernel/irq_work.o CC kernel/rcu/rcuperf.o CC kernel/torture.o CC kernel/rcu/tiny.o CC kernel/memremap.o CC kernel/time/timeconv.o CC kernel/locking/spinlock.o CC kernel/locking/rtmutex.o CC kernel/locking/rtmutex-debug.o CC kernel/time/timecounter.o CC kernel/locking/spinlock_debug.o LD kernel/power/built-in.o CC kernel/bpf/helpers.o CC kernel/locking/rwsem-spinlock.o CC kernel/time/alarmtimer.o LD kernel/printk/built-in.o CC kernel/bpf/hashtab.o CC kernel/irq/dummychip.o CC kernel/locking/locktorture.o CC kernel/irq/irqdomain.o CC kernel/irq/devres.o CC kernel/irq/proc.o CC kernel/time/posix-stubs.o CC kernel/bpf/arraymap.o CC kernel/locking/test-ww_mutex.o CC kernel/sched/loadavg.o CC kernel/sched/clock.o CC kernel/sched/cputime.o CC kernel/sched/idle_task.o CC kernel/sched/fair.o CC kernel/sched/rt.o CC kernel/sched/deadline.o CC kernel/sched/stop_task.o CC kernel/bpf/percpu_freelist.o CC kernel/bpf/bpf_lru_list.o CC kernel/time/clockevents.o CC kernel/bpf/lpm_trie.o CC kernel/time/tick-common.o CC kernel/time/sched_clock.o CC kernel/sched/wait.o CC kernel/sched/swait.o CC kernel/time/tick-oneshot.o LD kernel/debug/built-in.o CC kernel/sched/completion.o LD kernel/rcu/built-in.o CC kernel/sched/idle.o CC kernel/bpf/stackmap.o CC kernel/bpf/cgroup.o CC kernel/time/tick-sched.o CC kernel/time/timekeeping_debug.o CC kernel/time/test_udelay.o LD kernel/sched/built-in.o LD kernel/irq/built-in.o LD kernel/time/built-in.o LD kernel/events/built-in.o LD kernel/bpf/built-in.o LD kernel/locking/built-in.o /home/kisskb/slave/src/kernel/cgroup.c: In function 'cgroup_mount': /home/kisskb/slave/src/kernel/cgroup.c:2251:23: warning: 'root' may be used uninitialized in this function [-Wuninitialized] LD kernel/built-in.o make[1]: *** wait: No child processes. Stop. Makefile:152: recipe for target 'sub-make' failed make: *** [sub-make] Error 2 Command 'make -j 48 ARCH=sh O=/home/kisskb/slave/build/linus_sh-randconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- ' returned non-zero exit status 2 # rm -rf /home/kisskb/slave/build/linus_sh-randconfig_sh4 # Build took: 0:00:11.282336