Tree/Branch: next-20140725
Git describe: next-20140725
Commit: 5a7439efd1 Add linux-next specific files for 20140725
Build Time: 8 min 34 sec
Passed: 1 / 2 ( 50.00 %)
Failed: 1 / 2 ( 50.00 %)
Errors: 15
Warnings: 24
Section Mismatches: 0
Failed defconfigs:
arm64-allmodconfig
Errors:
arm64-allmodconfig
collect2: error: ld returned 1 exit status
../kernel/bpf/core.c:509:1: error: insn does not satisfy its constraints:
../kernel/bpf/core.c:509:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411
../drivers/gpio/gpio-grgpio.c:451:1: error: insn does not satisfy its constraints:
../drivers/gpio/gpio-grgpio.c:451:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411
../fs/nfs/filelayout/filelayoutdev.c:638:1: error: insn does not satisfy its constraints:
../fs/nfs/filelayout/filelayoutdev.c:638:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411
../drivers/misc/altera-stapl/altera.c:2127:1: error: insn does not satisfy its constraints:
../drivers/misc/altera-stapl/altera.c:2127:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411
../drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:5398:1: error: insn does not satisfy its constraints:
../drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:5398:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411
../drivers/net/wireless/b43/phy_n.c:2463:1: error: insn does not satisfy its constraints:
../drivers/net/wireless/b43/phy_n.c:2463:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411
../drivers/net/wireless/brcm80211/brcmsmac/phy/phy_n.c:23074:1: error: insn does not satisfy its constraints:
../drivers/net/wireless/brcm80211/brcmsmac/phy/phy_n.c:23074:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411
-------------------------------------------------------------------------------
defconfigs with issues (other than build errors):
23 warnings 0 mismatches : arm64-allmodconfig
2 warnings 0 mismatches : arm64-defconfig
-------------------------------------------------------------------------------
Errors summary: 15
1 collect2: error: ld returned 1 exit status
1 ../kernel/bpf/core.c:509:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411
1 ../kernel/bpf/core.c:509:1: error: insn does not satisfy its constraints:
1 ../fs/nfs/filelayout/filelayoutdev.c:638:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411
1 ../fs/nfs/filelayout/filelayoutdev.c:638:1: error: insn does not satisfy its constraints:
1 ../drivers/net/wireless/brcm80211/brcmsmac/phy/phy_n.c:23074:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411
1 ../drivers/net/wireless/brcm80211/brcmsmac/phy/phy_n.c:23074:1: error: insn does not satisfy its constraints:
1 ../drivers/net/wireless/b43/phy_n.c:2463:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411
1 ../drivers/net/wireless/b43/phy_n.c:2463:1: error: insn does not satisfy its constraints:
1 ../drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:5398:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411
1 ../drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:5398:1: error: insn does not satisfy its constraints:
1 ../drivers/misc/altera-stapl/altera.c:2127:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411
1 ../drivers/misc/altera-stapl/altera.c:2127:1: error: insn does not satisfy its constraints:
1 ../drivers/gpio/gpio-grgpio.c:451:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411
1 ../drivers/gpio/gpio-grgpio.c:451:1: error: insn does not satisfy its constraints:
Warnings Summary: 24
2 ../drivers/char/random.c:1526:6: warning: unused variable ‘r’ [-Wunused-variable]
1 ../sound/soc/fsl/imx-audmux.c:70:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../sound/soc/fsl/imx-audmux.c:162:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../sound/soc/fsl/fsl_sai.c:337:7: warning: large integer implicitly truncated to unsigned type [-Woverflow]
1 ../sound/soc/codecs/adau1977.c:971:20: warning: large integer implicitly truncated to unsigned type [-Woverflow]
1 ../fs/cifs/misc.c:578:1: warning: ‘cifs_oplock_break_wait’ defined but not used [-Wunused-function]
1 ../drivers/staging/bcm/CmHost.c:1564:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/staging/bcm/CmHost.c:1546:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/staging/bcm/CmHost.c:1503:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/spi/spi-pl022.c:1420:17: warning: large integer implicitly truncated to unsigned type [-Woverflow]
1 ../drivers/spi/spi-atmel.c:1250:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/spi/spi-atmel.c:1015:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/power/reset/xgene-reboot.c:80:17: warning: assignment from incompatible pointer type
1 ../drivers/input/joystick/analog.c:171:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp]
1 ../drivers/dma/sh/rcar-dmac.c:759:4: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 9 has type ‘size_t’ [-Wformat=]
1 ../drivers/dma/sh/rcar-dmac.c:759:4: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 10 has type ‘size_t’ [-Wformat=]
1 ../drivers/dma/sh/rcar-dmac.c:1260:63: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/dma/sh/rcar-dmac.c:1231:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/dma/amba-pl08x.c:1664:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘size_t’ [-Wformat=]
1 ../drivers/dma/amba-pl08x.c:1664:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ [-Wformat=]
1 ../drivers/dma/amba-pl08x.c:1042:4: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 5 has type ‘size_t’ [-Wformat=]
1 ../drivers/block/drbd/drbd_bitmap.c:483:0: warning: "BITS_PER_PAGE_MASK" redefined
1 ../drivers/block/drbd/drbd_bitmap.c:482:0: warning: "BITS_PER_PAGE" redefined
1 ../arch/arm64/include/asm/pgtable.h:376:50: warning: ‘start’ may be used uninitialized in this function [-Wmaybe-uninitialized]
===============================================================================
Detailed per-defconfig build reports below:
-------------------------------------------------------------------------------
arm64-allmodconfig : FAIL, 15 errors, 23 warnings, 0 section mismatches
Errors:
collect2: error: ld returned 1 exit status
../kernel/bpf/core.c:509:1: error: insn does not satisfy its constraints:
../kernel/bpf/core.c:509:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411
../drivers/gpio/gpio-grgpio.c:451:1: error: insn does not satisfy its constraints:
../drivers/gpio/gpio-grgpio.c:451:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411
../fs/nfs/filelayout/filelayoutdev.c:638:1: error: insn does not satisfy its constraints:
../fs/nfs/filelayout/filelayoutdev.c:638:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411
../drivers/misc/altera-stapl/altera.c:2127:1: error: insn does not satisfy its constraints:
../drivers/misc/altera-stapl/altera.c:2127:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411
../drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:5398:1: error: insn does not satisfy its constraints:
../drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:5398:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411
../drivers/net/wireless/b43/phy_n.c:2463:1: error: insn does not satisfy its constraints:
../drivers/net/wireless/b43/phy_n.c:2463:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411
../drivers/net/wireless/brcm80211/brcmsmac/phy/phy_n.c:23074:1: error: insn does not satisfy its constraints:
../drivers/net/wireless/brcm80211/brcmsmac/phy/phy_n.c:23074:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411
Warnings:
../fs/cifs/misc.c:578:1: warning: ‘cifs_oplock_break_wait’ defined but not used [-Wunused-function]
../drivers/block/drbd/drbd_bitmap.c:482:0: warning: "BITS_PER_PAGE" redefined
../drivers/block/drbd/drbd_bitmap.c:483:0: warning: "BITS_PER_PAGE_MASK" redefined
../drivers/char/random.c:1526:6: warning: unused variable ‘r’ [-Wunused-variable]
../sound/soc/codecs/adau1977.c:971:20: warning: large integer implicitly truncated to unsigned type [-Woverflow]
../drivers/dma/sh/rcar-dmac.c:759:4: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 9 has type ‘size_t’ [-Wformat=]
../drivers/dma/sh/rcar-dmac.c:759:4: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 10 has type ‘size_t’ [-Wformat=]
../drivers/dma/sh/rcar-dmac.c:1231:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/dma/sh/rcar-dmac.c:1260:63: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/dma/amba-pl08x.c:1042:4: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 5 has type ‘size_t’ [-Wformat=]
../drivers/dma/amba-pl08x.c:1664:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ [-Wformat=]
../drivers/dma/amba-pl08x.c:1664:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘size_t’ [-Wformat=]
../sound/soc/fsl/fsl_sai.c:337:7: warning: large integer implicitly truncated to unsigned type [-Woverflow]
../sound/soc/fsl/imx-audmux.c:70:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../sound/soc/fsl/imx-audmux.c:162:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/input/joystick/analog.c:171:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp]
../drivers/power/reset/xgene-reboot.c:80:17: warning: assignment from incompatible pointer type
../drivers/spi/spi-atmel.c:1015:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/spi/spi-atmel.c:1250:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/spi/spi-pl022.c:1420:17: warning: large integer implicitly truncated to unsigned type [-Woverflow]
../drivers/staging/bcm/CmHost.c:1503:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/staging/bcm/CmHost.c:1546:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/staging/bcm/CmHost.c:1564:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
-------------------------------------------------------------------------------
arm64-defconfig : PASS, 0 errors, 2 warnings, 0 section mismatches
Warnings:
../arch/arm64/include/asm/pgtable.h:376:50: warning: ‘start’ may be used uninitialized in this function [-Wmaybe-uninitialized]
../drivers/char/random.c:1526:6: warning: unused variable ‘r’ [-Wunused-variable]
-------------------------------------------------------------------------------
Passed with no errors, warnings or mismatches:
close failed in file object destructor:
sys.excepthook is missing
lost sys.stderr
Tree/Branch: next-20140725
Git describe: next-20140725
Commit: 5a7439efd1 Add linux-next specific files for 20140725
Build Time: 52 min 55 sec
Passed: 2 / 3 ( 66.67 %)
Failed: 1 / 3 ( 33.33 %)
Errors: 1
Warnings: 25
Section Mismatches: 0
Failed defconfigs:
arm64-allmodconfig
Errors:
arm64-allmodconfig
collect2: error: ld returned 1 exit status
-------------------------------------------------------------------------------
defconfigs with issues (other than build errors):
3 warnings 0 mismatches : arm64-allnoconfig
23 warnings 0 mismatches : arm64-allmodconfig
1 warnings 0 mismatches : arm64-defconfig
-------------------------------------------------------------------------------
Errors summary: 1
1 collect2: error: ld returned 1 exit status
Warnings Summary: 25
3 ../drivers/char/random.c:1526:6: warning: unused variable ‘r’ [-Wunused-variable]
1 ../sound/soc/fsl/imx-audmux.c:70:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../sound/soc/fsl/imx-audmux.c:162:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../sound/soc/fsl/fsl_sai.c:337:7: warning: large integer implicitly truncated to unsigned type [-Woverflow]
1 ../sound/soc/codecs/adau1977.c:971:3: warning: large integer implicitly truncated to unsigned type [-Woverflow]
1 ../fs/cifs/misc.c:578:1: warning: ‘cifs_oplock_break_wait’ defined but not used [-Wunused-function]
1 ../drivers/staging/bcm/CmHost.c:1564:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/staging/bcm/CmHost.c:1546:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/staging/bcm/CmHost.c:1503:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/spi/spi-pl022.c:1420:2: warning: large integer implicitly truncated to unsigned type [-Woverflow]
1 ../drivers/spi/spi-atmel.c:1250:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/spi/spi-atmel.c:1015:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/power/reset/xgene-reboot.c:80:17: warning: assignment from incompatible pointer type [enabled by default]
1 ../drivers/irqchip/irq-gic-v3.c:203:12: warning: ‘gic_peek_irq’ defined but not used [-Wunused-function]
1 ../drivers/irqchip/irq-gic-v3.c:132:13: warning: ‘gic_write_sgi1r’ defined but not used [-Wunused-function]
1 ../drivers/input/joystick/analog.c:171:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp]
1 ../drivers/dma/sh/rcar-dmac.c:759:4: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 9 has type ‘size_t’ [-Wformat=]
1 ../drivers/dma/sh/rcar-dmac.c:759:4: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 10 has type ‘size_t’ [-Wformat=]
1 ../drivers/dma/sh/rcar-dmac.c:1260:63: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/dma/sh/rcar-dmac.c:1231:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/dma/amba-pl08x.c:1664:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘size_t’ [-Wformat=]
1 ../drivers/dma/amba-pl08x.c:1664:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ [-Wformat=]
1 ../drivers/dma/amba-pl08x.c:1042:4: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 5 has type ‘size_t’ [-Wformat=]
1 ../drivers/block/drbd/drbd_bitmap.c:483:0: warning: "BITS_PER_PAGE_MASK" redefined [enabled by default]
1 ../drivers/block/drbd/drbd_bitmap.c:482:0: warning: "BITS_PER_PAGE" redefined [enabled by default]
===============================================================================
Detailed per-defconfig build reports below:
-------------------------------------------------------------------------------
arm64-allnoconfig : PASS, 0 errors, 3 warnings, 0 section mismatches
Warnings:
../drivers/char/random.c:1526:6: warning: unused variable ‘r’ [-Wunused-variable]
../drivers/irqchip/irq-gic-v3.c:132:13: warning: ‘gic_write_sgi1r’ defined but not used [-Wunused-function]
../drivers/irqchip/irq-gic-v3.c:203:12: warning: ‘gic_peek_irq’ defined but not used [-Wunused-function]
-------------------------------------------------------------------------------
arm64-allmodconfig : FAIL, 1 errors, 23 warnings, 0 section mismatches
Errors:
collect2: error: ld returned 1 exit status
Warnings:
../fs/cifs/misc.c:578:1: warning: ‘cifs_oplock_break_wait’ defined but not used [-Wunused-function]
../drivers/block/drbd/drbd_bitmap.c:482:0: warning: "BITS_PER_PAGE" redefined [enabled by default]
../drivers/block/drbd/drbd_bitmap.c:483:0: warning: "BITS_PER_PAGE_MASK" redefined [enabled by default]
../sound/soc/codecs/adau1977.c:971:3: warning: large integer implicitly truncated to unsigned type [-Woverflow]
../drivers/char/random.c:1526:6: warning: unused variable ‘r’ [-Wunused-variable]
../drivers/dma/sh/rcar-dmac.c:759:4: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 9 has type ‘size_t’ [-Wformat=]
../drivers/dma/sh/rcar-dmac.c:759:4: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 10 has type ‘size_t’ [-Wformat=]
../drivers/dma/sh/rcar-dmac.c:1231:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/dma/sh/rcar-dmac.c:1260:63: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/dma/amba-pl08x.c:1042:4: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 5 has type ‘size_t’ [-Wformat=]
../drivers/dma/amba-pl08x.c:1664:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ [-Wformat=]
../drivers/dma/amba-pl08x.c:1664:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘size_t’ [-Wformat=]
../sound/soc/fsl/fsl_sai.c:337:7: warning: large integer implicitly truncated to unsigned type [-Woverflow]
../sound/soc/fsl/imx-audmux.c:70:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../sound/soc/fsl/imx-audmux.c:162:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/input/joystick/analog.c:171:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp]
../drivers/power/reset/xgene-reboot.c:80:17: warning: assignment from incompatible pointer type [enabled by default]
../drivers/spi/spi-atmel.c:1015:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/spi/spi-atmel.c:1250:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/spi/spi-pl022.c:1420:2: warning: large integer implicitly truncated to unsigned type [-Woverflow]
../drivers/staging/bcm/CmHost.c:1503:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/staging/bcm/CmHost.c:1546:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/staging/bcm/CmHost.c:1564:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
-------------------------------------------------------------------------------
arm64-defconfig : PASS, 0 errors, 1 warnings, 0 section mismatches
Warnings:
../drivers/char/random.c:1526:6: warning: unused variable ‘r’ [-Wunused-variable]
-------------------------------------------------------------------------------
Passed with no errors, warnings or mismatches:
Tree/Branch: master
Git describe: v3.16-rc6-155-g2062afb
Commit: 2062afb4f8 Fix gcc-4.9.0 miscompilation of load_balance() in scheduler
Build Time: 49 min 57 sec
Passed: 2 / 3 ( 66.67 %)
Failed: 1 / 3 ( 33.33 %)
Errors: 3
Warnings: 22
Section Mismatches: 0
Failed defconfigs:
arm64-allmodconfig
Errors:
arm64-allmodconfig
collect2: error: ld returned 1 exit status
../drivers/staging/lustre/lustre/llite/lloop.c:523:78: error: duplicate case value
../drivers/staging/lustre/lustre/llite/lloop.c:523:18: error: previously used here
-------------------------------------------------------------------------------
defconfigs with issues (other than build errors):
20 warnings 0 mismatches : arm64-allmodconfig
2 warnings 0 mismatches : arm64-defconfig
-------------------------------------------------------------------------------
Errors summary: 3
1 collect2: error: ld returned 1 exit status
1 ../drivers/staging/lustre/lustre/llite/lloop.c:523:78: error: duplicate case value
1 ../drivers/staging/lustre/lustre/llite/lloop.c:523:18: error: previously used here
Warnings Summary: 22
1 ../sound/soc/fsl/imx-audmux.c:70:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../sound/soc/fsl/imx-audmux.c:162:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../sound/soc/fsl/fsl_sai.c:337:7: warning: large integer implicitly truncated to unsigned type [-Woverflow]
1 ../sound/soc/codecs/adau1977.c:971:3: warning: large integer implicitly truncated to unsigned type [-Woverflow]
1 ../fs/direct-io.c:1022:29: warning: ‘from’ may be used uninitialized in this function [-Wmaybe-uninitialized]
1 ../fs/direct-io.c:1011:12: warning: ‘to’ may be used uninitialized in this function [-Wmaybe-uninitialized]
1 ../drivers/staging/bcm/CmHost.c:1563:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/staging/bcm/CmHost.c:1545:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/staging/bcm/CmHost.c:1502:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/spi/spi-pl022.c:1420:2: warning: large integer implicitly truncated to unsigned type [-Woverflow]
1 ../drivers/spi/spi-atmel.c:1256:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/spi/spi-atmel.c:1021:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/power/reset/xgene-reboot.c:80:17: warning: assignment from incompatible pointer type [enabled by default]
1 ../drivers/net/xen-netback/netback.c:2006:1: warning: the frame size of 16384 bytes is larger than 2048 bytes [-Wframe-larger-than=]
1 ../drivers/net/wireless/ti/wlcore/spi.c:315:1: warning: the frame size of 12848 bytes is larger than 2048 bytes [-Wframe-larger-than=]
1 ../drivers/mfd/arizona-core.c:505:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/input/joystick/analog.c:171:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp]
1 ../drivers/iio/adc/exynos_adc.c:112:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/gpio/gpio-sch311x.c:286:18: warning: ignoring return value of ‘gpiochip_remove’, declared with attribute warn_unused_result [-Wunused-result]
1 ../drivers/dma/amba-pl08x.c:1664:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘size_t’ [-Wformat=]
1 ../drivers/dma/amba-pl08x.c:1664:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ [-Wformat=]
1 ../drivers/dma/amba-pl08x.c:1042:4: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 5 has type ‘size_t’ [-Wformat=]
===============================================================================
Detailed per-defconfig build reports below:
-------------------------------------------------------------------------------
arm64-allmodconfig : FAIL, 3 errors, 20 warnings, 0 section mismatches
Errors:
collect2: error: ld returned 1 exit status
../drivers/staging/lustre/lustre/llite/lloop.c:523:78: error: duplicate case value
../drivers/staging/lustre/lustre/llite/lloop.c:523:18: error: previously used here
Warnings:
../sound/soc/codecs/adau1977.c:971:3: warning: large integer implicitly truncated to unsigned type [-Woverflow]
../drivers/dma/amba-pl08x.c:1042:4: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 5 has type ‘size_t’ [-Wformat=]
../drivers/dma/amba-pl08x.c:1664:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ [-Wformat=]
../drivers/dma/amba-pl08x.c:1664:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘size_t’ [-Wformat=]
../sound/soc/fsl/fsl_sai.c:337:7: warning: large integer implicitly truncated to unsigned type [-Woverflow]
../sound/soc/fsl/imx-audmux.c:70:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../sound/soc/fsl/imx-audmux.c:162:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/gpio/gpio-sch311x.c:286:18: warning: ignoring return value of ‘gpiochip_remove’, declared with attribute warn_unused_result [-Wunused-result]
../drivers/iio/adc/exynos_adc.c:112:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/input/joystick/analog.c:171:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp]
../drivers/mfd/arizona-core.c:505:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/power/reset/xgene-reboot.c:80:17: warning: assignment from incompatible pointer type [enabled by default]
../drivers/net/xen-netback/netback.c:2006:1: warning: the frame size of 16384 bytes is larger than 2048 bytes [-Wframe-larger-than=]
../drivers/spi/spi-atmel.c:1021:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/spi/spi-atmel.c:1256:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/spi/spi-pl022.c:1420:2: warning: large integer implicitly truncated to unsigned type [-Woverflow]
../drivers/staging/bcm/CmHost.c:1502:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/staging/bcm/CmHost.c:1545:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/staging/bcm/CmHost.c:1563:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/net/wireless/ti/wlcore/spi.c:315:1: warning: the frame size of 12848 bytes is larger than 2048 bytes [-Wframe-larger-than=]
-------------------------------------------------------------------------------
arm64-defconfig : PASS, 0 errors, 2 warnings, 0 section mismatches
Warnings:
../fs/direct-io.c:1011:12: warning: ‘to’ may be used uninitialized in this function [-Wmaybe-uninitialized]
../fs/direct-io.c:1022:29: warning: ‘from’ may be used uninitialized in this function [-Wmaybe-uninitialized]
-------------------------------------------------------------------------------
Passed with no errors, warnings or mismatches:
arm64-allnoconfig
Tree/Branch: master
Git describe: v3.16-rc6-139-g9c55021
Commit: 9c5502189f Merge tag 'sound-3.16-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
Build Time: 44 min 8 sec
Passed: 1 / 2 ( 50.00 %)
Failed: 1 / 2 ( 50.00 %)
Errors: 17
Warnings: 23
Section Mismatches: 0
Failed defconfigs:
arm64-allmodconfig
Errors:
arm64-allmodconfig
collect2: error: ld returned 1 exit status
../drivers/gpio/gpio-grgpio.c:451:1: error: insn does not satisfy its constraints:
../drivers/gpio/gpio-grgpio.c:451:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411
../net/core/filter.c:581:1: error: insn does not satisfy its constraints:
../net/core/filter.c:581:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411
../fs/nfs/filelayout/filelayoutdev.c:638:1: error: insn does not satisfy its constraints:
../fs/nfs/filelayout/filelayoutdev.c:638:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411
../drivers/misc/altera-stapl/altera.c:2127:1: error: insn does not satisfy its constraints:
../drivers/misc/altera-stapl/altera.c:2127:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411
../drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:5397:1: error: insn does not satisfy its constraints:
../drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:5397:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411
../drivers/net/wireless/b43/phy_n.c:1907:1: error: insn does not satisfy its constraints:
../drivers/net/wireless/b43/phy_n.c:1907:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411
../drivers/net/wireless/brcm80211/brcmsmac/phy/phy_n.c:23075:1: error: insn does not satisfy its constraints:
../drivers/net/wireless/brcm80211/brcmsmac/phy/phy_n.c:23075:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411
../drivers/staging/lustre/lustre/llite/lloop.c:523:78: error: duplicate case value
../drivers/staging/lustre/lustre/llite/lloop.c:523:18: error: previously used here
-------------------------------------------------------------------------------
defconfigs with issues (other than build errors):
20 warnings 0 mismatches : arm64-allmodconfig
3 warnings 0 mismatches : arm64-defconfig
-------------------------------------------------------------------------------
Errors summary: 17
1 collect2: error: ld returned 1 exit status
1 ../net/core/filter.c:581:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411
1 ../net/core/filter.c:581:1: error: insn does not satisfy its constraints:
1 ../fs/nfs/filelayout/filelayoutdev.c:638:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411
1 ../fs/nfs/filelayout/filelayoutdev.c:638:1: error: insn does not satisfy its constraints:
1 ../drivers/staging/lustre/lustre/llite/lloop.c:523:78: error: duplicate case value
1 ../drivers/staging/lustre/lustre/llite/lloop.c:523:18: error: previously used here
1 ../drivers/net/wireless/brcm80211/brcmsmac/phy/phy_n.c:23075:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411
1 ../drivers/net/wireless/brcm80211/brcmsmac/phy/phy_n.c:23075:1: error: insn does not satisfy its constraints:
1 ../drivers/net/wireless/b43/phy_n.c:1907:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411
1 ../drivers/net/wireless/b43/phy_n.c:1907:1: error: insn does not satisfy its constraints:
1 ../drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:5397:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411
1 ../drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:5397:1: error: insn does not satisfy its constraints:
1 ../drivers/misc/altera-stapl/altera.c:2127:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411
1 ../drivers/misc/altera-stapl/altera.c:2127:1: error: insn does not satisfy its constraints:
1 ../drivers/gpio/gpio-grgpio.c:451:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411
1 ../drivers/gpio/gpio-grgpio.c:451:1: error: insn does not satisfy its constraints:
Warnings Summary: 23
1 ../sound/soc/fsl/imx-audmux.c:70:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../sound/soc/fsl/imx-audmux.c:162:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../sound/soc/fsl/fsl_sai.c:337:7: warning: large integer implicitly truncated to unsigned type [-Woverflow]
1 ../sound/soc/codecs/adau1977.c:971:20: warning: large integer implicitly truncated to unsigned type [-Woverflow]
1 ../fs/direct-io.c:920:9: warning: ‘to’ may be used uninitialized in this function [-Wmaybe-uninitialized]
1 ../fs/direct-io.c:1034:9: warning: ‘from’ may be used uninitialized in this function [-Wmaybe-uninitialized]
1 ../drivers/staging/bcm/CmHost.c:1563:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/staging/bcm/CmHost.c:1545:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/staging/bcm/CmHost.c:1502:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/spi/spi-pl022.c:1420:17: warning: large integer implicitly truncated to unsigned type [-Woverflow]
1 ../drivers/spi/spi-atmel.c:1256:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/spi/spi-atmel.c:1021:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/power/reset/xgene-reboot.c:80:17: warning: assignment from incompatible pointer type
1 ../drivers/net/xen-netback/netback.c:2006:1: warning: the frame size of 16384 bytes is larger than 2048 bytes [-Wframe-larger-than=]
1 ../drivers/net/wireless/ti/wlcore/spi.c:315:1: warning: the frame size of 12848 bytes is larger than 2048 bytes [-Wframe-larger-than=]
1 ../drivers/mfd/arizona-core.c:505:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/input/joystick/analog.c:171:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp]
1 ../drivers/iio/adc/exynos_adc.c:112:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/gpio/gpio-sch311x.c:286:3: warning: ignoring return value of ‘gpiochip_remove’, declared with attribute warn_unused_result [-Wunused-result]
1 ../drivers/dma/amba-pl08x.c:1664:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘size_t’ [-Wformat=]
1 ../drivers/dma/amba-pl08x.c:1664:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ [-Wformat=]
1 ../drivers/dma/amba-pl08x.c:1042:4: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 5 has type ‘size_t’ [-Wformat=]
1 ../arch/arm64/include/asm/pgtable.h:363:50: warning: ‘start’ may be used uninitialized in this function [-Wmaybe-uninitialized]
===============================================================================
Detailed per-defconfig build reports below:
-------------------------------------------------------------------------------
arm64-allmodconfig : FAIL, 17 errors, 20 warnings, 0 section mismatches
Errors:
collect2: error: ld returned 1 exit status
../drivers/gpio/gpio-grgpio.c:451:1: error: insn does not satisfy its constraints:
../drivers/gpio/gpio-grgpio.c:451:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411
../net/core/filter.c:581:1: error: insn does not satisfy its constraints:
../net/core/filter.c:581:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411
../fs/nfs/filelayout/filelayoutdev.c:638:1: error: insn does not satisfy its constraints:
../fs/nfs/filelayout/filelayoutdev.c:638:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411
../drivers/misc/altera-stapl/altera.c:2127:1: error: insn does not satisfy its constraints:
../drivers/misc/altera-stapl/altera.c:2127:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411
../drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:5397:1: error: insn does not satisfy its constraints:
../drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:5397:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411
../drivers/net/wireless/b43/phy_n.c:1907:1: error: insn does not satisfy its constraints:
../drivers/net/wireless/b43/phy_n.c:1907:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411
../drivers/net/wireless/brcm80211/brcmsmac/phy/phy_n.c:23075:1: error: insn does not satisfy its constraints:
../drivers/net/wireless/brcm80211/brcmsmac/phy/phy_n.c:23075:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411
../drivers/staging/lustre/lustre/llite/lloop.c:523:78: error: duplicate case value
../drivers/staging/lustre/lustre/llite/lloop.c:523:18: error: previously used here
Warnings:
../sound/soc/codecs/adau1977.c:971:20: warning: large integer implicitly truncated to unsigned type [-Woverflow]
../drivers/dma/amba-pl08x.c:1042:4: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 5 has type ‘size_t’ [-Wformat=]
../drivers/dma/amba-pl08x.c:1664:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ [-Wformat=]
../drivers/dma/amba-pl08x.c:1664:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘size_t’ [-Wformat=]
../drivers/gpio/gpio-sch311x.c:286:3: warning: ignoring return value of ‘gpiochip_remove’, declared with attribute warn_unused_result [-Wunused-result]
../sound/soc/fsl/fsl_sai.c:337:7: warning: large integer implicitly truncated to unsigned type [-Woverflow]
../sound/soc/fsl/imx-audmux.c:70:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../sound/soc/fsl/imx-audmux.c:162:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/input/joystick/analog.c:171:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp]
../drivers/iio/adc/exynos_adc.c:112:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/mfd/arizona-core.c:505:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/power/reset/xgene-reboot.c:80:17: warning: assignment from incompatible pointer type
../drivers/net/xen-netback/netback.c:2006:1: warning: the frame size of 16384 bytes is larger than 2048 bytes [-Wframe-larger-than=]
../drivers/spi/spi-atmel.c:1021:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/spi/spi-atmel.c:1256:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/spi/spi-pl022.c:1420:17: warning: large integer implicitly truncated to unsigned type [-Woverflow]
../drivers/staging/bcm/CmHost.c:1502:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/staging/bcm/CmHost.c:1545:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/staging/bcm/CmHost.c:1563:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/net/wireless/ti/wlcore/spi.c:315:1: warning: the frame size of 12848 bytes is larger than 2048 bytes [-Wframe-larger-than=]
-------------------------------------------------------------------------------
arm64-defconfig : PASS, 0 errors, 3 warnings, 0 section mismatches
Warnings:
../arch/arm64/include/asm/pgtable.h:363:50: warning: ‘start’ may be used uninitialized in this function [-Wmaybe-uninitialized]
../fs/direct-io.c:920:9: warning: ‘to’ may be used uninitialized in this function [-Wmaybe-uninitialized]
../fs/direct-io.c:1034:9: warning: ‘from’ may be used uninitialized in this function [-Wmaybe-uninitialized]
-------------------------------------------------------------------------------
Passed with no errors, warnings or mismatches:
The omap1's debug-macro.S is similar to the generic 8250 code. Compared to
the 8520 code the omap1 macro automatically determines what UART to use
based on breadcrumbs left by the bootloader and automatically copes with
the eccentric register layout on OMAP7XX.
This patch drops both these features and relies instead on the generic
8250 macros:
1. Dropping support for the bootloader breadcrumbs is identical to the
way the migration was handled for OMAP2 (see 808b7e07464d...).
2. Support for OMAP7XX still exists but is configured at compile time
rather than runtime.
Signed-off-by: Daniel Thompson <daniel.thompson(a)linaro.org>
Cc: Russell King <linux(a)arm.linux.org.uk>
Cc: Tony Lindgren <tony(a)atomide.com>
Cc: Arnd Bergmann <arnd.bergmann(a)linaro.org>
Cc: linux-omap(a)vger.kernel.org
---
arch/arm/Kconfig.debug | 57 +++++++++++++-
arch/arm/mach-omap1/include/mach/debug-macro.S | 101 -------------------------
2 files changed, 56 insertions(+), 102 deletions(-)
delete mode 100644 arch/arm/mach-omap1/include/mach/debug-macro.S
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
index 6f9664a..0881853 100644
--- a/arch/arm/Kconfig.debug
+++ b/arch/arm/Kconfig.debug
@@ -463,6 +463,30 @@ choice
Say Y here if you want kernel low-level debugging support
on TI-NSPIRE CX models.
+ config DEBUG_OMAP1UART1
+ bool "Kernel low-level debugging via OMAP1 UART1"
+ depends on ARCH_OMAP1 && !ARCH_OMAP730
+ select DEBUG_UART_8250
+ help
+ Say Y here if you want kernel low-level debugging support
+ on OMAP1 based platforms (expect OMAP730) on the UART1.
+
+ config DEBUG_OMAP1UART2
+ bool "Kernel low-level debugging via OMAP1 UART2"
+ depends on ARCH_OMAP1 && !ARCH_OMAP730
+ select DEBUG_UART_8250
+ help
+ Say Y here if you want kernel low-level debugging support
+ on OMAP1 based platforms (expect OMAP730) on the UART2.
+
+ config DEBUG_OMAP1UART3
+ bool "Kernel low-level debugging via OMAP1 UART3"
+ depends on ARCH_OMAP1 && !ARCH_OMAP730
+ select DEBUG_UART_8250
+ help
+ Say Y here if you want kernel low-level debugging support
+ on OMAP1 based platforms (expect OMAP730) on the UART3.
+
config DEBUG_OMAP2UART1
bool "OMAP2/3/4 UART1 (omap2/3 sdp boards and some omap3 boards)"
depends on ARCH_OMAP2PLUS
@@ -505,6 +529,30 @@ choice
depends on ARCH_OMAP2PLUS
select DEBUG_OMAP2PLUS_UART
+ config DEBUG_OMAP7XXUART1
+ bool "Kernel low-level debugging via OMAP730 UART1"
+ depends on ARCH_OMAP730
+ select DEBUG_UART_8250
+ help
+ Say Y here if you want kernel low-level debugging support
+ on OMAP730 based platforms on the UART1.
+
+ config DEBUG_OMAP7XXUART2
+ bool "Kernel low-level debugging via OMAP730 UART2"
+ depends on ARCH_OMAP730
+ select DEBUG_UART_8250
+ help
+ Say Y here if you want kernel low-level debugging support
+ on OMAP730 based platforms on the UART2.
+
+ config DEBUG_OMAP7XXUART3
+ bool "Kernel low-level debugging via OMAP730 UART3"
+ depends on ARCH_OMAP730
+ select DEBUG_UART_8250
+ help
+ Say Y here if you want kernel low-level debugging support
+ on OMAP730 based platforms on the UART3.
+
config DEBUG_TI81XXUART1
bool "Kernel low-level debugging messages via TI81XX UART1 (ti8148evm)"
depends on ARCH_OMAP2PLUS
@@ -1106,6 +1154,9 @@ config DEBUG_UART_PHYS
default 0xfe800000 if ARCH_IOP32X
default 0xffc02000 if DEBUG_SOCFPGA_UART
default 0xffd82340 if ARCH_IOP13XX
+ default 0xfffb0000 if DEBUG_OMAP1UART1 || DEBUG_OMAP7XXUART1
+ default 0xfffb0800 if DEBUG_OMAP1UART2 || DEBUG_OMAP7XXUART2
+ default 0xfffb9800 if DEBUG_OMAP1UART3 || DEBUG_OMAP7XXUART3
default 0xfff36000 if DEBUG_HIGHBANK_UART
default 0xfffff700 if ARCH_IOP33X
depends on DEBUG_LL_UART_8250 || DEBUG_LL_UART_PL01X || \
@@ -1173,6 +1224,9 @@ config DEBUG_UART_VIRT
default 0xfef00000 if ARCH_IXP4XX && !CPU_BIG_ENDIAN
default 0xfef00003 if ARCH_IXP4XX && CPU_BIG_ENDIAN
default 0xfef36000 if DEBUG_HIGHBANK_UART
+ default 0xfefb0000 if DEBUG_OMAP1UART1 || DEBUG_OMAP7XXUART1
+ default 0xfefb0800 if DEBUG_OMAP1UART2 || DEBUG_OMAP7XXUART2
+ default 0xfefb9800 if DEBUG_OMAP1UART3 || DEBUG_OMAP7XXUART3
default 0xfefff700 if ARCH_IOP33X
default 0xff003000 if DEBUG_U300_UART
default DEBUG_UART_PHYS if !MMU
@@ -1183,7 +1237,8 @@ config DEBUG_UART_VIRT
config DEBUG_UART_8250_SHIFT
int "Register offset shift for the 8250 debug UART"
depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250
- default 0 if FOOTBRIDGE || ARCH_IOP32X
+ default 0 if FOOTBRIDGE || ARCH_IOP32X || \
+ DEBUG_OMAP7XXUART1 || DEBUG_OMAP7XXUART2 || DEBUG_OMAP7XXUART3
default 2
config DEBUG_UART_8250_WORD
diff --git a/arch/arm/mach-omap1/include/mach/debug-macro.S b/arch/arm/mach-omap1/include/mach/debug-macro.S
deleted file mode 100644
index 5c1a26c..0000000
--- a/arch/arm/mach-omap1/include/mach/debug-macro.S
+++ /dev/null
@@ -1,101 +0,0 @@
-/* arch/arm/mach-omap1/include/mach/debug-macro.S
- *
- * Debugging macro include header
- *
- * Copyright (C) 1994-1999 Russell King
- * Moved from linux/arch/arm/kernel/debug.S by Ben Dooks
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
-*/
-
-#include <linux/serial_reg.h>
-
-#include "serial.h"
-
- .pushsection .data
-omap_uart_phys: .word 0x0
-omap_uart_virt: .word 0x0
- .popsection
-
- /*
- * Note that this code won't work if the bootloader passes
- * a wrong machine ID number in r1. To debug, just hardcode
- * the desired UART phys and virt addresses temporarily into
- * the omap_uart_phys and omap_uart_virt above.
- */
- .macro addruart, rp, rv, tmp
-
- /* Use omap_uart_phys/virt if already configured */
-9: adr \rp, 99f @ get effective addr of 99f
- ldr \rv, [\rp] @ get absolute addr of 99f
- sub \rv, \rv, \rp @ offset between the two
- ldr \rp, [\rp, #4] @ abs addr of omap_uart_phys
- sub \tmp, \rp, \rv @ make it effective
- ldr \rp, [\tmp, #0] @ omap_uart_phys
- ldr \rv, [\tmp, #4] @ omap_uart_virt
- cmp \rp, #0 @ is port configured?
- cmpne \rv, #0
- bne 100f @ already configured
-
- /* Check the debug UART configuration set in uncompress.h */
- and \rp, pc, #0xff000000
- ldr \rv, =OMAP_UART_INFO_OFS
- ldr \rp, [\rp, \rv]
-
- /* Select the UART to use based on the UART1 scratchpad value */
-10: cmp \rp, #0 @ no port configured?
- beq 11f @ if none, try to use UART1
- cmp \rp, #OMAP1UART1
- beq 11f @ configure OMAP1UART1
- cmp \rp, #OMAP1UART2
- beq 12f @ configure OMAP1UART2
- cmp \rp, #OMAP1UART3
- beq 13f @ configure OMAP2UART3
-
- /* Configure the UART offset from the phys/virt base */
-11: mov \rp, #0x00fb0000 @ OMAP1UART1
- b 98f
-12: mov \rp, #0x00fb0000 @ OMAP1UART1
- orr \rp, \rp, #0x00000800 @ OMAP1UART2
- b 98f
-13: mov \rp, #0x00fb0000 @ OMAP1UART1
- orr \rp, \rp, #0x00000800 @ OMAP1UART2
- orr \rp, \rp, #0x00009000 @ OMAP1UART3
-
- /* Store both phys and virt address for the uart */
-98: add \rp, \rp, #0xff000000 @ phys base
- str \rp, [\tmp, #0] @ omap_uart_phys
- sub \rp, \rp, #0xff000000 @ phys base
- add \rp, \rp, #0xfe000000 @ virt base
- str \rp, [\tmp, #4] @ omap_uart_virt
- b 9b
-
- .align
-99: .word .
- .word omap_uart_phys
- .ltorg
-
-100:
- .endm
-
- .macro senduart,rd,rx
- strb \rd, [\rx]
- .endm
-
- .macro busyuart,rd,rx
-1001: ldrb \rd, [\rx, #(UART_LSR << OMAP_PORT_SHIFT)]
- and \rd, \rd, #(UART_LSR_TEMT | UART_LSR_THRE)
- teq \rd, #(UART_LSR_TEMT | UART_LSR_THRE)
- beq 1002f
- ldrb \rd, [\rx, #(UART_LSR << OMAP7XX_PORT_SHIFT)]
- and \rd, \rd, #(UART_LSR_TEMT | UART_LSR_THRE)
- teq \rd, #(UART_LSR_TEMT | UART_LSR_THRE)
- bne 1001b
-1002:
- .endm
-
- .macro waituart,rd,rx
- .endm
--
1.9.3