[PATCH v4 3/5] clocksource: arch_timer: Pass clock event to set_mode callback

2013-07-18 Thread Stephen Boyd
There isn't any reason why we don't pass the event here and we'll need it in the near future for memory mapped arch timers anyway. Cc: Mark Rutland Cc: Marc Zyngier Signed-off-by: Stephen Boyd --- drivers/clocksource/arm_arch_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 de

[PATCH v4 2/5] Documentation: Add memory mapped ARM architected timer binding

2013-07-18 Thread Stephen Boyd
etree-disc...@lists.ozlabs.org Cc: Marc Zyngier Cc: Mark Rutland Cc: Rob Herring Signed-off-by: Stephen Boyd --- .../devicetree/bindings/arm/arch_timer.txt | 59 -- 1 file changed, 56 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/arch_ti

Re: [PATCH v4 08/17] ocksource: dbx500-prcmu: Switch to sched_clock_register()

2013-07-18 Thread Stephen Boyd
On 07/18, Stephen Boyd wrote: > The 32 bit sched_clock interface now supports 64 bits. Upgrade to > the 64 bit function to allow us to remove the 32 bit registration > interface. > > Cc: Srinidhi Kasagar > Cc: Linus Walleij > Signed-off-by: Stephen Boyd > --- Hmph, t

Re: [PATCH v4 00/17] 64-bit friendly generic sched_clock()

2013-07-18 Thread Stephen Boyd
On 07/18, John Stultz wrote: > On 07/18/2013 04:21 PM, Stephen Boyd wrote: > >This patchset adds support for 64 bit counters in the generic > >sched_clock code and converts drivers over to use it. Based > >on v3.11-rc1. > > > >Changes since v3: > > * Move to

Re: [PATCH v4 04/17] sched_clock: Add support for >32 bit sched_clock

2013-07-19 Thread Stephen Boyd
On 07/19, Baruch Siach wrote: > On Thu, Jul 18, 2013 at 04:21:17PM -0700, Stephen Boyd wrote: > > @@ -110,14 +123,13 @@ void __init setup_sched_clock(u32 (*read)(void), int > > bits, unsigned long rate) > > if (cd.rate > rate) > > return;

Re: [PATCH v3] pinctrl: msm: Add support for MSM TLMM pinmux

2013-07-19 Thread Stephen Boyd
On 07/11/13 20:26, Hanumant Singh wrote: > + > +MODULE_AUTHOR("Hanumant Singh "); > +MODULE_LICENSE("GPLv2"); Doesn't this need to be "GPL v2"? -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation -- To unsubscribe from this list: send the line "u

Re: [PATCH v4 00/17] 64-bit friendly generic sched_clock()

2013-07-22 Thread Stephen Boyd
On 07/20, Linus Walleij wrote: > On Fri, Jul 19, 2013 at 1:21 AM, Stephen Boyd wrote: > > > This patchset adds support for 64 bit counters in the generic > > sched_clock code and converts drivers over to use it. Based > > on v3.11-rc1. > > > > Changes since

Re: [PATCH v4 10/17] clocksource: mxs_timer: Switch to sched_clock_register()

2013-07-22 Thread Stephen Boyd
On 07/22, Shawn Guo wrote: > On Thu, Jul 18, 2013 at 04:21:23PM -0700, Stephen Boyd wrote: > > The 32 bit sched_clock interface now supports 64 bits. Upgrade to > > the 64 bit function to allow us to remove the 32 bit registration > > interface. > > > > Cc: Sh

Re: [PATCH v4 03/17] sched_clock: Use an hrtimer instead of timer

2013-07-22 Thread Stephen Boyd
On 07/22/13 11:21, John Stultz wrote: > On 07/18/2013 04:21 PM, Stephen Boyd wrote: >> In the next patch we're going to increase the number of bits that >> the generic sched_clock can handle to be greater than 32. With >> more than 32 bits the wraparound time can be l

Re: [PATCH v4 03/17] sched_clock: Use an hrtimer instead of timer

2013-07-22 Thread Stephen Boyd
On 07/22/13 11:45, Stephen Boyd wrote: > On 07/22/13 11:21, John Stultz wrote: >> On 07/18/2013 04:21 PM, Stephen Boyd wrote: >>> In the next patch we're going to increase the number of bits that >>> the generic sched_clock can handle to be greater than 32

Re: [PATCH v4 03/17] sched_clock: Use an hrtimer instead of timer

2013-07-22 Thread Stephen Boyd
On 07/22/13 13:48, John Stultz wrote: > On 07/22/2013 11:58 AM, Stephen Boyd wrote: >> On 07/22/13 11:45, Stephen Boyd wrote: >>> On 07/22/13 11:21, John Stultz wrote: >>>> On 07/18/2013 04:21 PM, Stephen Boyd wrote: >>>>> In the next patch we're g

Re: [PATCH] irqchip: gic: Don't complain in gic_get_cpumask() if UP system

2013-07-23 Thread Stephen Boyd
On 07/20, Bedia, Vaibhav wrote: > Hi, > > On Sat, Jul 06, 2013 at 05:09:33, Stephen Boyd wrote: > > In a uniprocessor implementation the interrupt processor targets > > registers are read-as-zero/write-ignored (RAZ/WI). Unfortunately > > gic_get_cpumask() will prin

Re: [GIT PULL] Remove ARM local timer API

