All of lore.kernel.org
 help / color / mirror / Atom feed
* Build regressions/improvements in v4.3-rc7
@ 2015-10-25 10:12 Geert Uytterhoeven
  2015-10-25 10:18   ` Geert Uytterhoeven
  0 siblings, 1 reply; 21+ messages in thread
From: Geert Uytterhoeven @ 2015-10-25 10:12 UTC (permalink / raw)
  To: linux-kernel

Below is the list of build error/warning regressions/improvements in
v4.3-rc7[1] compared to v4.2[2].

Summarized:
  - build errors: +13/-8
  - build warnings: +160/-100

JFYI, when comparing v4.3-rc7[1] to v4.3-rc6[3], the summaries are:
  - build errors: +12/-4
  - build warnings: +42/-40

Note that there may be false regressions, as some logs are incomplete.
Still, they're build errors/warnings.

As I haven't mastered kup yet, there's no verbose summary at
http://www.kernel.org/pub/linux/kernel/people/geert/linux-log/v4.3-rc7.summary.gz

Happy fixing! ;-)

Thanks to the linux-next team for providing the build service.

[1] http://kisskb.ellerman.id.au/kisskb/head/9511/ (256 out of 254 configs)
[2] http://kisskb.ellerman.id.au/kisskb/head/9309/ (all 254 configs)
[3] http://kisskb.ellerman.id.au/kisskb/head/9487/ (255 out of 254 configs)


*** ERRORS ***

13 regressions:
  + /home/kisskb/slave/src/arch/arm/kernel/devtree.c: error: implicit declaration of function 'early_init_dt_scan_nodes' [-Werror=implicit-function-declaration]:  => 244:2
  + /home/kisskb/slave/src/arch/arm/kernel/devtree.c: error: implicit declaration of function 'early_init_dt_verify' [-Werror=implicit-function-declaration]:  => 215:2
  + /home/kisskb/slave/src/arch/arm/kernel/devtree.c: error: implicit declaration of function 'of_flat_dt_match_machine' [-Werror=implicit-function-declaration]:  => 218:2
  + /home/kisskb/slave/src/arch/arm/kernel/devtree.c: error: implicit declaration of function 'of_get_flat_dt_prop' [-Werror=implicit-function-declaration]:  => 229:3
  + /home/kisskb/slave/src/arch/arm/kernel/devtree.c: error: implicit declaration of function 'of_get_flat_dt_root' [-Werror=implicit-function-declaration]:  => 228:3
  + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_DIRTY' undeclared (first use in this function):  => 39:2
  + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_MT_WRITEBACK' undeclared (first use in this function):  => 39:2
  + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_PRESENT' undeclared (first use in this function):  => 39:2
  + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_XN' undeclared (first use in this function):  => 39:2
  + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_YOUNG' undeclared (first use in this function):  => 39:2
  + error: relocation truncated to fit: R_PPC64_REL24 against symbol `._mcount' defined in .text section in arch/powerpc/kernel/entry_64.o:  => (.text+0x1ff8bbc), (.text+0x1ff8a38), (.text+0x1ff84b4), (.text+0x1ff878c), (.text+0x1ff8a8c), (.text+0x1ff8d5c), (.text+0x1ff8694)
  + error: relocation truncated to fit: R_PPC64_REL24 against symbol `_restgpr0_22' defined in .text.save.restore section in arch/powerpc/lib/built-in.o:  => (.text+0x1ff849c)
  + error: relocation truncated to fit: R_PPC64_REL24 against symbol `_savegpr0_29' defined in .text.save.restore section in arch/powerpc/lib/built-in.o:  => (.text+0x1ff8d4c), (.text+0x1ff8bac)

8 improvements:
  - /home/kisskb/slave/src/drivers/net/ethernet/via/via-rhine.c: error: implicit declaration of function 'pci_iomap' [-Werror=implicit-function-declaration]: 1098:2 => 
  - /home/kisskb/slave/src/drivers/net/ethernet/via/via-rhine.c: error: implicit declaration of function 'pci_iounmap' [-Werror=implicit-function-declaration]: 1119:2 => 
  - error: igb_main.c: relocation truncated to fit: R_PPC64_REL24 against symbol `.__alloc_pages_nodemask' defined in .text section in mm/built-in.o: (.text+0x1ff7748) => 
  - error: igb_main.c: relocation truncated to fit: R_PPC64_REL24 against symbol `._mcount' defined in .text section in arch/powerpc/kernel/entry_64.o: (.text+0x1ff820c), (.text+0x1ff8370), (.text+0x1ff8018) => 
  - error: igb_main.c: relocation truncated to fit: R_PPC64_REL24 against symbol `.queue_work_on' defined in .text section in kernel/built-in.o: (.text+0x1ff7038), (.text+0x1ff6f40) => 
  - error: igb_main.c: relocation truncated to fit: R_PPC64_REL24 against symbol `_restgpr0_23' defined in .text.save.restore section in arch/powerpc/lib/built-in.o: (.text+0x1ff8690) => 
  - error: igb_main.c: relocation truncated to fit: R_PPC64_REL24 against symbol `_restgpr0_25' defined in .text.save.restore section in arch/powerpc/lib/built-in.o: (.text+0x1ff7934), (.text+0x1ff7c20) => 
  - error: igb_main.c: relocation truncated to fit: R_PPC64_REL24 against symbol `_savegpr0_26' defined in .text.save.restore section in arch/powerpc/lib/built-in.o: (.text+0x1ff6e14) => 


*** WARNINGS ***

