# git rev-parse -q --verify f4b936f5d6fd0625a78a7b4b92e98739a2bdb6f7^{commit} f4b936f5d6fd0625a78a7b4b92e98739a2bdb6f7 already have revision, skipping fetch # git checkout -q -f -B kisskb f4b936f5d6fd0625a78a7b4b92e98739a2bdb6f7 # git clean -qxdf # < git log -1 # commit f4b936f5d6fd0625a78a7b4b92e98739a2bdb6f7 # Merge: 48da33058975 2279f540ea7d # Author: Linus Torvalds # Date: Sun Nov 22 13:26:07 2020 -0800 # # Merge tag 'sched-urgent-2020-11-22' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip # # Pull scheduler fixes from Thomas Gleixner: # "A couple of scheduler fixes: # # - Make the conditional update of the overutilized state work # correctly by caching the relevant flags state before overwriting # them and checking them afterwards. # # - Fix a data race in the wakeup path which caused loadavg on ARM64 # platforms to become a random number generator. # # - Fix the ordering of the iowaiter accounting operations so it can't # be decremented before it is incremented. # # - Fix a bug in the deadline scheduler vs. priority inheritance when a # non-deadline task A has inherited the parameters of a deadline task # B and then blocks on a non-deadline task C. # # The second inheritance step used the static deadline parameters of # task A, which are usually 0, instead of further propagating task # B's parameters. The zero initialized parameters trigger a bug in # the deadline scheduler" # # * tag 'sched-urgent-2020-11-22' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: # sched/deadline: Fix priority inheritance with multiple scheduling classes # sched: Fix rq->nr_iowait ordering # sched: Fix data-race in wakeup # sched/fair: Fix overutilized update in enqueue_task_fair() # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 f4b936f5d6fd0625a78a7b4b92e98739a2bdb6f7 # < make -s -j 8 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- randconfig KCONFIG_SEED=0x4D058B6E # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_CPU_BIG_ENDIAN=y # Added to kconfig CONFIG_PPC64=y # Added to kconfig CONFIG_PPC_DISABLE_WERROR=y # Added to kconfig CONFIG_SECTION_MISMATCH_WARN_ONLY=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_LD_HEAD_STUB_CATCH=y # Added to kconfig CONFIG_TRIM_UNUSED_KSYMS=n # Added to kconfig CONFIG_UBSAN=n # < make -s -j 8 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 8 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:5242:warning: override: reassigning to symbol STANDALONE .config:5245:warning: override: reassigning to symbol CPU_BIG_ENDIAN .config:5245:warning: override: CPU_BIG_ENDIAN changes choice state .config:5247:warning: override: reassigning to symbol PPC_DISABLE_WERROR .config:5252:warning: override: reassigning to symbol LD_HEAD_STUB_CATCH # make -s -j 8 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:305:0, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu.h:31, from /kisskb/src/arch/powerpc/include/asm/mmu.h:369, from /kisskb/src/arch/powerpc/include/asm/lppaca.h:46, from /kisskb/src/arch/powerpc/include/asm/paca.h:17, from /kisskb/src/arch/powerpc/include/asm/current.h:13, from /kisskb/src/include/linux/thread_info.h:21, from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/ipc.h:5, from /kisskb/src/include/uapi/linux/sem.h:5, from /kisskb/src/include/linux/sem.h:5, from /kisskb/src/include/linux/compat.h:14, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:14: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable-64k.h: In function 'get_hugepd_cache_index': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable-64k.h:60:1: error: no return statement in function returning non-void [-Werror=return-type] } ^ In file included from /kisskb/src/arch/powerpc/include/asm/kup.h:18:0, from /kisskb/src/arch/powerpc/include/asm/uaccess.h:9, from /kisskb/src/include/linux/uaccess.h:11, from /kisskb/src/include/linux/sched/task.h:11, from /kisskb/src/include/linux/sched/signal.h:9, from /kisskb/src/include/linux/rcuwait.h:6, from /kisskb/src/include/linux/percpu-rwsem.h:7, from /kisskb/src/include/linux/fs.h:33, from /kisskb/src/include/linux/compat.h:17, from /kisskb/src/arch/powerpc/kernel/asm-offsets.c:14: /kisskb/src/arch/powerpc/include/asm/book3s/64/kup-radix.h: At top level: /kisskb/src/arch/powerpc/include/asm/book3s/64/kup-radix.h:66:1: warning: data definition has no type or storage class DECLARE_STATIC_KEY_FALSE(uaccess_flush_key); ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/kup-radix.h:66:1: error: type defaults to 'int' in declaration of 'DECLARE_STATIC_KEY_FALSE' [-Werror=implicit-int] /kisskb/src/arch/powerpc/include/asm/book3s/64/kup-radix.h:66:1: warning: parameter names (without types) in function declaration /kisskb/src/arch/powerpc/include/asm/book3s/64/kup-radix.h: In function 'prevent_user_access': /kisskb/src/arch/powerpc/include/asm/book3s/64/kup-radix.h:180:2: error: implicit declaration of function 'static_branch_unlikely' [-Werror=implicit-function-declaration] if (static_branch_unlikely(&uaccess_flush_key)) ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/kup-radix.h:180:30: error: 'uaccess_flush_key' undeclared (first use in this function) if (static_branch_unlikely(&uaccess_flush_key)) ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/kup-radix.h:180:30: note: each undeclared identifier is reported only once for each function it appears in /kisskb/src/arch/powerpc/include/asm/book3s/64/kup-radix.h: In function 'prevent_user_access_return': /kisskb/src/arch/powerpc/include/asm/book3s/64/kup-radix.h:189:30: error: 'uaccess_flush_key' undeclared (first use in this function) if (static_branch_unlikely(&uaccess_flush_key)) ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/kup-radix.h: In function 'restore_user_access': /kisskb/src/arch/powerpc/include/asm/book3s/64/kup-radix.h:198:30: error: 'uaccess_flush_key' undeclared (first use in this function) if (static_branch_unlikely(&uaccess_flush_key) && flags == AMR_KUAP_BLOCKED) ^ cc1: some warnings being treated as errors make[2]: *** [/kisskb/src/scripts/Makefile.build:117: arch/powerpc/kernel/asm-offsets.s] Error 1 make[1]: *** [/kisskb/src/Makefile:1200: prepare0] Error 2 make: *** [Makefile:185: __sub-make] Error 2 Command 'make -s -j 8 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc4.9 # Build took: 0:00:08.917454