Tree/Branch: next-20160225 Git describe: next-20160225 Commit: 6cbc4fe7dd Add linux-next specific files for 20160225
Build Time: 93 min 8 sec
Passed: 7 / 9 ( 77.78 %) Failed: 2 / 9 ( 22.22 %)
Errors: 9 Warnings: 44 Section Mismatches: 0
Failed defconfigs: arm64-allmodconfig arm64-defconfig
Errors:
arm64-allmodconfig ../arch/arm64/mm/hugetlbpage.c:127:42: error: macro "pte_alloc_map" passed 4 arguments, but takes just 3 ../arch/arm64/mm/hugetlbpage.c:127:9: error: 'pte_alloc_map' undeclared (first use in this function) ../drivers/pci/host/pci-mvebu.c:755:12: error: dereferencing pointer to incomplete type 'struct pci_sys_data' ../drivers/pci/host/pci-mvebu.c:855:31: error: dereferencing pointer to incomplete type 'struct pci_sys_data' ../drivers/pci/host/pci-mvebu.c:904:16: error: storage size of 'hw' isn't known ../drivers/pci/host/pci-mvebu.c:919:2: error: implicit declaration of function 'pci_common_init_dev' [-Werror=implicit-function-declaration] ../drivers/pci/host/pci-mvebu.c:1282:3: error: implicit declaration of function 'pci_ioremap_io' [-Werror=implicit-function-declaration] ../drivers/watchdog/orion_wdt.c:109:2: error: implicit declaration of function 'atomic_io_modify' [-Werror=implicit-function-declaration]
arm64-defconfig ../arch/arm64/mm/hugetlbpage.c:127:42: error: macro "pte_alloc_map" passed 4 arguments, but takes just 3 ../arch/arm64/mm/hugetlbpage.c:127:9: error: 'pte_alloc_map' undeclared (first use in this function)
------------------------------------------------------------------------------- defconfigs with issues (other than build errors): 74 warnings 0 mismatches : arm64-allmodconfig 2 warnings 0 mismatches : arm-multi_v5_defconfig 2 warnings 0 mismatches : arm-multi_v7_defconfig 9 warnings 0 mismatches : arm-allmodconfig 1 warnings 0 mismatches : arm-allnoconfig 1 warnings 0 mismatches : arm64-defconfig
-------------------------------------------------------------------------------
Errors summary: 9 4 drivers/gpio/Kconfig:34:error: recursive dependency detected! 2 ../arch/arm64/mm/hugetlbpage.c:127:9: error: 'pte_alloc_map' undeclared (first use in this function) 2 ../arch/arm64/mm/hugetlbpage.c:127:42: error: macro "pte_alloc_map" passed 4 arguments, but takes just 3 1 ../drivers/watchdog/orion_wdt.c:109:2: error: implicit declaration of function 'atomic_io_modify' [-Werror=implicit-function-declaration] 1 ../drivers/pci/host/pci-mvebu.c:919:2: error: implicit declaration of function 'pci_common_init_dev' [-Werror=implicit-function-declaration] 1 ../drivers/pci/host/pci-mvebu.c:904:16: error: storage size of 'hw' isn't known 1 ../drivers/pci/host/pci-mvebu.c:855:31: error: dereferencing pointer to incomplete type 'struct pci_sys_data' 1 ../drivers/pci/host/pci-mvebu.c:755:12: error: dereferencing pointer to incomplete type 'struct pci_sys_data' 1 ../drivers/pci/host/pci-mvebu.c:1282:3: error: implicit declaration of function 'pci_ioremap_io' [-Werror=implicit-function-declaration]
Warnings Summary: 44 7 <stdin>:1310:2: warning: #warning syscall madvisev not implemented [-Wcpp] 6 ../include/trace/events/page_ref.h:97:18: warning: 'struct page' declared inside parameter list 6 ../include/trace/events/page_ref.h:54:18: warning: 'struct page' declared inside parameter list 6 ../include/trace/events/page_ref.h:47:18: warning: 'struct page' declared inside parameter list 6 ../include/trace/events/page_ref.h:125:18: warning: 'struct page' declared inside parameter list 6 ../include/trace/events/page_ref.h:118:18: warning: 'struct page' declared inside parameter list 6 ../include/trace/events/page_ref.h:111:18: warning: 'struct page' declared inside parameter list 6 ../include/trace/events/page_ref.h:104:18: warning: 'struct page' declared inside parameter list 4 ../include/linux/kern_levels.h:4:18: warning: field width specifier '*' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 2 ../arch/arm64/mm/hugetlbpage.c:117:10: warning: unused variable 'pmd' [-Wunused-variable] 1 ../mm/debug_page_ref.c:8:21: warning: passing argument 1 of 'trace_page_ref_set' from incompatible pointer type [-Wincompatible-pointer-types] 1 ../mm/debug_page_ref.c:50:26: warning: passing argument 1 of 'trace_page_ref_unfreeze' from incompatible pointer type [-Wincompatible-pointer-types] 1 ../mm/debug_page_ref.c:43:24: warning: passing argument 1 of 'trace_page_ref_freeze' from incompatible pointer type [-Wincompatible-pointer-types] 1 ../mm/debug_page_ref.c:36:28: warning: passing argument 1 of 'trace_page_ref_mod_unless' from incompatible pointer type [-Wincompatible-pointer-types] 1 ../mm/debug_page_ref.c:29:32: warning: passing argument 1 of 'trace_page_ref_mod_and_return' from incompatible pointer type [-Wincompatible-pointer-types] 1 ../mm/debug_page_ref.c:22:30: warning: passing argument 1 of 'trace_page_ref_mod_and_test' from incompatible pointer type [-Wincompatible-pointer-types] 1 ../mm/debug_page_ref.c:15:21: warning: passing argument 1 of 'trace_page_ref_mod' from incompatible pointer type [-Wincompatible-pointer-types] 1 ../lib/lz4/lz4hc_compress.c:514:1: warning: the frame size of 1472 bytes is larger than 1024 bytes [-Wframe-larger-than=] 1 ../include/trace/trace_events.h:703:35: warning: passing argument 1 of 'check_trace_callback_type_page_ref_unfreeze' from incompatible pointer type [-Wincompatible-pointer-types] 1 ../include/trace/trace_events.h:703:35: warning: passing argument 1 of 'check_trace_callback_type_page_ref_set' from incompatible pointer type [-Wincompatible-pointer-types] 1 ../include/trace/trace_events.h:703:35: warning: passing argument 1 of 'check_trace_callback_type_page_ref_mod_unless' from incompatible pointer type [-Wincompatible-pointer-types] 1 ../include/trace/trace_events.h:703:35: warning: passing argument 1 of 'check_trace_callback_type_page_ref_mod_and_test' from incompatible pointer type [-Wincompatible-pointer-types] 1 ../include/trace/trace_events.h:703:35: warning: passing argument 1 of 'check_trace_callback_type_page_ref_mod_and_return' from incompatible pointer type [-Wincompatible-pointer-types] 1 ../include/trace/trace_events.h:703:35: warning: passing argument 1 of 'check_trace_callback_type_page_ref_mod' from incompatible pointer type [-Wincompatible-pointer-types] 1 ../include/trace/trace_events.h:703:35: warning: passing argument 1 of 'check_trace_callback_type_page_ref_freeze' from incompatible pointer type [-Wincompatible-pointer-types] 1 ../include/trace/perf.h:83:35: warning: passing argument 1 of 'check_trace_callback_type_page_ref_unfreeze' from incompatible pointer type [-Wincompatible-pointer-types] 1 ../include/trace/perf.h:83:35: warning: passing argument 1 of 'check_trace_callback_type_page_ref_set' from incompatible pointer type [-Wincompatible-pointer-types] 1 ../include/trace/perf.h:83:35: warning: passing argument 1 of 'check_trace_callback_type_page_ref_mod_unless' from incompatible pointer type [-Wincompatible-pointer-types] 1 ../include/trace/perf.h:83:35: warning: passing argument 1 of 'check_trace_callback_type_page_ref_mod_and_test' from incompatible pointer type [-Wincompatible-pointer-types] 1 ../include/trace/perf.h:83:35: warning: passing argument 1 of 'check_trace_callback_type_page_ref_mod_and_return' from incompatible pointer type [-Wincompatible-pointer-types] 1 ../include/trace/perf.h:83:35: warning: passing argument 1 of 'check_trace_callback_type_page_ref_mod' from incompatible pointer type [-Wincompatible-pointer-types] 1 ../include/trace/perf.h:83:35: warning: passing argument 1 of 'check_trace_callback_type_page_ref_freeze' from incompatible pointer type [-Wincompatible-pointer-types] 1 ../include/trace/events/page_ref.h:47:18: warning: its scope is only this definition or declaration, which is probably not what you want 1 ../include/asm-generic/div64.h:224:22: warning: passing argument 1 of '__div64_32' from incompatible pointer type [-Wincompatible-pointer-types] 1 ../include/asm-generic/div64.h:220:25: warning: right shift count >= width of type [-Wshift-count-overflow] 1 ../include/asm-generic/div64.h:207:28: warning: comparison of distinct pointer types lacks a cast 1 ../drivers/pci/host/pci-mvebu.c:904:16: warning: unused variable 'hw' [-Wunused-variable] 1 ../drivers/pci/host/pci-mvebu.c:841:40: warning: passing argument 1 of 'sys_to_pcie' from incompatible pointer type [-Wincompatible-pointer-types] 1 ../drivers/pci/host/pci-mvebu.c:839:44: warning: 'struct pci_sys_data' declared inside parameter list 1 ../drivers/pci/host/pci-mvebu.c:753:53: warning: its scope is only this definition or declaration, which is probably not what you want 1 ../drivers/pci/host/pci-mvebu.c:753:53: warning: 'struct pci_sys_data' declared inside parameter list 1 ../drivers/ntb/test/ntb_perf.c:214:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1 ../drivers/ntb/test/ntb_perf.c:213:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1 ../drivers/mtd/chips/cfi_cmdset_0020.c:651:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
=============================================================================== Detailed per-defconfig build reports below:
------------------------------------------------------------------------------- arm64-allmodconfig : FAIL, 8 errors, 74 warnings, 0 section mismatches
Errors: ../arch/arm64/mm/hugetlbpage.c:127:42: error: macro "pte_alloc_map" passed 4 arguments, but takes just 3 ../arch/arm64/mm/hugetlbpage.c:127:9: error: 'pte_alloc_map' undeclared (first use in this function) ../drivers/pci/host/pci-mvebu.c:755:12: error: dereferencing pointer to incomplete type 'struct pci_sys_data' ../drivers/pci/host/pci-mvebu.c:855:31: error: dereferencing pointer to incomplete type 'struct pci_sys_data' ../drivers/pci/host/pci-mvebu.c:904:16: error: storage size of 'hw' isn't known ../drivers/pci/host/pci-mvebu.c:919:2: error: implicit declaration of function 'pci_common_init_dev' [-Werror=implicit-function-declaration] ../drivers/pci/host/pci-mvebu.c:1282:3: error: implicit declaration of function 'pci_ioremap_io' [-Werror=implicit-function-declaration] ../drivers/watchdog/orion_wdt.c:109:2: error: implicit declaration of function 'atomic_io_modify' [-Werror=implicit-function-declaration]
Warnings: ../arch/arm64/mm/hugetlbpage.c:117:10: warning: unused variable 'pmd' [-Wunused-variable] ../include/trace/events/page_ref.h:47:18: warning: 'struct page' declared inside parameter list ../include/trace/events/page_ref.h:47:18: warning: its scope is only this definition or declaration, which is probably not what you want ../include/trace/events/page_ref.h:47:18: warning: 'struct page' declared inside parameter list ../include/trace/events/page_ref.h:47:18: warning: 'struct page' declared inside parameter list ../include/trace/events/page_ref.h:47:18: warning: 'struct page' declared inside parameter list ../include/trace/events/page_ref.h:47:18: warning: 'struct page' declared inside parameter list ../include/trace/events/page_ref.h:47:18: warning: 'struct page' declared inside parameter list ../include/trace/events/page_ref.h:54:18: warning: 'struct page' declared inside parameter list ../include/trace/events/page_ref.h:54:18: warning: 'struct page' declared inside parameter list ../include/trace/events/page_ref.h:54:18: warning: 'struct page' declared inside parameter list ../include/trace/events/page_ref.h:54:18: warning: 'struct page' declared inside parameter list ../include/trace/events/page_ref.h:54:18: warning: 'struct page' declared inside parameter list ../include/trace/events/page_ref.h:54:18: warning: 'struct page' declared inside parameter list ../include/trace/events/page_ref.h:97:18: warning: 'struct page' declared inside parameter list ../include/trace/events/page_ref.h:97:18: warning: 'struct page' declared inside parameter list ../include/trace/events/page_ref.h:97:18: warning: 'struct page' declared inside parameter list ../include/trace/events/page_ref.h:97:18: warning: 'struct page' declared inside parameter list ../include/trace/events/page_ref.h:97:18: warning: 'struct page' declared inside parameter list ../include/trace/events/page_ref.h:97:18: warning: 'struct page' declared inside parameter list ../include/trace/events/page_ref.h:104:18: warning: 'struct page' declared inside parameter list ../include/trace/events/page_ref.h:104:18: warning: 'struct page' declared inside parameter list ../include/trace/events/page_ref.h:104:18: warning: 'struct page' declared inside parameter list ../include/trace/events/page_ref.h:104:18: warning: 'struct page' declared inside parameter list ../include/trace/events/page_ref.h:104:18: warning: 'struct page' declared inside parameter list ../include/trace/events/page_ref.h:104:18: warning: 'struct page' declared inside parameter list ../include/trace/events/page_ref.h:111:18: warning: 'struct page' declared inside parameter list ../include/trace/events/page_ref.h:111:18: warning: 'struct page' declared inside parameter list ../include/trace/events/page_ref.h:111:18: warning: 'struct page' declared inside parameter list ../include/trace/events/page_ref.h:111:18: warning: 'struct page' declared inside parameter list ../include/trace/events/page_ref.h:111:18: warning: 'struct page' declared inside parameter list ../include/trace/events/page_ref.h:111:18: warning: 'struct page' declared inside parameter list ../include/trace/events/page_ref.h:118:18: warning: 'struct page' declared inside parameter list ../include/trace/events/page_ref.h:118:18: warning: 'struct page' declared inside parameter list ../include/trace/events/page_ref.h:118:18: warning: 'struct page' declared inside parameter list ../include/trace/events/page_ref.h:118:18: warning: 'struct page' declared inside parameter list ../include/trace/events/page_ref.h:118:18: warning: 'struct page' declared inside parameter list ../include/trace/events/page_ref.h:118:18: warning: 'struct page' declared inside parameter list ../include/trace/events/page_ref.h:125:18: warning: 'struct page' declared inside parameter list ../include/trace/events/page_ref.h:125:18: warning: 'struct page' declared inside parameter list ../include/trace/events/page_ref.h:125:18: warning: 'struct page' declared inside parameter list ../include/trace/events/page_ref.h:125:18: warning: 'struct page' declared inside parameter list ../include/trace/events/page_ref.h:125:18: warning: 'struct page' declared inside parameter list ../include/trace/events/page_ref.h:125:18: warning: 'struct page' declared inside parameter list ../include/trace/trace_events.h:703:35: warning: passing argument 1 of 'check_trace_callback_type_page_ref_set' from incompatible pointer type [-Wincompatible-pointer-types] ../include/trace/trace_events.h:703:35: warning: passing argument 1 of 'check_trace_callback_type_page_ref_mod' from incompatible pointer type [-Wincompatible-pointer-types] ../include/trace/trace_events.h:703:35: warning: passing argument 1 of 'check_trace_callback_type_page_ref_mod_and_test' from incompatible pointer type [-Wincompatible-pointer-types] ../include/trace/trace_events.h:703:35: warning: passing argument 1 of 'check_trace_callback_type_page_ref_mod_and_return' from incompatible pointer type [-Wincompatible-pointer-types] ../include/trace/trace_events.h:703:35: warning: passing argument 1 of 'check_trace_callback_type_page_ref_mod_unless' from incompatible pointer type [-Wincompatible-pointer-types] ../include/trace/trace_events.h:703:35: warning: passing argument 1 of 'check_trace_callback_type_page_ref_freeze' from incompatible pointer type [-Wincompatible-pointer-types] ../include/trace/trace_events.h:703:35: warning: passing argument 1 of 'check_trace_callback_type_page_ref_unfreeze' from incompatible pointer type [-Wincompatible-pointer-types] ../include/trace/perf.h:83:35: warning: passing argument 1 of 'check_trace_callback_type_page_ref_set' from incompatible pointer type [-Wincompatible-pointer-types] ../include/trace/perf.h:83:35: warning: passing argument 1 of 'check_trace_callback_type_page_ref_mod' from incompatible pointer type [-Wincompatible-pointer-types] ../include/trace/perf.h:83:35: warning: passing argument 1 of 'check_trace_callback_type_page_ref_mod_and_test' from incompatible pointer type [-Wincompatible-pointer-types] ../include/trace/perf.h:83:35: warning: passing argument 1 of 'check_trace_callback_type_page_ref_mod_and_return' from incompatible pointer type [-Wincompatible-pointer-types] ../include/trace/perf.h:83:35: warning: passing argument 1 of 'check_trace_callback_type_page_ref_mod_unless' from incompatible pointer type [-Wincompatible-pointer-types] ../include/trace/perf.h:83:35: warning: passing argument 1 of 'check_trace_callback_type_page_ref_freeze' from incompatible pointer type [-Wincompatible-pointer-types] ../include/trace/perf.h:83:35: warning: passing argument 1 of 'check_trace_callback_type_page_ref_unfreeze' from incompatible pointer type [-Wincompatible-pointer-types] ../mm/debug_page_ref.c:8:21: warning: passing argument 1 of 'trace_page_ref_set' from incompatible pointer type [-Wincompatible-pointer-types] ../mm/debug_page_ref.c:15:21: warning: passing argument 1 of 'trace_page_ref_mod' from incompatible pointer type [-Wincompatible-pointer-types] ../mm/debug_page_ref.c:22:30: warning: passing argument 1 of 'trace_page_ref_mod_and_test' from incompatible pointer type [-Wincompatible-pointer-types] ../mm/debug_page_ref.c:29:32: warning: passing argument 1 of 'trace_page_ref_mod_and_return' from incompatible pointer type [-Wincompatible-pointer-types] ../mm/debug_page_ref.c:36:28: warning: passing argument 1 of 'trace_page_ref_mod_unless' from incompatible pointer type [-Wincompatible-pointer-types] ../mm/debug_page_ref.c:43:24: warning: passing argument 1 of 'trace_page_ref_freeze' from incompatible pointer type [-Wincompatible-pointer-types] ../mm/debug_page_ref.c:50:26: warning: passing argument 1 of 'trace_page_ref_unfreeze' from incompatible pointer type [-Wincompatible-pointer-types] ../include/linux/kern_levels.h:4:18: warning: field width specifier '*' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] ../include/linux/kern_levels.h:4:18: warning: field width specifier '*' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] ../include/linux/kern_levels.h:4:18: warning: field width specifier '*' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] ../include/linux/kern_levels.h:4:18: warning: field width specifier '*' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] ../drivers/pci/host/pci-mvebu.c:753:53: warning: 'struct pci_sys_data' declared inside parameter list ../drivers/pci/host/pci-mvebu.c:753:53: warning: its scope is only this definition or declaration, which is probably not what you want ../drivers/pci/host/pci-mvebu.c:839:44: warning: 'struct pci_sys_data' declared inside parameter list ../drivers/pci/host/pci-mvebu.c:841:40: warning: passing argument 1 of 'sys_to_pcie' from incompatible pointer type [-Wincompatible-pointer-types] ../drivers/pci/host/pci-mvebu.c:904:16: warning: unused variable 'hw' [-Wunused-variable]
------------------------------------------------------------------------------- arm-multi_v5_defconfig : PASS, 0 errors, 2 warnings, 0 section mismatches
Warnings: <stdin>:1310:2: warning: #warning syscall madvisev not implemented [-Wcpp] <stdin>:1310:2: warning: #warning syscall madvisev not implemented [-Wcpp]
------------------------------------------------------------------------------- arm-multi_v7_defconfig : PASS, 0 errors, 2 warnings, 0 section mismatches
Warnings: <stdin>:1310:2: warning: #warning syscall madvisev not implemented [-Wcpp] <stdin>:1310:2: warning: #warning syscall madvisev not implemented [-Wcpp]
------------------------------------------------------------------------------- x86_64-defconfig : PASS, 2 errors, 0 warnings, 0 section mismatches
Errors: drivers/gpio/Kconfig:34:error: recursive dependency detected! drivers/gpio/Kconfig:34:error: recursive dependency detected!
------------------------------------------------------------------------------- arm-allmodconfig : PASS, 0 errors, 9 warnings, 0 section mismatches
Warnings: <stdin>:1310:2: warning: #warning syscall madvisev not implemented [-Wcpp] ../lib/lz4/lz4hc_compress.c:514:1: warning: the frame size of 1472 bytes is larger than 1024 bytes [-Wframe-larger-than=] ../include/asm-generic/div64.h:207:28: warning: comparison of distinct pointer types lacks a cast ../include/asm-generic/div64.h:220:25: warning: right shift count >= width of type [-Wshift-count-overflow] ../include/asm-generic/div64.h:224:22: warning: passing argument 1 of '__div64_32' from incompatible pointer type [-Wincompatible-pointer-types] ../drivers/mtd/chips/cfi_cmdset_0020.c:651:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=] ../drivers/ntb/test/ntb_perf.c:213:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ../drivers/ntb/test/ntb_perf.c:214:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] <stdin>:1310:2: warning: #warning syscall madvisev not implemented [-Wcpp]
------------------------------------------------------------------------------- arm-allnoconfig : PASS, 0 errors, 1 warnings, 0 section mismatches
Warnings: <stdin>:1310:2: warning: #warning syscall madvisev not implemented [-Wcpp]
------------------------------------------------------------------------------- x86_64-allnoconfig : PASS, 2 errors, 0 warnings, 0 section mismatches
Errors: drivers/gpio/Kconfig:34:error: recursive dependency detected! drivers/gpio/Kconfig:34:error: recursive dependency detected!
------------------------------------------------------------------------------- arm64-defconfig : FAIL, 2 errors, 1 warnings, 0 section mismatches
Errors: ../arch/arm64/mm/hugetlbpage.c:127:42: error: macro "pte_alloc_map" passed 4 arguments, but takes just 3 ../arch/arm64/mm/hugetlbpage.c:127:9: error: 'pte_alloc_map' undeclared (first use in this function)
Warnings: ../arch/arm64/mm/hugetlbpage.c:117:10: warning: unused variable 'pmd' [-Wunused-variable] -------------------------------------------------------------------------------
Passed with no errors, warnings or mismatches:
arm64-allnoconfig
Hi all,
On Thu, 25 Feb 2016 10:04:29 +0000 Build bot for Mark Brown broonie@kernel.org wrote:
arm64-allmodconfig ../arch/arm64/mm/hugetlbpage.c:127:42: error: macro "pte_alloc_map" passed 4 arguments, but takes just 3 ../arch/arm64/mm/hugetlbpage.c:127:9: error: 'pte_alloc_map' undeclared (first use in this function)
Caused by an interaction between commit
b9c9252f278d ("mm: cleanup *pte_alloc* interfaces")
from the akpm-current tree and commit
66b3923a1a0f ("arm64: hugetlb: add support for PTE contiguous bit")
from Linus' tree (added before v4.5-rc1).
I will add a fix patch today that removes the second argument from the new pte_alloc_map() call added by the latter commit.
Again, grep is your friend ... (yes, I realise that the akpm-current tree patch was probably written against v4.4 (or some such)).
On Fri, Feb 26, 2016 at 09:49:28AM +1100, Stephen Rothwell wrote:
Hi all,
On Thu, 25 Feb 2016 10:04:29 +0000 Build bot for Mark Brown broonie@kernel.org wrote:
arm64-allmodconfig ../arch/arm64/mm/hugetlbpage.c:127:42: error: macro "pte_alloc_map" passed 4 arguments, but takes just 3 ../arch/arm64/mm/hugetlbpage.c:127:9: error: 'pte_alloc_map' undeclared (first use in this function)
Caused by an interaction between commit
b9c9252f278d ("mm: cleanup *pte_alloc* interfaces")
from the akpm-current tree and commit
66b3923a1a0f ("arm64: hugetlb: add support for PTE contiguous bit")
from Linus' tree (added before v4.5-rc1).
I will add a fix patch today that removes the second argument from the new pte_alloc_map() call added by the latter commit.
Sudeep Holla has posted patch for this.
http://lkml.kernel.org/r/1456414385-13775-1-git-send-email-sudeep.holla@arm....
Again, grep is your friend ... (yes, I realise that the akpm-current tree patch was probably written against v4.4 (or some such)). -- Cheers, Stephen Rothwell
On Thu, Feb 25, 2016 at 10:04:29AM +0000, Build bot for Mark Brown wrote:
Today's -next fails to build an arm64 allmodconfig due to:
arm64-allmodconfig ../drivers/pci/host/pci-mvebu.c:755:12: error: dereferencing pointer to incomplete type 'struct pci_sys_data' ../drivers/pci/host/pci-mvebu.c:855:31: error: dereferencing pointer to incomplete type 'struct pci_sys_data' ../drivers/pci/host/pci-mvebu.c:904:16: error: storage size of 'hw' isn't known ../drivers/pci/host/pci-mvebu.c:919:2: error: implicit declaration of function 'pci_common_init_dev' [-Werror=implicit-function-declaration] ../drivers/pci/host/pci-mvebu.c:1282:3: error: implicit declaration of function 'pci_ioremap_io' [-Werror=implicit-function-declaration]
caused by b4f596b19624 (arm64: add mvebu architecture entry) which enables MVBEU on arm64, the commit was present for a little while and the error cropped up but didn't get reported due to other things masking it. This looks like the driver needs modernization and probably ought to have a !ARM64 dependency for now.
Mark,
On Fri, 26 Feb 2016 12:04:11 +0900, Mark Brown wrote:
Today's -next fails to build an arm64 allmodconfig due to:
arm64-allmodconfig ../drivers/pci/host/pci-mvebu.c:755:12: error: dereferencing pointer to incomplete type 'struct pci_sys_data' ../drivers/pci/host/pci-mvebu.c:855:31: error: dereferencing pointer to incomplete type 'struct pci_sys_data' ../drivers/pci/host/pci-mvebu.c:904:16: error: storage size of 'hw' isn't known ../drivers/pci/host/pci-mvebu.c:919:2: error: implicit declaration of function 'pci_common_init_dev' [-Werror=implicit-function-declaration] ../drivers/pci/host/pci-mvebu.c:1282:3: error: implicit declaration of function 'pci_ioremap_io' [-Werror=implicit-function-declaration]
caused by b4f596b19624 (arm64: add mvebu architecture entry) which enables MVBEU on arm64, the commit was present for a little while and the error cropped up but didn't get reported due to other things masking it. This looks like the driver needs modernization and probably ought to have a !ARM64 dependency for now.
This has already been fixed by:
[PATCH] PCI: mvebu: Restrict build to 32-bit ARM
submitted by Thierry Redding. I'm Cc'ing Bjorn, who is the one in charge of merging this fix.
Thanks for reporting!
Thomas
On Fri, Feb 26, 2016 at 2:08 AM, Thomas Petazzoni thomas.petazzoni@free-electrons.com wrote:
Mark,
On Fri, 26 Feb 2016 12:04:11 +0900, Mark Brown wrote:
Today's -next fails to build an arm64 allmodconfig due to:
arm64-allmodconfig
../drivers/pci/host/pci-mvebu.c:755:12: error: dereferencing pointer to incomplete type 'struct pci_sys_data' ../drivers/pci/host/pci-mvebu.c:855:31: error: dereferencing pointer to incomplete type 'struct pci_sys_data' ../drivers/pci/host/pci-mvebu.c:904:16: error: storage size of 'hw' isn't known ../drivers/pci/host/pci-mvebu.c:919:2: error: implicit declaration of function 'pci_common_init_dev' [-Werror=implicit-function-declaration] ../drivers/pci/host/pci-mvebu.c:1282:3: error: implicit declaration of function 'pci_ioremap_io' [-Werror=implicit-function-declaration]
caused by b4f596b19624 (arm64: add mvebu architecture entry) which enables MVBEU on arm64, the commit was present for a little while and the error cropped up but didn't get reported due to other things masking it. This looks like the driver needs modernization and probably ought to have a !ARM64 dependency for now.
This has already been fixed by:
[PATCH] PCI: mvebu: Restrict build to 32-bit ARM
submitted by Thierry Redding. I'm Cc'ing Bjorn, who is the one in charge of merging this fix.
I applied Thierry's patch ("PCI: mvebu: Restrict build to 32-bit ARM") to my for-linus branch, so it should appear in Linus' tree before v4.5.
Bjorn
On Thu, Feb 25, 2016 at 10:04:29AM +0000, Build bot for Mark Brown wrote:
Today's -next fails to build an arm64 allmodconfig due to:
arm64-allmodconfig ../drivers/watchdog/orion_wdt.c:109:2: error: implicit declaration of function 'atomic_io_modify' [-Werror=implicit-function-declaration]
also caused by b4f596b19624 (arm64: add mvebu architecture entry) which enables MVBEU on arm64, the commit was present for a little while and the error cropped up but didn't get reported due to other things masking it. atomic_io_modify() is only available on ARM, I'm unsure if this needs a driver change or if the driver is just specific to older hardware anyway. The code is only used in the init path accessing what look to be device specific registers so I'm not 100% clear why it specifically needs to be an atomic modify.
Hi Mark,
On 02/25/2016 07:09 PM, Mark Brown wrote:
On Thu, Feb 25, 2016 at 10:04:29AM +0000, Build bot for Mark Brown wrote:
Today's -next fails to build an arm64 allmodconfig due to:
arm64-allmodconfig ../drivers/watchdog/orion_wdt.c:109:2: error: implicit declaration of function 'atomic_io_modify' [-Werror=implicit-function-declaration]
also caused by b4f596b19624 (arm64: add mvebu architecture entry) which enables MVBEU on arm64, the commit was present for a little while and the error cropped up but didn't get reported due to other things masking it. atomic_io_modify() is only available on ARM, I'm unsure if this needs a driver change or if the driver is just specific to older hardware anyway. The code is only used in the init path accessing what look to be device specific registers so I'm not 100% clear why it specifically needs to be an atomic modify.
Thierry already submitted a patch yesterday to restrict the driver to only build on ARM. We can revisit if/when the driver is needed on ARM64.
Guenter
Guenter,
On Thu, 25 Feb 2016 23:41:50 -0800, Guenter Roeck wrote:
also caused by b4f596b19624 (arm64: add mvebu architecture entry) which enables MVBEU on arm64, the commit was present for a little while and the error cropped up but didn't get reported due to other things masking it. atomic_io_modify() is only available on ARM, I'm unsure if this needs a driver change or if the driver is just specific to older hardware anyway. The code is only used in the init path accessing what look to be device specific registers so I'm not 100% clear why it specifically needs to be an atomic modify.
Thierry already submitted a patch yesterday to restrict the driver to only build on ARM. We can revisit if/when the driver is needed on ARM64.
Ah, good, thanks. It isn't clear yet whether the driver will be needed on ARM64 for the Marvell platforms. For Armada 7K/8K, there is a SBSA compliant watchdog. For Armada 3700, I have only briefly looked, but it seems to be a different IP than the one used on the 32 bits SoCs.
Thanks Thierry for fixing the issue!
Thomas
Mark,
On Fri, 26 Feb 2016 12:09:49 +0900, Mark Brown wrote:
also caused by b4f596b19624 (arm64: add mvebu architecture entry) which enables MVBEU on arm64, the commit was present for a little while and the error cropped up but didn't get reported due to other things masking it. atomic_io_modify() is only available on ARM, I'm unsure if this needs a driver change or if the driver is just specific to older hardware anyway. The code is only used in the init path accessing what look to be device specific registers so I'm not 100% clear why it specifically needs to be an atomic modify.
atomic_io_modify() is also used in the ->start() and ->stop() hooks, so not only during initialization. The reason we use atomic_io_modify() here is because this TIMER_CTRL register is shared with the clocksource drivers (time-orion.c, time-armada-370-xp.c). Indeed, the timers and watchdogs share a single register that allows to enable/disable all timers/watchdogs. Somewhat unfortunate choice, but that's how the HW is.
By far the easiest solution is to add "depends on ARM" to ORION_WATCHDOG.
Another solution would be to provide an implementation of atomic_io_modify() on arm64, though that would need the ACK from the ARM64 maintainers.
Best regards,
Thomas
On Fri, Feb 26, 2016 at 09:14:10AM +0100, Thomas Petazzoni wrote:
atomic_io_modify() is also used in the ->start() and ->stop() hooks, so not only during initialization. The reason we use atomic_io_modify() here is because this TIMER_CTRL register is shared with the clocksource drivers (time-orion.c, time-armada-370-xp.c). Indeed, the timers and watchdogs share a single register that allows to enable/disable all timers/watchdogs. Somewhat unfortunate choice, but that's how the HW is.
By far the easiest solution is to add "depends on ARM" to ORION_WATCHDOG.
Another solution would be to provide an implementation of atomic_io_modify() on arm64, though that would need the ACK from the ARM64 maintainers.
It also sounds like a more modern solution might be to use syscon for the shared register, but perhaps I'm missing something about how the IP is set up so ICBW.
Mark,
On Fri, 26 Feb 2016 21:12:20 +0900, Mark Brown wrote:
Another solution would be to provide an implementation of atomic_io_modify() on arm64, though that would need the ACK from the ARM64 maintainers.
It also sounds like a more modern solution might be to use syscon for the shared register, but perhaps I'm missing something about how the IP is set up so ICBW.
I think back when we implemented this, syscon/simple-mfd was not available or widely used - I don't really remember. We could indeed try to switch to a syscon based solution.
Thanks,
Thomas
kernel-build-reports@lists.linaro.org