# 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-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < git log --format=%s --max-count=1 a5d4b5891c2f1f865a2def1eb0030f534e77ff86 # < make -s -j 20 ARCH=powerpc O=/kisskb/build/powerpc-fixes_85xx_sbc8548_defconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- 85xx/sbc8548_defconfig # make -s -j 20 ARCH=powerpc O=/kisskb/build/powerpc-fixes_85xx_sbc8548_defconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:183:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:251:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:231:19: note: 'i' was declared here INFO: Uncompressed kernel (size 0x458178) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) INFO: Uncompressed kernel (size 0x447b6c) 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 22:47:50 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2167902 Bytes = 2117.09 kB = 2.07 MB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.16.0-rc2-ga5d4b58 Created: Fri Mar 23 22:47:50 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2191577 Bytes = 2140.21 kB = 2.09 MB Load Address: 00500000 Entry Point: 00500248 Completed OK # rm -rf /kisskb/build/powerpc-fixes_85xx_sbc8548_defconfig_powerpc # Build took: 0:00:44.933642