# 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_85xx_tqm8560_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 85xx/tqm8560_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_85xx_tqm8560_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0x4d4984) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) INFO: Uncompressed kernel (size 0x4c42d8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) Image Name: Linux-4.16.0-rc2-ga5d4b58 Created: Fri Mar 23 23:44:10 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2470119 Bytes = 2412.23 kB = 2.36 MB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.16.0-rc2-ga5d4b58 Created: Fri Mar 23 23:44:10 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2494172 Bytes = 2435.71 kB = 2.38 MB Load Address: 00500000 Entry Point: 00500278 Completed OK # rm -rf /kisskb/build/powerpc-fixes_85xx_tqm8560_defconfig_powerpc-5.3 # Build took: 0:00:23.964647