160 regressions:
  + /home/kisskb/slave/src/arch/arm/kernel/devtree.c: warning: assignment makes pointer from integer without a cast [enabled by default]:  => 229:8, 218:8
  + /home/kisskb/slave/src/arch/arm/mach-s3c24xx/common.c: warning: 's3c_iodesc' defined but not used [-Wunused-variable]:  => 154:24
  + /home/kisskb/slave/src/arch/arm/mach-s3c24xx/s3c2443.c: warning: 's3c2443_iodesc' defined but not used [-Wunused-variable]:  => 50:24
  + /home/kisskb/slave/src/arch/arm/mach-s3c24xx/s3c244x.c: warning: 's3c244x_iodesc' defined but not used [-Wunused-variable]:  => 49:24
  + /home/kisskb/slave/src/arch/powerpc/boot/mpsc.c: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]:  => 113:35, 147:12
  + /home/kisskb/slave/src/arch/powerpc/include/asm/hw_irq.h: warning: 'flags' may be used uninitialized in this function [-Wuninitialized]: 147:2 => 147:2, 145:2
  + /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c: warning: 'arch_init_clk_ops' is deprecated (declared at /home/kisskb/slave/src/arch/sh/include/asm/clock.h:7) [-Wdeprecated-declarations]  CC      kernel/irq/manage.o:  => 52:3
  + /home/kisskb/slave/src/arch/x86/kernel/cpu/mcheck/mce.c: warning: 'order' may be used uninitialized in this function [-Wuninitialized]: 1175:14 => 1113:14, 884:5
  + /home/kisskb/slave/src/arch/x86/net/bpf_jit_comp.c: warning: 'reload_skb_data' may be used uninitialized in this function [-Wuninitialized]:  => 834:8
  + /home/kisskb/slave/src/block/blk-cgroup.c: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]:  => 352:1
  + /home/kisskb/slave/src/crypto/async_tx/raid6test.c: warning: 'raid6_dual_recov.constprop.0' uses dynamic stack allocation [enabled by default]:  => 128:1
  + /home/kisskb/slave/src/drivers/base/power/domain.c: warning: comparison of distinct pointer types lacks a cast [enabled by default]:  => 151:2
  + /home/kisskb/slave/src/drivers/bluetooth/btintel.h: warning: 'btintel_version_info' defined but not used [-Wunused-function]:  => 98:13
  + /home/kisskb/slave/src/drivers/cpufreq/powernv-cpufreq.c: warning: 'mask' may be used uninitialized in this function [-Wuninitialized]:  => 430:2
  + /home/kisskb/slave/src/drivers/edac/sb_edac.c: warning: 'type' may be used uninitialized in this function [-Wuninitialized]:  => 797:2
  + /home/kisskb/slave/src/drivers/gpu/drm/gma500/mdfld_dsi_output.c: warning: (near initialization for 'mdfld_dsi_connector_funcs.dpms') [enabled by default]:  => 407:2
  + /home/kisskb/slave/src/drivers/gpu/drm/gma500/mdfld_dsi_output.c: warning: initialization from incompatible pointer type [enabled by default]:  => 407:2
  + /home/kisskb/slave/src/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c: warning: 'stat' may be used uninitialized in this function [-Wuninitialized]:  => 159:31
  + /home/kisskb/slave/src/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm204.c: warning: 'stat' may be used uninitialized in this function [-Wuninitialized]:  => 159:31
  + /home/kisskb/slave/src/drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c: warning: right shift count >= width of type [enabled by default]:  => 297:3
  + /home/kisskb/slave/src/drivers/hv/hv.c: warning: unused variable 'tsc_msr' [-Wunused-variable]:  => 195:38
  + /home/kisskb/slave/src/drivers/hv/hv.c: warning: unused variable 'va_tsc' [-Wunused-variable]:  => 197:8
  + /home/kisskb/slave/src/drivers/i2c/busses/i2c-cpm.c: warning: passing argument 3 of 'dma_alloc_coherent' from incompatible pointer type [enabled by default]:  => 545:3, 538:10
  + /home/kisskb/slave/src/drivers/input/keyboard/tca8418_keypad.c: warning: 'reg' may be used uninitialized in this function [-Wuninitialized]:  => 172:9
  + /home/kisskb/slave/src/drivers/input/misc/rotary_encoder.c: warning: 'flags' may be used uninitialized in this function [-Wuninitialized]:  => 172:28
  + /home/kisskb/slave/src/drivers/input/mouse/cyapa.c: warning: 'error' may be used uninitialized in this function [-Wuninitialized]:  => 715:27
  + /home/kisskb/slave/src/drivers/md/dm-crypt.c: warning: 'crypt_iv_lmk_one.isra.11' uses dynamic stack allocation [enabled by default]:  => 576:1
  + /home/kisskb/slave/src/drivers/md/dm-crypt.c: warning: 'crypt_iv_tcw_whitening.isra.10' uses dynamic stack allocation [enabled by default]:  => 715:1
  + /home/kisskb/slave/src/drivers/media/i2c/as3645a.c: warning: 'mode' may be used uninitialized in this function [-Wuninitialized]:  => 273:2
  + /home/kisskb/slave/src/drivers/media/i2c/as3645a.c: warning: 'on' may be used uninitialized in this function [-Wuninitialized]:  => 273:2, 273:28
  + /home/kisskb/slave/src/drivers/media/platform/soc_camera/atmel-isi.c: warning: 'atmel_isi_runtime_resume' defined but not used [-Wunused-function]:  => 1053:12
  + /home/kisskb/slave/src/drivers/media/platform/soc_camera/atmel-isi.c: warning: 'atmel_isi_runtime_suspend' defined but not used [-Wunused-function]:  => 1043:12
  + /home/kisskb/slave/src/drivers/mfd/wm5110-tables.c: warning: passing argument 2 of 'regmap_register_patch' from incompatible pointer type [enabled by default]:  => 281:11
  + /home/kisskb/slave/src/drivers/mfd/wm8998-tables.c: warning: passing argument 2 of 'regmap_register_patch' from incompatible pointer type [enabled by default]:  => 50:10
  + /home/kisskb/slave/src/drivers/net/ethernet/intel/i40e/i40e_common.c: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]:  => 444:24, 445:23, 522:23, 521:24
  + /home/kisskb/slave/src/drivers/net/ethernet/intel/i40e/i40e_main.c: warning: left shift count >= width of type [enabled by default]:  => 7654:2
  + /home/kisskb/slave/src/drivers/net/ethernet/intel/i40evf/i40e_common.c: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]  LD      drivers/target/loopback/built-in.o:  => 521:24
  + /home/kisskb/slave/src/drivers/net/ethernet/intel/i40evf/i40e_common.c: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]:  => 522:23, 521:24, 444:24, 445:23
  + /home/kisskb/slave/src/drivers/net/wireless/ath/wil6210/pcie_bus.c: warning: 'wil6210_resume' defined but not used [-Wunused-function]:  => 291:12
  + /home/kisskb/slave/src/drivers/net/wireless/ath/wil6210/pcie_bus.c: warning: 'wil6210_suspend' defined but not used [-Wunused-function]:  => 264:12
  + /home/kisskb/slave/src/drivers/platform/x86/toshiba_acpi.c: warning: 'events_type' may be used uninitialized in this function [-Wuninitialized]:  => 2404:25
  + /home/kisskb/slave/src/drivers/power/bq24735-charger.c: warning: 'flags' may be used uninitialized in this function [-Wuninitialized]:  => 227:6
  + /home/kisskb/slave/src/drivers/power/bq27x00_battery.c: warning: 'bq27x00_powersupply_init' defined but not used [-Wunused-function]:  => 777:12
  + /home/kisskb/slave/src/drivers/power/bq27x00_battery.c: warning: 'bq27x00_powersupply_unregister' defined but not used [-Wunused-function]:  => 823:13
  + /home/kisskb/slave/src/drivers/scsi/be2iscsi/be_main.c: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]:  => 3187:18
  + /home/kisskb/slave/src/drivers/scsi/bnx2fc/bnx2fc_fcoe.c: warning: the frame size of 1028 bytes is larger than 1024 bytes [-Wframe-larger-than=]:  => 2134:1
  + /home/kisskb/slave/src/drivers/scsi/bnx2fc/bnx2fc_fcoe.c: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]:  => 2134:1
  + /home/kisskb/slave/src/drivers/scsi/bnx2fc/bnx2fc_fcoe.c: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=]:  => 2134:1
  + /home/kisskb/slave/src/drivers/spi/spidev.c: warning: 'n_ioc' may be used uninitialized in this function [-Wuninitialized]:  => 219:19
  + /home/kisskb/slave/src/drivers/staging/rdma/ehca/ehca_mrmw.c: warning: 'hret' may be used uninitialized in this function [-Wuninitialized]:  => 2433:3
  + /home/kisskb/slave/src/drivers/thermal/rockchip_thermal.c: warning: large integer implicitly truncated to unsigned type [-Woverflow]:  => 247:3, 248:11
  + /home/kisskb/slave/src/drivers/thermal/spear_thermal.c: warning: 'spear_thermal_resume' defined but not used [-Wunused-function]:  => 75:12
  + /home/kisskb/slave/src/drivers/thermal/spear_thermal.c: warning: 'spear_thermal_suspend' defined but not used [-Wunused-function]:  => 58:12
  + /home/kisskb/slave/src/drivers/tty/serial/8250/8250_port.c: warning: 'flags' may be used uninitialized in this function:  => 2817:16
  + /home/kisskb/slave/src/drivers/tty/serial/8250/8250_port.c: warning: statement with no effect [-Wunused-value]:  => 1246:3, 2041:3, 2075:3
  + /home/kisskb/slave/src/drivers/uwb/i1480/dfu/phy.c: warning: 'phy_stat' may be used uninitialized in this function [-Wuninitialized]:  => 188:5
  + /home/kisskb/slave/src/drivers/video/backlight/adp8860_bl.c: warning: 'reg_val' may be used uninitialized in this function [-Wuninitialized]:  => 443:16, 625:11, 569:10, 599:32
  + /home/kisskb/slave/src/drivers/video/backlight/adp8870_bl.c: warning: 'reg_val' may be used uninitialized in this function [-Wuninitialized]:  => 811:11, 564:16, 785:32
  + /home/kisskb/slave/src/drivers/video/fbdev/sm712fb.c: warning: 'smtcfb_pci_resume' defined but not used [-Wunused-function]:  => 1572:12
  + /home/kisskb/slave/src/drivers/video/fbdev/sm712fb.c: warning: 'smtcfb_pci_suspend' defined but not used [-Wunused-function]:  => 1549:12
  + /home/kisskb/slave/src/fs/afs/internal.h: warning: 'packed' attribute ignored for field of type 'enum <anonymous>' [-Wattributes]  CC      fs/jffs2/write.o:  => 164:2
  + /home/kisskb/slave/src/fs/afs/internal.h: warning: 'packed' attribute ignored for field of type 'enum <anonymous>' [-Wattributes]  CC      net/802/p8022.o:  => 164:2
  + /home/kisskb/slave/src/fs/ext4/readpage.c: warning: the frame size of 1200 bytes is larger than 1024 bytes [-Wframe-larger-than=]:  => 328:1
  + /home/kisskb/slave/src/fs/jffs2/scan.c: warning: format '%zx' expects argument of type 'size_t', but argument 2 has type 'unsigned int' [-Wformat]  CC      drivers/tty/n_tty.o:  => 105:3
  + /home/kisskb/slave/src/fs/logfs/dev_bdev.c: warning: comparison of distinct pointer types lacks a cast [enabled by default]:  => 174:14, 84:14
  + /home/kisskb/slave/src/fs/userfaultfd.c: warning: control reaches end of non-void function [-Wreturn-type]:  => 534:1
  + /home/kisskb/slave/src/include/linux/mtd/cfi.h: warning: 'r.x[0]' may be used uninitialized in this function [-Wuninitialized]  CC      fs/sysfs/symlink.o:  => 325:3
  + /home/kisskb/slave/src/kernel/events/core.c: warning: 'perf_event_switch_output' uses dynamic stack allocation [enabled by default]:  => 6176:1
  + /home/kisskb/slave/src/lib/rhashtable.c: warning: 'next' may be used uninitialized in this function [-Wuninitialized]: 198:2 => 165:28, 195:2
  + /home/kisskb/slave/src/mm/hugetlb.c: warning: 'ret' may be used uninitialized in this function [-Wuninitialized]:  => 1709:3
  + /home/kisskb/slave/src/mm/page-writeback.c: warning: 'filepages' is used uninitialized in this function:  => 1582, 1908
  + /home/kisskb/slave/src/mm/page-writeback.c: warning: 'headroom' is used uninitialized in this function:  => 1582, 1908
  + /home/kisskb/slave/src/mm/slub.c: warning: '__slab_alloc' uses dynamic stack allocation [enabled by default]:  => 2410:1
  + /home/kisskb/slave/src/mm/slub.c: warning: 'get_partial_node.isra.44' uses dynamic stack allocation [enabled by default]:  => 1657:1
  + /home/kisskb/slave/src/mm/slub.c: warning: 'unfreeze_partials.isra.43' uses dynamic stack allocation [enabled by default]:  => 2022:1
  + /home/kisskb/slave/src/mm/zswap.c: warning: '__zswap_param_set' uses dynamic stack allocation [enabled by default]:  => 764:1
  + /home/kisskb/slave/src/net/hsr/hsr_forward.c: warning: 'frame.is_vlan' may be used uninitialized in this function [-Wuninitialized]:  => 93:5
  + /home/kisskb/slave/src/net/hsr/hsr_forward.c: warning: 'frame.port_rcv' may be used uninitialized in this function [-Wuninitialized]:  => 256:24
  + /home/kisskb/slave/src/net/hsr/hsr_forward.c: warning: 'frame.skb_hsr' may be used uninitialized in this function [-Wuninitialized]:  => 175:3
  + /home/kisskb/slave/src/net/netfilter/core.c: warning: 'entry' may be used uninitialized in this function [-Wuninitialized]:  => 155:7
  + /home/kisskb/slave/src/net/netlink/genetlink.c: warning: 'first_id' may be used uninitialized in this function [-Wuninitialized]:  => 259:23
  + /home/kisskb/slave/src/net/openvswitch/actions.c: warning: 'ovs_fragment' uses dynamic stack allocation [enabled by default]:  => 736:1
  + /home/kisskb/slave/src/sound/soc/codecs/cs35l32.c: warning: 'val' may be used uninitialized in this function [-Wuninitialized]:  => 278:2
  + /home/kisskb/slave/src/sound/soc/codecs/wm8962.c: warning: 'fll_div.fll_fratio' may be used uninitialized in this function [-Wuninitialized]:  => 2877:21
  + /home/kisskb/slave/src/sound/soc/codecs/wm8962.c: warning: 'fll_div.fll_outdiv' may be used uninitialized in this function [-Wuninitialized]:  => 2874:28
  + /home/kisskb/slave/src/sound/soc/codecs/wm8962.c: warning: 'fll_div.lambda' may be used uninitialized in this function [-Wuninitialized]:  => 2881:15
  + /home/kisskb/slave/src/sound/soc/codecs/wm8962.c: warning: 'fll_div.n' may be used uninitialized in this function [-Wuninitialized]:  => 2882:15
  + /home/kisskb/slave/src/sound/soc/codecs/wm8962.c: warning: 'fll_div.theta' may be used uninitialized in this function [-Wuninitialized]:  => 2880:15
  + <stdin>: warning: #warning syscall accept4 not implemented [-Wcpp]:  => 1268:2
  + <stdin>: warning: #warning syscall accept4 not implemented:  => 1268:2
  + <stdin>: warning: #warning syscall bind not implemented [-Wcpp]:  => 1259:2
  + <stdin>: warning: #warning syscall connect not implemented [-Wcpp]:  => 1262:2
  + <stdin>: warning: #warning syscall getpeername not implemented [-Wcpp]:  => 1280:2
  + <stdin>: warning: #warning syscall getsockname not implemented [-Wcpp]:  => 1277:2
  + <stdin>: warning: #warning syscall getsockopt not implemented [-Wcpp]:  => 1271:2
  + <stdin>: warning: #warning syscall listen not implemented [-Wcpp]:  => 1265:2
  + <stdin>: warning: #warning syscall membarrier not implemented [-Wcpp]:  => 1301:2
  + <stdin>: warning: #warning syscall membarrier not implemented:  => 1301:2
  + <stdin>: warning: #warning syscall recvfrom not implemented [-Wcpp]:  => 1289:2
  + <stdin>: warning: #warning syscall recvmsg not implemented [-Wcpp]:  => 1292:2
  + <stdin>: warning: #warning syscall sendmsg not implemented [-Wcpp]:  => 1286:2
  + <stdin>: warning: #warning syscall sendto not implemented [-Wcpp]:  => 1283:2
  + <stdin>: warning: #warning syscall setsockopt not implemented [-Wcpp]:  => 1274:2
  + <stdin>: warning: #warning syscall shutdown not implemented [-Wcpp]:  => 1295:2
  + <stdin>: warning: #warning syscall socket not implemented [-Wcpp]:  => 1253:2
  + <stdin>: warning: #warning syscall socketpair not implemented [-Wcpp]:  => 1256:2
  + <stdin>: warning: #warning syscall userfaultfd not implemented [-Wcpp]:  => 1298:2
  + <stdin>: warning: #warning syscall userfaultfd not implemented:  => 1298:2
  + arch/mips/configs/ip27_defconfig: warning: symbol value 'm' invalid for SCSI_DH:  => 137
  + modpost: WARNING: modpost: Found 4 section mismatch(es).:  => N/A
  + warning: (INTEL_SOC_DTS_IOSF_CORE && PUNIT_ATOM_DEBUG) selects IOSF_MBI which has unmet direct dependencies (PCI):  => N/A
  + warning: (KVM) selects TASKSTATS which has unmet direct dependencies (NET && MULTIUSER):  => N/A
  + warning: (PPC_CELL_NATIVE && 440GX && 460EX && 460SX && APM821xx) selects IBM_EMAC_TAH which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_IBM):  => N/A
  + warning: (PPC_CELL_NATIVE && AKEBONO && 440EPX && 440GRX && 440GX && 440SPe && 460EX && 460SX && APM821xx && 405EX) selects IBM_EMAC_EMAC4 which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_IBM):  => N/A
  + warning: (PPC_CELL_NATIVE && BLUESTONE && CANYONLANDS && GLACIER && EIGER && 440EPX && 440GRX && 440GX && 460SX && 405EX) selects IBM_EMAC_RGMII which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_IBM):  => N/A
  + warning: (PPC_CELL_NATIVE && CANYONLANDS && GLACIER && 440EP && 440EPX && 440GRX && 440GP && 440GX && 460SX && 405GP) selects IBM_EMAC_ZMII which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_IBM):  => N/A
  + warning: (SND_SOC_INTEL_BYTCR_RT5640_MACH && SND_SOC_INTEL_CHT_BSW_RT5672_MACH && SND_SOC_INTEL_CHT_BSW_RT5645_MACH && SND_SOC_INTEL_CHT_BSW_MAX98090_TI_MACH) selects SND_SST_IPC_ACPI which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && ACPI):  => N/A
  + warning: (SND_SOC_ROCKCHIP_MAX98090 && SND_SOC_ROCKCHIP_RT5645) selects SND_SOC_ROCKCHIP_I2S which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && CLKDEV_LOOKUP && SND_SOC_ROCKCHIP):  => N/A
  + warning: drivers/built-in.o(.data+0x1194): Section mismatch in reference from the variable superio_driver to the function .init.text:superio_probe():  => N/A
  + warning: drivers/built-in.o(.data+0xb28): Section mismatch in reference from the variable lba_driver to the function .init.text:lba_driver_probe():  => N/A
  + warning: drivers/built-in.o(.data+0xbd4): Section mismatch in reference from the variable ccio_driver to the function .init.text:ccio_probe():  => N/A
  + warning: drivers/built-in.o(.data+0xd54): Section mismatch in reference from the variable dino_driver to the function .init.text:dino_probe():  => N/A
  + warning: drivers/built-in.o(.data+0xe80): Section mismatch in reference from the variable lasi_driver to the function .init.text:lasi_init_chip():  => N/A
  + warning: drivers/built-in.o(.data+0xee4): Section mismatch in reference from the variable asp_driver to the function .init.text:asp_init_chip():  => N/A
  + warning: drivers/built-in.o(.data+0xf48): Section mismatch in reference from the variable wax_driver to the function .init.text:wax_init_chip():  => N/A
  + warning: drivers/built-in.o(.data+0xfac): Section mismatch in reference from the variable eisa_driver to the function .init.text:eisa_probe():  => N/A
  + warning: drivers/built-in.o(.text+0x12a26c): Section mismatch in reference from the function dmar_walk_remapping_entries() to the function .init.text:dmar_table_print_dmar_entry():  => N/A
  + warning: drivers/built-in.o(.text+0x164449): Section mismatch in reference from the function dmar_walk_remapping_entries() to the function .init.text:dmar_table_print_dmar_entry():  => N/A
  + warning: drivers/built-in.o(.text+0x3630fc): Section mismatch in reference from the function etrax_init_module() to the function .init.text:etrax_ethernet_init():  => N/A
  + warning: drivers/built-in.o(.text+0x414dc04): Section mismatch in reference from the function .create_device_attrs() to the function .init.text:.make_sensor_label():  => N/A
  + warning: drivers/built-in.o(.text+0x60024): Section mismatch in reference from the function etrax_init_module() to the function .init.text:etrax_ethernet_init():  => N/A
  + warning: drivers/hwmon/built-in.o(.text+0x4ace0): Section mismatch in reference from the function .create_device_attrs() to the function .init.text:.make_sensor_label():  => N/A
  + warning: drivers/iommu/built-in.o(.text+0x8c7d): Section mismatch in reference from the function dmar_walk_remapping_entries() to the function .init.text:dmar_table_print_dmar_entry():  => N/A
  + warning: drivers/iommu/built-in.o(.text+0xe128): Section mismatch in reference from the function dmar_walk_remapping_entries() to the function .init.text:dmar_table_print_dmar_entry():  => N/A
  + warning: drivers/net/built-in.o(.text+0x1d08): Section mismatch in reference from the function etrax_init_module() to the function .init.text:etrax_ethernet_init():  => N/A
  + warning: drivers/net/built-in.o(.text+0x4f920): Section mismatch in reference from the function etrax_init_module() to the function .init.text:etrax_ethernet_init():  => N/A
  + warning: vmlinux.o(.data+0x121c): Section mismatch in reference from the variable sercons to the function .init.text:console_setup():  => N/A
  + warning: vmlinux.o(.data+0x1224): Section mismatch in reference from the variable sercons to the function .init.text:console_setup():  => N/A
  + warning: vmlinux.o(.data+0x1254): Section mismatch in reference from the variable sercons0 to the function .init.text:console_setup():  => N/A
  + warning: vmlinux.o(.data+0x125c): Section mismatch in reference from the variable sercons0 to the function .init.text:console_setup():  => N/A
  + warning: vmlinux.o(.data+0x128c): Section mismatch in reference from the variable sercons1 to the function .init.text:console_setup():  => N/A
  + warning: vmlinux.o(.data+0x1294): Section mismatch in reference from the variable sercons1 to the function .init.text:console_setup():  => N/A
  + warning: vmlinux.o(.data+0x12c4): Section mismatch in reference from the variable sercons2 to the function .init.text:console_setup():  => N/A
  + warning: vmlinux.o(.data+0x12cc): Section mismatch in reference from the variable sercons2 to the function .init.text:console_setup():  => N/A
  + warning: vmlinux.o(.data+0x12fc): Section mismatch in reference from the variable sercons3 to the function .init.text:console_setup():  => N/A
  + warning: vmlinux.o(.data+0x1304): Section mismatch in reference from the variable sercons3 to the function .init.text:console_setup():  => N/A
  + warning: vmlinux.o(.data+0x42ea8): Section mismatch in reference from the variable lba_driver to the function .init.text:lba_driver_probe():  => N/A
  + warning: vmlinux.o(.data+0x42f54): Section mismatch in reference from the variable ccio_driver to the function .init.text:ccio_probe():  => N/A
  + warning: vmlinux.o(.data+0x430d4): Section mismatch in reference from the variable dino_driver to the function .init.text:dino_probe():  => N/A
  + warning: vmlinux.o(.data+0x43200): Section mismatch in reference from the variable lasi_driver to the function .init.text:lasi_init_chip():  => N/A
  + warning: vmlinux.o(.data+0x43264): Section mismatch in reference from the variable asp_driver to the function .init.text:asp_init_chip():  => N/A
  + warning: vmlinux.o(.data+0x432c8): Section mismatch in reference from the variable wax_driver to the function .init.text:wax_init_chip():  => N/A
  + warning: vmlinux.o(.data+0x4332c): Section mismatch in reference from the variable eisa_driver to the function .init.text:eisa_probe():  => N/A
  + warning: vmlinux.o(.data+0x43514): Section mismatch in reference from the variable superio_driver to the function .init.text:superio_probe():  => N/A
  + warning: vmlinux.o(.text+0x217140): Section mismatch in reference from the function etrax_init_module() to the function .init.text:etrax_ethernet_init():  => N/A
  + warning: vmlinux.o(.text+0x54fdd04): Section mismatch in reference from the function .create_device_attrs() to the function .init.text:.make_sensor_label():  => N/A
  + warning: vmlinux.o(.text+0x5b3c34): Section mismatch in reference from the function dmar_walk_remapping_entries() to the function .init.text:dmar_table_print_dmar_entry():  => N/A
  + warning: vmlinux.o(.text+0x6b89cd): Section mismatch in reference from the function dmar_walk_remapping_entries() to the function .init.text:dmar_table_print_dmar_entry():  => N/A
  + warning: vmlinux.o(.text+0x98b03): Section mismatch in reference from the function intel_scu_devices_create() to the function .init.text:i2c_register_board_info():  => N/A
  + warning: vmlinux.o(.text+0xa12b60): Section mismatch in reference from the function etrax_init_module() to the function .init.text:etrax_ethernet_init():  => N/A

