On Tue, 1 Jul 2014 22:02:31 +0530, Viresh Kumar <viresh.kumar(a)linaro.org> wrote:
> Create a new routine of_clk_shared_by_cpus() that finds if clock lines are
> shared between two CPUs. This is verified by comparing "clocks" property from
> CPU's DT node.
>
> Returns 1 if clock line is shared between them, 0 if clock isn't shared and
> return appropriate errors in case nodes/properties are missing.
>
> Cc: Mike Turquette <mturquette(a)linaro.org>
> Signed-off-by: Viresh Kumar <viresh.kumar(a)linaro.org>
> ---
> drivers/clk/clk.c | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++++
> include/linux/clk.h | 6 ++++++
> 2 files changed, 62 insertions(+)
>
> diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
> index 8b73ede..497735c 100644
> --- a/drivers/clk/clk.c
> +++ b/drivers/clk/clk.c
> @@ -10,6 +10,7 @@
> */
>
> #include <linux/clk-private.h>
> +#include <linux/cpu.h>
> #include <linux/module.h>
> #include <linux/mutex.h>
> #include <linux/spinlock.h>
> @@ -2528,6 +2529,61 @@ const char *of_clk_get_parent_name(struct device_node *np, int index)
> }
> EXPORT_SYMBOL_GPL(of_clk_get_parent_name);
>
> +/**
> + * of_clk_shared_by_cpus - Finds if clock line is shared between CPUs
> + * @cpu1, cpu2: CPU numbers
> + *
> + * Finds if clock lines are shared by two CPUs. This is verified by comparing
> + * "clocks" property from CPU's DT node.
> + *
> + * Returns 1 if clock line is shared between them, 0 if clock isn't shared.
> + * Return appropriate errors in case some requirements aren't met.
> + */
> +int of_clk_shared_by_cpus(int cpu1, int cpu2)
> +{
> + struct device *cpu1_dev, *cpu2_dev;
> + struct device_node *np1, *np2;
> + int ret;
> +
> + cpu1_dev = get_cpu_device(cpu1);
> + if (!cpu1_dev) {
> + pr_err("%s: failed to get cpu_dev for cpu%d\n", __func__, cpu1);
> + return -ENODEV;
> + }
> +
> + cpu2_dev = get_cpu_device(cpu2);
> + if (!cpu2_dev) {
> + pr_err("%s: failed to get cpu_dev for cpu%d\n", __func__, cpu2);
> + return -ENODEV;
> + }
> +
> + np1 = of_node_get(cpu1_dev->of_node);
> + if (!np1) {
> + pr_err("%s: failed to find of_node for cpu%d\n", __func__,
> + cpu1);
> + return -ENODEV;
> + }
> +
> + np2 = of_node_get(cpu2_dev->of_node);
> + if (!np2) {
> + pr_err("%s: failed to find of_node for cpu%d\n", __func__,
> + cpu2);
> + ret = -ENODEV;
> + goto put_np1;
> + }
> +
> + /* Match "clocks" property */
> + ret = of_property_match(np1, np2, "clocks");
This looks naïve. It is entirely possible for different clock specifiers
to resolve to the same clock line, or for there to be multple clocks in
the clocks property. This looks like a buggy way to do it. The only
reliable way to determine if two clocks resolve to the same thing is to
resolve the references with the clock controller.
g.
From: Mark Brown <broonie(a)linaro.org>
Regulator drivers should not be specifying constraints since the valid
configurations depend on how the device is used in a given system, there
is no way to know if a configuration is safe for a given board.
Signed-off-by: Mark Brown <broonie(a)linaro.org>
---
drivers/regulator/lp872x.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/drivers/regulator/lp872x.c b/drivers/regulator/lp872x.c
index 2e022aabd951..954616f16c81 100644
--- a/drivers/regulator/lp872x.c
+++ b/drivers/regulator/lp872x.c
@@ -892,14 +892,6 @@ static struct lp872x_platform_data
pdata->regulator_data[i].id =
(enum lp872x_regulator_id)match[i].driver_data;
pdata->regulator_data[i].init_data = match[i].init_data;
-
- /* Operation mode configuration for buck/buck1/buck2 */
- if (strncmp(match[i].name, "buck", 4))
- continue;
-
- d = pdata->regulator_data[i].init_data;
- d->constraints.valid_modes_mask |= LP872X_VALID_OPMODE;
- d->constraints.valid_ops_mask |= REGULATOR_CHANGE_MODE;
}
out:
return pdata;
--
2.0.1
Tree/Branch: next-20140725
Git describe: next-20140725
Commit: 5a7439efd1 Add linux-next specific files for 20140725
Build Time: 9 min 1 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]
../drivers/char/random.c:1526:6: warning: unused variable ‘r’ [-Wunused-variable]
../sound/soc/codecs/adau1977.c:971:3: 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 [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: v3.16-rc7
Git describe: v3.16-rc7
Commit: 64aa90f26c Linux 3.16-rc7
Build Time: 8 min 36 sec
Passed: 2 / 3 ( 66.67 %)
Failed: 1 / 3 ( 33.33 %)
Errors: 3
Warnings: 20
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
-------------------------------------------------------------------------------
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: 20
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 ../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=]
../drivers/gpio/gpio-sch311x.c:286:18: 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/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/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=]
../drivers/net/xen-netback/netback.c:2006:1: warning: the frame size of 16384 bytes is larger than 2048 bytes [-Wframe-larger-than=]
-------------------------------------------------------------------------------
Passed with no errors, warnings or mismatches:
arm64-allnoconfig
arm64-defconfig
From: Mark Brown <broonie(a)linaro.org>
The Versatile CLCD helpers call dma_alloc_writecombine() which is only
available on ARM and AVR32, meaning they won't build on other platforms
including arm64. Unfortunately the current Kconfig enables the symbol
by default if ARCH_VEXPRESS is defined which means that it is enabled on
arm64 when building for the ARM reference platforms and models for ARMv8
since they have many hardware similarities with their pre-ARMv8 systems.
Since all the systems that need the helpers are ARM systems fix this by
adding a dependency on ARM.
Signed-off-by: Mark Brown <broonie(a)linaro.org>
---
drivers/video/fbdev/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig
index e83ed760141b..ce7c76676a70 100644
--- a/drivers/video/fbdev/Kconfig
+++ b/drivers/video/fbdev/Kconfig
@@ -293,6 +293,7 @@ config FB_ARMCLCD
# Helper logic selected only by the ARM Versatile platform family.
config PLAT_VERSATILE_CLCD
def_bool ARCH_VERSATILE || ARCH_REALVIEW || ARCH_VEXPRESS
+ depends on ARM
depends on FB_ARMCLCD && FB=y
config FB_ACORN
--
2.0.1
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
This is my resurected attempt at adding support for generic PCI host
bridge controllers that make use of device tree information to
configure themselves. I've tagged it as v8 although the patches
have now been reshuffled in order to ease adoption so referring to
the older versions might be a bit of a hoop jumping exercise.
Changes from v7:
- Reordered the patches so that fixes and non-controversial patches
from v7 can be accepted more easily. If agreed I can split the
series again into patches that can be upstreamed easily and ones
that still need discussion.
- Moved the of_create_host_bridge() function to drivers/of/of_pci.c
to better reflect its target use.
- Added the function to remap the bus I/O resources that used to be
provided in my arm64 patch series and (re)named it pci_remap_iospace()
- Removed error code checking from parsing and mapping of IRQ from DT
in recognition that some PCI devices will not have legacy IRQ mappings.
v7 thread here with all the historic information: https://lkml.org/lkml/2014/3/14/279
Best regards,
Liviu
Liviu Dudau (9):
Fix ioport_map() for !CONFIG_GENERIC_IOMAP cases.
pci: Export find_pci_host_bridge() function.
pci: Introduce pci_register_io_range() helper function.
pci: OF: Fix the conversion of IO ranges into IO resources.
pci: Create pci_host_bridge before its associated bus in pci_create_root_bus.
pci: Introduce a domain number for pci_host_bridge.
pci: of: Parse and map the IRQ when adding the PCI device.
pci: Add support for creating a generic host_bridge from device tree
pci: Remap I/O bus resources into CPU space with pci_remap_iospace()
drivers/of/address.c | 108 ++++++++++++++++++++++++++++++++++++
drivers/of/of_pci.c | 135 +++++++++++++++++++++++++++++++++++++++++++++
drivers/pci/host-bridge.c | 21 ++++++-
drivers/pci/pci.c | 37 +++++++++++++
drivers/pci/probe.c | 68 ++++++++++++++++-------
include/asm-generic/io.h | 2 +-
include/linux/of_address.h | 14 +----
include/linux/of_pci.h | 10 ++++
include/linux/pci.h | 15 +++++
9 files changed, 376 insertions(+), 34 deletions(-)
--
2.0.0
V1: https://lkml.org/lkml/2014/6/25/152
Stephen Boyd sent few patches some time back around a new cpufreq driver for
Qualcomm's Krait SoC: https://lkml.org/lkml/2014/6/24/918.
Krait couldn't use existing cpufreq-cpu0 driver as it doesn't have support for
SoC's with multiple clusters or SoC's which don't share clock line across all
CPUs.
This patchset is all about extending support beyond CPU0. It can be used for
platforms like Krait or ARM big LITTLE architecture now.
First two patches add helper routine for of and clk layer, which would be used
by later patches.
Third one adds space for driver specific data in 'struct cpufreq_policy' and
later ones migrate cpufreq-cpu0 to cpufreq-generic, i.e. can be used for SoCs
which don't share clock lines across all CPUs.
@Stephen: I haven't added your Tested-by as there were few modifications since
the time you tested it last.
Pushed here:
Rebased over v3.16-rc3:
git://git.linaro.org/people/viresh.kumar/linux.git cpufreq/cpu0-krait-v2
For guys looking to test on exynos, rebased over linux-next + some patches from
Thomas Abraham to use cpufreq-cpu0 for exynos:
git://git.linaro.org/people/viresh.kumar/linux.git cpufreq/cpu0-exynos-v2
Cc: devicetree(a)vger.kernel.org
Cc: Kukjin Kim <kgene.kim(a)samsung.com>
Cc: Michal Simek <michal.simek(a)xilinx.com>
Cc: Mike Turquette <mturquette(a)linaro.org>
Cc: Rob Herring <rob.herring(a)linaro.org>
Cc: Santosh Shilimkar <santosh.shilimkar(a)ti.com>
Cc: Simon Horman <horms(a)verge.net.au>
Viresh Kumar (14):
of: Create of_property_match()
clk: Create of_clk_shared_by_cpus()
cpufreq: Add support for per-policy driver data
cpufreq: cpu0: Add Module Author
cpufreq: cpu0: don't validate clock on clk_put()
cpufreq: cpu0: defer probe if clock isn't registered yet
cpufreq: cpu0: OPPs can be populated at runtime
cpufreq: cpu0: use dev_{err|warn|dbg} instead of pr_{err|warn|debug}
cpufreq: cpu0: Move per-cluster initialization code to ->init()
cpufreq: cpu0: try regulators with name "cpu-supply"
cpufreq: cpu0: Make allocate_resources() work for any CPU
cpufreq: cpu0: Extend support beyond CPU0
cpufreq: cpu0: rename driver and internals to 'cpufreq_generic'
cpufreq: generic: set platform_{driver|device} '.name' to
'cpufreq-generic'
.../devicetree/bindings/cpufreq/cpufreq-cpu0.txt | 62 ----
.../bindings/cpufreq/cpufreq-generic.txt | 126 +++++++
arch/arm/mach-imx/imx27-dt.c | 2 +-
arch/arm/mach-imx/imx51-dt.c | 2 +-
arch/arm/mach-omap2/pm.c | 2 +-
arch/arm/mach-shmobile/board-ape6evm-reference.c | 2 +-
arch/arm/mach-shmobile/setup-sh73a0.c | 4 +-
arch/arm/mach-zynq/common.c | 2 +-
drivers/clk/clk.c | 56 +++
drivers/cpufreq/Kconfig | 10 +-
drivers/cpufreq/Kconfig.arm | 2 +-
drivers/cpufreq/Makefile | 2 +-
drivers/cpufreq/cpufreq-cpu0.c | 251 -------------
drivers/cpufreq/cpufreq-generic.c | 394 +++++++++++++++++++++
drivers/cpufreq/exynos4x12-cpufreq.c | 2 +-
drivers/cpufreq/highbank-cpufreq.c | 6 +-
drivers/of/base.c | 29 ++
include/linux/clk.h | 6 +
include/linux/cpufreq.h | 3 +
include/linux/of.h | 10 +
20 files changed, 642 insertions(+), 331 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/cpufreq/cpufreq-cpu0.txt
create mode 100644 Documentation/devicetree/bindings/cpufreq/cpufreq-generic.txt
delete mode 100644 drivers/cpufreq/cpufreq-cpu0.c
create mode 100644 drivers/cpufreq/cpufreq-generic.c
--
2.0.0.rc2
Hi,
Arm64 kernel dmesg will print out a multiline message if any user
binary segfaults. We get "unhandled level X translation fault" with
pr_info, show_pte() with pr_alert and show_regs with default kernel
level:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/a…
Contrast to arm32 version, where it is only done if CONFIG_DEBUG_USER
is selected and user_debug=N is passed down from kernel command line:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/a…
The verboseness was useful in early platform bringup, but now it is
now a more source of confusion (people google for unhandled level
translation fault and find old linaro bugs..) . For end users pov, the
x86 version with single line on INFO level would probably be good:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/x…
example:
test[8901]: segfault at 0 ip 00007fe456a4621f sp 00007ffffd465a90
error 6 in libc-2.19.so[7fe4569db000+19f000]
Could the arm64 behavior be changed to match arm or x86 printouts?
Riku
Tree/Branch: next-20140725
Git describe: next-20140725
Commit: 5a7439efd1 Add linux-next specific files for 20140725
Build Time: 53 min 20 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
../sound/soc/codecs/adau1977.c:971:20: 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
../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:
Tree/Branch: master
Git describe: v3.16-rc6-118-g82e13c7
Commit: 82e13c71bc Merge branch 'for-3.16' of git://linux-nfs.org/~bfields/linux
Build Time: 0 min 54 sec
Passed: 1 / 1 (100.00 %)
Failed: 0 / 1 ( 0.00 %)
Errors: 0
Warnings: 3
Section Mismatches: 0
-------------------------------------------------------------------------------
defconfigs with issues (other than build errors):
3 warnings 0 mismatches : arm64-defconfig
-------------------------------------------------------------------------------
Warnings Summary: 3
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 ../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-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:
Tree/Branch: next-20140724
Git describe: next-20140724
Commit: 1a58d99096 Add linux-next specific files for 20140724
Build Time: 6 min 8 sec
Passed: 0 / 1 ( 0.00 %)
Failed: 1 / 1 (100.00 %)
Errors: 1
Warnings: 4
Section Mismatches: 0
Failed defconfigs:
arm64-defconfig
Errors:
arm64-defconfig
../arch/arm64/kernel/ptrace.c:1118:2: error: too many arguments to function ‘audit_syscall_entry’
-------------------------------------------------------------------------------
defconfigs with issues (other than build errors):
4 warnings 0 mismatches : arm64-defconfig
-------------------------------------------------------------------------------
Errors summary: 1
1 ../arch/arm64/kernel/ptrace.c:1118:2: error: too many arguments to function ‘audit_syscall_entry’
Warnings Summary: 4
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/char/random.c:1526:6: warning: unused variable ‘r’ [-Wunused-variable]
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-defconfig : FAIL, 1 errors, 4 warnings, 0 section mismatches
Errors:
../arch/arm64/kernel/ptrace.c:1118:2: error: too many arguments to function ‘audit_syscall_entry’
Warnings:
../arch/arm64/include/asm/pgtable.h:376: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]
../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-118-g82e13c7
Commit: 82e13c71bc Merge branch 'for-3.16' of git://linux-nfs.org/~bfields/linux
Build Time: 2 min 48 sec
Passed: 1 / 1 (100.00 %)
Failed: 0 / 1 ( 0.00 %)
Errors: 0
Warnings: 3
Section Mismatches: 0
-------------------------------------------------------------------------------
defconfigs with issues (other than build errors):
3 warnings 0 mismatches : arm64-defconfig
-------------------------------------------------------------------------------
Warnings Summary: 3
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 ../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-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:
Part of the energy aware scheduler work is concerned by test and
measurement tools such as idlestat[1]. This relies on the ability to
trace wake-up events, mainly IRQs and IPIs.
While IRQs are already well instrumented with tracepoints, IPIs are rather
lacking on that front, and completely invisible on ARM.
This series defines generic IPI tracepoints and adds them to ARM and
ARM64. An attempt at adding them to X86 is also included for comments.
[1] https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/Tools/Idles…
diffstat:
arch/arm/kernel/smp.c | 72 ++++++++++++++++++++------------
arch/arm64/kernel/smp.c | 67 +++++++++++++++++++-----------
arch/x86/kernel/smp.c | 16 ++++++++
include/trace/events/ipi.h | 89 ++++++++++++++++++++++++++++++++++++++++
4 files changed, 192 insertions(+), 52 deletions(-)
Tree/Branch: next-20140723
Git describe: next-20140723
Commit: 5eb00b037d Add linux-next specific files for 20140723
Build Time: 6 min 19 sec
Passed: 0 / 1 ( 0.00 %)
Failed: 1 / 1 (100.00 %)
Errors: 1
Warnings: 5
Section Mismatches: 0
Failed defconfigs:
arm64-defconfig
Errors:
arm64-defconfig
../arch/arm64/kernel/ptrace.c:1118:2: error: too many arguments to function ‘audit_syscall_entry’
-------------------------------------------------------------------------------
defconfigs with issues (other than build errors):
5 warnings 0 mismatches : arm64-defconfig
-------------------------------------------------------------------------------
Errors summary: 1
1 ../arch/arm64/kernel/ptrace.c:1118:2: error: too many arguments to function ‘audit_syscall_entry’
Warnings Summary: 5
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/gpio/gpio-generic.c:401:2: warning: ignoring return value of ‘gpiochip_remove’, declared with attribute warn_unused_result [-Wunused-result]
1 ../drivers/char/random.c:1526:6: warning: unused variable ‘r’ [-Wunused-variable]
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-defconfig : FAIL, 1 errors, 5 warnings, 0 section mismatches
Errors:
../arch/arm64/kernel/ptrace.c:1118:2: error: too many arguments to function ‘audit_syscall_entry’
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]
../drivers/char/random.c:1526:6: warning: unused variable ‘r’ [-Wunused-variable]
../drivers/gpio/gpio-generic.c:401:2: warning: ignoring return value of ‘gpiochip_remove’, declared with attribute warn_unused_result [-Wunused-result]
-------------------------------------------------------------------------------
Passed with no errors, warnings or mismatches:
close failed in file object destructor:
sys.excepthook is missing
lost sys.stderr
Tree/Branch: master
Git describe: v3.16-rc6-75-g15ba223
Commit: 15ba2236f3 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Build Time: 0 min 57 sec
Passed: 1 / 1 (100.00 %)
Failed: 0 / 1 ( 0.00 %)
Errors: 0
Warnings: 3
Section Mismatches: 0
-------------------------------------------------------------------------------
defconfigs with issues (other than build errors):
3 warnings 0 mismatches : arm64-defconfig
-------------------------------------------------------------------------------
Warnings Summary: 3
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 ../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-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:
close failed in file object destructor:
sys.excepthook is missing
lost sys.stderr
From: Mark Brown <broonie(a)linaro.org>
Since the OPP layer is a kernel library which has been converted to be
directly selectable by its callers rather than user selectable and
requiring architectures to enable it explicitly the ARCH_HAS_OPP symbol
has become redundant and can be removed. Do so.
Signed-off-by: Mark Brown <broonie(a)linaro.org>
Reviewed-by: Viresh Kumar <viresh.kumar(a)linaro.org>
Acked-by: Nishanth Menon <nm(a)ti.com>
Acked-by: Rob Herring <robh(a)kernel.org>
Acked-by: Shawn Guo <shawn.guo(a)freescale.com>
Acked-by: Simon Horman <horms+renesas(a)verge.net.au>
---
Raphael, IIRC you said that you'd applied this but it seems not to have
appeared in -next. There's a few more references crept in, I'll try to
get them removed at source.
Documentation/power/opp.txt | 3 ---
arch/arm/mach-exynos/Kconfig | 1 -
arch/arm/mach-highbank/Kconfig | 1 -
arch/arm/mach-imx/Kconfig | 1 -
arch/arm/mach-omap2/Kconfig | 1 -
arch/arm/mach-shmobile/Kconfig | 2 --
arch/arm/mach-vexpress/Kconfig | 1 -
arch/arm/mach-zynq/Kconfig | 1 -
drivers/devfreq/Kconfig | 1 -
kernel/power/Kconfig | 3 ---
10 files changed, 15 deletions(-)
diff --git a/Documentation/power/opp.txt b/Documentation/power/opp.txt
index a9adad828cdc..c6279c2be47c 100644
--- a/Documentation/power/opp.txt
+++ b/Documentation/power/opp.txt
@@ -51,9 +51,6 @@ Typical usage of the OPP library is as follows:
SoC framework -> modifies on required cases certain OPPs -> OPP layer
-> queries to search/retrieve information ->
-Architectures that provide a SoC framework for OPP should select ARCH_HAS_OPP
-to make the OPP layer available.
-
OPP layer expects each domain to be represented by a unique device pointer. SoC
framework registers a set of initial OPPs per device with the OPP layer. This
list is expected to be an optimally small number typically around 5 per device.
diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig
index 8f9b66c4ac78..f7889f6a1353 100644
--- a/arch/arm/mach-exynos/Kconfig
+++ b/arch/arm/mach-exynos/Kconfig
@@ -100,7 +100,6 @@ config SOC_EXYNOS5440
default y
depends on ARCH_EXYNOS5
select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
- select ARCH_HAS_OPP
select HAVE_ARM_ARCH_TIMER
select AUTO_ZRELADDR
select MIGHT_HAVE_PCI
diff --git a/arch/arm/mach-highbank/Kconfig b/arch/arm/mach-highbank/Kconfig
index a5960e2ac090..31aa866c3317 100644
--- a/arch/arm/mach-highbank/Kconfig
+++ b/arch/arm/mach-highbank/Kconfig
@@ -2,7 +2,6 @@ config ARCH_HIGHBANK
bool "Calxeda ECX-1000/2000 (Highbank/Midway)" if ARCH_MULTI_V7
select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
select ARCH_HAS_HOLES_MEMORYMODEL
- select ARCH_HAS_OPP
select ARCH_SUPPORTS_BIG_ENDIAN
select ARM_AMBA
select ARM_ERRATA_764369 if SMP
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index 2bc7b97861b4..9de84a215abd 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -1,6 +1,5 @@
menuconfig ARCH_MXC
bool "Freescale i.MX family" if ARCH_MULTI_V4_V5 || ARCH_MULTI_V6_V7
- select ARCH_HAS_OPP
select ARCH_REQUIRE_GPIOLIB
select ARM_CPU_SUSPEND if PM
select CLKSRC_MMIO
diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
index 1c1ed737f7ab..e7189dcc9309 100644
--- a/arch/arm/mach-omap2/Kconfig
+++ b/arch/arm/mach-omap2/Kconfig
@@ -15,7 +15,6 @@ config ARCH_OMAP3
bool "TI OMAP3"
depends on ARCH_MULTI_V7
select ARCH_OMAP2PLUS
- select ARCH_HAS_OPP
select ARM_CPU_SUSPEND if PM
select OMAP_INTERCONNECT
select PM_OPP if PM
diff --git a/arch/arm/mach-shmobile/Kconfig b/arch/arm/mach-shmobile/Kconfig
index 384221d72d22..5814754c1240 100644
--- a/arch/arm/mach-shmobile/Kconfig
+++ b/arch/arm/mach-shmobile/Kconfig
@@ -92,7 +92,6 @@ config ARCH_R8A73A4
select CPU_V7
select SH_CLK_CPG
select RENESAS_IRQC
- select ARCH_HAS_OPP
select SYS_SUPPORTS_SH_CMT
select SYS_SUPPORTS_SH_TMU
@@ -244,7 +243,6 @@ config MACH_KOELSCH
config MACH_KZM9G
bool "KZM-A9-GT board"
depends on ARCH_SH73A0
- select ARCH_HAS_OPP
select ARCH_REQUIRE_GPIOLIB
select REGULATOR_FIXED_VOLTAGE if REGULATOR
select SND_SOC_AK4642 if SND_SIMPLE_CARD
diff --git a/arch/arm/mach-vexpress/Kconfig b/arch/arm/mach-vexpress/Kconfig
index d8b9330f896a..1af70329b88d 100644
--- a/arch/arm/mach-vexpress/Kconfig
+++ b/arch/arm/mach-vexpress/Kconfig
@@ -64,7 +64,6 @@ config ARCH_VEXPRESS_DCSCB
config ARCH_VEXPRESS_SPC
bool "Versatile Express Serial Power Controller (SPC)"
- select ARCH_HAS_OPP
select PM_OPP
help
The TC2 (A15x2 A7x3) versatile express core tile integrates a logic
diff --git a/arch/arm/mach-zynq/Kconfig b/arch/arm/mach-zynq/Kconfig
index 0c164f81e72d..aaa5162c1509 100644
--- a/arch/arm/mach-zynq/Kconfig
+++ b/arch/arm/mach-zynq/Kconfig
@@ -1,6 +1,5 @@
config ARCH_ZYNQ
bool "Xilinx Zynq ARM Cortex A9 Platform" if ARCH_MULTI_V7
- select ARCH_HAS_OPP
select ARCH_SUPPORTS_BIG_ENDIAN
select ARM_AMBA
select ARM_GIC
diff --git a/drivers/devfreq/Kconfig b/drivers/devfreq/Kconfig
index 49e74c1fc639..3dced0a9eae3 100644
--- a/drivers/devfreq/Kconfig
+++ b/drivers/devfreq/Kconfig
@@ -68,7 +68,6 @@ comment "DEVFREQ Drivers"
config ARM_EXYNOS4_BUS_DEVFREQ
bool "ARM Exynos4210/4212/4412 Memory Bus DEVFREQ Driver"
depends on (CPU_EXYNOS4210 || SOC_EXYNOS4212 || SOC_EXYNOS4412) && !ARCH_MULTIPLATFORM
- select ARCH_HAS_OPP
select DEVFREQ_GOV_SIMPLE_ONDEMAND
select PM_OPP
help
diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig
index 9a83d780facd..e4e4121fa327 100644
--- a/kernel/power/Kconfig
+++ b/kernel/power/Kconfig
@@ -253,9 +253,6 @@ config APM_EMULATION
anything, try disabling/enabling this option (or disabling/enabling
APM in your BIOS).
-config ARCH_HAS_OPP
- bool
-
config PM_OPP
bool
---help---
--
2.0.1
From: Mark Brown <broonie(a)linaro.org>
A reference to ARCH_HAS_OPP was added in commit 333d17e56 (arm64: add
ARCH_HAS_OPP to allow enabling OPP library) however this symbol has been
removed from the kernel in e37302045c441 (PM / OPP: Remove ARCH_HAS_OPP)
with only a few stray references remaining.
Unfortunately the commit was not present in -next at the time of the
update (which was done precisely to enable arm64) so it wasn't noticed.
Signed-off-by: Mark Brown <broonie(a)linaro.org>
---
arch/arm64/Kconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 4bcd435b6fd4..129356940a60 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -1,7 +1,6 @@
config ARM64
def_bool y
select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
- select ARCH_HAS_OPP
select ARCH_HAS_SG_CHAIN
select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST
select ARCH_USE_CMPXCHG_LOCKREF
--
2.0.1
Tree/Branch: next-20140721
Git describe: next-20140721
Commit: 594a8bbcd4 Add linux-next specific files for 20140721
Build Time: 6 min 12 sec
Passed: 0 / 1 ( 0.00 %)
Failed: 1 / 1 (100.00 %)
Errors: 1
Warnings: 4
Section Mismatches: 0
Failed defconfigs:
arm64-defconfig
Errors:
arm64-defconfig
../arch/arm64/kernel/ptrace.c:1118:2: error: too many arguments to function ‘audit_syscall_entry’
-------------------------------------------------------------------------------
defconfigs with issues (other than build errors):
4 warnings 0 mismatches : arm64-defconfig
-------------------------------------------------------------------------------
Errors summary: 1
1 ../arch/arm64/kernel/ptrace.c:1118:2: error: too many arguments to function ‘audit_syscall_entry’
Warnings Summary: 4
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/char/random.c:1526:6: warning: unused variable ‘r’ [-Wunused-variable]
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-defconfig : FAIL, 1 errors, 4 warnings, 0 section mismatches
Errors:
../arch/arm64/kernel/ptrace.c:1118:2: error: too many arguments to function ‘audit_syscall_entry’
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]
../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