# 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 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_44x_warp_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 44x/warp_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_44x_warp_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0x61b6ec) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) Image Name: Linux-4.16.0-rc2-pika+ Created: Fri Mar 23 23:49:22 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3028904 Bytes = 2957.91 kB = 2.89 MB Load Address: 00700000 Entry Point: 007010f8 Completed OK # rm -rf /kisskb/build/powerpc-fixes_44x_warp_defconfig_powerpc-5.3 # Build took: 0:00:38.603923