# git rev-parse -q --verify a5d4b5891c2f1f865a2def1eb0030f534e77ff86^{commit} a5d4b5891c2f1f865a2def1eb0030f534e77ff86 already have revision, skipping fetch # git checkout -q -f -B kisskb a5d4b5891c2f1f865a2def1eb0030f534e77ff86 # git clean -qxdf # < git log -1 # commit a5d4b5891c2f1f865a2def1eb0030f534e77ff86 # Author: Aneesh Kumar K.V # Date: Fri Mar 23 10:26:27 2018 +0530 # # powerpc/mm: Fixup tlbie vs store ordering issue on POWER9 # # On POWER9, under some circumstances, a broadcast TLB invalidation # might complete before all previous stores have drained, potentially # allowing stale stores from becoming visible after the invalidation. # This works around it by doubling up those TLB invalidations which was # verified by HW to be sufficient to close the risk window. # # This will be documented in a yet-to-be-published errata. # # Fixes: 1a472c9dba6b ("powerpc/mm/radix: Add tlbflush routines") # Signed-off-by: Aneesh Kumar K.V # [mpe: Enable the feature in the DT CPU features code for all Power9, # rename the feature to CPU_FTR_P9_TLBIE_BUG per benh.] # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 a5d4b5891c2f1f865a2def1eb0030f534e77ff86 # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64_defconfig+NO_ALTIVEC_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64_defconfig # Added to kconfig CONFIG_ALTIVEC=n # Added to kconfig CONFIG_PPC_TRANSACTIONAL_MEM=n # yes \n | make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64_defconfig+NO_ALTIVEC_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- oldconfig yes: standard output: Broken pipe yes: write error # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64_defconfig+NO_ALTIVEC_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/kvm/powerpc.c: In function 'kvm_arch_vcpu_ioctl_run': /kisskb/src/arch/powerpc/kvm/powerpc.c:1611:1: error: label 'out' defined but not used [-Werror=unused-label] out: ^ cc1: all warnings being treated as errors /kisskb/src/scripts/Makefile.build:316: recipe for target 'arch/powerpc/kvm/powerpc.o' failed make[2]: *** [arch/powerpc/kvm/powerpc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... /kisskb/src/Makefile:1048: recipe for target 'arch/powerpc/kvm' failed make[1]: *** [arch/powerpc/kvm] Error 2 make[1]: *** Waiting for unfinished jobs.... Makefile:146: recipe for target 'sub-make' failed make: *** [sub-make] Error 2 Command 'make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64_defconfig+NO_ALTIVEC_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-fixes_ppc64_defconfig+NO_ALTIVEC_powerpc-5.3 # Build took: 0:02:41.807325