100 improvements:
  - /home/kisskb/slave/src/arch/cris/arch-v32/drivers/axisflashmap.c: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]: 520:2, 394:3 => 
  - /home/kisskb/slave/src/arch/cris/arch-v32/drivers/axisflashmap.c: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]: 583:8 => 
  - /home/kisskb/slave/src/arch/cris/arch-v32/drivers/axisflashmap.c: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'uint64_t' [-Wformat]: 333:10 => 
  - /home/kisskb/slave/src/arch/cris/arch-v32/mach-fs/pinmux.c: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]: 104:2, 238:2 => 
  - /home/kisskb/slave/src/arch/cris/arch-v32/mach-fs/pinmux.c: warning: control reaches end of non-void function [-Wreturn-type]: 49:1 => 
  - /home/kisskb/slave/src/arch/frv/mb93090-mb00/pci-frv.c: warning: ignoring return value of 'pci_assign_resource', declared with attribute warn_unused_result [-Wunused-result]: 184:24, 176:24 => 176:24
  - /home/kisskb/slave/src/arch/x86/kvm/x86.c: warning: 'process_smi_save_seg_64' defined but not used [-Wunused-function]: 6204:13 => 
  - /home/kisskb/slave/src/crypto/async_tx/raid6test.c: warning: 'raid6_dual_recov.constprop.3' uses dynamic stack allocation [enabled by default]: 128:1 => 
  - /home/kisskb/slave/src/drivers/block/nvme-core.c: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]: 1849:10, 1807:4 => 
  - /home/kisskb/slave/src/drivers/gpio/gpio-74xx-mmio.c: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]: 132:16 => 
  - /home/kisskb/slave/src/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c: warning: 'min_ctx_size' may be used uninitialized in this function [-Wuninitialized]: 491:17 => 
  - /home/kisskb/slave/src/drivers/gpu/drm/i915/i915_gem_gtt.c: warning: large integer implicitly truncated to unsigned type [-Woverflow]: 954:2 => 
  - /home/kisskb/slave/src/drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm204.c: warning: the frame size of 1184 bytes is larger than 1024 bytes [-Wframe-larger-than=]: 975:1 => 
  - /home/kisskb/slave/src/drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm204.c: warning: the frame size of 1220 bytes is larger than 1024 bytes [-Wframe-larger-than=]: 975:1 => 
  - /home/kisskb/slave/src/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/g94.c: warning: 'stat' may be used uninitialized in this function [-Wuninitialized]: 184:31 => 
  - /home/kisskb/slave/src/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/gm204.c: warning: 'stat' may be used uninitialized in this function [-Wuninitialized]: 154:31 => 
  - /home/kisskb/slave/src/drivers/gpu/drm/virtio/virtgpu_debugfs.c: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'long long int' [-Wformat]: 39:6 => 
  - /home/kisskb/slave/src/drivers/gpu/drm/virtio/virtgpu_fence.c: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat]: 64:2 => 
  - /home/kisskb/slave/src/drivers/hv/hv_fcopy.c: warning: the frame size of 1088 bytes is larger than 1024 bytes [-Wframe-larger-than=]: 172:1 => 
  - /home/kisskb/slave/src/drivers/i2c/busses/i2c-cpm.c: warning: passing argument 3 of 'dma_alloc_attrs' from incompatible pointer type [enabled by default]: 545:3, 536:3 => 
  - /home/kisskb/slave/src/drivers/infiniband/hw/ehca/ehca_mrmw.c: warning: 'hret' may be used uninitialized in this function [-Wuninitialized]: 2430:5, 2433:3 => 
  - /home/kisskb/slave/src/drivers/infiniband/hw/ehca/ehca_mrmw.c: warning: 'prev_pgaddr' may be used uninitialized in this function [-Wuninitialized]: 1907:6 => 
  - /home/kisskb/slave/src/drivers/md/dm-crypt.c: warning: 'crypt_iv_lmk_one.isra.12' uses dynamic stack allocation [enabled by default]: 576:1 => 
  - /home/kisskb/slave/src/drivers/md/dm-crypt.c: warning: 'crypt_iv_tcw_whitening.isra.11' uses dynamic stack allocation [enabled by default]: 715:1 => 
  - /home/kisskb/slave/src/drivers/md/raid10.c: warning: 'raid10_mergeable_bvec' uses dynamic stack allocation [enabled by default]: 760:1 => 
  - /home/kisskb/slave/src/drivers/net/ethernet/intel/e1000e/netdev.c: warning: 'e1000e_disable_aspm_locked' defined but not used [-Wunused-function]: 6450:13 => 
  - /home/kisskb/slave/src/drivers/net/ethernet/via/via-rhine.c: warning: assignment makes pointer from integer without a cast [enabled by default]: 1098:9 => 
  - /home/kisskb/slave/src/drivers/net/ethernet/via/via-rhine.c: warning: unused variable 'rp' [-Wunused-variable]: 2468:24 => 
  - /home/kisskb/slave/src/drivers/regulator/tps6586x-regulator.c: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]: 430:8 => 
  - /home/kisskb/slave/src/drivers/scsi/aic94xx/aic94xx_sds.c: warning: 'offs' may be used uninitialized in this function [-Wuninitialized]: 597:21 => 
  - /home/kisskb/slave/src/drivers/spi/spi-atmel.c: warning: 'atmel_spi_resume' defined but not used [-Wunused-function]: 1742:12 => 
  - /home/kisskb/slave/src/drivers/spi/spi-atmel.c: warning: 'atmel_spi_suspend' defined but not used [-Wunused-function]: 1724:12 => 
  - /home/kisskb/slave/src/drivers/staging/sm7xxfb/sm7xxfb.c: warning: 'smtcfb_pci_resume' defined but not used [-Wunused-function]: 1601:12 => 
  - /home/kisskb/slave/src/drivers/staging/sm7xxfb/sm7xxfb.c: warning: 'smtcfb_pci_suspend' defined but not used [-Wunused-function]: 1578:12 => 
  - /home/kisskb/slave/src/drivers/tty/serial/8250/8250_core.c: warning: 'flags' may be used uninitialized in this function: 3345:16 => 
  - /home/kisskb/slave/src/drivers/tty/serial/8250/8250_core.c: warning: statement with no effect [-Wunused-value]: 2383:3, 1303:3, 2349:3 => 
  - /home/kisskb/slave/src/drivers/usb/host/xhci-pci.c: warning: 'xhci_pme_quirk' defined but not used [-Wunused-function]: 192:13 => 
  - /home/kisskb/slave/src/drivers/usb/musb/ux500_dma.c: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]: 210:51 => 
  - /home/kisskb/slave/src/drivers/usb/renesas_usbhs/common.c: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]: 496:25 => 
  - /home/kisskb/slave/src/fs/ext3/acl.c: warning: 'name_index' may be used uninitialized in this function [-Wuninitialized]: 159:9 => 
  - /home/kisskb/slave/src/fs/gfs2/rgrp.c: warning: comparison of distinct pointer types lacks a cast [enabled by default]: 1882:3 => 
  - /home/kisskb/slave/src/include/linux/mtd/cfi.h: warning: 'r.x[0]' may be used uninitialized in this function [-Wuninitialized]  LD      drivers/sh/clk/built-in.o: 341:3 => 
  - /home/kisskb/slave/src/include/linux/unaligned/le_byteshift.h: warning: array subscript is above array bounds [-Warray-bounds]: 25:7 => 
  - /home/kisskb/slave/src/mm/slub.c: warning: '__slab_alloc.constprop.51' uses dynamic stack allocation [enabled by default]: 2413:1 => 
  - /home/kisskb/slave/src/mm/slub.c: warning: 'get_partial_node.isra.47' uses dynamic stack allocation [enabled by default]: 1660:1 => 
  - /home/kisskb/slave/src/mm/slub.c: warning: 'unfreeze_partials.isra.46' uses dynamic stack allocation [enabled by default]: 2025:1 => 
  - /home/kisskb/slave/src/mm/zswap.c: warning: 'ret' may be used uninitialized in this function [-Wuninitialized]: 543:6 => 
  - /home/kisskb/slave/src/net/ipv4/inet_timewait_sock.c: warning: passing argument 1 of 'atomic64_read' discards 'const' qualifier from pointer target type [enabled by default]: 217:3 => 
  - /home/kisskb/slave/src/net/sunrpc/svcsock.c: warning: 'optname' may be used uninitialized in this function [-Wuninitialized]  CC [M]  fs/isofs/inode.o: 754:6 => 
  - <stdin>: warning: #warning syscall sched_setattr not implemented [-Wcpp]  HOSTLD  scripts/mod/modpost: 1229:2 => 
  - arch/blackfin/configs/BF527-EZKIT_defconfig: warning: override: MUSB_PIO_ONLY changes choice state: 150 => 
  - warning: (DRM_PS8622 && DRM_RADEON && DRM_AMDGPU && DRM_NOUVEAU && DRM_I915 && DRM_GMA500 && DRM_SHMOBILE && DRM_TILCDC && FB_BACKLIGHT && FB_MX3 && USB_APPLEDISPLAY && FB_OLPC_DCON && ACPI_CMPC && SAMSUNG_Q10) selects BACKLIGHT_CLASS_DEVICE which has unmet direct dependencies (HAS_IOMEM && BACKLIGHT_LCD_SUPPORT): N/A => 
  - warning: (VIDEO_EM28XX_V4L2) selects VIDEO_MT9V011 which has unmet direct dependencies (MEDIA_SUPPORT && I2C && VIDEO_V4L2 && MEDIA_CAMERA_SUPPORT): N/A => 
  - warning: drivers/built-in.o(.data+0x1174): Section mismatch in reference from the variable superio_driver to the function .init.text:superio_probe(): N/A => 
  - warning: drivers/built-in.o(.data+0xb08): Section mismatch in reference from the variable lba_driver to the function .init.text:lba_driver_probe(): N/A => 
  - warning: drivers/built-in.o(.data+0xbb4): Section mismatch in reference from the variable ccio_driver to the function .init.text:ccio_probe(): N/A => 
  - warning: drivers/built-in.o(.data+0xd34): Section mismatch in reference from the variable dino_driver to the function .init.text:dino_probe(): N/A => 
  - warning: drivers/built-in.o(.data+0xe60): Section mismatch in reference from the variable lasi_driver to the function .init.text:lasi_init_chip(): N/A => 
  - warning: drivers/built-in.o(.data+0xec4): Section mismatch in reference from the variable asp_driver to the function .init.text:asp_init_chip(): N/A => 
  - warning: drivers/built-in.o(.data+0xf28): Section mismatch in reference from the variable wax_driver to the function .init.text:wax_init_chip(): N/A => 
  - warning: drivers/built-in.o(.data+0xf8c): Section mismatch in reference from the variable eisa_driver to the function .init.text:eisa_probe(): N/A => 
  - warning: drivers/built-in.o(.text+0x126b85): Section mismatch in reference from the function dmar_walk_remapping_entries() to the function .init.text:dmar_table_print_dmar_entry(): N/A => 
  - warning: drivers/built-in.o(.text+0x15fc03): Section mismatch in reference from the function dmar_walk_remapping_entries() to the function .init.text:dmar_table_print_dmar_entry(): N/A => 
  - warning: drivers/built-in.o(.text+0x356e68): Section mismatch in reference from the function etrax_init_module() to the function .init.text:etrax_ethernet_init(): N/A => 
  - warning: drivers/built-in.o(.text+0x3c8870): Section mismatch in reference from the function .create_device_attrs() to the function .init.text:.make_sensor_label(): N/A => 
  - warning: drivers/built-in.o(.text+0x407495c): Section mismatch in reference from the function .create_device_attrs() to the function .init.text:.make_sensor_label(): N/A => 
  - warning: drivers/built-in.o(.text+0x5d700): Section mismatch in reference from the function etrax_init_module() to the function .init.text:etrax_ethernet_init(): N/A => 
  - warning: drivers/hwmon/built-in.o(.text+0x161f0): Section mismatch in reference from the function .create_device_attrs() to the function .init.text:.make_sensor_label(): N/A => 
  - warning: drivers/hwmon/built-in.o(.text+0x4acbc): Section mismatch in reference from the function .create_device_attrs() to the function .init.text:.make_sensor_label(): N/A => 
  - warning: drivers/iommu/built-in.o(.text+0x8847): Section mismatch in reference from the function dmar_walk_remapping_entries() to the function .init.text:dmar_table_print_dmar_entry(): N/A => 
  - warning: drivers/iommu/built-in.o(.text+0xddd9): Section mismatch in reference from the function dmar_walk_remapping_entries() to the function .init.text:dmar_table_print_dmar_entry(): N/A => 
  - warning: drivers/net/built-in.o(.text+0x1d0c): Section mismatch in reference from the function etrax_init_module() to the function .init.text:etrax_ethernet_init(): N/A => 
  - warning: drivers/net/built-in.o(.text+0x4d198): Section mismatch in reference from the function etrax_init_module() to the function .init.text:etrax_ethernet_init(): N/A => 
  - warning: vmlinux.o(.data+0x11e0): Section mismatch in reference from the variable sercons to the function .init.text:console_setup(): N/A => 
  - warning: vmlinux.o(.data+0x11e8): Section mismatch in reference from the variable sercons to the function .init.text:console_setup(): N/A => 
  - warning: vmlinux.o(.data+0x1218): Section mismatch in reference from the variable sercons0 to the function .init.text:console_setup(): N/A => 
  - warning: vmlinux.o(.data+0x1220): Section mismatch in reference from the variable sercons0 to the function .init.text:console_setup(): N/A => 
  - warning: vmlinux.o(.data+0x1250): Section mismatch in reference from the variable sercons1 to the function .init.text:console_setup(): N/A => 
  - warning: vmlinux.o(.data+0x1258): Section mismatch in reference from the variable sercons1 to the function .init.text:console_setup(): N/A => 
  - warning: vmlinux.o(.data+0x1288): Section mismatch in reference from the variable sercons2 to the function .init.text:console_setup(): N/A => 
  - warning: vmlinux.o(.data+0x1290): Section mismatch in reference from the variable sercons2 to the function .init.text:console_setup(): N/A => 
  - warning: vmlinux.o(.data+0x12c0): Section mismatch in reference from the variable sercons3 to the function .init.text:console_setup(): N/A => 
  - warning: vmlinux.o(.data+0x12c8): Section mismatch in reference from the variable sercons3 to the function .init.text:console_setup(): N/A => 
  - warning: vmlinux.o(.data+0x422c8): Section mismatch in reference from the variable lba_driver to the function .init.text:lba_driver_probe(): N/A => 
  - warning: vmlinux.o(.data+0x42374): Section mismatch in reference from the variable ccio_driver to the function .init.text:ccio_probe(): N/A => 
  - warning: vmlinux.o(.data+0x424f4): Section mismatch in reference from the variable dino_driver to the function .init.text:dino_probe(): N/A => 
  - warning: vmlinux.o(.data+0x42620): Section mismatch in reference from the variable lasi_driver to the function .init.text:lasi_init_chip(): N/A => 
  - warning: vmlinux.o(.data+0x42684): Section mismatch in reference from the variable asp_driver to the function .init.text:asp_init_chip(): N/A => 
  - warning: vmlinux.o(.data+0x426e8): Section mismatch in reference from the variable wax_driver to the function .init.text:wax_init_chip(): N/A => 
  - warning: vmlinux.o(.data+0x4274c): Section mismatch in reference from the variable eisa_driver to the function .init.text:eisa_probe(): N/A => 
  - warning: vmlinux.o(.data+0x42934): Section mismatch in reference from the variable superio_driver to the function .init.text:superio_probe(): N/A => 
  - warning: vmlinux.o(.text+0x20a61c): Section mismatch in reference from the function etrax_init_module() to the function .init.text:etrax_ethernet_init(): N/A => 
  - warning: vmlinux.o(.text+0x551b6dc): Section mismatch in reference from the function .create_device_attrs() to the function .init.text:.make_sensor_label(): N/A => 
  - warning: vmlinux.o(.text+0x59d48d): Section mismatch in reference from the function dmar_walk_remapping_entries() to the function .init.text:dmar_table_print_dmar_entry(): N/A => 
  - warning: vmlinux.o(.text+0x69e81f): Section mismatch in reference from the function dmar_walk_remapping_entries() to the function .init.text:dmar_table_print_dmar_entry(): N/A => 
  - warning: vmlinux.o(.text+0x87fd50): Section mismatch in reference from the function .create_device_attrs() to the function .init.text:.make_sensor_label(): N/A => 
  - warning: vmlinux.o(.text+0x97e93): Section mismatch in reference from the function intel_scu_devices_create() to the function .init.text:i2c_register_board_info(): N/A => 
  - warning: vmlinux.o(.text+0xa186b8): Section mismatch in reference from the function etrax_init_module() to the function .init.text:etrax_ethernet_init(): N/A => 
  - warning: vmlinux.o(.text.unlikely+0x1472): Section mismatch in reference from the function __smp_store_cpu_state() to the function .init.text:memblock_alloc(): N/A => 
  - warning: vmlinux.o(.text.unlikely+0xc6c): Section mismatch in reference from the function __smp_store_cpu_state() to the function .init.text:memblock_alloc(): N/A => 

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Build regressions/improvements in v4.3-rc7
  2015-10-25 10:12 Build regressions/improvements in v4.3-rc7 Geert Uytterhoeven