2013-07-23 Thread Stephen Boyd
On 07/23, Olof Johansson wrote: > On Tue, Jun 25, 2013 at 1:02 PM, Stephen Boyd wrote: > > Olof/Arnd, > > > > These patches remove the ARM local timer API. The ARM architected > > timers have already moved away from this API so this series > > migrates the rest o

[PATCH 4/4] msm_serial: Send more than 1 character at a time on UARTDM

2013-07-24 Thread Stephen Boyd
UARTDM cores have a TX fifo that can accept more than one character per register write, but the msm_serial driver currently only supports 1 character mode. Add support for this mode of operation to speed up the transmit path on DM devices. Signed-off-by: Stephen Boyd --- drivers/tty/serial

[PATCH 0/4] msm_serial fixes and improvements

2013-07-24 Thread Stephen Boyd
newer UARTDM devices via new compatible fields. Stephen Boyd (4): msm_serial: Fix NUL byte output on UARTDM msm_serial: Fix sparse warnings msm_serial: Make baud_code detection more dynamic msm_serial: Send more than 1 character at a time on UARTDM drivers/tty/serial/msm_serial.c | 180

[PATCH 2/4] msm_serial: Fix sparse warnings

2013-07-24 Thread Stephen Boyd
em and use writel instead of iowrite because we're not dealing with PCI devices. Also, mark msm_set_mctrl() static because it isn't used outside this file. Signed-off-by: Stephen Boyd --- drivers/tty/serial/msm_serial.c | 17 +++-- 1 file changed, 7 insertions(+), 10 deleti

[PATCH 3/4] msm_serial: Make baud_code detection more dynamic

2013-07-24 Thread Stephen Boyd
matches. This allows us to support uarts with faster clock speeds. Signed-off-by: Stephen Boyd --- drivers/tty/serial/msm_serial.c | 98 ++--- drivers/tty/serial/msm_serial.h | 18 ++-- 2 files changed, 48 insertions(+), 68 deletions(-) diff --git a/drivers

[PATCH 1/4] msm_serial: Fix NUL byte output on UARTDM

2013-07-24 Thread Stephen Boyd
igned-off-by: Stephen Boyd --- drivers/tty/serial/msm_serial.c | 14 +- drivers/tty/serial/msm_serial.h | 1 + 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/drivers/tty/serial/msm_serial.c b/drivers/tty/serial/msm_serial.c index 2c6cfb3..fa3fc67 100644 --- a/driver

Re: [PATCH v5 0/5] clk: implement remuxing during set_rate

2013-07-24 Thread Stephen Boyd
On 06/21, James Hogan wrote: > On 21 June 2013 18:04, Mike Turquette wrote: > > Quoting James Hogan (2013-06-13 09:05:57) > >> This patchset adds support for automatic selection of the best parent > >> for a clock mux, i.e. the one which can provide the closest clock rate > >> to that requested. I

Re: [PATCH] ARM: Fix deadlock scenario with smp_send_stop()

2013-07-24 Thread Stephen Boyd
On 07/09, Stephen Boyd wrote: > If one process calls sys_reboot and that process then stops other > CPUs while those CPUs are within a spin_lock() region we can > potentially encounter a deadlock scenario like below. > > CPU 0

[PATCH] gpio_msm: Fix build error due to missing err.h

2013-07-24 Thread Stephen Boyd
27; [-Werror=implicit-function-declaration] This driver failed to compile after commit 68515bb (gpio_msm: Convert to use devm_ioremap_resource, 2013-06-10). Cc: Tushar Behera Signed-off-by: Stephen Boyd --- drivers/gpio/gpio-msm-v1.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpi

Re: [PATCH] ARM: Fix deadlock scenario with smp_send_stop()

2013-07-24 Thread Stephen Boyd
On 07/24/13 13:21, Russell King - ARM Linux wrote: > On Wed, Jul 24, 2013 at 11:56:18AM -0700, Stephen Boyd wrote: >> On 07/09, Stephen Boyd wrote: >>> If one process calls sys_reboot and that process then stops other >>> CPUs while those CPUs are within a spin_lock() re

Re: [PATCH v4 0/5] Memory mapped architected timers

2013-07-24 Thread Stephen Boyd
On 07/22, Mark Rutland wrote: > Hi Stephen, > > On Fri, Jul 19, 2013 at 12:59:27AM +0100, Stephen Boyd wrote: > > This patchset adds support for memory mapped architected timers. We > > don't have any other global broadcast timer in our system, so we use the > > m

[PATCH v2] ARM: Fix deadlock scenario with smp_send_stop()

2013-07-24 Thread Stephen Boyd
. We use local_irq_disable() here for cross-arch consistency with x86. Reported-by: Sundarajan Srinivasan Signed-off-by: Stephen Boyd --- Changes since v1: - Use local_irq_disable() instead of preempt_disable() arch/arm/kernel/process.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/

[PATCH v2 2/9] ARM: msm: Don't compile __msm_ioremap_caller() unless used

2013-07-24 Thread Stephen Boyd
This function is only used on MSM7x00A so only compile the function if the build includes support for that platform. Signed-off-by: Stephen Boyd --- arch/arm/mach-msm/io.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-msm/io.c b/arch/arm/mach-msm/io.c index 3dc04cc

[PATCH v2 0/9] Move MSM closer to multi-platform

