[PATCH 2/2] ARM: MSM: Add msm8660-surf.dts to Makefile.boot

2012-08-22 Thread Stephen Boyd
Add this entry to the Makefile so that we can build the dtb automatically with 'make dtbs'. Signed-off-by: Stephen Boyd --- arch/arm/mach-msm/Makefile.boot | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-msm/Makefile.boot b/arch/arm/mach-msm/Makefile.boot index 9b803a5..8de06

[PATCH 1/2] ARM: MSM: Add handle_irq handler for 8660 DT machine

2012-08-22 Thread Stephen Boyd
Commit 041f777 (ARM: msm: convert SMP platforms to CONFIG_MULTI_IRQ_HANDLER, 2011-09-06) forgot to add the .handle_irq for the DT machine record. Add it so we get interrupts instead of panics on DT enabled bootloaders. Signed-off-by: Stephen Boyd --- arch/arm/mach-msm/board-msm8x60.c | 1 + 1 fi

[PATCH 0/2] 8660 DT fixlets

2012-08-22 Thread Stephen Boyd
Two small fixes to 8660 DT support so that it boots up and gets interrupts and so that we can build the dtb via kernel Makefiles with 'make dtbs'. Stephen Boyd (2): ARM: MSM: Add handle_irq handler for 8660 DT machine ARM: MSM: Add msm8660-surf.dts to Makefile.boot arch/arm/mach-msm/Makefile

[PATCH 1/3] ARM: MSM: Remove msm_hw_reset_hook

2012-08-22 Thread Stephen Boyd
This reset hook is never assigned and is dead code. Remove it so we have one less header file in the mach directory. Signed-off-by: Stephen Boyd --- arch/arm/mach-msm/board-mahimahi.c | 1 - arch/arm/mach-msm/board-sapphire.c | 1 - arch/arm/mach-msm/include/mach/system.h | 19 --

[PATCH 3/3] ARM: MSM: Remove unused idle.c

2012-08-22 Thread Stephen Boyd
Forcing arm_pm_idle to be msm_idle() doesn't make sense in configurations that don't have CONFIG_MSM7X00A_IDLE=y (i.e. any targets that aren't 7x00a). Furthermore, that config doesn't even exist, so this entire file is dead code. Just remove it so we can use the default idle support on MSM. Signed

[PATCH 2/3] ARM: MSM: clock-pcom: Mark functions static

2012-08-22 Thread Stephen Boyd
These functions are only used within clock-pcom.c, therefore mark them as static. Signed-off-by: Stephen Boyd --- arch/arm/mach-msm/clock-pcom.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/arch/arm/mach-msm/clock-pcom.c b/arch/arm/mach-msm/clock-pcom.c

[PATCH 0/3] Miscellaneous MSM fixes

2012-08-22 Thread Stephen Boyd
Here's a small collection of MSM patches I have lying around. The first removes a useless file and hook that nobody is using. The second marks some functions static in clock-pcom.c since they aren't used outside the file and the last removes idle.c because it's dead code. Stephen Boyd (3): ARM:

Re: ioremap() fail on physical address 0x0 in 3.4 kernel

2012-08-22 Thread Nicolas Pitre
On Wed, 22 Aug 2012, Russell King - ARM Linux wrote: > On Wed, Aug 22, 2012 at 10:53:02AM +0100, Russell King - ARM Linux wrote: > > @@ -826,7 +826,7 @@ static void __init fill_pmd_gaps(void) > > > > /* we're still single threaded hence no lock needed here */ > > for (vm = vmlist; vm; vm

Re: ioremap() fail on physical address 0x0 in 3.4 kernel

2012-08-22 Thread Murali Nalajala
On 8/22/2012 3:23 PM, Russell King - ARM Linux wrote: On Wed, Aug 22, 2012 at 12:16:08PM +0530, Trilok Soni wrote: Thanks for the patch, but how about just checking pmd_none on such addresses and since there won't be any mapping created for such gaps? We need to check if this is fine for all, si

Re: ioremap() fail on physical address 0x0 in 3.4 kernel

2012-08-22 Thread Russell King - ARM Linux
On Wed, Aug 22, 2012 at 10:53:02AM +0100, Russell King - ARM Linux wrote: > @@ -826,7 +826,7 @@ static void __init fill_pmd_gaps(void) > > /* we're still single threaded hence no lock needed here */ > for (vm = vmlist; vm; vm = vm->next) { > - if (!(vm->flags & VM_ARM_STAT

Re: ioremap() fail on physical address 0x0 in 3.4 kernel

2012-08-22 Thread Russell King - ARM Linux
On Wed, Aug 22, 2012 at 12:16:08PM +0530, Trilok Soni wrote: > Thanks for the patch, but how about just checking pmd_none on such > addresses and since there won't be any mapping created for such gaps? We > need to check if this is fine for all, since I remember that Nico > added these function