@ 2015-10-25 10:18   ` Geert Uytterhoeven
  0 siblings, 0 replies; 21+ messages in thread
From: Geert Uytterhoeven @ 2015-10-25 10:18 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-arm-kernel

On Sun, Oct 25, 2015 at 11:12 AM, Geert Uytterhoeven
<geert@linux-m68k.org> wrote:
> JFYI, when comparing v4.3-rc7[1] to v4.3-rc6[3], the summaries are:
>   - build errors: +12/-4

  + /home/kisskb/slave/src/arch/arm/kernel/devtree.c: error: implicit
declaration of function 'early_init_dt_scan_nodes'
[-Werror=implicit-function-declaration]:  => 244:2
  + /home/kisskb/slave/src/arch/arm/kernel/devtree.c: error: implicit
declaration of function 'early_init_dt_verify'
[-Werror=implicit-function-declaration]:  => 215:2
  + /home/kisskb/slave/src/arch/arm/kernel/devtree.c: error: implicit
declaration of function 'of_flat_dt_match_machine'
[-Werror=implicit-function-declaration]:  => 218:2
  + /home/kisskb/slave/src/arch/arm/kernel/devtree.c: error: implicit
declaration of function 'of_get_flat_dt_prop'
[-Werror=implicit-function-declaration]:  => 229:3
  + /home/kisskb/slave/src/arch/arm/kernel/devtree.c: error: implicit
declaration of function 'of_get_flat_dt_root'
[-Werror=implicit-function-declaration]:  => 228:3
  + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error:
'L_PTE_DIRTY' undeclared (first use in this function):  => 39:2
  + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error:
'L_PTE_MT_WRITEBACK' undeclared (first use in this function):  => 39:2
  + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error:
'L_PTE_PRESENT' undeclared (first use in this function):  => 39:2
  + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_XN'
undeclared (first use in this function):  => 39:2
  + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error:
'L_PTE_YOUNG' undeclared (first use in this function):  => 39:2

arm-randconfig (all seen and reported before)

> [1] http://kisskb.ellerman.id.au/kisskb/head/9511/ (256 out of 254 configs)
> [3] http://kisskb.ellerman.id.au/kisskb/head/9487/ (255 out of 254 configs)

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Build regressions/improvements in v4.3-rc7
@ 2015-10-25 10:18   ` Geert Uytterhoeven
  0 siblings, 0 replies; 21+ messages in thread
