Skip to contentSkip to conversation

next-20160225 build: 2 failures 44 warnings (next-20160225)

DISCUSSION Build bot for Mark Brown 6 participants 12 messages Feb 25, 2016 – Feb 27, 2016

Subsystems (2)
lore
Share & tools
lore

Build bot for Mark Brown

author maintainer
#0 lore raw

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

#1 lore raw

Hi all,

Quoted 4 lines · On Thu, 25 Feb 2016 10:04:29 +0000 Build bot for Mark Brown…

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)).

Signature · 2 lines
Cheers,
Stephen Rothwell
author maintainer
#3 lore raw
In reply to Build bot for Mark Brown

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:

Quoted 6 lines

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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160226/1f18ad67/attachment.sig>

author maintainer
#6 lore raw
In reply to Build bot for Mark Brown

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:

Quoted 2 lines

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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160226/23d7bd97/attachment.sig>

maintainer
#7 lore raw

Hi Mark,

Quoted 7 lines · Mark Brown

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:

Quoted 2 lines

arm64-allmodconfig
../drivers/watchdog/orion_wdt.c:109:2: error: implicit declaration of function 'atomic_io_modify' [-Werror=implicit-function-declaration]

Quoted 9 lines

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

#4 lore raw
In reply to Mark Brown

Mark,

Quoted 9 lines · Mark Brown

Today's -next fails to build an arm64 allmodconfig due to:

Quoted 6 lines

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]

Quoted 5 lines

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

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#9 lore raw
In reply to Mark Brown

Mark,

Quoted 8 lines · Mark Brown

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

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#8 lore raw
In reply to Guenter Roeck

Guenter,

Quoted 11 lines · Guenter Roeck
Quoted 9 lines

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

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#2 lore raw
In reply to Stephen Rothwell
Quoted 12 lines · Stephen Rothwell

Hi all,

Quoted 4 lines · On Thu, 25 Feb 2016 10:04:29 +0000 Build bot for Mark Brown…

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")

Quoted 8 lines

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/[email protected]

Quoted 6 lines

Again, grep is your friend ... (yes, I realise that the akpm-current tree patch was probably written against v4.4 (or some such)).

Signature · 2 lines
Cheers,
Stephen Rothwell
Signature · 1 line
 Kirill A. Shutemov
author maintainer
#10 lore raw
In reply to Thomas Petazzoni
Quoted 7 lines · Thomas Petazzoni

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.

Quoted 6 lines

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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160226/c084c32b/attachment.sig>

#5 lore raw
In reply to Thomas Petazzoni
Quoted 19 lines · Thomas Petazzoni

Mark,

Quoted 9 lines · Mark Brown

Today's -next fails to build an arm64 allmodconfig due to:

Quoted 6 lines

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]

Quoted 5 lines

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.

Quoted 6 lines

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

#11 lore raw
In reply to Mark Brown

Mark,

Quoted 7 lines · Mark Brown
Quoted 3 lines

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

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com