# git rev-parse -q --verify f871bcb1c5a9888b433d57c8b41c71ab89e40c4f^{commit} f871bcb1c5a9888b433d57c8b41c71ab89e40c4f already have revision, skipping fetch # git checkout -q -f -B kisskb f871bcb1c5a9888b433d57c8b41c71ab89e40c4f # git clean -qxdf # < git log -1 # commit f871bcb1c5a9888b433d57c8b41c71ab89e40c4f # 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. # # 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] # 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 f871bcb1c5a9888b433d57c8b41c71ab89e40c4f # < make -s -j 10 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_smp_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_smp_defconfig # make -s -j 10 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_smp_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 0xbd960c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd960c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd960c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd960c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd960c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd960c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd960c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd960c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd960c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbc8e54) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) Image Name: Linux-4.16.0-rc2-gf871bcb Created: Fri Mar 23 18:26:56 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5818592 Bytes = 5682.22 kB = 5.55 MB Load Address: 00000000 Entry Point: 00000000 INFO: Uncompressed kernel (size 0xbd960c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) Image Name: Linux-4.16.0-rc2-gf871bcb Created: Fri Mar 23 18:26:56 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5842204 Bytes = 5705.28 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c0020c INFO: Uncompressed kernel (size 0xbd960c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) Image Name: Linux-4.16.0-rc2-gf871bcb Created: Fri Mar 23 18:26:56 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5841647 Bytes = 5704.73 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c0020c INFO: Uncompressed kernel (size 0xbd960c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) Image Name: Linux-4.16.0-rc2-gf871bcb Created: Fri Mar 23 18:26:57 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5843879 Bytes = 5706.91 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc2-gf871bcb Created: Fri Mar 23 18:26:57 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5843739 Bytes = 5706.78 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc2-gf871bcb Created: Fri Mar 23 18:26:57 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5842310 Bytes = 5705.38 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc2-gf871bcb Created: Fri Mar 23 18:26:57 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5842200 Bytes = 5705.27 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc2-gf871bcb Created: Fri Mar 23 18:26:56 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5841603 Bytes = 5704.69 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.16.0-rc2-gf871bcb Created: Fri Mar 23 18:26:57 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5844044 Bytes = 5707.07 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc2-gf871bcb Created: Fri Mar 23 18:26:57 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5841646 Bytes = 5704.73 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c0020c INFO: Uncompressed kernel (size 0xbd960c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd960c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd960c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) Image Name: Linux-4.16.0-rc2-gf871bcb Created: Fri Mar 23 18:26:59 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5842276 Bytes = 5705.35 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.16.0-rc2-gf871bcb Created: Fri Mar 23 18:26:59 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5841878 Bytes = 5704.96 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc2-gf871bcb Created: Fri Mar 23 18:27:00 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5841574 Bytes = 5704.66 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.16.0-rc2-gf871bcb Created: Fri Mar 23 18:27:00 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5842277 Bytes = 5705.35 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.16.0-rc2-gf871bcb Created: Fri Mar 23 18:27:00 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5841532 Bytes = 5704.62 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.16.0-rc2-gf871bcb Created: Fri Mar 23 18:27:00 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5841586 Bytes = 5704.67 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c0020c Completed OK # rm -rf /kisskb/build/powerpc-fixes_mpc85xx_smp_defconfig_powerpc-5.3 # Build took: 0:02:09.192518