From: Geert Uytterhoeven @ 2015-10-25 10:18 UTC (permalink / raw)
  To: linux-arm-kernel

On Sun, Oct 25, 2015 at 11:12 AM, Geert Uytterhoeven
<geert@linux-m68k.org> wrote:
> JFYI, when comparing v4.3-rc7[1] to v4.3-rc6[3], the summaries are:
>   - build errors: +12/-4

  + /home/kisskb/slave/src/arch/arm/kernel/devtree.c: error: implicit
declaration of function 'early_init_dt_scan_nodes'
[-Werror=implicit-function-declaration]:  => 244:2
  + /home/kisskb/slave/src/arch/arm/kernel/devtree.c: error: implicit
declaration of function 'early_init_dt_verify'
[-Werror=implicit-function-declaration]:  => 215:2
  + /home/kisskb/slave/src/arch/arm/kernel/devtree.c: error: implicit
declaration of function 'of_flat_dt_match_machine'
[-Werror=implicit-function-declaration]:  => 218:2
  + /home/kisskb/slave/src/arch/arm/kernel/devtree.c: error: implicit
declaration of function 'of_get_flat_dt_prop'
[-Werror=implicit-function-declaration]:  => 229:3
  + /home/kisskb/slave/src/arch/arm/kernel/devtree.c: error: implicit
declaration of function 'of_get_flat_dt_root'
[-Werror=implicit-function-declaration]:  => 228:3
  + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error:
'L_PTE_DIRTY' undeclared (first use in this function):  => 39:2
  + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error:
'L_PTE_MT_WRITEBACK' undeclared (first use in this function):  => 39:2
  + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error:
'L_PTE_PRESENT' undeclared (first use in this function):  => 39:2
  + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_XN'
undeclared (first use in this function):  => 39:2
  + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error:
'L_PTE_YOUNG' undeclared (first use in this function):  => 39:2

arm-randconfig (all seen and reported before)

> [1] http://kisskb.ellerman.id.au/kisskb/head/9511/ (256 out of 254 configs)
> [3] http://kisskb.ellerman.id.au/kisskb/head/9487/ (255 out of 254 configs)

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Build regressions/improvements in v4.3-rc7
  2015-10-25 10:18   ` Geert Uytterhoeven
@ 2015-10-25 10:39     ` Geert Uytterhoeven
  -1 siblings, 0 replies; 21+ messages in thread
From: Geert Uytterhoeven @ 2015-10-25 10:39 UTC (permalink / raw)
  To: Rabin Vincent, Russell King, Kees Cook; +Cc: linux-arm-kernel, linux-kernel

On Sun, Oct 25, 2015 at 11:18 AM, Geert Uytterhoeven
<geert@linux-m68k.org> wrote:
> On Sun, Oct 25, 2015 at 11:12 AM, Geert Uytterhoeven
> <geert@linux-m68k.org> wrote:
>> JFYI, when comparing v4.3-rc7[1] to v4.3-rc6[3], the summaries are:
>>   - build errors: +12/-4

>   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_DIRTY' undeclared (first use in this function):  => 39:2
>   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_MT_WRITEBACK' undeclared (first use in this function):  => 39:2
>   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_PRESENT' undeclared (first use in this function):  => 39:2
>   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_XN' undeclared (first use in this function):  => 39:2
>   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_YOUNG' undeclared (first use in this function):  => 39:2

Caused by:

commit ab0615e2d6fb074764a3e4d05f1326fa2fdb4627
Author: Rabin Vincent <rabin@rab.in>
Date:   Thu Apr 24 23:28:57 2014 +0200

    arm: use fixmap for text patching when text is RO

Should the call to set_fixmap() in arch/arm/kernel/patch.c
just be protected by #ifdef CONFIG_MMU?

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Build regressions/improvements in v4.3-rc7
@ 2015-10-25 10:39     ` Geert Uytterhoeven
  0 siblings, 0 replies; 21+ messages in thread
From: Geert Uytterhoeven @ 2015-10-25 10:39 UTC (permalink / raw)
  To: linux-arm-kernel

On Sun, Oct 25, 2015 at 11:18 AM, Geert Uytterhoeven
<geert@linux-m68k.org> wrote:
> On Sun, Oct 25, 2015 at 11:12 AM, Geert Uytterhoeven
> <geert@linux-m68k.org> wrote:
>> JFYI, when comparing v4.3-rc7[1] to v4.3-rc6[3], the summaries are:
>>   - build errors: +12/-4

>   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_DIRTY' undeclared (first use in this function):  => 39:2
>   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_MT_WRITEBACK' undeclared (first use in this function):  => 39:2
>   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_PRESENT' undeclared (first use in this function):  => 39:2
>   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_XN' undeclared (first use in this function):  => 39:2
>   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_YOUNG' undeclared (first use in this function):  => 39:2

Caused by:

commit ab0615e2d6fb074764a3e4d05f1326fa2fdb4627
Author: Rabin Vincent <rabin@rab.in>
Date:   Thu Apr 24 23:28:57 2014 +0200

    arm: use fixmap for text patching when text is RO

Should the call to set_fixmap() in arch/arm/kernel/patch.c
just be protected by #ifdef CONFIG_MMU?

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Build regressions/improvements in v4.3-rc7
  2015-10-25 10:39     ` Geert Uytterhoeven
@ 2015-10-25 14:08       ` Russell King - ARM Linux
  -1 siblings, 0 replies; 21+ messages in thread
From: Russell King - ARM Linux @ 2015-10-25 14:08 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Rabin Vincent, Kees Cook, linux-arm-kernel, linux-kernel

On Sun, Oct 25, 2015 at 11:39:15AM +0100, Geert Uytterhoeven wrote:
> On Sun, Oct 25, 2015 at 11:18 AM, Geert Uytterhoeven
> <geert@linux-m68k.org> wrote:
> > On Sun, Oct 25, 2015 at 11:12 AM, Geert Uytterhoeven
> > <geert@linux-m68k.org> wrote:
> >> JFYI, when comparing v4.3-rc7[1] to v4.3-rc6[3], the summaries are:
> >>   - build errors: +12/-4
> 
> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_DIRTY' undeclared (first use in this function):  => 39:2
> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_MT_WRITEBACK' undeclared (first use in this function):  => 39:2
> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_PRESENT' undeclared (first use in this function):  => 39:2
> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_XN' undeclared (first use in this function):  => 39:2
> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_YOUNG' undeclared (first use in this function):  => 39:2
> 
> Caused by:
> 
> commit ab0615e2d6fb074764a3e4d05f1326fa2fdb4627
> Author: Rabin Vincent <rabin@rab.in>
> Date:   Thu Apr 24 23:28:57 2014 +0200
> 
>     arm: use fixmap for text patching when text is RO
> 
> Should the call to set_fixmap() in arch/arm/kernel/patch.c
> just be protected by #ifdef CONFIG_MMU?

What this shows, time and time again, is that we need better testing for
!MMU platforms - we need !MMU platforms in the mainline kernel which
people actually have.

I have an OKI 67001 board (from Simtec), which is the older generation of
!MMU system, and I have code for it, but arm-soc won't let me put it in
the mainline kernel - even though it would give me a platform which I can
add to the boot farm to build and boot a test kernel for.

Consequently, I've little motivation to catch !MMU regressions before
they hit mainline.

Should we accept old !MMU code into mainline for platforms which kernel
developers have, in order to aid testing, even though it isn't modern
platforms and doesn't conform to the latest way of doing stuff.

Discuss.

-- 
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Build regressions/improvements in v4.3-rc7
@ 2015-10-25 14:08       ` Russell King - ARM Linux
  0 siblings, 0 replies; 21+ messages in thread
From: Russell King - ARM Linux @ 2015-10-25 14:08 UTC (permalink / raw)
  To: linux-arm-kernel

On Sun, Oct 25, 2015 at 11:39:15AM +0100, Geert Uytterhoeven wrote:
> On Sun, Oct 25, 2015 at 11:18 AM, Geert Uytterhoeven
> <geert@linux-m68k.org> wrote:
> > On Sun, Oct 25, 2015 at 11:12 AM, Geert Uytterhoeven
> > <geert@linux-m68k.org> wrote:
> >> JFYI, when comparing v4.3-rc7[1] to v4.3-rc6[3], the summaries are:
> >>   - build errors: +12/-4
> 
> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_DIRTY' undeclared (first use in this function):  => 39:2
> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_MT_WRITEBACK' undeclared (first use in this function):  => 39:2
> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_PRESENT' undeclared (first use in this function):  => 39:2
> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_XN' undeclared (first use in this function):  => 39:2
> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_YOUNG' undeclared (first use in this function):  => 39:2
> 
> Caused by:
> 
> commit ab0615e2d6fb074764a3e4d05f1326fa2fdb4627
> Author: Rabin Vincent <rabin@rab.in>
> Date:   Thu Apr 24 23:28:57 2014 +0200
> 
>     arm: use fixmap for text patching when text is RO
> 
> Should the call to set_fixmap() in arch/arm/kernel/patch.c
> just be protected by #ifdef CONFIG_MMU?

