# 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_mpc85xx_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/include/linux/kernel.h:10:0, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:9, from /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:15: /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/include/linux/err.h:22:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO) ^ /kisskb/src/include/linux/compiler.h:77:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: note: in expansion of macro 'IS_ERR_VALUE' if (IS_ERR_VALUE(fep->ring_mem_addr)) ^ INFO: Uncompressed kernel (size 0xb4d6e8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb4d6e8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb4d6e8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb4d6e8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb4d6e8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb4d6e8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb4d6e8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb4d6e8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb4d6e8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb4d6e8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb4d6e8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb4d6e8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb4d6e8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb4d6e8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb4d6e8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb3cf30) 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 23:22:26 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5563371 Bytes = 5432.98 kB = 5.31 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc2-ga5d4b58 Created: Fri Mar 23 23:22:26 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5562599 Bytes = 5432.23 kB = 5.30 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc2-ga5d4b58 Created: Fri Mar 23 23:22:26 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5561953 Bytes = 5431.59 kB = 5.30 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.16.0-rc2-ga5d4b58 Created: Fri Mar 23 23:22:26 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5562596 Bytes = 5432.22 kB = 5.30 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc2-ga5d4b58 Created: Fri Mar 23 23:22:26 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5562607 Bytes = 5432.23 kB = 5.30 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.16.0-rc2-ga5d4b58 Created: Fri Mar 23 23:22:26 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5561921 Bytes = 5431.56 kB = 5.30 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc2-ga5d4b58 Created: Fri Mar 23 23:22:26 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5563051 Bytes = 5432.67 kB = 5.31 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc2-ga5d4b58 Created: Fri Mar 23 23:22:26 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5562606 Bytes = 5432.23 kB = 5.30 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.16.0-rc2-ga5d4b58 Created: Fri Mar 23 23:22:26 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5563324 Bytes = 5432.93 kB = 5.31 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc2-ga5d4b58 Created: Fri Mar 23 23:22:26 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5561951 Bytes = 5431.59 kB = 5.30 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.16.0-rc2-ga5d4b58 Created: Fri Mar 23 23:22:26 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5538316 Bytes = 5408.51 kB = 5.28 MB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.16.0-rc2-ga5d4b58 Created: Fri Mar 23 23:22:26 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5563450 Bytes = 5433.06 kB = 5.31 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc2-ga5d4b58 Created: Fri Mar 23 23:22:26 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5562566 Bytes = 5432.19 kB = 5.30 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.16.0-rc2-ga5d4b58 Created: Fri Mar 23 23:22:26 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5562593 Bytes = 5432.22 kB = 5.30 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc2-ga5d4b58 Created: Fri Mar 23 23:22:26 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5563614 Bytes = 5433.22 kB = 5.31 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc2-ga5d4b58 Created: Fri Mar 23 23:22:26 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5561996 Bytes = 5431.64 kB = 5.30 MB Load Address: 00c00000 Entry Point: 00c0020c Completed OK # rm -rf /kisskb/build/powerpc-fixes_mpc85xx_defconfig_powerpc-5.3 # Build took: 0:01:10.559120