2013-07-24 Thread Stephen Boyd
These are a set of patches that move MSM closer to multi-platform but still keep everything compiling. We still have to tackle reset and dma, but these patches shouldn't be controversial. Rohit Vaswani (1): ARM: msm: Remove unused and unmapped MSM_TLMM_BASE for 8x60 Stephen Boyd (8):

[PATCH v2 1/9] ARM: msm: Remove unused and unmapped MSM_TLMM_BASE for 8x60

2013-07-24 Thread Stephen Boyd
From: Rohit Vaswani MSM_TLMM_BASE is currently not mapped by 8x60. Remove it. Signed-off-by: Rohit Vaswani Signed-off-by: Stephen Boyd --- arch/arm/mach-msm/include/mach/msm_iomap-8x60.h | 4 1 file changed, 4 deletions(-) diff --git a/arch/arm/mach-msm/include/mach/msm_iomap-8x60.h b

[PATCH v2 8/9] iommu/msm: Move mach includes to iommu directory

2013-07-24 Thread Stephen Boyd
del Cc: Stepan Moskovchenko Signed-off-by: Stephen Boyd --- drivers/iommu/msm_iommu.c | 4 ++-- arch/arm/mach-msm/include/mach/iommu.h => drivers/iommu/msm_iommu.h | 0 drivers/iommu/msm_iommu_dev.c | 4 ++-- .../inc

[PATCH v2 7/9] ARM: msm: Remove devices-iommu.c

2013-07-24 Thread Stephen Boyd
bing today due to missing clocks. Cc: Stepan Moskovchenko Signed-off-by: Stephen Boyd --- arch/arm/mach-msm/Makefile| 1 - arch/arm/mach-msm/devices-iommu.c | 912 -- 2 files changed, 913 deletions(-) delete mode 100644 arch/arm/mach-msm/devices-iom

[PATCH v2 9/9] ARM: msm: Only compile io.c on platforms that use it

2013-07-24 Thread Stephen Boyd
d MSM platforms. This allows the dt-based platforms to participate in the multi-platform kernel. Signed-off-by: Stephen Boyd --- arch/arm/mach-msm/Makefile | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-msm/Makefile b/arch/arm/mach-msm/Makefile index 4c

[PATCH v2 3/9] ARM: msm: Move debug-macro.S to include/debug

2013-07-24 Thread Stephen Boyd
One more step to allowing MSM to participate in the multi-platform defconfig. Signed-off-by: Stephen Boyd --- arch/arm/Kconfig.debug | 9 +++- .../mach/debug-macro.S => include/debug/msm.S} | 32 ++- arch/arm/mach-msm/include/mach/msm_iomap-896

[PATCH v2 6/9] ARM: msm: Move mach/board.h contents to common.h

2013-07-24 Thread Stephen Boyd
The contents of mach/board.h are only used by files within mach-msm so there is no need to export this file outside of the mach-msm directory. Move the contents of the file to common.h to allow us to compile MSM in the multi-platform kernel. Cc: Florian Tobias Schandinat Signed-off-by: Stephen

[PATCH v2 5/9] ARM: msm: Migrate msm_timer to CLOCKSOURCE_OF_DECLARE

2013-07-24 Thread Stephen Boyd
This allows us to remove the init_time callback in the DT machine descriptors, shrinking the code. Signed-off-by: Stephen Boyd --- arch/arm/Kconfig | 1 + arch/arm/mach-msm/board-dt-8660.c | 1 - arch/arm/mach-msm/board-dt-8960.c | 1 - arch/arm/mach-msm/common.h| 1

[PATCH v2 4/9] ARM: msm: Remove TMR and TMR0 static mappings

2013-07-24 Thread Stephen Boyd
Nobody is using these mappings so just drop them. of_iomap() in the timer driver will take care of it for us. Doing this allows us to remove the 8x60 and 8960 iomap files completely. Signed-off-by: Stephen Boyd --- arch/arm/mach-msm/board-dt-8660.c | 2 +- arch/arm/mach-msm/board

[PATCH v1 01/14] clk: fixed-rate: Export clk_fixed_rate_register()

2013-07-24 Thread Stephen Boyd
Export this symbol so that modules can register fixed rate clocks. Signed-off-by: Stephen Boyd --- drivers/clk/clk-fixed-rate.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/clk-fixed-rate.c b/drivers/clk/clk-fixed-rate.c index dc58fbd..1ed591a 100644 --- a/drivers/clk/clk

[PATCH v1 13/14] clk: msm: Add MSM8974 GCC data

2013-07-24 Thread Stephen Boyd
Add the necessary data to probe an 8974 gcc device. Signed-off-by: Stephen Boyd --- .../devicetree/bindings/clock/qcom,gcc.txt | 1 + drivers/clk/msm/Kconfig| 7 ++ drivers/clk/msm/Makefile | 1 + drivers/clk/msm/core.c

[PATCH v1 00/14] Add support for MSM's mmio clocks

2013-07-24 Thread Stephen Boyd
y register clocks. This is sufficient enough to get the UART going on my msm8960 device. If DT reviewers are ok I'll go ahead and generate the rest of the data and post v2. Stephen Boyd (14): clk: fixed-rate: Export clk_fixed_rate_register() clk: Add of_init_clk_data() to parse common

[PATCH v1 04/14] clk: Add set_rate_and_parent() op

2013-07-24 Thread Stephen Boyd
hange during clk_set_rate() it will call the .set_rate_and_parent() op if available and fall back to calling .set_parent() followed by .set_rate() otherwise. Cc: James Hogan Signed-off-by: Stephen Boyd --- Documentation/clk.txt| 3 ++ drivers/clk/clk.c