What this shows, time and time again, is that we need better testing for
!MMU platforms - we need !MMU platforms in the mainline kernel which
people actually have.

I have an OKI 67001 board (from Simtec), which is the older generation of
!MMU system, and I have code for it, but arm-soc won't let me put it in
the mainline kernel - even though it would give me a platform which I can
add to the boot farm to build and boot a test kernel for.

Consequently, I've little motivation to catch !MMU regressions before
they hit mainline.

Should we accept old !MMU code into mainline for platforms which kernel
developers have, in order to aid testing, even though it isn't modern
platforms and doesn't conform to the latest way of doing stuff.

Discuss.

-- 
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Build regressions/improvements in v4.3-rc7
  2015-10-25 10:18   ` Geert Uytterhoeven
@ 2015-10-25 17:34     ` Geert Uytterhoeven
  -1 siblings, 0 replies; 21+ messages in thread
From: Geert Uytterhoeven @ 2015-10-25 17:34 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-arm-kernel

On Sun, Oct 25, 2015 at 11:18 AM, Geert Uytterhoeven
<geert@linux-m68k.org> wrote:
> On Sun, Oct 25, 2015 at 11:12 AM, Geert Uytterhoeven
> <geert@linux-m68k.org> wrote:
>> JFYI, when comparing v4.3-rc7[1] to v4.3-rc6[3], the summaries are:
>>   - build errors: +12/-4
>
>   + /home/kisskb/slave/src/arch/arm/kernel/devtree.c: error: implicit declaration of function 'early_init_dt_scan_nodes' [-Werror=implicit-function-declaration]:  => 244:2
>   + /home/kisskb/slave/src/arch/arm/kernel/devtree.c: error: implicit declaration of function 'early_init_dt_verify' [-Werror=implicit-function-declaration]:  => 215:2
>   + /home/kisskb/slave/src/arch/arm/kernel/devtree.c: error: implicit declaration of function 'of_flat_dt_match_machine' [-Werror=implicit-function-declaration]:  => 218:2
>   + /home/kisskb/slave/src/arch/arm/kernel/devtree.c: error: implicit declaration of function 'of_get_flat_dt_prop' [-Werror=implicit-function-declaration]:  => 229:3
>   + /home/kisskb/slave/src/arch/arm/kernel/devtree.c: error: implicit declaration of function 'of_get_flat_dt_root' [-Werror=implicit-function-declaration]:  => 228:3

> arm-randconfig (all seen and reported before)

CONFIG_OF=y with CONFIG_USE_OF=n, which used to be an impossibe
combination on ARM. Patch sent.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Build regressions/improvements in v4.3-rc7
@ 2015-10-25 17:34     ` Geert Uytterhoeven
  0 siblings, 0 replies; 21+ messages in thread
From: Geert Uytterhoeven @ 2015-10-25 17:34 UTC (permalink / raw)
  To: linux-arm-kernel

On Sun, Oct 25, 2015 at 11:18 AM, Geert Uytterhoeven
<geert@linux-m68k.org> wrote:
> On Sun, Oct 25, 2015 at 11:12 AM, Geert Uytterhoeven
> <geert@linux-m68k.org> wrote:
>> JFYI, when comparing v4.3-rc7[1] to v4.3-rc6[3], the summaries are:
>>   - build errors: +12/-4
>
>   + /home/kisskb/slave/src/arch/arm/kernel/devtree.c: error: implicit declaration of function 'early_init_dt_scan_nodes' [-Werror=implicit-function-declaration]:  => 244:2
>   + /home/kisskb/slave/src/arch/arm/kernel/devtree.c: error: implicit declaration of function 'early_init_dt_verify' [-Werror=implicit-function-declaration]:  => 215:2
>   + /home/kisskb/slave/src/arch/arm/kernel/devtree.c: error: implicit declaration of function 'of_flat_dt_match_machine' [-Werror=implicit-function-declaration]:  => 218:2
>   + /home/kisskb/slave/src/arch/arm/kernel/devtree.c: error: implicit declaration of function 'of_get_flat_dt_prop' [-Werror=implicit-function-declaration]:  => 229:3
>   + /home/kisskb/slave/src/arch/arm/kernel/devtree.c: error: implicit declaration of function 'of_get_flat_dt_root' [-Werror=implicit-function-declaration]:  => 228:3

> arm-randconfig (all seen and reported before)

CONFIG_OF=y with CONFIG_USE_OF=n, which used to be an impossibe
combination on ARM. Patch sent.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Build regressions/improvements in v4.3-rc7
  2015-10-25 14:08       ` Russell King - ARM Linux
@ 2015-10-25 17:38         ` Geert Uytterhoeven
  -1 siblings, 0 replies; 21+ messages in thread
From: Geert Uytterhoeven @ 2015-10-25 17:38 UTC (permalink / raw)
  To: Russell King - ARM Linux
  Cc: Rabin Vincent, Kees Cook, linux-arm-kernel, linux-kernel

On Sun, Oct 25, 2015 at 3:08 PM, Russell King - ARM Linux
<linux@arm.linux.org.uk> wrote:
> On Sun, Oct 25, 2015 at 11:39:15AM +0100, Geert Uytterhoeven wrote:
>> On Sun, Oct 25, 2015 at 11:18 AM, Geert Uytterhoeven
>> <geert@linux-m68k.org> wrote:
>> > On Sun, Oct 25, 2015 at 11:12 AM, Geert Uytterhoeven
>> > <geert@linux-m68k.org> wrote:
>> >> JFYI, when comparing v4.3-rc7[1] to v4.3-rc6[3], the summaries are:
>> >>   - build errors: +12/-4
>>
>> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_DIRTY' undeclared (first use in this function):  => 39:2
>> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_MT_WRITEBACK' undeclared (first use in this function):  => 39:2
>> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_PRESENT' undeclared (first use in this function):  => 39:2
>> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_XN' undeclared (first use in this function):  => 39:2
>> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_YOUNG' undeclared (first use in this function):  => 39:2
>>
>> Caused by:
>>
>> commit ab0615e2d6fb074764a3e4d05f1326fa2fdb4627
>> Author: Rabin Vincent <rabin@rab.in>
>> Date:   Thu Apr 24 23:28:57 2014 +0200
>>
>>     arm: use fixmap for text patching when text is RO
>>
>> Should the call to set_fixmap() in arch/arm/kernel/patch.c
>> just be protected by #ifdef CONFIG_MMU?
>
> What this shows, time and time again, is that we need better testing for
> !MMU platforms - we need !MMU platforms in the mainline kernel which
> people actually have.
>
> I have an OKI 67001 board (from Simtec), which is the older generation of
> !MMU system, and I have code for it, but arm-soc won't let me put it in
> the mainline kernel - even though it would give me a platform which I can
> add to the boot farm to build and boot a test kernel for.
>
> Consequently, I've little motivation to catch !MMU regressions before
> they hit mainline.
>
> Should we accept old !MMU code into mainline for platforms which kernel
> developers have, in order to aid testing, even though it isn't modern
> platforms and doesn't conform to the latest way of doing stuff.

I think we should have at least one arm-nommu platform in the upstream kernel,
with a suitable defconfig, so 0build will catch regressions.

Alternative, can any of the existing supported arm-mmu platform be used with
a nommu kernel?

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Build regressions/improvements in v4.3-rc7
@ 2015-10-25 17:38         ` Geert Uytterhoeven
  0 siblings, 0 replies; 21+ messages in thread
From: Geert Uytterhoeven @ 2015-10-25 17:38 UTC (permalink / raw)
  To: linux-arm-kernel

On Sun, Oct 25, 2015 at 3:08 PM, Russell King - ARM Linux
<linux@arm.linux.org.uk> wrote:
> On Sun, Oct 25, 2015 at 11:39:15AM +0100, Geert Uytterhoeven wrote:
>> On Sun, Oct 25, 2015 at 11:18 AM, Geert Uytterhoeven
>> <geert@linux-m68k.org> wrote:
>> > On Sun, Oct 25, 2015 at 11:12 AM, Geert Uytterhoeven
>> > <geert@linux-m68k.org> wrote:
>> >> JFYI, when comparing v4.3-rc7[1] to v4.3-rc6[3], the summaries are:
>> >>   - build errors: +12/-4
>>
>> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_DIRTY' undeclared (first use in this function):  => 39:2
>> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_MT_WRITEBACK' undeclared (first use in this function):  => 39:2
>> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_PRESENT' undeclared (first use in this function):  => 39:2
>> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_XN' undeclared (first use in this function):  => 39:2
>> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_YOUNG' undeclared (first use in this function):  => 39:2
>>
>> Caused by:
>>
>> commit ab0615e2d6fb074764a3e4d05f1326fa2fdb4627
>> Author: Rabin Vincent <rabin@rab.in>
>> Date:   Thu Apr 24 23:28:57 2014 +0200
>>
>>     arm: use fixmap for text patching when text is RO
>>
>> Should the call to set_fixmap() in arch/arm/kernel/patch.c
>> just be protected by #ifdef CONFIG_MMU?
>
> What this shows, time and time again, is that we need better testing for
> !MMU platforms - we need !MMU platforms in the mainline kernel which
> people actually have.
>
> I have an OKI 67001 board (from Simtec), which is the older generation of
> !MMU system, and I have code for it, but arm-soc won't let me put it in
> the mainline kernel - even though it would give me a platform which I can
> add to the boot farm to build and boot a test kernel for.
>
> Consequently, I've little motivation to catch !MMU regressions before
> they hit mainline.
>
> Should we accept old !MMU code into mainline for platforms which kernel
> developers have, in order to aid testing, even though it isn't modern
> platforms and doesn't conform to the latest way of doing stuff.

I think we should have at least one arm-nommu platform in the upstream kernel,
with a suitable defconfig, so 0build will catch regressions.

Alternative, can any of the existing supported arm-mmu platform be used with
a nommu kernel?

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Build regressions/improvements in v4.3-rc7
  2015-10-25 17:38         ` Geert Uytterhoeven
@ 2015-10-25 18:23           ` Russell King - ARM Linux
  -1 siblings, 0 replies; 21+ messages in thread
From: Russell King - ARM Linux @ 2015-10-25 18:23 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Rabin Vincent, Kees Cook, linux-arm-kernel, linux-kernel

On Sun, Oct 25, 2015 at 06:38:18PM +0100, Geert Uytterhoeven wrote:
> On Sun, Oct 25, 2015 at 3:08 PM, Russell King - ARM Linux
> <linux@arm.linux.org.uk> wrote:
> > On Sun, Oct 25, 2015 at 11:39:15AM +0100, Geert Uytterhoeven wrote:
> >> On Sun, Oct 25, 2015 at 11:18 AM, Geert Uytterhoeven
> >> <geert@linux-m68k.org> wrote:
> >> > On Sun, Oct 25, 2015 at 11:12 AM, Geert Uytterhoeven
> >> > <geert@linux-m68k.org> wrote:
> >> >> JFYI, when comparing v4.3-rc7[1] to v4.3-rc6[3], the summaries are:
> >> >>   - build errors: +12/-4
> >>
> >> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_DIRTY' undeclared (first use in this function):  => 39:2
> >> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_MT_WRITEBACK' undeclared (first use in this function):  => 39:2
> >> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_PRESENT' undeclared (first use in this function):  => 39:2
> >> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_XN' undeclared (first use in this function):  => 39:2
> >> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_YOUNG' undeclared (first use in this function):  => 39:2
> >>
> >> Caused by:
> >>
> >> commit ab0615e2d6fb074764a3e4d05f1326fa2fdb4627
> >> Author: Rabin Vincent <rabin@rab.in>
> >> Date:   Thu Apr 24 23:28:57 2014 +0200
> >>
> >>     arm: use fixmap for text patching when text is RO
> >>
> >> Should the call to set_fixmap() in arch/arm/kernel/patch.c
> >> just be protected by #ifdef CONFIG_MMU?
> >
> > What this shows, time and time again, is that we need better testing for
> > !MMU platforms - we need !MMU platforms in the mainline kernel which
> > people actually have.
> >
> > I have an OKI 67001 board (from Simtec), which is the older generation of
> > !MMU system, and I have code for it, but arm-soc won't let me put it in
> > the mainline kernel - even though it would give me a platform which I can
> > add to the boot farm to build and boot a test kernel for.
> >
> > Consequently, I've little motivation to catch !MMU regressions before
> > they hit mainline.
> >
> > Should we accept old !MMU code into mainline for platforms which kernel
> > developers have, in order to aid testing, even though it isn't modern
> > platforms and doesn't conform to the latest way of doing stuff.
> 
> I think we should have at least one arm-nommu platform in the upstream kernel,
> with a suitable defconfig, so 0build will catch regressions.

