# git rev-parse -q --verify f005de0183de4c3df509f7a437a04774461f4c02^{commit} f005de0183de4c3df509f7a437a04774461f4c02 already have revision, skipping fetch # git checkout -q -f -B kisskb f005de0183de4c3df509f7a437a04774461f4c02 # git clean -qxdf # < git log -1 # commit f005de0183de4c3df509f7a437a04774461f4c02 # Merge: 900915f9036f 7e0cf1c983b5 # Author: Greg Kroah-Hartman # Date: Fri Sep 28 17:43:32 2018 -0700 # # Merge tag 'powerpc-4.19-3' of https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux # # Michael writes: # "powerpc fixes for 4.19 #3 # # A reasonably big batch of fixes due to me being away for a few weeks. # # A fix for the TM emulation support on Power9, which could result in # corrupting the guest r11 when running under KVM. # # Two fixes to the TM code which could lead to userspace GPR corruption # if we take an SLB miss at exactly the wrong time. # # Our dynamic patching code had a bug that meant we could patch freed # __init text, which could lead to corrupting userspace memory. # # csum_ipv6_magic() didn't work on little endian platforms since we # optimised it recently. # # A fix for an endian bug when reading a device tree property telling # us how many storage keys the machine has available. # # Fix a crash seen on some configurations of PowerVM when migrating the # partition from one machine to another. # # A fix for a regression in the setup of our CPU to NUMA node mapping # in KVM guests. # # A fix to our selftest Makefiles to make them work since a recent # change to the shared Makefile logic." # # * tag 'powerpc-4.19-3' of https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux: # selftests/powerpc: Fix Makefiles for headers_install change # powerpc/numa: Use associativity if VPHN hcall is successful # powerpc/tm: Avoid possible userspace r1 corruption on reclaim # powerpc/tm: Fix userspace r13 corruption # powerpc/pseries: Fix unitialized timer reset on migration # powerpc/pkeys: Fix reading of ibm, processor-storage-keys property # powerpc: fix csum_ipv6_magic() on little endian platforms # powerpc/powernv/ioda2: Reduce upper limit for DMA window size (again) # powerpc: Avoid code patching freed init sections # KVM: PPC: Book3S HV: Fix guest r11 corruption with POWER9 TM workarounds # < /opt/cross/kisskb/arcompact-buildroot-2015.08.1/bin/arc-buildroot-linux-uclibc-gcc --version # < git log --format=%s --max-count=1 f005de0183de4c3df509f7a437a04774461f4c02 # < make -s -j 48 ARCH=arc O=/kisskb/build/linus_axs101_defconfig_arcompact CROSS_COMPILE=/opt/cross/kisskb/arcompact-buildroot-2015.08.1/bin/arc-buildroot-linux-uclibc- axs101_defconfig # Added to kconfig CONFIG_INITRAMFS_SOURCE="" # yes \n | make -s -j 48 ARCH=arc O=/kisskb/build/linus_axs101_defconfig_arcompact CROSS_COMPILE=/opt/cross/kisskb/arcompact-buildroot-2015.08.1/bin/arc-buildroot-linux-uclibc- oldconfig yes: standard output: Broken pipe # make -s -j 48 ARCH=arc O=/kisskb/build/linus_axs101_defconfig_arcompact CROSS_COMPILE=/opt/cross/kisskb/arcompact-buildroot-2015.08.1/bin/arc-buildroot-linux-uclibc- In file included from /kisskb/src/include/asm-generic/bug.h:18:0, from /kisskb/src/arch/arc/include/asm/bug.h:32, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/gfp.h:5, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/mm/nobootmem.c:14: /kisskb/src/mm/nobootmem.c: In function '__free_pages_memory': /kisskb/src/include/linux/kernel.h:845:29: warning: comparison of distinct pointer types lacks a cast [enabled by default] (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:859:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^ /kisskb/src/include/linux/kernel.h:869:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^ /kisskb/src/include/linux/kernel.h:878:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^ /kisskb/src/mm/nobootmem.c:104:11: note: in expansion of macro 'min' order = min(MAX_ORDER - 1UL, __ffs(start)); ^ In file included from /kisskb/src/arch/arc/include/asm/atomic.h:16:0, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/lock.h:5, from /kisskb/src/arch/arc/include/asm/bitops.h:429, from /kisskb/src/include/linux/bitops.h:19, from /kisskb/src/include/linux/kernel.h:11, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:9, from /kisskb/src/net/core/filter.c:24: /kisskb/src/net/core/filter.c: In function 'bpf_clear_redirect_map': /kisskb/src/arch/arc/include/asm/cmpxchg.h:95:29: warning: value computed is not used [-Wunused-value] #define cmpxchg(ptr, o, n) ((typeof(*(ptr)))__cmpxchg((ptr), \ ^ /kisskb/src/net/core/filter.c:3268:4: note: in expansion of macro 'cmpxchg' cmpxchg(&ri->map, map, NULL); ^ /kisskb/src/net/ipv4/tcp_input.c: In function 'tcp_data_queue': /kisskb/src/net/ipv4/tcp_input.c:4319:49: warning: array subscript is above array bounds [-Warray-bounds] tp->selective_acks[i-1] = tp->selective_acks[i]; ^ Completed OK # rm -rf /kisskb/build/linus_axs101_defconfig_arcompact # Build took: 0:00:48.173462