[PATCH v1 03/14] clk: Add of_clk_match() for device drivers

2013-07-24 Thread Stephen Boyd
parsed. Signed-off-by: Stephen Boyd --- drivers/clk/clk.c| 64 include/linux/clk-provider.h | 16 +++ 2 files changed, 80 insertions(+) diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index ea8e951b..1e3e0db 100644 --- a/drivers

[PATCH v1 09/14] clk: msm: Add support for MSM8960's global clock controller (GCC)

2013-07-24 Thread Stephen Boyd
Fill in the data and wire up the global clock controller to the MSM clock driver. This should allow most non-multimedia device drivers to control their clocks on 8960 based platforms. Cc: devicet...@vger.kernel.org Signed-off-by: Stephen Boyd --- .../devicetree/bindings/clock/qcom,gcc.txt

[PATCH v1 12/14] ARM: dts: msm: Add MSM8960 MMCC DT nodes

2013-07-24 Thread Stephen Boyd
Add the necessary DT data to probe the multimedia clock controller on MSM8960 devices. Signed-off-by: Stephen Boyd --- arch/arm/boot/dts/msm8960-cdp.dts | 37 + 1 file changed, 37 insertions(+) diff --git a/arch/arm/boot/dts/msm8960-cdp.dts b/arch/arm/boot

[PATCH v1 10/14] clk: msm: Add support for MSM8960's multimedia clock controller (MMCC)

2013-07-24 Thread Stephen Boyd
Fill in the data and wire up the multimedia clock controller to the MSM clock driver. This should allow multimedia device drivers to control their clocks on 8960 based platforms. Cc: devicet...@vger.kernel.org Signed-off-by: Stephen Boyd --- .../devicetree/bindings/clock/qcom,mmcc.txt

[PATCH v1 06/14] clk: msm: Add support for root clock generators (RCGs)

2013-07-24 Thread Stephen Boyd
Cc: devicet...@vger.kernel.org Signed-off-by: Stephen Boyd --- Documentation/devicetree/bindings/clock/msm.txt | 31 + drivers/clk/msm/Makefile| 2 + drivers/clk/msm/clk-rcg.c | 754 drivers/clk/msm/clk-rcg.h

[PATCH v1 14/14] ARM: dts: msm: Add clock entries for MSM8960 uart device

2013-07-24 Thread Stephen Boyd
Signed-off-by: Stephen Boyd --- arch/arm/boot/dts/msm8960-cdp.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/msm8960-cdp.dts b/arch/arm/boot/dts/msm8960-cdp.dts index be8d947..e10fba6 100644 --- a/arch/arm/boot/dts/msm8960-cdp.dts +++ b/arch/arm/boot/dts/msm8960

[PATCH v1 11/14] ARM: dts: msm: Add MSM8960 GCC DT nodes

2013-07-24 Thread Stephen Boyd
Add the necessary DT data to probe the global clock controller on MSM8960 devices. Signed-off-by: Stephen Boyd --- arch/arm/boot/dts/msm8960-cdp.dts | 72 +++ 1 file changed, 72 insertions(+) diff --git a/arch/arm/boot/dts/msm8960-cdp.dts b/arch/arm/boot

[PATCH v1 07/14] clk: msm: Add support for branches/gate clocks

2013-07-24 Thread Stephen Boyd
Cc: devicet...@vger.kernel.org Signed-off-by: Stephen Boyd --- Documentation/devicetree/bindings/clock/msm.txt | 28 drivers/clk/msm/Makefile| 1 + drivers/clk/msm/clk-branch.c| 190 drivers/clk/msm/clk-branch.h

[PATCH v1 08/14] clk: msm: Add MSM clock driver

2013-07-24 Thread Stephen Boyd
Signed-off-by: Stephen Boyd --- drivers/clk/msm/Makefile | 2 + drivers/clk/msm/core.c | 265 + drivers/clk/msm/internal.h | 24 3 files changed, 291 insertions(+) create mode 100644 drivers/clk/msm/core.c create mode 100644 drivers/clk

[PATCH v1 02/14] clk: Add of_init_clk_data() to parse common clock bindings

2013-07-24 Thread Stephen Boyd
ve to free the strings allocated here which could be cumbersome. Cc: Rob Herring Signed-off-by: Stephen Boyd --- drivers/clk/clk.c| 59 +++- include/linux/clk-provider.h | 7 ++ 2 files changed, 65 insertions(+), 1 deletion(-) diff --

[PATCH v1 05/14] clk: msm: Add support for phase locked loops (PLLs)

2013-07-24 Thread Stephen Boyd
Add support for MSM's PLLs (phase locked loops). This is sufficient enough to be able to determine the rate the PLL is running at. We can add rate setting support later when it's needed. Cc: devicet...@vger.kernel.org Signed-off-by: Stephen Boyd --- Documentation/devicetree/bind

Re: [GIT PULL] Remove ARM local timer API

2013-07-25 Thread Stephen Boyd
On 07/23, Olof Johansson wrote: > On Tue, Jul 23, 2013 at 4:40 PM, Stephen Boyd wrote: > > On 07/23, Olof Johansson wrote: > > >> Merged in as localtimer/removal into next/cleanup. > >> > >> I had quite a few merge conflicts due to the __cpuinit

Re: [PATCH v1 03/14] clk: Add of_clk_match() for device drivers