Does it?  Plainly not, because we've had this "noMMU has broken in
mainline" problem many times without it being flagged up before it hits
mainline.

> Alternative, can any of the existing supported arm-mmu platform be used
> with a nommu kernel?

Your choices in my test farm are: OMAP4430 SDP, OMAP3430 LDP, Versatile
Express, and Juno.  I don't think any of these currently have working
noMMU support.

For the OKI, we're talking about this much code in the branch right
now:

 arch/arm/Kconfig                                  |  12 +
 arch/arm/Makefile                                 |   1 +
 arch/arm/boot/bootp/init.S                        |   9 +-
 arch/arm/boot/compressed/misc.c                   |   3 +-
 arch/arm/mach-okiml67x/Kconfig                    |   0
 arch/arm/mach-okiml67x/Makefile                   |   1 +
 arch/arm/mach-okiml67x/Makefile.boot              |   3 +
 arch/arm/mach-okiml67x/core.c                     | 346 ++++++++++++++++++
 arch/arm/mach-okiml67x/core.h                     |   6 +
 arch/arm/mach-okiml67x/include/mach/debug-macro.S |   4 +
 arch/arm/mach-okiml67x/include/mach/entry-macro.S |  21 ++
 arch/arm/mach-okiml67x/include/mach/io.h          |  11 +
 arch/arm/mach-okiml67x/include/mach/irqs.h        |   6 +
 arch/arm/mach-okiml67x/include/mach/memory.h      |   6 +
 arch/arm/mach-okiml67x/include/mach/oki-irq.h     |  21 ++
 arch/arm/mach-okiml67x/include/mach/oki.h         |  56 +++
 arch/arm/mach-okiml67x/include/mach/timex.h       |   6 +
 arch/arm/mach-okiml67x/include/mach/uncompress.h  |   5 +
 drivers/i2c/busses/Kconfig                        |   7 +
 drivers/i2c/busses/Makefile                       |   1 +
 drivers/i2c/busses/i2c-okiml67x.c                 | 268 ++++++++++++++
 drivers/spi/Kconfig                               |   7 +
 drivers/spi/Makefile                              |   1 +
 drivers/spi/spi-okiml67x.c                        | 414 ++++++++++++++++++++++
 24 files changed, 1213 insertions(+), 2 deletions(-)

Drop the I2C and SPI drivers out, and it's under half that - 515 lines.
515 lines to get a noMMU system into my build farm.  Is that really too
expensive if it then provides nightly build coverage and boot testing
for an area of the kernel which keeps getting broken without us
realising before it's hit mainline?

There's a few small fixes that will be required elsewhere (I'm just
building it now) to make buildable with existing mainline - mostly
updates to it's code for recent changes (set_irq_flags conversion,
and fixing a previous commit which removed the #ifndef TASK_SIZE...
#endif around the definition there) and fixing a number of link time
errors around ioport_unmap, ioport_map, and ioport_unmap.

There's an old saying: scratch my back, and I'll scratch your back.
No one's willing to do the little bit which helps to avoid these
build errors happening, so... well, I guess they'll just keep on
happening until people change their minds.

-- 
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Build regressions/improvements in v4.3-rc7
@ 2015-10-25 18:23           ` Russell King - ARM Linux
  0 siblings, 0 replies; 21+ messages in thread
From: Russell King - ARM Linux @ 2015-10-25 18:23 UTC (permalink / raw)
  To: linux-arm-kernel

On Sun, Oct 25, 2015 at 06:38:18PM +0100, Geert Uytterhoeven wrote:
> On Sun, Oct 25, 2015 at 3:08 PM, Russell King - ARM Linux
> <linux@arm.linux.org.uk> wrote:
> > On Sun, Oct 25, 2015 at 11:39:15AM +0100, Geert Uytterhoeven wrote:
> >> On Sun, Oct 25, 2015 at 11:18 AM, Geert Uytterhoeven
> >> <geert@linux-m68k.org> wrote:
> >> > On Sun, Oct 25, 2015 at 11:12 AM, Geert Uytterhoeven
> >> > <geert@linux-m68k.org> wrote:
> >> >> JFYI, when comparing v4.3-rc7[1] to v4.3-rc6[3], the summaries are:
> >> >>   - build errors: +12/-4
> >>
> >> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_DIRTY' undeclared (first use in this function):  => 39:2
> >> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_MT_WRITEBACK' undeclared (first use in this function):  => 39:2
> >> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_PRESENT' undeclared (first use in this function):  => 39:2
> >> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_XN' undeclared (first use in this function):  => 39:2
> >> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_YOUNG' undeclared (first use in this function):  => 39:2
> >>
> >> Caused by:
> >>
> >> commit ab0615e2d6fb074764a3e4d05f1326fa2fdb4627
> >> Author: Rabin Vincent <rabin@rab.in>
> >> Date:   Thu Apr 24 23:28:57 2014 +0200
> >>
> >>     arm: use fixmap for text patching when text is RO
> >>
> >> Should the call to set_fixmap() in arch/arm/kernel/patch.c
> >> just be protected by #ifdef CONFIG_MMU?
> >
> > What this shows, time and time again, is that we need better testing for
> > !MMU platforms - we need !MMU platforms in the mainline kernel which
> > people actually have.
> >
> > I have an OKI 67001 board (from Simtec), which is the older generation of
> > !MMU system, and I have code for it, but arm-soc won't let me put it in
> > the mainline kernel - even though it would give me a platform which I can
> > add to the boot farm to build and boot a test kernel for.
> >
> > Consequently, I've little motivation to catch !MMU regressions before
> > they hit mainline.
> >
> > Should we accept old !MMU code into mainline for platforms which kernel
> > developers have, in order to aid testing, even though it isn't modern
> > platforms and doesn't conform to the latest way of doing stuff.
> 
> I think we should have at least one arm-nommu platform in the upstream kernel,
> with a suitable defconfig, so 0build will catch regressions.

Does it?  Plainly not, because we've had this "noMMU has broken in
mainline" problem many times without it being flagged up before it hits
mainline.

> Alternative, can any of the existing supported arm-mmu platform be used
> with a nommu kernel?

Your choices in my test farm are: OMAP4430 SDP, OMAP3430 LDP, Versatile
Express, and Juno.  I don't think any of these currently have working
noMMU support.

For the OKI, we're talking about this much code in the branch right
now:

 arch/arm/Kconfig                                  |  12 +
 arch/arm/Makefile                                 |   1 +
 arch/arm/boot/bootp/init.S                        |   9 +-
 arch/arm/boot/compressed/misc.c                   |   3 +-
 arch/arm/mach-okiml67x/Kconfig                    |   0
 arch/arm/mach-okiml67x/Makefile                   |   1 +
 arch/arm/mach-okiml67x/Makefile.boot              |   3 +
 arch/arm/mach-okiml67x/core.c                     | 346 ++++++++++++++++++
 arch/arm/mach-okiml67x/core.h                     |   6 +
 arch/arm/mach-okiml67x/include/mach/debug-macro.S |   4 +
 arch/arm/mach-okiml67x/include/mach/entry-macro.S |  21 ++
 arch/arm/mach-okiml67x/include/mach/io.h          |  11 +
 arch/arm/mach-okiml67x/include/mach/irqs.h        |   6 +
 arch/arm/mach-okiml67x/include/mach/memory.h      |   6 +
 arch/arm/mach-okiml67x/include/mach/oki-irq.h     |  21 ++
 arch/arm/mach-okiml67x/include/mach/oki.h         |  56 +++
 arch/arm/mach-okiml67x/include/mach/timex.h       |   6 +
 arch/arm/mach-okiml67x/include/mach/uncompress.h  |   5 +
 drivers/i2c/busses/Kconfig                        |   7 +
 drivers/i2c/busses/Makefile                       |   1 +
 drivers/i2c/busses/i2c-okiml67x.c                 | 268 ++++++++++++++
 drivers/spi/Kconfig                               |   7 +
 drivers/spi/Makefile                              |   1 +
 drivers/spi/spi-okiml67x.c                        | 414 ++++++++++++++++++++++
 24 files changed, 1213 insertions(+), 2 deletions(-)

Drop the I2C and SPI drivers out, and it's under half that - 515 lines.
515 lines to get a noMMU system into my build farm.  Is that really too
expensive if it then provides nightly build coverage and boot testing
for an area of the kernel which keeps getting broken without us
realising before it's hit mainline?

There's a few small fixes that will be required elsewhere (I'm just
building it now) to make buildable with existing mainline - mostly
updates to it's code for recent changes (set_irq_flags conversion,
and fixing a previous commit which removed the #ifndef TASK_SIZE...
#endif around the definition there) and fixing a number of link time
errors around ioport_unmap, ioport_map, and ioport_unmap.

There's an old saying: scratch my back, and I'll scratch your back.
No one's willing to do the little bit which helps to avoid these
build errors happening, so... well, I guess they'll just keep on
happening until people change their minds.

-- 
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Build regressions/improvements in v4.3-rc7
  2015-10-25 17:38         ` Geert Uytterhoeven
@ 2015-10-25 19:03           ` Afzal Mohammed
  -1 siblings, 0 replies; 21+ messages in thread
From: Afzal Mohammed @ 2015-10-25 19:03 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Russell King - ARM Linux, Rabin Vincent, Kees Cook,
	linux-arm-kernel, linux-kernel

Hi,

On Sun, Oct 25, 2015 at 06:38:18PM +0100, Geert Uytterhoeven wrote:

> I think we should have at least one arm-nommu platform in the upstream kernel,
> with a suitable defconfig, so 0build will catch regressions.

afaik, there are 4 arm-nommu defconfig's. Has been recently playing
with Vybrid nommu platform, did not notice any build error w/ it's
defconfig (vf610m4) and able to boot too. Just now tried -rc7, it too
was success.

Regards
afzal

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Build regressions/improvements in v4.3-rc7
@ 2015-10-25 19:03           ` Afzal Mohammed
  0 siblings, 0 replies; 21+ messages in thread
From: Afzal Mohammed @ 2015-10-25 19:03 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

On Sun, Oct 25, 2015 at 06:38:18PM +0100, Geert Uytterhoeven wrote:

> I think we should have at least one arm-nommu platform in the upstream kernel,
> with a suitable defconfig, so 0build will catch regressions.

afaik, there are 4 arm-nommu defconfig's. Has been recently playing
with Vybrid nommu platform, did not notice any build error w/ it's
defconfig (vf610m4) and able to boot too. Just now tried -rc7, it too
was success.

Regards
afzal

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Build regressions/improvements in v4.3-rc7
  2015-10-25 19:03           ` Afzal Mohammed
@ 2015-10-25 22:07             ` Rabin Vincent
  -1 siblings, 0 replies; 21+ messages in thread
From: Rabin Vincent @ 2015-10-25 22:07 UTC (permalink / raw)
  To: Afzal Mohammed
  Cc: Geert Uytterhoeven, Russell King - ARM Linux, Kees Cook,
	linux-arm-kernel, linux-kernel

On Mon, Oct 26, 2015 at 12:33:18AM +0530, Afzal Mohammed wrote:
> On Sun, Oct 25, 2015 at 06:38:18PM +0100, Geert Uytterhoeven wrote:
> > I think we should have at least one arm-nommu platform in the upstream kernel,
> > with a suitable defconfig, so 0build will catch regressions.
> 
> afaik, there are 4 arm-nommu defconfig's. Has been recently playing
> with Vybrid nommu platform, did not notice any build error w/ it's
> defconfig (vf610m4) and able to boot too. Just now tried -rc7, it too
> was success.

