# 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 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_smp_defconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- mpc85xx_smp_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_smp_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/kernel/cgroup/cgroup-v1.c: In function 'cgroup1_mount': /kisskb/src/kernel/cgroup/cgroup-v1.c:1268:20: warning: 'root' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/mm/hugetlb.c: In function 'alloc_pool_huge_page': /kisskb/src/mm/hugetlb.c:1439:5: warning: 'page' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/wm8960.c: In function 'wm8960_configure_clocking': /kisskb/src/sound/soc/codecs/wm8960.c:803:56: warning: 'j' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/wm8960.c:800:54: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] /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 0xbe1368) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbe1368) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbe1368) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbe1368) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbe1368) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbe1368) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbe1368) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbe1368) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbe1368) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbe1368) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbe1368) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbe1368) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbe1368) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbe1368) overlaps the address of the wrapper(0x400000) INFO: Uncompressed kernel (size 0xbe1368) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Fixing the link_address of wrapper to (0xc00000) Image Name: Linux-4.16.0-rc2-ga5d4b58 Created: Fri Mar 23 22:46:13 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5762628 Bytes = 5627.57 kB = 5.50 MB Load Address: 00c00000 Entry Point: 00c00248 INFO: Uncompressed kernel (size 0xbd0be4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) Image Name: Linux-4.16.0-rc2-ga5d4b58 Created: Fri Mar 23 22:46:14 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5737984 Bytes = 5603.50 kB = 5.47 MB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.16.0-rc2-ga5d4b58 Created: Fri Mar 23 22:46:14 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5761331 Bytes = 5626.30 kB = 5.49 MB Load Address: 00c00000 Entry Point: 00c00248 Image Name: Linux-4.16.0-rc2-ga5d4b58 Created: Fri Mar 23 22:46:14 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5762451 Bytes = 5627.39 kB = 5.50 MB Load Address: 00c00000 Entry Point: 00c00248 Image Name: Linux-4.16.0-rc2-ga5d4b58 Created: Fri Mar 23 22:46:14 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5761267 Bytes = 5626.24 kB = 5.49 MB Load Address: 00c00000 Entry Point: 00c00248 Image Name: Linux-4.16.0-rc2-ga5d4b58 Created: Fri Mar 23 22:46:14 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5761306 Bytes = 5626.28 kB = 5.49 MB Load Address: 00c00000 Entry Point: 00c00288 Image Name: Linux-4.16.0-rc2-ga5d4b58 Created: Fri Mar 23 22:46:14 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5761318 Bytes = 5626.29 kB = 5.49 MB Load Address: 00c00000 Entry Point: 00c00248 Image Name: Linux-4.16.0-rc2-ga5d4b58 Created: Fri Mar 23 22:46:14 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5761328 Bytes = 5626.30 kB = 5.49 MB Load Address: 00c00000 Entry Point: 00c00248 Image Name: Linux-4.16.0-rc2-ga5d4b58 Created: Fri Mar 23 22:46:15 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5761707 Bytes = 5626.67 kB = 5.49 MB Load Address: 00c00000 Entry Point: 00c00288 Image Name: Linux-4.16.0-rc2-ga5d4b58 Created: Fri Mar 23 22:46:15 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5761286 Bytes = 5626.26 kB = 5.49 MB Load Address: 00c00000 Entry Point: 00c00288 Image Name: Linux-4.16.0-rc2-ga5d4b58 Created: Fri Mar 23 22:46:15 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5762273 Bytes = 5627.22 kB = 5.50 MB Load Address: 00c00000 Entry Point: 00c00248 Image Name: Linux-4.16.0-rc2-ga5d4b58 Created: Fri Mar 23 22:46:15 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5761271 Bytes = 5626.24 kB = 5.49 MB Load Address: 00c00000 Entry Point: 00c00248 Image Name: Linux-4.16.0-rc2-ga5d4b58 Created: Fri Mar 23 22:46:15 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5762365 Bytes = 5627.31 kB = 5.50 MB Load Address: 00c00000 Entry Point: 00c00248 Image Name: Linux-4.16.0-rc2-ga5d4b58 Created: Fri Mar 23 22:46:15 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5761287 Bytes = 5626.26 kB = 5.49 MB Load Address: 00c00000 Entry Point: 00c00288 Image Name: Linux-4.16.0-rc2-ga5d4b58 Created: Fri Mar 23 22:46:15 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5761081 Bytes = 5626.06 kB = 5.49 MB Load Address: 00c00000 Entry Point: 00c00288 Image Name: Linux-4.16.0-rc2-ga5d4b58 Created: Fri Mar 23 22:46:15 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5762796 Bytes = 5627.73 kB = 5.50 MB Load Address: 00c00000 Entry Point: 00c00248 Completed OK # rm -rf /kisskb/build/powerpc-fixes_mpc85xx_smp_defconfig_powerpc # Build took: 0:03:41.210644