2013-07-25 Thread Stephen Boyd
On 07/25, Tomasz Figa wrote: > Hi Stephen, > > On Wednesday 24 of July 2013 17:43:31 Stephen Boyd wrote: > > In similar fashion as of_regulator_match() add an of_clk_match() > > function that finds an initializes clock init_data structs from > > devicetree. Drivers

Re: [PATCH v1 05/14] clk: msm: Add support for phase locked loops (PLLs)

2013-07-25 Thread Stephen Boyd
On 07/25, Tomasz Figa wrote: > On Wednesday 24 of July 2013 17:43:33 Stephen Boyd wrote: > > +extern struct clk *pll_clk_register(struct device *dev, struct pll_desc > > *desc, +struct clk_init_data *init); > > +extern struct clk *pll_vote_clk_regist

Re: [PATCH v1 02/14] clk: Add of_init_clk_data() to parse common clock bindings

2013-07-25 Thread Stephen Boyd
On 07/25, Tomasz Figa wrote: > On Wednesday 24 of July 2013 17:43:30 Stephen Boyd wrote: > > Consolidate DT parsing for the common bits of a clock binding in > > one place to simplify clock drivers. This also has the added > > benefit of standardizing how the clock nam

Re: [PATCH v1 08/14] clk: msm: Add MSM clock driver

2013-07-25 Thread Stephen Boyd
On 07/25, Tomasz Figa wrote: > On Wednesday 24 of July 2013 17:43:36 Stephen Boyd wrote: > > Add a clock driver that registers clocks from a DT node's > > 'clocks' child. Each new SoC will add a file describing the > > software interface and frequency plan t

Re: [PATCH v1 04/14] clk: Add set_rate_and_parent() op

2013-07-25 Thread Stephen Boyd
On 07/25, Tomasz Figa wrote: > On Wednesday 24 of July 2013 17:43:32 Stephen Boyd wrote: > > Some of Qualcomm's clocks can change their parent and rate at the > > same time with a single register write. Add support for this > > hardware to the common clock

Re: [PATCH 3/4] msm_serial: Make baud_code detection more dynamic