vf610m4 won't use patch.c since it has CONFIG_XIP_KERNEL=y.  The failing
config is a randconfig[1], but the error can be triggered by, for
example, enabling CONFIG_JUMP_LABEL=y on lpc18xx_defconfig.

[1] http://kisskb.ellerman.id.au/kisskb/buildresult/12531538/

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Build regressions/improvements in v4.3-rc7
@ 2015-10-25 22:07             ` Rabin Vincent
  0 siblings, 0 replies; 21+ messages in thread
From: Rabin Vincent @ 2015-10-25 22:07 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Oct 26, 2015 at 12:33:18AM +0530, Afzal Mohammed wrote:
> On Sun, Oct 25, 2015 at 06:38:18PM +0100, Geert Uytterhoeven wrote:
> > I think we should have at least one arm-nommu platform in the upstream kernel,
> > with a suitable defconfig, so 0build will catch regressions.
> 
> afaik, there are 4 arm-nommu defconfig's. Has been recently playing
> with Vybrid nommu platform, did not notice any build error w/ it's
> defconfig (vf610m4) and able to boot too. Just now tried -rc7, it too
> was success.

vf610m4 won't use patch.c since it has CONFIG_XIP_KERNEL=y.  The failing
config is a randconfig[1], but the error can be triggered by, for
example, enabling CONFIG_JUMP_LABEL=y on lpc18xx_defconfig.

[1] http://kisskb.ellerman.id.au/kisskb/buildresult/12531538/

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Build regressions/improvements in v4.3-rc7
  2015-10-25 10:39     ` Geert Uytterhoeven
@ 2015-10-25 22:32       ` Rabin Vincent
  -1 siblings, 0 replies; 21+ messages in thread
From: Rabin Vincent @ 2015-10-25 22:32 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Russell King, Kees Cook, linux-arm-kernel, linux-kernel

On Sun, Oct 25, 2015 at 11:39:15AM +0100, Geert Uytterhoeven wrote:
> On Sun, Oct 25, 2015 at 11:18 AM, Geert Uytterhoeven
> <geert@linux-m68k.org> wrote:
> > On Sun, Oct 25, 2015 at 11:12 AM, Geert Uytterhoeven
> > <geert@linux-m68k.org> wrote:
> >> JFYI, when comparing v4.3-rc7[1] to v4.3-rc6[3], the summaries are:
> >>   - build errors: +12/-4

>From the quoted lines above one I got the impression that this was a
regression from v4.3-rc6 to 4.3-rc7, but that's not the case.  The
failing config also fails with v4.3-rc6.  It is however a regression
from v4.2 to v4.3-rc1, and started failing after the changes in
a5f4c561b3b19a ("ARM: 8415/1: early fixmap support for earlycon").

> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_DIRTY' undeclared (first use in this function):  => 39:2
> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_MT_WRITEBACK' undeclared (first use in this function):  => 39:2
> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_PRESENT' undeclared (first use in this function):  => 39:2
> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_XN' undeclared (first use in this function):  => 39:2
> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_YOUNG' undeclared (first use in this function):  => 39:2
> 
> Caused by:
> 
> commit ab0615e2d6fb074764a3e4d05f1326fa2fdb4627
> Author: Rabin Vincent <rabin@rab.in>
> Date:   Thu Apr 24 23:28:57 2014 +0200
> 
>     arm: use fixmap for text patching when text is RO
> 
> Should the call to set_fixmap() in arch/arm/kernel/patch.c
> just be protected by #ifdef CONFIG_MMU?

Yes, and the call to clear_fixmap() too.  This part of the code will
never actually be called on !MMU because patch_map() will always exit
early with nothing to remap.  Will you send a patch?

(More code can be ifdef'd out to make a cleaner solution but I think that
 really needs a simplification of the locking to be done first, which is
 bit much for a late -rc.)

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Build regressions/improvements in v4.3-rc7
@ 2015-10-25 22:32       ` Rabin Vincent
  0 siblings, 0 replies; 21+ messages in thread
From: Rabin Vincent @ 2015-10-25 22:32 UTC (permalink / raw)
  To: linux-arm-kernel

On Sun, Oct 25, 2015 at 11:39:15AM +0100, Geert Uytterhoeven wrote:
> On Sun, Oct 25, 2015 at 11:18 AM, Geert Uytterhoeven
> <geert@linux-m68k.org> wrote:
> > On Sun, Oct 25, 2015 at 11:12 AM, Geert Uytterhoeven
> > <geert@linux-m68k.org> wrote:
> >> JFYI, when comparing v4.3-rc7[1] to v4.3-rc6[3], the summaries are:
> >>   - build errors: +12/-4

>From the quoted lines above one I got the impression that this was a
regression from v4.3-rc6 to 4.3-rc7, but that's not the case.  The
failing config also fails with v4.3-rc6.  It is however a regression
from v4.2 to v4.3-rc1, and started failing after the changes in
a5f4c561b3b19a ("ARM: 8415/1: early fixmap support for earlycon").

> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_DIRTY' undeclared (first use in this function):  => 39:2
> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_MT_WRITEBACK' undeclared (first use in this function):  => 39:2
> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_PRESENT' undeclared (first use in this function):  => 39:2
> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_XN' undeclared (first use in this function):  => 39:2
> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_YOUNG' undeclared (first use in this function):  => 39:2
> 
> Caused by:
> 
> commit ab0615e2d6fb074764a3e4d05f1326fa2fdb4627
> Author: Rabin Vincent <rabin@rab.in>
> Date:   Thu Apr 24 23:28:57 2014 +0200
> 
>     arm: use fixmap for text patching when text is RO
> 
> Should the call to set_fixmap() in arch/arm/kernel/patch.c
> just be protected by #ifdef CONFIG_MMU?

Yes, and the call to clear_fixmap() too.  This part of the code will
never actually be called on !MMU because patch_map() will always exit
early with nothing to remap.  Will you send a patch?

(More code can be ifdef'd out to make a cleaner solution but I think that
 really needs a simplification of the locking to be done first, which is
 bit much for a late -rc.)

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Build regressions/improvements in v4.3-rc7
  2015-10-25 22:32       ` Rabin Vincent
@ 2015-10-26  7:56         ` Geert Uytterhoeven
  -1 siblings, 0 replies; 21+ messages in thread
From: Geert Uytterhoeven @ 2015-10-26  7:56 UTC (permalink / raw)
  To: Rabin Vincent; +Cc: Russell King, Kees Cook, linux-arm-kernel, linux-kernel

Hi Rabin,

On Sun, Oct 25, 2015 at 11:32 PM, Rabin Vincent <rabin@rab.in> wrote:
> On Sun, Oct 25, 2015 at 11:39:15AM +0100, Geert Uytterhoeven wrote:
>> On Sun, Oct 25, 2015 at 11:18 AM, Geert Uytterhoeven
>> <geert@linux-m68k.org> wrote:
>> > On Sun, Oct 25, 2015 at 11:12 AM, Geert Uytterhoeven
>> > <geert@linux-m68k.org> wrote:
>> >> JFYI, when comparing v4.3-rc7[1] to v4.3-rc6[3], the summaries are:
>> >>   - build errors: +12/-4
>
> From the quoted lines above one I got the impression that this was a
> regression from v4.3-rc6 to 4.3-rc7, but that's not the case.  The

randconfig regression reports are never accurate, as each run is different.

> failing config also fails with v4.3-rc6.  It is however a regression
> from v4.2 to v4.3-rc1, and started failing after the changes in
> a5f4c561b3b19a ("ARM: 8415/1: early fixmap support for earlycon").
>
>> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_DIRTY' undeclared (first use in this function):  => 39:2
>> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_MT_WRITEBACK' undeclared (first use in this function):  => 39:2
>> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_PRESENT' undeclared (first use in this function):  => 39:2
>> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_XN' undeclared (first use in this function):  => 39:2
>> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_YOUNG' undeclared (first use in this function):  => 39:2
>>
>> Caused by:
>>
>> commit ab0615e2d6fb074764a3e4d05f1326fa2fdb4627
>> Author: Rabin Vincent <rabin@rab.in>
>> Date:   Thu Apr 24 23:28:57 2014 +0200
>>
>>     arm: use fixmap for text patching when text is RO
>>
>> Should the call to set_fixmap() in arch/arm/kernel/patch.c
>> just be protected by #ifdef CONFIG_MMU?
>
> Yes, and the call to clear_fixmap() too.  This part of the code will

OK.

> never actually be called on !MMU because patch_map() will always exit
> early with nothing to remap.  Will you send a patch?

Thanks, sent.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Build regressions/improvements in v4.3-rc7
@ 2015-10-26  7:56         ` Geert Uytterhoeven
  0 siblings, 0 replies; 21+ messages in thread
From: Geert Uytterhoeven @ 2015-10-26  7:56 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Rabin,

On Sun, Oct 25, 2015 at 11:32 PM, Rabin Vincent <rabin@rab.in> wrote:
> On Sun, Oct 25, 2015 at 11:39:15AM +0100, Geert Uytterhoeven wrote:
>> On Sun, Oct 25, 2015 at 11:18 AM, Geert Uytterhoeven
>> <geert@linux-m68k.org> wrote:
>> > On Sun, Oct 25, 2015 at 11:12 AM, Geert Uytterhoeven
>> > <geert@linux-m68k.org> wrote:
>> >> JFYI, when comparing v4.3-rc7[1] to v4.3-rc6[3], the summaries are:
>> >>   - build errors: +12/-4
>
> From the quoted lines above one I got the impression that this was a
> regression from v4.3-rc6 to 4.3-rc7, but that's not the case.  The

randconfig regression reports are never accurate, as each run is different.

> failing config also fails with v4.3-rc6.  It is however a regression
> from v4.2 to v4.3-rc1, and started failing after the changes in
> a5f4c561b3b19a ("ARM: 8415/1: early fixmap support for earlycon").
>
>> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_DIRTY' undeclared (first use in this function):  => 39:2
>> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_MT_WRITEBACK' undeclared (first use in this function):  => 39:2
>> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_PRESENT' undeclared (first use in this function):  => 39:2
>> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_XN' undeclared (first use in this function):  => 39:2
>> >   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_YOUNG' undeclared (first use in this function):  => 39:2
>>
>> Caused by:
>>
>> commit ab0615e2d6fb074764a3e4d05f1326fa2fdb4627
>> Author: Rabin Vincent <rabin@rab.in>
>> Date:   Thu Apr 24 23:28:57 2014 +0200
>>
>>     arm: use fixmap for text patching when text is RO
>>
>> Should the call to set_fixmap() in arch/arm/kernel/patch.c
>> just be protected by #ifdef CONFIG_MMU?
>
> Yes, and the call to clear_fixmap() too.  This part of the code will

OK.

> never actually be called on !MMU because patch_map() will always exit
> early with nothing to remap.  Will you send a patch?

Thanks, sent.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2015-10-26  7:56 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-25 10:12 Build regressions/improvements in v4.3-rc7 Geert Uytterhoeven
2015-10-25 10:18 ` Geert Uytterhoeven
2015-10-25 10:18   ` Geert Uytterhoeven
2015-10-25 10:39   ` Geert Uytterhoeven
2015-10-25 10:39     ` Geert Uytterhoeven
2015-10-25 14:08     ` Russell King - ARM Linux
2015-10-25 14:08       ` Russell King - ARM Linux
2015-10-25 17:38       ` Geert Uytterhoeven
2015-10-25 17:38         ` Geert Uytterhoeven
2015-10-25 18:23         ` Russell King - ARM Linux
2015-10-25 18:23           ` Russell King - ARM Linux
2015-10-25 19:03         ` Afzal Mohammed
2015-10-25 19:03           ` Afzal Mohammed
2015-10-25 22:07           ` Rabin Vincent
2015-10-25 22:07             ` Rabin Vincent
2015-10-25 22:32     ` Rabin Vincent
2015-10-25 22:32       ` Rabin Vincent
2015-10-26  7:56       ` Geert Uytterhoeven
2015-10-26  7:56         ` Geert Uytterhoeven
2015-10-25 17:34   ` Geert Uytterhoeven
2015-10-25 17:34     ` Geert Uytterhoeven

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.