# git rev-parse -q --verify b55129f97aeefd265314e12d98935330e011a14a^{commit} b55129f97aeefd265314e12d98935330e011a14a already have revision, skipping fetch # git checkout -q -f -B kisskb b55129f97aeefd265314e12d98935330e011a14a # git clean -qxdf # < git log -1 # commit b55129f97aeefd265314e12d98935330e011a14a # Author: Christophe Leroy # Date: Mon Jun 15 12:57:59 2020 +0000 # # powerpc/8xx: Provide ptep_get() with 16k pages # # READ_ONCE() now enforces atomic read, which leads to: # # CC mm/gup.o # In file included from ./include/linux/kernel.h:11:0, # from mm/gup.c:2: # In function 'gup_hugepte.constprop', # inlined from 'gup_huge_pd.isra.79' at mm/gup.c:2465:8: # ./include/linux/compiler.h:392:38: error: call to '__compiletime_assert_222' declared with attribute error: Unsupported access size for {READ,WRITE}_ONCE(). # _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) # ^ # ./include/linux/compiler.h:373:4: note: in definition of macro '__compiletime_assert' # prefix ## suffix(); \ # ^ # ./include/linux/compiler.h:392:2: note: in expansion of macro '_compiletime_assert' # _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) # ^ # ./include/linux/compiler.h:405:2: note: in expansion of macro 'compiletime_assert' # compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \ # ^ # ./include/linux/compiler.h:291:2: note: in expansion of macro 'compiletime_assert_rwonce_type' # compiletime_assert_rwonce_type(x); \ # ^ # mm/gup.c:2428:8: note: in expansion of macro 'READ_ONCE' # pte = READ_ONCE(*ptep); # ^ # In function 'gup_get_pte', # inlined from 'gup_pte_range' at mm/gup.c:2228:9, # inlined from 'gup_pmd_range' at mm/gup.c:2613:15, # inlined from 'gup_pud_range' at mm/gup.c:2641:15, # inlined from 'gup_p4d_range' at mm/gup.c:2666:15, # inlined from 'gup_pgd_range' at mm/gup.c:2694:15, # inlined from 'internal_get_user_pages_fast' at mm/gup.c:2795:3: # ./include/linux/compiler.h:392:38: error: call to '__compiletime_assert_219' declared with attribute error: Unsupported access size for {READ,WRITE}_ONCE(). # _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) # ^ # ./include/linux/compiler.h:373:4: note: in definition of macro '__compiletime_assert' # prefix ## suffix(); \ # ^ # ./include/linux/compiler.h:392:2: note: in expansion of macro '_compiletime_assert' # _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) # ^ # ./include/linux/compiler.h:405:2: note: in expansion of macro 'compiletime_assert' # compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \ # ^ # ./include/linux/compiler.h:291:2: note: in expansion of macro 'compiletime_assert_rwonce_type' # compiletime_assert_rwonce_type(x); \ # ^ # mm/gup.c:2199:9: note: in expansion of macro 'READ_ONCE' # return READ_ONCE(*ptep); # ^ # make[2]: *** [mm/gup.o] Error 1 # # Define ptep_get() on 8xx when using 16k pages. # # Fixes: 9e343b467c70 ("READ_ONCE: Enforce atomicity for {READ,WRITE}_ONCE() memory accesses") # Signed-off-by: Christophe Leroy # Acked-by: Will Deacon # Acked-by: Peter Zijlstra (Intel) # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/341688399c1b102756046d19ea6ce39db1ae4742.1592225558.git.christophe.leroy@csgroup.eu # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 b55129f97aeefd265314e12d98935330e011a14a # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_defconfig+KVM_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_defconfig # Added to kconfig CONFIG_PPC_E500MC=y # Added to kconfig CONFIG_VIRTUALIZATION=y # Added to kconfig CONFIG_KVM_E500MC=y # Added to kconfig # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_defconfig+KVM_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_defconfig+KVM_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:4107:warning: override: reassigning to symbol PPC_E500MC .config:4108:warning: override: reassigning to symbol VIRTUALIZATION # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_defconfig+KVM_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/include/linux/kernel.h:11, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:12, 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] 22 | #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO) | ^ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' 78 | # 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' 139 | if (IS_ERR_VALUE(fep->ring_mem_addr)) | ^~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/intel/e1000e/netdev.c:137:13: warning: 'e1000e_check_me' defined but not used [-Wunused-function] 137 | static bool e1000e_check_me(u16 device_id) | ^~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8541cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8555cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) INFO: Uncompressed kernel (size 0xe95790) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe95790) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe95790) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe95790) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe95790) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe95790) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe95790) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe95790) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe95790) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe95790) overlaps the address of the wrapper(0x400000) INFO: Uncompressed kernel (size 0xe95790) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe95790) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe95790) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe95790) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe95790) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe84f8c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) Image Name: Linux-5.8.0-rc1-31527-gb55129f97 Created: Fri Jun 19 00:11:10 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6816083 Bytes = 6656.33 KiB = 6.50 MiB Load Address: 00f00000 Entry Point: 00f002cc Image Name: Linux-5.8.0-rc1-31527-gb55129f97 Created: Fri Jun 19 00:11:10 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6782195 Bytes = 6623.24 KiB = 6.47 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.8.0-rc1-31527-gb55129f97 Created: Fri Jun 19 00:11:12 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6816471 Bytes = 6656.71 KiB = 6.50 MiB Load Address: 00f00000 Entry Point: 00f0031c Image Name: Linux-5.8.0-rc1-31527-gb55129f97 Created: Fri Jun 19 00:11:12 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6817866 Bytes = 6658.07 KiB = 6.50 MiB Load Address: 00f00000 Entry Point: 00f002cc Image Name: Linux-5.8.0-rc1-31527-gb55129f97 Created: Fri Jun 19 00:11:13 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6816243 Bytes = 6656.49 KiB = 6.50 MiB Load Address: 00f00000 Entry Point: 00f0031c Image Name: Linux-5.8.0-rc1-31527-gb55129f97 Created: Fri Jun 19 00:11:13 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6816254 Bytes = 6656.50 KiB = 6.50 MiB Load Address: 00f00000 Entry Point: 00f0031c Image Name: Linux-5.8.0-rc1-31527-gb55129f97 Created: Fri Jun 19 00:11:13 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6816244 Bytes = 6656.49 KiB = 6.50 MiB Load Address: 00f00000 Entry Point: 00f0031c Image Name: Linux-5.8.0-rc1-31527-gb55129f97 Created: Fri Jun 19 00:11:14 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6816305 Bytes = 6656.55 KiB = 6.50 MiB Load Address: 00f00000 Entry Point: 00f002cc Image Name: Linux-5.8.0-rc1-31527-gb55129f97 Created: Fri Jun 19 00:11:14 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6816055 Bytes = 6656.30 KiB = 6.50 MiB Load Address: 00f00000 Entry Point: 00f002cc Image Name: Linux-5.8.0-rc1-31527-gb55129f97 Created: Fri Jun 19 00:11:14 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6817912 Bytes = 6658.12 KiB = 6.50 MiB Load Address: 00f00000 Entry Point: 00f002cc Image Name: Linux-5.8.0-rc1-31527-gb55129f97 Created: Fri Jun 19 00:11:14 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6817355 Bytes = 6657.57 KiB = 6.50 MiB Load Address: 00f00000 Entry Point: 00f0031c Image Name: Linux-5.8.0-rc1-31527-gb55129f97 Created: Fri Jun 19 00:11:14 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6816230 Bytes = 6656.47 KiB = 6.50 MiB Load Address: 00f00000 Entry Point: 00f002cc Image Name: Linux-5.8.0-rc1-31527-gb55129f97 Created: Fri Jun 19 00:11:14 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6816666 Bytes = 6656.90 KiB = 6.50 MiB Load Address: 00f00000 Entry Point: 00f002cc Image Name: Linux-5.8.0-rc1-31527-gb55129f97 Created: Fri Jun 19 00:11:14 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6817787 Bytes = 6658.00 KiB = 6.50 MiB Load Address: 00f00000 Entry Point: 00f002cc Image Name: Linux-5.8.0-rc1-31527-gb55129f97 Created: Fri Jun 19 00:11:15 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6817814 Bytes = 6658.02 KiB = 6.50 MiB Load Address: 00f00000 Entry Point: 00f002cc Image Name: Linux-5.8.0-rc1-31527-gb55129f97 Created: Fri Jun 19 00:11:15 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6817222 Bytes = 6657.44 KiB = 6.50 MiB Load Address: 00f00000 Entry Point: 00f002cc Completed OK # rm -rf /kisskb/build/powerpc-fixes_mpc85xx_defconfig+KVM_powerpc-gcc9 # Build took: 0:02:35.051271