2013-07-26 Thread Stephen Boyd
On 07/25, Bjorn Andersson wrote: > On Wed, Jul 24, 2013 at 10:37 AM, Stephen Boyd wrote: > > [snip] > > + unsigned int i, divisor; > > + const struct msm_baud_map *entry; > > + static const struct msm_baud_map table[] = { > >

Re: Enable arm_global_timer for Zynq brakes boot

2013-08-09 Thread Stephen Boyd
On 08/09, Daniel Lezcano wrote: > > yes, but at least the broadcast mechanism should send an IPI to cpu0 to > wake it up, no ? As Stephen stated this kind of configuration should has > never been tested before so the tick broadcast code is not handling this > case properly IMHO. > If you have a

Re: Enable arm_global_timer for Zynq brakes boot

2013-08-09 Thread Stephen Boyd
On 08/09/13 10:48, Sören Brinkmann wrote: > On Fri, Aug 09, 2013 at 10:27:57AM -0700, Stephen Boyd wrote: >> On 08/09, Daniel Lezcano wrote: >>> yes, but at least the broadcast mechanism should send an IPI to cpu0 to >>> wake it up, no ? As Stephen stated this kind

Re: Enable arm_global_timer for Zynq brakes boot

2013-08-12 Thread Stephen Boyd
On 08/12/13 09:03, Sören Brinkmann wrote: > On Fri, Aug 09, 2013 at 10:27:57AM -0700, Stephen Boyd wrote: >> On 08/09, Daniel Lezcano wrote: >>> yes, but at least the broadcast mechanism should send an IPI to cpu0 to >>> wake it up, no ? As Stephen stated this kind

Re: Enable arm_global_timer for Zynq brakes boot

2013-08-12 Thread Stephen Boyd
On 08/12/13 03:53, Daniel Lezcano wrote: > On 08/09/2013 07:27 PM, Stephen Boyd wrote: >> On 08/09, Daniel Lezcano wrote: >>> yes, but at least the broadcast mechanism should send an IPI to cpu0 to >>> wake it up, no ? As Stephen stated this kind of configuration shoul

Re: [PATCH] hwspinlock/msm: Add support for Qualcomm MSM HW Mutex block

2013-08-12 Thread Stephen Boyd
On 08/10/13 12:11, Ohad Ben-Cohen wrote: > Otherwise, Stephen - do we have your Ack here? I was happy to see your > review but not sure what's the latest status. The smp_mb() should be removed. Otherwise I'm willing to accept that we only build this driver on ARCH_MSM for now. We can fix that in t

Re: [PATCH v2] hwspinlock/msm: Add support for Qualcomm MSM HW Mutex block

2013-08-12 Thread Stephen Boyd
On 07/29/13 15:00, Kumar Gala wrote: > diff --git a/drivers/hwspinlock/msm_hwspinlock.c > b/drivers/hwspinlock/msm_hwspinlock.c > new file mode 100644 > index 000..dbd9a69 > --- /dev/null > +++ b/drivers/hwspinlock/msm_hwspinlock.c > @@ -0,0 +1,150 @@ > +/* > + * Copyright (c) 2013, The Linux

Re: Enable arm_global_timer for Zynq brakes boot

2013-08-12 Thread Stephen Boyd
On 08/12/13 09:24, Sören Brinkmann wrote: > On Mon, Aug 12, 2013 at 09:20:19AM -0700, Stephen Boyd wrote: >> On 08/12/13 09:03, Sören Brinkmann wrote: >>> On Fri, Aug 09, 2013 at 10:27:57AM -0700, Stephen Boyd wrote: >>>> On 08/09, Daniel Lezcano wrote: >>

Re: [PATCH v1 09/14] clk: msm: Add support for MSM8960's global clock controller (GCC)

2013-08-12 Thread Stephen Boyd
On 08/08, Mark Rutland wrote: > Hi Stephen, > > On Thu, Jul 25, 2013 at 01:43:37AM +0100, Stephen Boyd wrote: > > Fill in the data and wire up the global clock controller to the > > MSM clock driver. This should allow most non-multimedia device > > drivers to control

Re: [PATCH v1 03/14] clk: Add of_clk_match() for device drivers

2013-08-12 Thread Stephen Boyd
On 08/12, Mike Turquette wrote: > Quoting Stephen Boyd (2013-07-24 17:43:31) > > In similar fashion as of_regulator_match() add an of_clk_match() > > function that finds an initializes clock init_data structs from > > devicetree. Drivers should use this API to find clocks tha

Re: [PATCH] PM / QoS: Fix workqueue deadlock when using pm_qos_update_request_timeout()

2013-08-13 Thread Stephen Boyd
On 08/08/13 13:13, Stephen Boyd wrote: > pm_qos_update_request_timeout() updates a qos and then schedules > a delayed work item to bring the qos back down to the default > after the timeout. When the work item runs, pm_qos_work_fn() will > call pm_qos_update_request() and deadlock beca

Re: [PATCH] PM / QoS: Fix workqueue deadlock when using pm_qos_update_request_timeout()

2013-08-13 Thread Stephen Boyd
On 08/13/13 09:43, Tejun Heo wrote: > Hello, Stephen. > > On Thu, Aug 08, 2013 at 01:13:57PM -0700, Stephen Boyd wrote: >> pm_qos_update_request_timeout() updates a qos and then schedules >> a delayed work item to bring the qos back down to the default >> after the timeo

Re: [PATCH v1 09/14] clk: msm: Add support for MSM8960's global clock controller (GCC)

2013-08-13 Thread Stephen Boyd
On 08/13, Mike Turquette wrote: > Quoting Stephen Boyd (2013-08-12 22:03:34) > > The clock controller is hardware and the number of clock outputs > > is fixed. Isn't all hardware fixed until you start talking about > > FPGAs? The next minor revision of the clock controll

Re: [PATCH] PM / QoS: Fix workqueue deadlock when using pm_qos_update_request_timeout()

2013-08-13 Thread Stephen Boyd
On 08/13, Rafael J. Wysocki wrote: > On Tuesday, August 13, 2013 01:01:46 PM Tejun Heo wrote: > > Hello, > > > > On Tue, Aug 13, 2013 at 09:46:26AM -0700, Stephen Boyd wrote: > > > >> + if (PM_QOS_DEFAULT_VALUE != req->node.prio) >

[PATCH] PM / QoS: Fix workqueue deadlock when using pm_qos_update_request_timeout()

2013-08-13 Thread Stephen Boyd
(). Future callers of that qos will also hang waiting to cancel the work that is canceling itself. Let's extract the little bit of code that does the real work of pm_qos_update_request() and call it from the work function so that we don't deadlock. Cc: Tejun Heo Signed-off-by: St

Re: mmotm 2013-03-01-15-50 uploaded (strict user copy)

2013-03-01 Thread Stephen Boyd
On 03/01/13 19:00, Randy Dunlap wrote: > On 03/01/13 15:51, a...@linux-foundation.org wrote: >> The mm-of-the-moment snapshot 2013-03-01-15-50 has been uploaded to >> >>http://www.ozlabs.org/~akpm/mmotm/ >> > > on i386: > > ERROR: "copy_from_user_overflow" [fs/binfmt_misc.ko] undefined! > > whi

Re: mmotm 2013-03-01-15-50 uploaded (strict user copy)

2013-03-01 Thread Stephen Boyd
On 03/01/13 19:42, Stephen Boyd wrote: > On 03/01/13 19:00, Randy Dunlap wrote: >> On 03/01/13 15:51, a...@linux-foundation.org wrote: >>> The mm-of-the-moment snapshot 2013-03-01-15-50 has been uploaded to >>> >>>http://www.ozlabs.org/~akp

[PATCH] ARM: msm: Concentrate defconfig on DT supported devices

2013-03-04 Thread Stephen Boyd
Make msm_defconfig more focused on DT devices, i.e. MSM8660 and MSM8960. This will encourage us to focus our efforts on the devicetree-ification of mach-msm, and help us catch build errors quicker. Signed-off-by: Stephen Boyd --- This is a dump of my 8660/8960 defconfig with most of the kernel

[PATCH 0/2] Call tracing/debug code in VFP preempt code

2013-03-04 Thread Stephen Boyd
The VFP preempt enable/disable code doesn't call into the tracers and also doesn't participate in the preempt debugging code. This patchset fixes that by making calls to the C functions from assembly when appropriate. Stephen Boyd (2): ARM: Consolidate preempt enable/disable ass

[PATCH 1/2] ARM: Consolidate preempt enable/disable assembly into macros

2013-03-04 Thread Stephen Boyd
We duplicate the same few preempt enable and disable assembly instructions in multiple places in the vfp code. Move the code to a macro in entry-header.S so that we can modify the preempt enable/disable assembly in one place in the future. Signed-off-by: Stephen Boyd --- arch/arm/kernel/entry

[PATCH 2/2] ARM: Enable tracing around vfp preemption enable/disable

2013-03-04 Thread Stephen Boyd
while handling VFP exceptions. Signed-off-by: Stephen Boyd --- arch/arm/kernel/entry-header.S | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/kernel/entry-header.S b/arch/arm/kernel/entry-header.S index 130e6a6..75bcb18 100644 --- a/arch/arm/kernel/entry-header.S +++ b/arc

[PATCH/RESEND 0/4] Trim down mach includes in MSM drivers

2013-03-04 Thread Stephen Boyd
platform device we can make msm_iomap.h private to mach-msm. Stephen Boyd (4): ARM: msm: Move dma.h #defines that are private to dma.c mmc: msm_sdcc: Remove unnecessary include gpio: Make gpio-msm-v1 into a platform driver ARM: msm: Remove unused cpu.h header file arch/arm/mach-msm/board

[PATCH/RESEND 1/4] ARM: msm: Move dma.h #defines that are private to dma.c

2013-03-04 Thread Stephen Boyd
h-msm). Signed-off-by: Stephen Boyd --- arch/arm/mach-msm/dma.c | 26 ++ arch/arm/mach-msm/include/mach/dma.h | 26 -- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/arch/arm/mach-msm/dma.c b/arch/arm/mach-msm/dma.c

[PATCH/RESEND 3/4] gpio: Make gpio-msm-v1 into a platform driver

2013-03-04 Thread Stephen Boyd
Walleij Tested-by: Rohit Vaswani Acked-by: Rohit Vaswani Signed-off-by: Stephen Boyd --- Changes since v1: * dropped __devinit arch/arm/mach-msm/board-halibut.c |1 + arch/arm/mach-msm/board-msm7x30.c |1 + arch/arm/mach-msm/board-qsd8x50.c |1 + arch/arm/mach-msm/board

[PATCH/RESEND 4/4] ARM: msm: Remove unused cpu.h header file

2013-03-04 Thread Stephen Boyd
This header file is no longer used now that the msm timer.c and the gpio driver have been made more runtime aware. Remove the header file so no future users pop-up. Signed-off-by: Stephen Boyd --- arch/arm/mach-msm/include/mach/cpu.h | 54 -- 1 file changed, 54

[PATCH/RESEND 2/4] mmc: msm_sdcc: Remove unnecessary include

2013-03-04 Thread Stephen Boyd
This driver has no reason to include msm_iomap.h. Remove it so that we can remove msm_iomap.h from include/mach in the near future. Acked-by: Chris Ball Signed-off-by: Stephen Boyd --- drivers/mmc/host/msm_sdcc.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mmc/host/msm_sdcc.c

[PATCH] ARM: perf: Fix section mismatch on armpmu_init()

2013-03-04 Thread Stephen Boyd
annotation of armpmu_init is wrong. Just drop the __init marking on armpmu_init() because armpmu_register() no longer has an __init marking. Signed-off-by: Stephen Boyd --- I doubt anyone is actually experiencing any problems because this driver probes before kernel init is over. But the warning is a bit

[PATCH] ARM: Scorpion is a v7 architecture, not v6

2013-03-04 Thread Stephen Boyd
Scorpion processors have always been v7 CPUs. Fix the Kconfig text to reflect this. Reported-by: Stepan Moskovchenko Signed-off-by: Stephen Boyd --- arch/arm/Kconfig |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index dedf02b

[PATCH] ARM: proc: Add Krait proc info

2013-03-04 Thread Stephen Boyd
From: Stepan Moskovchenko Add processor info for the Qualcomm, Inc. Krait family of processors, to use the generic ARMv7 initialisation procedure but explicitly enable the IDIV hardware capability flag. Signed-off-by: Stepan Moskovchenko Signed-off-by: Stephen Boyd --- arch/arm/mm/proc-v7.S

Re: [PATCH 8/8] ARM: smp: Remove local timer API

2013-03-04 Thread Stephen Boyd
On 02/25/13 05:40, Mark Rutland wrote: > I've had a quick go at writing a generic timer driver. I've not had a chance > to > test it, and there are a couple of things that are up for discussion (e.g. > what > should the rating be) but I think we want something very close to this. > This looks go

Re: [PATCH 8/8] ARM: smp: Remove local timer API

2013-03-04 Thread Stephen Boyd
On 03/04/13 15:50, Stephen Boyd wrote: > >> + >> +evt->name = "dummy timer"; >> +evt->features = CLOCK_EVT_FEAT_PERIODIC | >> + CLOCK_EVT_FEAT_ONESHOT | >> + CLOCK_EVT_FEAT_DUMMY; >

Re: [PATCHv2] ARM: Push selects for TWD/SCU into machine entries

2013-03-04 Thread Stephen Boyd
On 02/27/13 15:43, Stephen Warren wrote: > > Seems simple enough it doesn't really need many, but for Tegra, > Acked-by: Stephen Warren > > Which kernel is this going into? It's possible Tegra will get converted > to multi-platform in 3.10, which might move that main ARCH_TEGRA block > from arch/a

Re: [PATCH] ARM: perf: Fix section mismatch on armpmu_init()

2013-03-04 Thread Stephen Boyd
On 03/04/13 18:43, Will Deacon wrote: > On Mon, Mar 04, 2013 at 11:15:37PM +0000, Stephen Boyd wrote: >> WARNING: vmlinux.o(.text+0xfb80): Section mismatch in reference >> from the function armpmu_register() to the function >> .init.text:armpmu_init() >> The function a

Re: [PATCH 8/8] ARM: smp: Remove local timer API

2013-03-05 Thread Stephen Boyd
On 03/05/13 03:02, Mark Rutland wrote: > >>> + >>> +static void dummy_set_mode(enum clock_event_mode mode, >>> + struct clock_event_device *evt) >>> +{ >>> + /* >>> +* Core clockevents code will call this when exchanging timer devices. >>> +* We don't need to do anyth

Re: [PATCH] ARM: proc: Add Krait proc info

2013-03-05 Thread Stephen Boyd
On 03/05/13 00:34, Will Deacon wrote: > Hi Stephen, Stepan, > > On Mon, Mar 04, 2013 at 11:21:39PM +, Stephen Boyd wrote: >> From: Stepan Moskovchenko >> >> Add processor info for the Qualcomm, Inc. Krait family of >> processors, to use the generic ARMv

Re: %pa format specifier issues

2013-03-05 Thread Stephen Boyd
On 03/05/13 17:18, Dave Hansen wrote: > I went to go use the shiny new %pa specifier: > > void test_printk_pa(void) > { > phys_addr_t p = 0x1234; > printk("p: %pa\n", p); > } > > but gcc is spewing out warnings at me: > >> arch/x86/mm/physaddr.c: In function ‘test_printk_pa’: >> arc

Re: [PATCH] ARM: proc: Add Krait proc info

2013-03-05 Thread Stephen Boyd
On 03/05/13 14:03, Stephen Boyd wrote: > On 03/05/13 00:34, Will Deacon wrote: >> Hi Stephen, Stepan, >> >> On Mon, Mar 04, 2013 at 11:21:39PM +, Stephen Boyd wrote: >>> From: Stepan Moskovchenko >>> >>> Add processor info for the Qualcomm,

[PATCHv6 02/11] clocksource: add generic dummy timer driver

2013-05-13 Thread Stephen Boyd
imer using this facility. Signed-off-by: Mark Rutland Cc: John Stultz Cc: Thomas Gleixner [sboyd: Make percpu data static, use __this_cpu_ptr(), move to early_initcall to properly register on each CPU, only register if more than one CPU possible] Signed-off-by: Stephen Boy

[PATCHv6 10/11] clocksource: time-armada-370-xp: Divorce from local timer API

2013-05-13 Thread Stephen Boyd
Separate the armada 370xp local timers from the local timer API. This will allow us to remove ARM local timer support in the near future and makes this driver multi-architecture friendly. Acked-by: Gregory CLEMENT Tested-by: Gregory CLEMENT Signed-off-by: Stephen Boyd --- drivers/clocksource

[PATCHv6 01/11] clockevents: Prefer CPU local devices over global devices

2013-05-13 Thread Stephen Boyd
long as there isn't a higher rated tick device and any global clockevent will be bumped out into broadcast mode, fixing the problem described above. Reported-by: Mark Rutland Tested-by: Mark Rutland Cc: John Stultz Cc: Thomas Gleixner Signed-off-by: Stephen Boyd --- kernel/time/tick-co

[PATCHv6 03/11] ARM: smp: Remove duplicate dummy timer implementation

2013-05-13 Thread Stephen Boyd
Drop ARM's version of the dummy timer now that we have a generic implementation in drivers/clocksource. Cc: Russell King Signed-off-by: Stephen Boyd --- arch/arm/kernel/smp.c | 22 ++ 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/arch/arm/kernel/sm

[PATCHv6 11/11] ARM: smp: Remove local timer API

2013-05-13 Thread Stephen Boyd
There are no more users of this API, remove it. Cc: Russell King Acked-by: Tony Lindgren Signed-off-by: Stephen Boyd --- arch/arm/Kconfig | 10 -- arch/arm/include/asm/localtimer.h | 34 --- arch/arm/kernel/smp.c | 69

[PATCHv6 09/11] clocksource: time-armada-370-xp: Fix sparse warning

2013-05-13 Thread Stephen Boyd
drivers/clocksource/time-armada-370-xp.c:217:13: warning: symbol 'armada_370_xp_timer_init' was not declared. Should it be static? Also remove the __init marking in the prototype as it's unnecessary and drop the init.h file. Acked-by: Gregory CLEMENT Signed-off-by: Stephen Boy

[PATCHv6 00/11] Remove ARM local timer API

2013-05-13 Thread Stephen Boyd
nges into new patch Mark Rutland (1): clocksource: add generic dummy timer driver Stephen Boyd (10): clockevents: Prefer CPU local devices over global devices ARM: smp: Remove duplicate dummy timer implementation ARM: smp_twd: Divorce smp_twd from local timer API ARM: OMAP2+: Divorce f

[PATCHv6 06/11] ARM: EXYNOS4: Divorce mct from local timer API

2013-05-13 Thread Stephen Boyd
Separate the mct local timers from the local timer API. This will allow us to remove ARM local timer support in the near future and gets us closer to moving this driver to drivers/clocksource. Cc: Kukjin Kim Cc: Thomas Abraham Signed-off-by: Stephen Boyd --- drivers/clocksource/exynos_mct.c

<    1   2   3   4   5   6   7   8   9   10   >