Tree/Branch: next-20140915 Git describe: next-20140915 Commit: 3e9937919c Add linux-next specific files for 20140915
Build Time: 65 min 53 sec
Passed: 5 / 6 ( 83.33 %) Failed: 1 / 6 ( 16.67 %)
Errors: 3 Warnings: 54 Section Mismatches: 0
Failed defconfigs: arm-allmodconfig
Errors:
arm-allmodconfig /tmp/cc0kds35.s:423: Error: selected processor does not support ARM mode `isb ' /tmp/cc0kds35.s:428: Error: selected processor does not support ARM mode `isb ' /tmp/cc0kds35.s:429: Error: selected processor does not support ARM mode `dsb '
------------------------------------------------------------------------------- defconfigs with issues (other than build errors): 14 warnings 0 mismatches : arm64-allnoconfig 31 warnings 0 mismatches : arm-allmodconfig 2 warnings 0 mismatches : arm-multi_v7_defconfig 7 warnings 0 mismatches : arm64-allmodconfig
-------------------------------------------------------------------------------
Errors summary: 3 1 /tmp/cc0kds35.s:429: Error: selected processor does not support ARM mode `dsb ' 1 /tmp/cc0kds35.s:428: Error: selected processor does not support ARM mode `isb ' 1 /tmp/cc0kds35.s:423: Error: selected processor does not support ARM mode `isb '
Warnings Summary: 54 1 arch/arm/configs/multi_v7_defconfig:417:warning: override: reassigning to symbol CPU_FREQ 1 ../net/rds/iw_rdma.c:200:1: warning: the frame size of 1056 bytes is larger than 1024 bytes [-Wframe-larger-than=] 1 ../drivers/usb/renesas_usbhs/common.c:469:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1 ../drivers/tty/isicom.c:1058:240: warning: integer overflow in expression [-Woverflow] 1 ../drivers/staging/vt6655/device_main.c:2998:1: warning: the frame size of 1296 bytes is larger than 1024 bytes [-Wframe-larger-than=] 1 ../drivers/staging/rtl8192ee/pci.c:879:5: warning: format '%d' expects argument of type 'int', but argument 3 has type 'sk_buff_data_t' [-Wformat=] 1 ../drivers/staging/rtl8192ee/pci.c:879:5: warning: format '%d' expects argument of type 'int', but argument 2 has type 'sk_buff_data_t' [-Wformat=] 1 ../drivers/staging/emxx_udc/emxx_udc.c:3252:2: warning: initialization discards 'const' qualifier from pointer target type 1 ../drivers/staging/emxx_udc/emxx_udc.c:3251:2: warning: initialization discards 'const' qualifier from pointer target type 1 ../drivers/staging/emxx_udc/emxx_udc.c:3250:2: warning: initialization discards 'const' qualifier from pointer target type 1 ../drivers/staging/emxx_udc/emxx_udc.c:3249:2: warning: initialization discards 'const' qualifier from pointer target type 1 ../drivers/staging/emxx_udc/emxx_udc.c:3248:2: warning: initialization discards 'const' qualifier from pointer target type 1 ../drivers/staging/emxx_udc/emxx_udc.c:3247:2: warning: initialization discards 'const' qualifier from pointer target type 1 ../drivers/staging/emxx_udc/emxx_udc.c:3246:2: warning: initialization discards 'const' qualifier from pointer target type 1 ../drivers/staging/emxx_udc/emxx_udc.c:3245:2: warning: initialization discards 'const' qualifier from pointer target type 1 ../drivers/staging/emxx_udc/emxx_udc.c:3244:2: warning: initialization discards 'const' qualifier from pointer target type 1 ../drivers/staging/emxx_udc/emxx_udc.c:3243:2: warning: initialization discards 'const' qualifier from pointer target type 1 ../drivers/staging/emxx_udc/emxx_udc.c:3242:2: warning: initialization discards 'const' qualifier from pointer target type 1 ../drivers/staging/emxx_udc/emxx_udc.c:3241:2: warning: initialization discards 'const' qualifier from pointer target type 1 ../drivers/staging/emxx_udc/emxx_udc.c:3240:2: warning: initialization discards 'const' qualifier from pointer target type 1 ../drivers/staging/emxx_udc/emxx_udc.c:3239:2: warning: initialization discards 'const' qualifier from pointer target type 1 ../drivers/staging/bcm/CmHost.c:1564:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1 ../drivers/staging/bcm/CmHost.c:1546:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1 ../drivers/staging/bcm/CmHost.c:1503:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1 ../drivers/scsi/ips.c:210:2: warning: #warning "This driver has only been tested on the x86/ia64/x86_64 platforms" [-Wcpp] 1 ../drivers/power/reset/xgene-reboot.c:80:17: warning: assignment from incompatible pointer type [enabled by default] 1 ../drivers/pci/host/pci-mvebu.c:887:39: warning: 'rtype' may be used uninitialized in this function [-Wmaybe-uninitialized] 1 ../drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:467:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1 ../drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:307:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1 ../drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:303:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1 ../drivers/net/ethernet/dec/tulip/winbond-840.c:910:2: warning: #warning Processor architecture undefined [-Wcpp] 1 ../drivers/net/ethernet/amd/nmclan_cs.c:624:3: warning: 'pcmcia_request_exclusive_irq' is deprecated (declared at ../include/pcmcia/ds.h:213) [-Wdeprecated-declarations] 1 ../drivers/mtd/chips/cfi_cmdset_0020.c:651:1: warning: the frame size of 1192 bytes is larger than 1024 bytes [-Wframe-larger-than=] 1 ../drivers/isdn/hardware/mISDN/w6692.c:1181:75: warning: unsupported argument to '__builtin_return_address' 1 ../drivers/isdn/hardware/mISDN/mISDNipac.c:759:75: warning: unsupported argument to '__builtin_return_address' 1 ../drivers/infiniband/hw/mlx5/mem.c:71:143: warning: comparison of distinct pointer types lacks a cast 1 ../drivers/iio/adc/rockchip_saradc.c:144:6: warning: unused variable 'rate' [-Wunused-variable] 1 ../drivers/block/drbd/drbd_bitmap.c:483:0: warning: "BITS_PER_PAGE_MASK" redefined [enabled by default] 1 ../drivers/block/drbd/drbd_bitmap.c:482:0: warning: "BITS_PER_PAGE" redefined [enabled by default] 1 ../arch/arm64/kernel/insn.c:921:8: warning: 'insn' may be used uninitialized in this function [-Wmaybe-uninitialized] 1 ../arch/arm64/kernel/insn.c:861:8: warning: 'insn' may be used uninitialized in this function [-Wmaybe-uninitialized] 1 ../arch/arm64/kernel/insn.c:824:8: warning: 'insn' may be used uninitialized in this function [-Wmaybe-uninitialized] 1 ../arch/arm64/kernel/insn.c:778:8: warning: 'insn' may be used uninitialized in this function [-Wmaybe-uninitialized] 1 ../arch/arm64/kernel/insn.c:735:8: warning: 'insn' may be used uninitialized in this function [-Wmaybe-uninitialized] 1 ../arch/arm64/kernel/insn.c:689:8: warning: 'insn' may be used uninitialized in this function [-Wmaybe-uninitialized] 1 ../arch/arm64/kernel/insn.c:642:8: warning: 'insn' may be used uninitialized in this function [-Wmaybe-uninitialized] 1 ../arch/arm64/kernel/insn.c:599:8: warning: 'insn' may be used uninitialized in this function [-Wmaybe-uninitialized] 1 ../arch/arm64/kernel/insn.c:568:18: warning: 'shift' may be used uninitialized in this function [-Wmaybe-uninitialized] 1 ../arch/arm64/kernel/insn.c:552:8: warning: 'insn' may be used uninitialized in this function [-Wmaybe-uninitialized] 1 ../arch/arm64/kernel/insn.c:480:2: warning: 'insn' may be used uninitialized in this function [-Wmaybe-uninitialized] 1 ../arch/arm64/kernel/insn.c:422:8: warning: 'insn' may be used uninitialized in this function [-Wmaybe-uninitialized] 1 ../arch/arm64/kernel/insn.c:393:2: warning: 'insn' may be used uninitialized in this function [-Wmaybe-uninitialized] 1 ../arch/arm64/kernel/insn.c:347:7: warning: 'insn' may be used uninitialized in this function [-Wmaybe-uninitialized] 1 ../arch/arm/mach-cns3xxx/pcie.c:311:1: warning: the frame size of 1072 bytes is larger than 1024 bytes [-Wframe-larger-than=]
=============================================================================== Detailed per-defconfig build reports below:
------------------------------------------------------------------------------- arm64-allnoconfig : PASS, 0 errors, 14 warnings, 0 section mismatches
Warnings: ../arch/arm64/kernel/insn.c:393:2: warning: 'insn' may be used uninitialized in this function [-Wmaybe-uninitialized] ../arch/arm64/kernel/insn.c:422:8: warning: 'insn' may be used uninitialized in this function [-Wmaybe-uninitialized] ../arch/arm64/kernel/insn.c:480:2: warning: 'insn' may be used uninitialized in this function [-Wmaybe-uninitialized] ../arch/arm64/kernel/insn.c:347:7: warning: 'insn' may be used uninitialized in this function [-Wmaybe-uninitialized] ../arch/arm64/kernel/insn.c:568:18: warning: 'shift' may be used uninitialized in this function [-Wmaybe-uninitialized] ../arch/arm64/kernel/insn.c:552:8: warning: 'insn' may be used uninitialized in this function [-Wmaybe-uninitialized] ../arch/arm64/kernel/insn.c:599:8: warning: 'insn' may be used uninitialized in this function [-Wmaybe-uninitialized] ../arch/arm64/kernel/insn.c:642:8: warning: 'insn' may be used uninitialized in this function [-Wmaybe-uninitialized] ../arch/arm64/kernel/insn.c:689:8: warning: 'insn' may be used uninitialized in this function [-Wmaybe-uninitialized] ../arch/arm64/kernel/insn.c:735:8: warning: 'insn' may be used uninitialized in this function [-Wmaybe-uninitialized] ../arch/arm64/kernel/insn.c:778:8: warning: 'insn' may be used uninitialized in this function [-Wmaybe-uninitialized] ../arch/arm64/kernel/insn.c:824:8: warning: 'insn' may be used uninitialized in this function [-Wmaybe-uninitialized] ../arch/arm64/kernel/insn.c:861:8: warning: 'insn' may be used uninitialized in this function [-Wmaybe-uninitialized] ../arch/arm64/kernel/insn.c:921:8: warning: 'insn' may be used uninitialized in this function [-Wmaybe-uninitialized]
------------------------------------------------------------------------------- arm-allmodconfig : FAIL, 3 errors, 31 warnings, 0 section mismatches
Errors: /tmp/cc0kds35.s:423: Error: selected processor does not support ARM mode `isb ' /tmp/cc0kds35.s:428: Error: selected processor does not support ARM mode `isb ' /tmp/cc0kds35.s:429: Error: selected processor does not support ARM mode `dsb '
Warnings: ../arch/arm/mach-cns3xxx/pcie.c:311:1: warning: the frame size of 1072 bytes is larger than 1024 bytes [-Wframe-larger-than=] ../net/rds/iw_rdma.c:200:1: warning: the frame size of 1056 bytes is larger than 1024 bytes [-Wframe-larger-than=] ../drivers/iio/adc/rockchip_saradc.c:144:6: warning: unused variable 'rate' [-Wunused-variable] ../drivers/infiniband/hw/mlx5/mem.c:71:143: warning: comparison of distinct pointer types lacks a cast ../drivers/isdn/hardware/mISDN/w6692.c:1181:75: warning: unsupported argument to '__builtin_return_address' ../drivers/isdn/hardware/mISDN/mISDNipac.c:759:75: warning: unsupported argument to '__builtin_return_address' ../drivers/mtd/chips/cfi_cmdset_0020.c:651:1: warning: the frame size of 1192 bytes is larger than 1024 bytes [-Wframe-larger-than=] ../drivers/net/ethernet/amd/nmclan_cs.c:624:3: warning: 'pcmcia_request_exclusive_irq' is deprecated (declared at ../include/pcmcia/ds.h:213) [-Wdeprecated-declarations] ../drivers/net/ethernet/dec/tulip/winbond-840.c:910:2: warning: #warning Processor architecture undefined [-Wcpp] ../drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:303:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ../drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:307:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ../drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:467:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ../drivers/staging/emxx_udc/emxx_udc.c:3239:2: warning: initialization discards 'const' qualifier from pointer target type ../drivers/staging/emxx_udc/emxx_udc.c:3240:2: warning: initialization discards 'const' qualifier from pointer target type ../drivers/staging/emxx_udc/emxx_udc.c:3241:2: warning: initialization discards 'const' qualifier from pointer target type ../drivers/staging/emxx_udc/emxx_udc.c:3242:2: warning: initialization discards 'const' qualifier from pointer target type ../drivers/staging/emxx_udc/emxx_udc.c:3243:2: warning: initialization discards 'const' qualifier from pointer target type ../drivers/staging/emxx_udc/emxx_udc.c:3244:2: warning: initialization discards 'const' qualifier from pointer target type ../drivers/staging/emxx_udc/emxx_udc.c:3245:2: warning: initialization discards 'const' qualifier from pointer target type ../drivers/staging/emxx_udc/emxx_udc.c:3246:2: warning: initialization discards 'const' qualifier from pointer target type ../drivers/staging/emxx_udc/emxx_udc.c:3247:2: warning: initialization discards 'const' qualifier from pointer target type ../drivers/staging/emxx_udc/emxx_udc.c:3248:2: warning: initialization discards 'const' qualifier from pointer target type ../drivers/staging/emxx_udc/emxx_udc.c:3249:2: warning: initialization discards 'const' qualifier from pointer target type ../drivers/staging/emxx_udc/emxx_udc.c:3250:2: warning: initialization discards 'const' qualifier from pointer target type ../drivers/staging/emxx_udc/emxx_udc.c:3251:2: warning: initialization discards 'const' qualifier from pointer target type ../drivers/staging/emxx_udc/emxx_udc.c:3252:2: warning: initialization discards 'const' qualifier from pointer target type ../drivers/scsi/ips.c:210:2: warning: #warning "This driver has only been tested on the x86/ia64/x86_64 platforms" [-Wcpp] ../drivers/tty/isicom.c:1058:240: warning: integer overflow in expression [-Woverflow] ../drivers/staging/rtl8192ee/pci.c:879:5: warning: format '%d' expects argument of type 'int', but argument 2 has type 'sk_buff_data_t' [-Wformat=] ../drivers/staging/rtl8192ee/pci.c:879:5: warning: format '%d' expects argument of type 'int', but argument 3 has type 'sk_buff_data_t' [-Wformat=] ../drivers/staging/vt6655/device_main.c:2998:1: warning: the frame size of 1296 bytes is larger than 1024 bytes [-Wframe-larger-than=]
------------------------------------------------------------------------------- arm-multi_v7_defconfig : PASS, 0 errors, 2 warnings, 0 section mismatches
Warnings: arch/arm/configs/multi_v7_defconfig:417:warning: override: reassigning to symbol CPU_FREQ ../drivers/pci/host/pci-mvebu.c:887:39: warning: 'rtype' may be used uninitialized in this function [-Wmaybe-uninitialized]
------------------------------------------------------------------------------- arm64-allmodconfig : PASS, 0 errors, 7 warnings, 0 section mismatches
Warnings: ../drivers/block/drbd/drbd_bitmap.c:482:0: warning: "BITS_PER_PAGE" redefined [enabled by default] ../drivers/block/drbd/drbd_bitmap.c:483:0: warning: "BITS_PER_PAGE_MASK" redefined [enabled by default] ../drivers/power/reset/xgene-reboot.c:80:17: warning: assignment from incompatible pointer type [enabled by default] ../drivers/staging/bcm/CmHost.c:1503:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ../drivers/staging/bcm/CmHost.c:1546:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ../drivers/staging/bcm/CmHost.c:1564:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ../drivers/usb/renesas_usbhs/common.c:469:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] -------------------------------------------------------------------------------
Passed with no errors, warnings or mismatches:
arm-allnoconfig arm64-defconfig
On Mon, Sep 15, 2014 at 11:57:09AM +0100, Build bot for Mark Brown wrote:
Today's -next got a build failure in ARM allmodconfig due to platsmp.c:
| arch/arm/mach-exynos/platsmp.c:198:31: warning: incorrect type in return expression (different address spaces) | arch/arm/mach-exynos/platsmp.c:198:31: expected void [noderef] asn:2* | arch/arm/mach-exynos/platsmp.c:198:31: got void * | arch/arm/mach-exynos/platsmp.c:198:31: warning: incorrect type in return expression (different address spaces) | arch/arm/mach-exynos/platsmp.c:198:31: expected void [noderef] asn:2* | arch/arm/mach-exynos/platsmp.c:198:31: got void * | CC arch/arm/mach-exynos/platsmp.o | /tmp/ccC9fkwF.s: Assembler messages: | /tmp/ccC9fkwF.s:423: Error: selected processor does not support ARM mode `isb ' | /tmp/ccC9fkwF.s:428: Error: selected processor does not support ARM mode `isb ' | /tmp/ccC9fkwF.s:429: Error: selected processor does not support ARM mode `dsb ' | scripts/Makefile.build:257: recipe for target 'arch/arm/mach-exynos/platsmp.o' failed
Looks like we need a compiler flags override for that file.
On Mon, Sep 15, 2014 at 09:34:58AM -0700, Mark Brown wrote:
On Mon, Sep 15, 2014 at 11:57:09AM +0100, Build bot for Mark Brown wrote:
Today's -next got a build failure in ARM allmodconfig due to platsmp.c:
| arch/arm/mach-exynos/platsmp.c:198:31: warning: incorrect type in return expression (different address spaces) | arch/arm/mach-exynos/platsmp.c:198:31: expected void [noderef] asn:2* | arch/arm/mach-exynos/platsmp.c:198:31: got void * | arch/arm/mach-exynos/platsmp.c:198:31: warning: incorrect type in return expression (different address spaces) | arch/arm/mach-exynos/platsmp.c:198:31: expected void [noderef] asn:2* | arch/arm/mach-exynos/platsmp.c:198:31: got void * | CC arch/arm/mach-exynos/platsmp.o | /tmp/ccC9fkwF.s: Assembler messages: | /tmp/ccC9fkwF.s:423: Error: selected processor does not support ARM mode `isb ' | /tmp/ccC9fkwF.s:428: Error: selected processor does not support ARM mode `isb ' | /tmp/ccC9fkwF.s:429: Error: selected processor does not support ARM mode `dsb ' | scripts/Makefile.build:257: recipe for target 'arch/arm/mach-exynos/platsmp.o' failed
Looks like we need a compiler flags override for that file.
Or.. the question is why a .c file is not using the proper macros.
On 15.09.2014 19:57, Russell King - ARM Linux wrote:
On Mon, Sep 15, 2014 at 09:34:58AM -0700, Mark Brown wrote:
On Mon, Sep 15, 2014 at 11:57:09AM +0100, Build bot for Mark Brown wrote:
Today's -next got a build failure in ARM allmodconfig due to platsmp.c:
| arch/arm/mach-exynos/platsmp.c:198:31: warning: incorrect type in return expression (different address spaces) | arch/arm/mach-exynos/platsmp.c:198:31: expected void [noderef] asn:2* | arch/arm/mach-exynos/platsmp.c:198:31: got void * | arch/arm/mach-exynos/platsmp.c:198:31: warning: incorrect type in return expression (different address spaces) | arch/arm/mach-exynos/platsmp.c:198:31: expected void [noderef] asn:2* | arch/arm/mach-exynos/platsmp.c:198:31: got void * | CC arch/arm/mach-exynos/platsmp.o | /tmp/ccC9fkwF.s: Assembler messages: | /tmp/ccC9fkwF.s:423: Error: selected processor does not support ARM mode `isb ' | /tmp/ccC9fkwF.s:428: Error: selected processor does not support ARM mode `isb ' | /tmp/ccC9fkwF.s:429: Error: selected processor does not support ARM mode `dsb ' | scripts/Makefile.build:257: recipe for target 'arch/arm/mach-exynos/platsmp.o' failed
Looks like we need a compiler flags override for that file.
Or.. the question is why a .c file is not using the proper macros.
Actually I am the one to blame for build failure (commit: "ARM: EXYNOS: Move code from hotplug.c to platsmp.c"). The problem is v7_exit_coherency_flush() which I think does not make sense on ARMv6.
I'll replace the ISB and DSB commands with macros but the real question is whether the mach-exynos/platsmp.c file and mach-exynos directory should be compiled when CONFIG_ARCH_EXYNOS is not defined?
Best regards, Krzysztof
On Tue, Sep 16, 2014 at 01:44:44PM +0200, Krzysztof Kozłowski wrote:
On 15.09.2014 19:57, Russell King - ARM Linux wrote:
On Mon, Sep 15, 2014 at 09:34:58AM -0700, Mark Brown wrote:
On Mon, Sep 15, 2014 at 11:57:09AM +0100, Build bot for Mark Brown wrote:
Today's -next got a build failure in ARM allmodconfig due to platsmp.c:
| arch/arm/mach-exynos/platsmp.c:198:31: warning: incorrect type in return expression (different address spaces) | arch/arm/mach-exynos/platsmp.c:198:31: expected void [noderef] asn:2* | arch/arm/mach-exynos/platsmp.c:198:31: got void * | arch/arm/mach-exynos/platsmp.c:198:31: warning: incorrect type in return expression (different address spaces) | arch/arm/mach-exynos/platsmp.c:198:31: expected void [noderef] asn:2* | arch/arm/mach-exynos/platsmp.c:198:31: got void * | CC arch/arm/mach-exynos/platsmp.o | /tmp/ccC9fkwF.s: Assembler messages: | /tmp/ccC9fkwF.s:423: Error: selected processor does not support ARM mode `isb ' | /tmp/ccC9fkwF.s:428: Error: selected processor does not support ARM mode `isb ' | /tmp/ccC9fkwF.s:429: Error: selected processor does not support ARM mode `dsb ' | scripts/Makefile.build:257: recipe for target 'arch/arm/mach-exynos/platsmp.o' failed
Looks like we need a compiler flags override for that file.
Or.. the question is why a .c file is not using the proper macros.
Actually I am the one to blame for build failure (commit: "ARM: EXYNOS: Move code from hotplug.c to platsmp.c"). The problem is v7_exit_coherency_flush() which I think does not make sense on ARMv6.
I'll replace the ISB and DSB commands with macros but the real question is whether the mach-exynos/platsmp.c file and mach-exynos directory should be compiled when CONFIG_ARCH_EXYNOS is not defined?
It's entirely possible that a kernel will be configured to support ARMv6 and ARMv7, which can also include exynos support. In this case, it will be built using compiler flags for ARMv6, since ARMv7 is compatible with the ARMv6 ISA (even though a few instructions are deprecated.)
On 16.09.2014 13:44, Krzysztof Kozłowski wrote:
On 15.09.2014 19:57, Russell King - ARM Linux wrote:
On Mon, Sep 15, 2014 at 09:34:58AM -0700, Mark Brown wrote:
On Mon, Sep 15, 2014 at 11:57:09AM +0100, Build bot for Mark Brown wrote:
Today's -next got a build failure in ARM allmodconfig due to platsmp.c:
| arch/arm/mach-exynos/platsmp.c:198:31: warning: incorrect type in return expression (different address spaces) | arch/arm/mach-exynos/platsmp.c:198:31: expected void [noderef] asn:2* | arch/arm/mach-exynos/platsmp.c:198:31: got void * | arch/arm/mach-exynos/platsmp.c:198:31: warning: incorrect type in return expression (different address spaces) | arch/arm/mach-exynos/platsmp.c:198:31: expected void [noderef] asn:2* | arch/arm/mach-exynos/platsmp.c:198:31: got void * | CC arch/arm/mach-exynos/platsmp.o | /tmp/ccC9fkwF.s: Assembler messages: | /tmp/ccC9fkwF.s:423: Error: selected processor does not support ARM mode `isb ' | /tmp/ccC9fkwF.s:428: Error: selected processor does not support ARM mode `isb ' | /tmp/ccC9fkwF.s:429: Error: selected processor does not support ARM mode `dsb ' | scripts/Makefile.build:257: recipe for target 'arch/arm/mach-exynos/platsmp.o' failed
Looks like we need a compiler flags override for that file.
Or.. the question is why a .c file is not using the proper macros.
Actually I am the one to blame for build failure (commit: "ARM: EXYNOS: Move code from hotplug.c to platsmp.c"). The problem is v7_exit_coherency_flush() which I think does not make sense on ARMv6.
I'll replace the ISB and DSB commands with macros but the real question is whether the mach-exynos/platsmp.c file and mach-exynos directory should be compiled when CONFIG_ARCH_EXYNOS is not defined?
I think the problematic case here is v6+v7 multiplatform, where even though CONFIG_ARCH_EXYNOS is defined, compiler flags for lowest common denominator (v6) must be used. Using appropriate macros should fix the problem indeed.
Best regards, Tomasz
On Tue, Sep 16, 2014 at 02:01:02PM +0200, Tomasz Figa wrote:
I think the problematic case here is v6+v7 multiplatform, where even though CONFIG_ARCH_EXYNOS is defined, compiler flags for lowest common denominator (v6) must be used. Using appropriate macros should fix the problem indeed.
Right, multiplatform ends up generating such a configuration.
linaro-kernel@lists.linaro.org