Re: [PATCH V3 3/5] clk: mmp: add clock definition for pxa910

2012-08-16 Thread Arnd Bergmann
On Thursday 16 August 2012, Chao Xie wrote: +enum { + clk32, vctcxo, pll1, pll1_2, pll1_4, pll1_8, pll1_16, pll1_6, pll1_12, + pll1_24, pll1_48, pll1_96, pll1_13, pll1_13_1_5, pll1_2_1_5, + pll1_3_16, uart_pll, twsi0, twsi1, gpio, kpc, rtc, pwm0, pwm1, pwm2, + pwm3,

Re: [PATCH V3 1/5] clk: mmp: add mmp specific clocks

2012-08-16 Thread Arnd Bergmann
On Thursday 16 August 2012, Chao Xie wrote: +static int clk_apbc_prepare(struct clk_hw *hw) +{ + struct clk_apbc *apbc = to_clk_apbc(hw); + unsigned int data; + unsigned long flags = 0; + + /* +* It may share same register as MUX clock, +* and it

Re: [PATCH V3 3/5] clk: mmp: add clock definition for pxa910

2012-08-16 Thread Arnd Bergmann
On Thursday 16 August 2012, Chao Xie wrote: + clocks[uart0_mux] = + clk_register_mux(NULL, uart0_mux, uart_parent, + ARRAY_SIZE(uart_parent), CLK_SET_RATE_PARENT, + apbc_base + APBC_UART0, 4, 3, 0, clk_lock); i can change

Re: [PATCH] dma: amba-pl08x: Export pl08x_filter_id

2012-08-16 Thread Arnd Bergmann
/lpc32xx_* are still in l2-mtd.git) Done as in: drivers/dma/coh901318.c drivers/dma/sirf-dma.c Signed-off-by: Roland Stigge sti...@antcom.de Acked-by: Arnd Bergmann a...@arndb.de -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

Re: [PATCH] dma: amba-pl08x: Export pl08x_filter_id

2012-08-16 Thread Arnd Bergmann
On Thursday 16 August 2012, Russell King - ARM Linux wrote: On Thu, Aug 16, 2012 at 10:56:36AM +0200, Roland Stigge wrote: This patch fixes the following when compiling a driver module that uses amba-pl08x: ERROR: pl08x_filter_id [drivers/mtd/nand/lpc32xx_slc.ko] undefined! ERROR:

Re: [PATCH v2 16/31] arm64: ELF definitions

2012-08-16 Thread Arnd Bergmann
On Thursday 16 August 2012, Will Deacon wrote: This looks wrong: PER_LINUX/PER_LINUX32 decides over the output of the uname system call, while TIF_32BIT decides over the instruction set when returning to user space. You definitely should not set the personality to the value you pass from

Re: [PATCH v2 03/31] arm64: Exception handling

2012-08-16 Thread Arnd Bergmann
On Thursday 16 August 2012, Will Deacon wrote: On Wed, Aug 15, 2012 at 02:03:47PM +0100, Arnd Bergmann wrote: On Tuesday 14 August 2012, Catalin Marinas wrote: +#ifdef CONFIG_AARCH32_EMULATION +#define compat_thumb_mode(regs) \ + (((regs)-pstate COMPAT_PSR_T_BIT)) +#else

Re: [PATCH v2 21/31] arm64: 32-bit (compat) applications support

2012-08-16 Thread Arnd Bergmann
On Thursday 16 August 2012, Will Deacon wrote: On Wed, Aug 15, 2012 at 03:34:04PM +0100, Arnd Bergmann wrote: On Tuesday 14 August 2012, Catalin Marinas wrote: +asmlinkage int compat_sys_personality(compat_ulong_t personality) +{ + int ret; + + if (personality(current

Re: [PATCH v2 23/31] arm64: Debugging support

2012-08-16 Thread Arnd Bergmann
On Thursday 16 August 2012, Will Deacon wrote: On Wed, Aug 15, 2012 at 04:07:36PM +0100, Arnd Bergmann wrote: On Tuesday 14 August 2012, Catalin Marinas wrote: From what I can tell, there is no support for 32 bit processes debugging 64 bit ones. Is that something you plan to add

Re: [PATCH v2 26/31] arm64: Miscellaneous library functions

2012-08-16 Thread Arnd Bergmann
On Thursday 16 August 2012, Will Deacon wrote: + +#include linux/kernel.h +#include linux/spinlock.h +#include linux/atomic.h + +#ifdef CONFIG_SMP +arch_spinlock_t __atomic_hash[ATOMIC_HASH_SIZE] __lock_aligned = { + [0 ... (ATOMIC_HASH_SIZE-1)] =

Re: [PATCH] ARM: LPC32xx: Provide DMA filter callbacks via platform data

2012-08-16 Thread Arnd Bergmann
access to AMBA dma filter functions isn't available via export.) Signed-off-by: Roland Stigge sti...@antcom.de Yes, this looks right. Acked-by: Arnd Bergmann a...@arndb.de Once we have proper DT bindings for the DMA channels, we can hopefully get rid of the auxdata again. Arnd

Re: [PATCH 1/1] ARM: kirkwood: fix typo in Makefile.boot

2012-08-07 Thread Arnd Bergmann
On Sunday 05 August 2012, Sebastian Hesselbarth wrote: Just a small typo fix to make lsxl dtbs compile Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@googlemail.com Cc: Jason Cooper ja...@lakedaemon.net Cc: Andrew Lunn and...@lunn.ch Cc: Russell King li...@arm.linux.org.uk Cc:

Re: [PATCH] arm/dts: omap5: Add mmc controller nodes and board data

2012-08-07 Thread Arnd Bergmann
On Tuesday 07 August 2012, Balaji T K wrote: Add OMAP MMC related device tree data for OMAP5. Signed-off-by: Balaji T K balaj...@ti.com --- Acked-by: Arnd Bergmann a...@arndb.de -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

Re: [PATCH 0/5] mfd: replace IORESOURCE_IO by IORESOURCE_MEM

2012-08-07 Thread Arnd Bergmann
On Tuesday 07 August 2012, Russell King wrote: On Tue, Aug 07, 2012 at 06:22:22PM +1000, Benjamin Herrenschmidt wrote: On Mon, 2012-08-06 at 22:31 +0100, Russell King wrote: So, if we made this a numeric index, then we have 32 resource types to deal with, and no need to bugger around

Re: [PATCH 0/5] mfd: replace IORESOURCE_IO by IORESOURCE_MEM

2012-08-07 Thread Arnd Bergmann
On Tuesday 07 August 2012, Russell King wrote: On Tue, Aug 07, 2012 at 11:28:27AM +, Arnd Bergmann wrote: If we introduce a new IORESOURCE_OTHER, I would actually prefer to define it to 0x for purely aesthetic reasons, the effect should be the same as using 0x0300. I'd

Re: [PATCH 0/5] mfd: replace IORESOURCE_IO by IORESOURCE_MEM

2012-08-07 Thread Arnd Bergmann
On Tuesday 07 August 2012, Mark Brown wrote: On Tue, Aug 07, 2012 at 01:11:57PM +0100, Russell King wrote: The only open questions on this are: 1. Is there another driver you are concerned about. As I said elsewhere 88pm* needs this as a stable bugfix and wm831x should be converted over

Re: [PATCH 2/4] arm/dts: exynos4: Add DTS files derived from common Exynos4

2012-08-07 Thread Arnd Bergmann
On Tuesday 07 August 2012, Dongjin Kim wrote: This patch creates a DTS file, exynos4.dtsi, for Exynos4210/4x12 and it describes common device nodes. SoC specific device nodes are described in another DTS file derived from this, exynos4210.dtsi and exynos4412.dtsi. exynos4412.dtsi is added

Re: [PATCH 1/7] mfd: max8925: Move _IO resources out of ioport_ioresource

2012-08-07 Thread Arnd Bergmann
happens to use them. Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com Cc: sta...@vger.kernel.org (v3.4+) (whole series) Acked-by: Arnd Bergmann a...@arndb.de Thanks a lot for following through with this series! I would have preferred to have the second step in stable as Russell

Re: 회신: [PATCH 2/4] arm/dts: exynos4: Add DTS files derived from common Exynos4

2012-08-07 Thread Arnd Bergmann
On Tuesday 07 August 2012, Dongjin Kim wrote: Hi, I didn't use -M and I couldn't see any difference with the it. Did I make something wrong on that patch? No, I think it's just git being less smart about file moves than I was hoping for. It might do the right thing if you do the patch in two

Re: [PATCH 0/5] mfd: replace IORESOURCE_IO by IORESOURCE_MEM

2012-08-07 Thread Arnd Bergmann
On Tuesday 07 August 2012, Geert Uytterhoeven wrote: Don't you need an extra file in /proc, too (cfr. /proc/ioports and /proc/iomem)? And as Arnd pointed out, if resources will be used for various new buses, IORESOURCE_FOO or IORESOURCE_OTHER is a bit vague. What about conflicts where one

Re: [PATCH 1/1] Input: ab8500-ponkey: Make the distinction between DT and non-DT boots

2012-08-08 Thread Arnd Bergmann
On Wednesday 08 August 2012, Lee Jones wrote: Okay, actually this isn't so easy. Currently we have: During DT boot: - No platform data is passed, hence no IRQ base for AB8500 is either - No IRQ base means we register a Linear IRQ Domain - MFD sees there is no base and leaves the IRQ

Re: [rtc-linux] [PATCH 8/8] ARM: vt8500: gpio: Devicetree support for arch-vt8500

2012-08-08 Thread Arnd Bergmann
On Wednesday 08 August 2012, Linus Walleij wrote: On Wed, Aug 8, 2012 at 3:39 AM, Tony Prisk li...@prisktech.co.nz wrote: Converted the existing arch-vt8500 gpio to a platform_device. Added support for WM8505 and WM8650 GPIO controllers. (...) +++ b/drivers/gpio/gpio-vt8500.c This

[PATCH 1/6] ARM: pxa: remove irq_to_gpio from ezx-pcap driver

2012-08-08 Thread Arnd Bergmann
results in: drivers/mfd/ezx-pcap.c: In function 'pcap_isr_work': drivers/mfd/ezx-pcap.c:205:2: error: implicit declaration of function 'irq_to_gpio' [-Werror=implicit-function-declaration] Signed-off-by: Arnd Bergmann a...@arndb.de Cc: sta...@vger.kernel.org (v3.2+) Cc: Samuel Ortiz sa

[PATCH 4/6] ARM: s3c24xx: use new PWM driver

2012-08-08 Thread Arnd Bergmann
' Signed-off-by: Arnd Bergmann a...@arndb.de --- arch/arm/mach-s3c24xx/Kconfig |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-s3c24xx/Kconfig b/arch/arm/mach-s3c24xx/Kconfig index e249611..422133a 100644 --- a/arch/arm/mach-s3c24xx/Kconfig +++ b/arch/arm

[PATCH 0/6] ARM: defconfig build errors

2012-08-08 Thread Arnd Bergmann
shawn@linaro.org Arnd Bergmann (6): ARM: pxa: remove irq_to_gpio from ezx-pcap driver ARM: pxa remove irq_to_gpio from eeti_ts driver ARM: sa1100: include asm/io.h in hackkit leds code ARM: s3c24xx: use new PWM driver ARM: integrator: include linux/export.h ARM: imx: gpmi-nand depends

[PATCH 6/6] ARM: imx: gpmi-nand depends on mxs-dma

2012-08-08 Thread Arnd Bergmann
): undefined reference to `mxs_dma_is_apbh' make[1]: *** [vmlinux] Error 1 make: *** [sub-make] Error 2 Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Shawn Guo shawn@linaro.org Cc: Sascha Hauer ker...@pengutronix.de --- arch/arm/configs/imx_v6_v7_defconfig |1 + drivers/mtd/nand/Kconfig

[PATCH 3/6] ARM: sa1100: include asm/io.h in hackkit leds code

2012-08-08 Thread Arnd Bergmann
: implicit declaration of function 'IOMEM' [-Werror=implicit-function-declaration] Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Russell King li...@arm.linux.org.uk --- arch/arm/mach-sa1100/leds-hackkit.c |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-sa1100/leds-hackkit.c b

[PATCH 5/6] ARM: integrator: include linux/export.h

2012-08-08 Thread Arnd Bergmann
-int] arch/arm/mach-integrator/core.c:150:1: warning: parameter names (without types) in function declaration [enabled by default] Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Linus Walleij linus.wall...@linaro.org Cc: Russell King li...@arm.linux.org.uk --- arch/arm/mach-integrator/core.c |1

[PATCH 2/6] ARM: pxa remove irq_to_gpio from eeti_ts driver

2012-08-08 Thread Arnd Bergmann
: implicit declaration of function 'irq_to_gpio' [-Werror=implicit-function-declaration] Signed-off-by: Arnd Bergmann a...@arndb.de Cc: sta...@vger.kernel.org (v3.2+) Cc: Daniel Mack zon...@gmail.com Cc: Haojian Zhuang haojian.zhu...@gmail.com --- arch/arm/mach-pxa/raumfeld.c|1 + drivers

Re: [PATCH 5/6] ARM: integrator: include linux/export.h

2012-08-08 Thread Arnd Bergmann
On Wednesday 08 August 2012, Linus Walleij wrote: Missing a at the end of the subject line, but whatever. Acked-by: Linus Walleij linus.wall...@linaro.org Fixed the subject and added the Ack. Thanks! Arnd -- To unsubscribe from this list: send the line unsubscribe linux-kernel in

Re: [PATCH 2/6] ARM: pxa remove irq_to_gpio from eeti_ts driver

2012-08-08 Thread Arnd Bergmann
On Wednesday 08 August 2012, Daniel Mack wrote: On 08.08.2012 14:54, Arnd Bergmann wrote: The irq_to_gpio function was removed from the pxa platform in linux-3.2, and this driver has been broken since. Without this patch, building raumfeld_defconfig results in: drivers/input

Re: [PATCH 4/6] ARM: s3c24xx: use new PWM driver

2012-08-08 Thread Arnd Bergmann
everyone migrate the defconfig files. Do you want to give this patch some more testing, or should I keep it in arm-soc? Arnd --- From 438b0cf94adb2528bdeeb71314f7be16512ea5b1 Mon Sep 17 00:00:00 2001 From: Arnd Bergmann a...@arndb.de Date: Sat, 4 Aug 2012 07:52:19 + Subject: [PATCH] ARM

Re: [PATCH 2/6] ARM: pxa remove irq_to_gpio from eeti_ts driver

2012-08-08 Thread Arnd Bergmann
On Wednesday 08 August 2012, Daniel Mack wrote: I've taken your patch instead now, Will that go to some other tree than linux-input now? I have it in the arm-soc tree for now, but I don't really care which tree it goes through, as long as it does. I've kept a version of this patch in one

[PATCH 07/11] net/stmmac: mark probe function as __devinit

2012-08-08 Thread Arnd Bergmann
stmmac_probe_config_dt(). This is often because stmmac_pltfr_probe lacks a __devinit annotation or the annotation of stmmac_probe_config_dt is wrong. Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Stefan Roese s...@denx.de Cc: Giuseppe Cavallaro peppe.cavall...@st.com Cc: David S. Miller da

[PATCH 09/11] regulator/twl: remove fixed resource handling

2012-08-08 Thread Arnd Bergmann
results in: drivers/regulator/twl-regulator.c:1051:27: warning: 'TWLRES_INFO_CLK32KG' defined but not used [-Wunused-variable] Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Mark Brown broo...@opensource.wolfsonmicro.com --- drivers/regulator/twl-regulator.c | 21 - 1 file

[PATCH 06/11] gpio: em: do not discard em_gio_irq_domain_cleanup

2012-08-08 Thread Arnd Bergmann
section. Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Magnus Damm d...@opensource.se Cc: Linus Walleij linus.wall...@linaro.org Cc: Rafael J. Wysocki r...@sisk.pl --- drivers/gpio/gpio-em.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-em.c b/drivers/gpio

[PATCH 05/11] ARM: exynos: exynos_pm_add_dev_to_genpd may be unused

2012-08-08 Thread Arnd Bergmann
results in: arch/arm/mach-exynos/pm_domains.c:118:123: warning: 'exynos_pm_add_dev_to_genpd' defined but not used [-Wunused-function] Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Thomas Abraham thomas.abra...@linaro.org Cc: Rafael J. Wysocki r...@sisk.pl Cc: Kukjin Kim kgene@samsung.com

[PATCH 08/11] mtd/omap2: fix dmaengine_slave_config error handling

2012-08-08 Thread Arnd Bergmann
omap2plus_defconfig results in: drivers/mtd/nand/omap2.c: In function 'omap_nand_probe': drivers/mtd/nand/omap2.c:1154:6: warning: 'err' may be used uninitialized in this function [-Wuninitialized] Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Russell King rmk+ker...@arm.linux.org.uk Cc: Grazvydas Ignotas nota

[PATCH 03/11] usb/ohci-omap: remove unused variable

2012-08-08 Thread Arnd Bergmann
drivers/usb/host/ohci-hcd.c:1013:0: drivers/usb/host/ohci-omap.c: In function 'usb_hcd_omap_remove': drivers/usb/host/ohci-omap.c:406:19: warning: unused variable 'ohci' [-Wunused-variable] Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Richard Zhao richard.z...@freescale.com Cc: Alan Stern st

[PATCH 04/11] ARM: ux500: really kill snowball_of_platform_devs

2012-08-08 Thread Arnd Bergmann
: 'snowball_of_platform_devs' defined but not used [-Wunused-variable] Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Lee Jones lee.jo...@linaro.org Cc: Linus Walleij linus.wall...@linaro.org --- arch/arm/mach-ux500/board-mop500.c |5 - 1 file changed, 5 deletions(-) diff --git a/arch/arm/mach

[PATCH 11/11] pm/drivers: fix use of SIMPLE_DEV_PM_OPS

2012-08-08 Thread Arnd Bergmann
' defined but not used [-Wunused-function] Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Rafael J. Wysocki r...@sisk.pl Cc: Takashi Iwai ti...@suse.de Cc: Laxman Dewangan ldewan...@nvidia.com --- drivers/char/hw_random/omap-rng.c |2 +- drivers/i2c/busses/i2c-tegra.c|2 +- sound/drivers

[PATCH 10/11] spi/s3c64xx: improve error handling

2012-08-08 Thread Arnd Bergmann
in: drivers/spi/spi-s3c64xx.c: In function 's3c64xx_get_slave_ctrldata.isra.25': drivers/spi/spi-s3c64xx.c:841:5: warning: 'data_np' may be used uninitialized in this function [-Wuninitialized] Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Thomas Abraham thomas.abra...@linaro.org Cc: Jaswinder Singh

[PATCH 01/11] ARM: topology: mark init_cpu_topology as __init

2012-08-08 Thread Arnd Bergmann
the function __init parse_dt_topology(). This is often because init_cpu_topology lacks a __init annotation or the annotation of parse_dt_topology is wrong. Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Vincent Guittot vincent.guit...@linaro.org Cc: Namhyung Kim namhy...@kernel.org Cc: Peter Zijlstra

Re: [PATCH 09/11] regulator/twl: remove fixed resource handling

2012-08-08 Thread Arnd Bergmann
On Wednesday 08 August 2012, Mark Brown wrote: On Wed, Aug 08, 2012 at 04:47:26PM +0200, Arnd Bergmann wrote: The recent patch 0e8e5c34cf regulator: twl: Remove references to 32kHz clock from DT bindings removed the only use of the fake CLK32KG regulator but not the TWL6030_FIXED_RESOURCE

Re: [PATCH 11/11] pm/drivers: fix use of SIMPLE_DEV_PM_OPS

2012-08-08 Thread Arnd Bergmann
On Wednesday 08 August 2012, Stephen Warren wrote: On 08/08/2012 08:47 AM, Arnd Bergmann wrote: A few drivers use a construct like #ifdef CONFIG_PM static int foo_suspend(struct device *pdev) { ... } static int foo_resume struct device *pdev

Re: [PATCH 04/11] ARM: ux500: really kill snowball_of_platform_devs

2012-08-08 Thread Arnd Bergmann
On Wednesday 08 August 2012, Lee Jones wrote: On Wed, Aug 08, 2012 at 04:47:21PM +0200, Arnd Bergmann wrote: Commit fc67a597a ARM: ux500: Remove temporary snowball_of_platform_devs enablement structure removed the only user of this variable, but did not actually remove the array itself

Re: [PATCH 3/6] ARM: sa1100: include asm/io.h in hackkit leds code

2012-08-08 Thread Arnd Bergmann
On Wednesday 08 August 2012, Russell King - ARM Linux wrote: On Wed, Aug 08, 2012 at 02:54:50PM +0200, Arnd Bergmann wrote: The sa1100 definition of the io_p2v macro has changed in v3.6, and this one file stopped working because of that. Without this patch, building hackkit_defconfig

Re: [PATCH 01/11] ARM: topology: mark init_cpu_topology as __init

2012-08-08 Thread Arnd Bergmann
On Wednesday 08 August 2012, Stephen Boyd wrote: On 08/08/12 07:47, Arnd Bergmann wrote: The init_cpu_topology function can be put into the __init section and discarded after boot, because it is only called from smp_prepare_cpus, which is also marked __init. This was reported by gcc

Re: [PATCH 11/11] pm/drivers: fix use of SIMPLE_DEV_PM_OPS

2012-08-08 Thread Arnd Bergmann
On Wednesday 08 August 2012, Takashi Iwai wrote: At Wed, 8 Aug 2012 16:22:29 +, Arnd Bergmann wrote: Laxman already posted a patch for this, which I'm hoping will make it into 3.6, through the I2C tree. http://www.spinics.net/lists/linux-i2c/msg09359.html Ok, dropping

Re: [PATCH 8/8] ARM: vt8500: gpio: Devicetree support for arch-vt8500

2012-08-08 Thread Arnd Bergmann
On Wednesday 08 August 2012, Stephen Warren wrote: I think that's all just: module_platform_driver(vt8500_gpio_driver); (except that _init uses platform_driver_probe() rather than platform_driver_register(), which seems unusual. I guess that explains the of_find_matching_node() above

[PATCH 06/10] ARM: davinci: don't use broken ntosd2_init_i2c

2012-08-08 Thread Arnd Bergmann
'davinci_ntosd2_init': arch/arm/mach-davinci/board-neuros-osd2.c:187:20: warning: array subscript is above array bounds [-Warray-bounds] Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Kevin Hilman khil...@ti.com Cc: Sekhar Nori nsek...@ti.com Cc: Andrey Porodko pa...@chelcom.ru --- arch/arm/mach-davinci/board

[PATCH 08/10] ARM: s3c24xx: enable CONFIG_BUG for tct_hammer

2012-08-08 Thread Arnd Bergmann
-arm/vmlinux size obj-arm/vmlinux.bug textdata bss dec hex filename 2150804 116916 53696 2321416 236c08 obj-arm/vmlinux Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Kukjin Kim kgene@samsung.com Cc: Ben Dooks ben-li...@fluff.org --- arch/arm/configs

[PATCH 07/10] ARM: rpc: check device_register return code in ecard_probe

2012-08-08 Thread Arnd Bergmann
of 'device_register', declared with attribute warn_unused_result [-Wunused-result] Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Russell King rmk+ker...@arm.linux.org.uk --- arch/arm/mach-rpc/ecard.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-rpc/ecard.c b

[PATCH 09/10] ARM: rpc: Fix building RiscPC

2012-08-08 Thread Arnd Bergmann
processor does not support ARM mode `strh ip,[r1],#2' arch/arm/lib/io-readsw-armv4.S:38: Error: selected processor does not support ARM mode `ldrh r3,[r0]' make[2]: *** [arch/arm/lib/io-readsw-armv4.o] Error 1 make[1]: *** [arch/arm/lib] Error 2 Signed-off-by: Arnd Bergmann a...@arndb.de Cc

[PATCH 03/10] ARM: mv78xx0: fix win_cfg_base prototype

2012-08-08 Thread Arnd Bergmann
, building mv78xx0_defconfig results in: arch/arm/mach-mv78xx0/addr-map.c:59:2: warning: initialization from incompatible pointer type [enabled by default] arch/arm/mach-mv78xx0/addr-map.c:59:2: warning: (near initialization for 'addr_map_cfg.win_cfg_base') [enabled by default] Signed-off-by: Arnd

[PATCH 00/10] ARM: interesting warnings from defconfig builds

2012-08-08 Thread Arnd Bergmann
Most of these have been around for quite a while, but I think we should fix them nonetheless. In some cases, I'm not very sure about my solution, so I'd appreciate any ACK or NAK I can get. Arnd Arnd Bergmann (10): ARM: footbridge: nw_gpio_lock is raw_spin_lock ARM: ks8695

[PATCH 04/10] ARM: pass -marm to gcc by default

2012-08-08 Thread Arnd Bergmann
not support THUMB instructions [enabled by default] (and many more) Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Russell King rmk+ker...@arm.linux.org.uk Cc: Dave Martin dave.mar...@linaro.org --- arch/arm/Makefile |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/Makefile b

[PATCH 05/10] asm-generic: xor: mark static functions as __maybe_unused

2012-08-08 Thread Arnd Bergmann
complaining. Without this patch, building iop13xx_defconfig results in: include/asm-generic/xor.h:696:34: warning: 'xor_block_8regs_p' defined but not used [-Wunused-variable] include/asm-generic/xor.h:704:34: warning: 'xor_block_32regs_p' defined but not used [-Wunused-variable] Signed-off-by: Arnd

[PATCH 10/10] leds: renesas: fix error handling

2012-08-08 Thread Arnd Bergmann
[-Wuninitialized] Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Bryan Wu bryan...@canonical.com Cc: Magnus Damm d...@opensource.se --- a/drivers/leds/leds-renesas-tpu.c +++ b/drivers/leds/leds-renesas-tpu.c @@ -247,7 +247,7 @@ static int __devinit r_tpu_probe(struct platform_device *pdev

[PATCH 01/10] ARM: footbridge: nw_gpio_lock is raw_spin_lock

2012-08-08 Thread Arnd Bergmann
of 'spinlock_check' from incompatible pointer type [enabled by default] include/linux/spinlock.h:272:102: note: expected 'struct spinlock_t *' but argument is of type 'struct raw_spinlock_t *' Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Thomas Gleixner t...@linutronix.de Cc: Russell King rmk

[PATCH 02/10] ARM: ks8695: __arch_virt_to_dma type handling

2012-08-08 Thread Arnd Bergmann
include/linux/dma-mapping.h:73:0, from include/linux/skbuff.h:33, from security/commoncap.c:21: Signed-off-by: Arnd Bergmann a...@arndb.de --- arch/arm/mach-ks8695/include/mach/memory.h |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm

Re: [PATCH 10/10] leds: renesas: fix error handling

2012-08-09 Thread Arnd Bergmann
On Thursday 09 August 2012, Bryan Wu wrote: On Thu, Aug 9, 2012 at 5:27 AM, Arnd Bergmann a...@arndb.de wrote: bfe4c041 leds: convert Renesas TPU LED driver to devm_kzalloc() and cleanup error exit path introduced a possible case in which r_tpu_probe calls iounmap on a wild pointer

Re: [PATCH v2 06/10] ARM: davinci: don't use broken ntosd2_init_i2c

2012-08-09 Thread Arnd Bergmann
in: arch/arm/mach-davinci/board-neuros-osd2.c: In function 'davinci_ntosd2_init': arch/arm/mach-davinci/board-neuros-osd2.c:187:20: warning: array subscript is above array bounds [-Warray-bounds] Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Kevin Hilman khil...@ti.com Cc: Sekhar Nori nsek...@ti.com

Re: How to get the irq flags from the dts file

2012-08-09 Thread Arnd Bergmann
On Thursday 09 August 2012, Wei Ni wrote: In the wlan driver, it will use platform_get_resource() to get the res-irq, res-flags, the irq number is right, but the flags will be IORESOURCE_IRQ, not the 0x04 (IRQF_TRIGGER_HIGH). The wlan driver wish this flags include the IRQF_TRGGER_*

Re: [PATCH 10/11] spi/s3c64xx: improve error handling

2012-08-10 Thread Arnd Bergmann
On Friday 10 August 2012, Kukjin Kim wrote: BTW for same reason, probably, we need following fix? arch/arm/mach-tegra/tegra2_emc.c |4 ++-- arch/c6x/kernel/setup.c |2 +- arch/powerpc/kernel/ibmebus.c|2 +-

Re: [PATCH 09/10] ARM: rpc: Fix building RiscPC

2012-08-10 Thread Arnd Bergmann
On Thursday 09 August 2012, Russell King - ARM Linux wrote: On Wed, Aug 08, 2012 at 11:27:57PM +0200, Arnd Bergmann wrote: ARMv3 support was removed in 357c9c1f07 ARM: Remove support for ARMv3 ARM610 and ARM710 CPUs, which explicitly left parts of the CPU32v3 support in place for building

Re: [PATCH 04/10] ARM: pass -marm to gcc by default

2012-08-10 Thread Arnd Bergmann
actually going on. Arnd 8 From 34763772164d1442509f27d7f8a09326ff4b7878 Mon Sep 17 00:00:00 2001 From: Arnd Bergmann a...@arndb.de Date: Mon, 30 Apr 2012 12:40:00 + Subject: [PATCH] ARM: pass -marm to gcc by default for both C and assembler The Linaro cross toolchain and probably

Re: [PATCH 06/11] gpio: em: do not discard em_gio_irq_domain_cleanup

2012-08-10 Thread Arnd Bergmann
On Friday 10 August 2012, Linus Walleij wrote: On Wed, Aug 8, 2012 at 4:47 PM, Arnd Bergmann a...@arndb.de wrote: The newly added gpio-em driver marks its em_gio_irq_domain_cleanup function as __devexit, which would lead to that function being discarded in case CONFIG_HOTPLUG is disabled

[GIT PULL 1/3] arm-soc: bug fixes for v3.6-rc2

2012-08-10 Thread Arnd Bergmann
slightly noisy. Arnd Bergmann (19): Merge branch 'imx/fixes-for-3.6' of git://git.linaro.org/people/shawnguo/linux-2.6 into fixes Merge branch 'mxs/fixes-for-3.6' of git://git.linaro.org/people/shawnguo/linux-2.6 into fixes

[GIT PULL 2/3] arm-soc: late at91 changes

2012-08-10 Thread Arnd Bergmann
to use the atmel-mci driver instead of the old at91_mci that is scheduled for removal in v3.7. Cc: Nicolas Ferre nicolas.fe...@atmel.com Cc: Ludovic Desroches ludovic.desroc...@atmel.com Arnd Bergmann (1): Merge tag 'at91

[GIT PULL 3/3] arm-soc: make of_device_id-data constant

2012-08-10 Thread Arnd Bergmann
Arnd Bergmann (7): watchdog/mpc8xxx: add a const qualifier powerpc/fsl_msi: drop unneeded cast to non-const pointer mfd/da9052: make i2c_device_id array const i2c/mpc: make data used as *of_device_id.data const

[GIT PULL 0/3] arm-soc updates

2012-08-10 Thread Arnd Bergmann
Hi Linus, Here are three pull requests for you to consider for the next -rc. The first one is our regular bug fix series, this time with a lot of patches fixing build regressions. Please pull at least this one. The other two are things that fell through the cracks in the v3.6 merge window

Re: xtensa port maintenance

2012-08-10 Thread Arnd Bergmann
On Monday 06 August 2012, Max Filippov wrote: I have a couple of questions regarding the path of xtensa-specific patches upstream: - which git tree should they be targeted for? Should I set up a tree for pull requests, or will patches be picked up into some existing tree?

Re: FW: [PATCH V5 0/5] clk: mmp: add clock framework for mmp

2012-08-22 Thread Arnd Bergmann
On Wednesday 22 August 2012, Chao Xie wrote: Reviewed-by: Arnd Bergmann a...@arndb.de Arnd Who will be responsible for merging these patches? They should go through Mike's tree, unless there is a reason why he prefers them to go through arm-soc. It would be helpful to add

Re: [PATCHv3 3/9] serial: vt8500: Add devicetree support for

2012-08-22 Thread Arnd Bergmann
On Wednesday 22 August 2012, Tony Prisk wrote: The original patch was very simple, but I revisited it to fix other issues and forgot to add the relevant comments. Port size is changed to fix a problem - WM8505 actually had 6 uart's defined in platform data but the vt8500_ports variable was

Re: [PATCH v2] lis3lv02d: Add STMicroelectronics lis331dlh digital accelerometer

2012-08-22 Thread Arnd Bergmann
-by: AnilKumar Ch anilku...@ti.com Acked-by: Arnd Bergmann a...@arndb.de -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http

Re: [PATCH v2 17/31] arm64: System calls handling

2012-08-22 Thread Arnd Bergmann
On Tuesday 21 August 2012, Catalin Marinas wrote: As I understand, sys_mmap_pgoff can be used instead of sys_mmap2 on new 32-bit architectures. But on 64-bit architectures we don't have sys_mmap2, only sys_mmap with the difference that the last argument is the offset in bytes (and multiple of

Re: [PATCH] fs: Introducing Lanyard Filesystem

2012-08-22 Thread Arnd Bergmann
On Monday 20 August 2012, Theodore Ts'o wrote: On Mon, Aug 20, 2012 at 11:12:07AM +0200, Alexander Thomas wrote: Flash drives are getting faster as well. Copying an 8GB file to/from a USB drive is not excruciatingly slow and may be quicker and more certain than figuring out how to get a

Re: [PATCH 56/74] lto, workaround: Add workaround for missing LTO symbols in igb

2012-08-22 Thread Arnd Bergmann
On Sunday 19 August 2012, Andi Kleen wrote: -static struct e1000_mac_operations e1000_mac_ops_82575 = { +/* Workaround for LTO bug */ +__visible struct e1000_mac_operations e1000_mac_ops_82575 = { The comment is not very clear outside the context of this patch. Maybe change it to /* __visible

Re: RFC: Link Time Optimization support for the kernel

2012-08-22 Thread Arnd Bergmann
On Sunday 19 August 2012, Andi Kleen wrote: This rather large patchkit enables gcc Link Time Optimization (LTO) support for the kernel. With LTO gcc will do whole program optimizations for the whole kernel and each module. This increases compile time, but can generate faster code.

Re: [PATCH v2 17/31] arm64: System calls handling

2012-08-22 Thread Arnd Bergmann
On Wednesday 22 August 2012, Catalin Marinas wrote: But what's more important - moving this wrapper to glibc causes issues with the page size. We support both 4KB and 64KB pages on 64-bit systems (the latter without compat support). The kernel is in a better position to do the shift by a

Re: [RESEND PATCH v4 0/2] omap: add ocp2scp as a bus driver

2012-08-22 Thread Arnd Bergmann
On Wednesday 22 August 2012, Kishon Vijay Abraham I wrote: This patch series has been lying here for long. If no one has any comments on this patch series, can someone pick it up? I've added them now as a drivers/ocp2scp branch arm-soc and pulled them into the next/drivers topic branch.

[PATCH 0/4] [RFC] ARM: multiplatform: rename all mach headers

2012-08-22 Thread Arnd Bergmann
in small chunks for v3.8. This can minimize the problems of the other two approaches, but means the process takes longer to get to the same result. Arnd [second attempt to send these patches, the first one was rejected by lists.infradead.org, this one uses a different smtp setup] Arnd

[PATCH 2/4] [RFC] ARM: mass move of mach-*/plat-* header files

2012-08-22 Thread Arnd Bergmann
$i/include/${i##*/} ; done for i in arch/arm/plat-* ; do git mv $i/include/plat $i/include/${i##*/} ; done git mv arch/arm/plat-mxc/include/mach/*.h arch/arm/mach-imx/include/mach-imx/ Signed-off-by: Arnd Bergmann a...@arndb.de --- 2.1% arch/arm/mach-at91/include/mach-at91/ 2.1% arch/arm

[PATCH 4/4] [RFC] ARM: treewide: manually change more mach-*/*.h includes

2012-08-22 Thread Arnd Bergmann
-off-by: Arnd Bergmann a...@arndb.de --- drivers/char/ds1620.c |2 +- drivers/char/hw_random/ixp4xx-rng.c |2 +- drivers/cpufreq/db8500-cpufreq.c |2 +- drivers/cpufreq/exynos-cpufreq.c |2

[PATCH 1/4] [RFC] ARM: autogenerate mach-foo/* and plat-foo/* header redirects

2012-08-22 Thread Arnd Bergmann
-off-by: Arnd Bergmann a...@arndb.de --- arch/arm/Makefile |1 + arch/arm/tools/Makefile|5 arch/arm/tools/gen-headers | 57 3 files changed, 63 insertions(+) create mode 100755 arch/arm/tools/gen-headers diff --git a/arch/arm

[PATCH 4/4] ARM: kprobes: make more tests conditional

2012-08-22 Thread Arnd Bergmann
-by: Arnd Bergmann a...@arndb.de Cc: Jon Medhurst t...@yxit.co.uk Cc: Russell King rmk+ker...@arm.linux.org.uk Cc: Nicolas Pitre nicolas.pi...@linaro.org Cc: Leif Lindholm leif.lindh...@arm.com --- arch/arm/kernel/kprobes-test-arm.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[PATCH 2/4] ARM: allow PID_IN_CONTEXTIDR only for ARMv7

2012-08-22 Thread Arnd Bergmann
/ccwCsCXC.s:49: Error: selected processor does not support ARM mode `bfi r3,r2,#0,#8' Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Will Deacon will.dea...@arm.com Cc: Russell King rmk+ker...@arm.linux.org.uk --- arch/arm/Kconfig.debug |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm

[PATCH 3/4] ARM: export set_irq_flags/irq_set_chip_and_handler

2012-08-22 Thread Arnd Bergmann
-em.ko] undefined! We either need to replace the call to set_irq_flags with something else or export that function. This patch does the latter. Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Magnus Damm d...@opensource.se Cc: Linus Walleij linus.wall...@linaro.org Cc: Rafael J. Wysocki r...@sisk.pl

[PATCH 1/4] ARM: export read_current_timer

2012-08-22 Thread Arnd Bergmann
] undefined! Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Shinya Kuribayashi shinya.kuribayashi...@renesas.com Cc: Stephen Boyd sb...@codeaurora.org Cc: Will Deacon will.dea...@arm.com Cc: Russell King rmk+ker...@arm.linux.org.uk --- arch/arm/kernel/arch_timer.c |2 ++ 1 file changed, 2

[PATCH 0/4] ARM: patches for randconfig build errors

2012-08-22 Thread Arnd Bergmann
: Shinya Kuribayashi shinya.kuribayashi...@renesas.com Cc: Stephen Boyd sb...@codeaurora.org Cc: Thomas Gleixner t...@linutronix.de Cc: Will Deacon will.dea...@arm.com Arnd Bergmann (4): ARM: export read_current_timer ARM: allow PID_IN_CONTEXTIDR only for ARMv7 ARM: export set_irq_flags

Re: [PATCH 2/4] ARM: allow PID_IN_CONTEXTIDR only for ARMv7

2012-08-22 Thread Arnd Bergmann
On Wednesday 22 August 2012, Will Deacon wrote: @@ -398,6 +398,7 @@ config ARM_KPROBES_TEST config PID_IN_CONTEXTIDR bool Write the current PID to the CONTEXTIDR register depends on CPU_COPY_V6 + depends on CPU_V7 !CPU_V6 help Enabling this option

[PATCH 5/6] ARM: imx: select CPU_FREQ_TABLE when needed

2012-08-22 Thread Arnd Bergmann
: undefined reference to `cpufreq_frequency_table_get_attr' Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Sascha Hauer s.ha...@pengutronix.de Cc: Yong Shen yong.s...@linaro.org Cc: Shawn Guo shawn@freescale.com Cc: sta...@vger.kernel.org --- arch/arm/Kconfig |1 + 1 file changed, 1 insertion

[PATCH 1/6] ARM: ux500: don't select LEDS_GPIO for snowball

2012-08-22 Thread Arnd Bergmann
to `led_classdev_unregister' This reverts 8733f53c6 ARM: ux500: Kconfig: Compile in leds-gpio support for Snowball, which was not completely thought through. Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Linus Walleij linus.wall...@linaro.org Cc: Lee Jones lee.jo...@linaro.org --- arch/arm/mach-ux500/Kconfig

[PATCH 0/6] ARM: randconfig bugs

2012-08-22 Thread Arnd Bergmann
: Kevin Hilman khil...@ti.com Cc: Lee Jones lee.jo...@linaro.org Cc: Linus Walleij linus.wall...@linaro.org Cc: Santosh Shilimkar santosh.shilim...@ti.com Cc: Sascha Hauer s.ha...@pengutronix.de Cc: Shawn Guo shawn@linaro.org Cc: Tony Lindgren t...@atomide.com Cc: Yong Shen yong.s...@linaro.org Arnd

[PATCH 4/6] ARM: imx: fix ksz9021rn_phy_fixup

2012-08-22 Thread Arnd Bergmann
function it appears in The bug was originally reported by Artem Bityutskiy but only partially fixed in ef441806 ARM: imx6q: register phy fixup only when CONFIG_PHYLIB is enabled. Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Artem Bityutskiy dedeki...@gmail.com Cc: Shawn Guo shawn@linaro.org Cc

[PATCH 6/6] ARM: imx: select ARM_CPU_SUSPEND when necessary

2012-08-22 Thread Arnd Bergmann
/built-in.o: In function `v7_cpu_resume': arch/arm/mach-imx/head-v7.S:104: undefined reference to `cpu_resume' Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Eric Miao eric.m...@linaro.org Cc: Shawn Guo shawn@linaro.org Cc: sta...@vger.kernel.org --- arch/arm/mach-imx/Kconfig |1 + 1 file

[PATCH 3/6] ARM: imx: build pm-imx5 code only when PM is enabled

2012-08-22 Thread Arnd Bergmann
definition of 'imx53_pm_init' was here Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Shawn Guo shawn@linaro.org Cc: Sascha Hauer s.ha...@pengutronix.de Cc: sta...@vger.kernel.org --- arch/arm/mach-imx/Makefile |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm

[PATCH 2/6] ARM: omap: allow building omap44xx without SMP

2012-08-22 Thread Arnd Bergmann
have made sure that we can now build the kernel in all configurations, but that does not mean it will actually work on an OMAP44xx. Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Santosh Shilimkar santosh.shilim...@ti.com Cc: Kevin Hilman khil...@ti.com Cc: Tony Lindgren t...@atomide.com --- arch

Re: [PATCH 4/4] ARM: kprobes: make more tests conditional

2012-08-22 Thread Arnd Bergmann
On Wednesday 22 August 2012, Nicolas Pitre wrote: On Wed, 22 Aug 2012, Arnd Bergmann wrote: The mls instruction is not available in ARMv6K or below, so we should make the test conditional on at least ARMv7. ldrex/strex are available in ARMv6K or ARMv7, which we can test by checking

<    10   11   12   13   14   15   16   17   18   19   >