On 03/21/13 11:09, Mark Rutland wrote:
> Hi Stephen,
>
> I've just been trying to test the dummy timer, and realised it's broken, as it
> registers a cpu notifier from a device_initcall (after SMP's been brought up),
> and doesn't ensure all active CPUs have been set up. Evidently no-one else has
>
On 03/22/13 11:03, Mark Rutland wrote:
> On Thu, Mar 21, 2013 at 06:13:17PM +0000, Stephen Boyd wrote:
>> On 03/21/13 11:09, Mark Rutland wrote:
>>> Hi Stephen,
>>>
>>> I've just been trying to test the dummy timer, and realised it's broken,
On 03/25/13 11:00, Mark Rutland wrote:
>
>>> I've spent the last few hours trying to get the dummy_timer driver working
>>> on
>>> tc2 with the sp804 as the broadcast source (with architected timer support
>>> disabled). It turns out that having dummy timer's rating so low means that
>>> it
>>> w
On 03/19/13 16:05, Stephen Boyd wrote:
> From: Abhijeet Dharmapurikar
>
> The genirq layer expects a 0 in case of failure but the code is
> returning -ENXIO. Fix it.
>
> Signed-off-by: Abhijeet Dharmapurikar
> Signed-off-by: Stephen Boyd
> ---
> drivers/irqchip/
On 03/16/13 12:32, Stephen Boyd wrote:
> On 3/5/2013 2:34 PM, Arnd Bergmann wrote:
>> On Tuesday 05 March 2013, Stephen Boyd wrote:
>>> On 02/27/13 15:43, Stephen Warren wrote:
>>>> Seems simple enough it doesn't really need many, but for Tegra,
>>>
On 03/21/13 10:49, Stephen Boyd wrote:
> On 03/14/13 17:08, Stephen Boyd wrote:
>> cyc_to_sched_clock() is called by sched_clock() and cyc_to_ns()
>> is called by cyc_to_sched_clock(). I suspect that some compilers
>> inline both of these functions into sched_clock() and so
On 08/14/13 05:59, Ivan T. Ivanov wrote:
> +}
> +
> +static const struct of_device_id of_dwc3_matach[] = {
match? Maybe you can make it all one line too { .compatible = "qcom,dwc3" }
> + {
> + .compatible = "qcom,dwc3",
> + },
> + { },
> +};
> +MODULE_DEVICE_TABLE(of, of_d
On 08/14, Kumar Gala wrote:
> Add driver for Qualcomm MSM Hardware Mutex block that exists on newer MSM
> SoC (MSM8974, etc).
>
> CC: Jeffrey Hugo
> CC: Eric Holmberg
> Signed-off-by: Kumar Gala
Looks good.
Reviewed-by: Stephen Boyd
> ---
> v3:
> * moved dt bindi
On 08/14/13 14:56, Joe Perches wrote:
> On Wed, 2013-08-14 at 17:37 -0400, beh...@converseincode.com wrote:
>> From: Mark Charlebois
>>
>> With compilers which follow the C99 standard (like modern versions of gcc and
>> clang), "extern inline" does the wrong thing (emits code for an externally
>>
On 08/14, Mike Turquette wrote:
> Quoting Stephen Boyd (2013-08-12 22:48:39)
> > 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
On 08/19/13 05:27, Ivan T. Ivanov wrote:
> Hi,
>
> On Fri, 2013-08-16 at 16:44 -0600, Stephen Warren wrote:
>> On 08/14/2013 06:59 AM, Ivan T. Ivanov wrote:
>>> From: "Ivan T. Ivanov"
>>>
>>> MSM USB3.0 core wrapper consist of USB3.0 IP from Synopsys
>>> (SNPS) and HS, SS PHY's control and confi
of the hardware. Also, let's add the
version information in case we need to differentiate between
different versions of the hardware in the future.
Cc: David Brown
Cc:
Signed-off-by: Stephen Boyd
---
.../devicetree/bindings/serial/msm_serial.txt | 82 ++
1 file ch
_disable_unprepare() will properly
check for NULL pointers (it will because MSM uses the common
clock framework).
Cc: David Brown
Signed-off-by: Stephen Boyd
---
arch/arm/mach-msm/devices-msm7x00.c | 6 +++---
arch/arm/mach-msm/devices-msm7x30.c | 2 +-
arch/arm/mach-msm/devices-qsd8x50.c
Let's follow the ratified DT binding and use uartdm instead of
hsuart. This does break backwards compatibility but this
shouldn't be a problem because the uart driver isn't probing on
these devices without adding clock support (which isn't merged so
far).
Cc: David Brown
Si
Not all UARTDM hardware is part of a GSBI complex. Add support
for these devices and fix a bug where we assumed uartdm meant the
hardware was part of a GSBI complex.
Cc: David Brown
Signed-off-by: Stephen Boyd
---
drivers/tty/serial/msm_serial.c | 10 --
1 file changed, 8 insertions
This patchset aligns the msm_serial driver more with downstream usage and
also documents the msm_serial driver's DT binding. Along the way we
update the clock names and add support for future UARTDM hardware that
isn't part of a GSBI.
Stephen Boyd (4):
msm_serial: Switch clock consum
On 08/16/13 10:28, Sören Brinkmann wrote:
> On Mon, Aug 12, 2013 at 07:02:39PM +0200, Daniel Lezcano wrote:
>> On 08/12/2013 06:53 PM, Sören Brinkmann wrote:
>>> It's actually present. I have a clean 3.11-rc3 and the only changes are
>>> my patch to enable the GT and Stephen's fix.
>>> The cpuidle
On 08/19, S??ren Brinkmann wrote:
> Hi Stephen,
>
> On Mon, Aug 19, 2013 at 04:00:36PM -0700, Stephen Boyd wrote:
> > On 08/16/13 10:28, S??ren Brinkmann wrote:
> > > On Mon, Aug 12, 2013 at 07:02:39PM +0200, Daniel Lezcano wrote:
> > >> On 08/12/2
On 07/08/13 08:35, Stephen Boyd wrote:
> On 06/27, Olof Johansson wrote:
>> On Tue, Jun 25, 2013 at 01:02:12PM -0700, Stephen Boyd wrote:
>>> Olof/Arnd,
>>>
>>> These patches remove the ARM local timer API. The ARM architected
>>> timers have al
On 07/12/13 05:10, Stephen Boyd wrote:
> On 07/12, Javi Merino wrote:
>> I agree, we should drop the check. It's annoying in uniprocessors and
>> unlikely to be found in the real world unless your gic entry in the dt
>> is wrong.
>>
> Ok. How about this?
Any c
On 07/17/13 15:34, Nicolas Pitre wrote:
> On Wed, 17 Jul 2013, Stephen Boyd wrote:
>
>> On 07/12/13 05:10, Stephen Boyd wrote:
>>> On 07/12, Javi Merino wrote:
>>>> I agree, we should drop the check. It's annoying in uniprocessors and
>>>> unli
On 07/17/13 15:53, Nicolas Pitre wrote:
> On Wed, 17 Jul 2013, Stephen Boyd wrote:
>
>> On 07/17/13 15:34, Nicolas Pitre wrote:
>>> On Wed, 17 Jul 2013, Stephen Boyd wrote:
>>>
>>>> On 07/12/13 05:10, Stephen Boyd wrote:
>>>>> On 07/12, Ja
The sched_clock.h include is under include/linux now.
Cc: Sebastian Hesselbarth
Signed-off-by: Stephen Boyd
---
drivers/clocksource/time-orion.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clocksource/time-orion.c b/drivers/clocksource/time-orion.c
index ecbeb68
The sched_clock.h include is under include/linux now.
Cc: Alexander Shiyan
Signed-off-by: Stephen Boyd
---
arch/arm/mach-clps711x/common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-clps711x/common.c b/arch/arm/mach-clps711x/common.c
index 4ca2f3c
This patchset cleans up the last few stragglers using the sched_clock.h
header file in asm and removes the asm header.
A new one appeared in drivers/clocksource so I'm not sure who
wants to take that one.
Stephen Boyd (3):
clocksource: orion: Use linux/sched_clock.h
ARM: clps711x: Use
This header file is no longer needed now that the ARM sched_clock
framework is generic and all users have moved to linux/sched_clock.h
instead of asm/sched_clock.h. Remove it.
Signed-off-by: Stephen Boyd
---
arch/arm/include/asm/sched_clock.h | 4
1 file changed, 4 deletions(-)
delete
ched_clock_mask, and breaks
>> sched_clock().
>> Set the type of 1 to 'unsigned long long' to get the value we need.
> Ping? -rc3 is out, and this bug (which currently breaks xtensa) is not fixed
> yet. Please consider applying.
Looks good to me.
Acked-by: Stephen Boyd
On 07/29, Kumar Gala wrote:
> > diff --git a/Documentation/devicetree/bindings/arm/msm/tcsr-mutex.txt
> > b/Documentation/devicetree/bindings/arm/msm/tcsr-mutex.txt
> > new file mode 100644
> > index 000..ddd6889
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/arm/msm/tcsr-mutex.
On 07/29, Abhimanyu Kapur wrote:
> diff --git a/Documentation/devicetree/bindings/power_supply/msm-poweroff.txt
> b/Documentation/devicetree/bindings/power_supply/msm-poweroff.txt
> new file mode 100644
> index 000..de08480
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/power_supply
On 07/29, Kumar Gala wrote:
>
> On Jul 29, 2013, at 4:40 PM, Stephen Boyd wrote:
>
> > On 07/29, Kumar Gala wrote:
> >>> +#include
> >>> +#include
> >>> +
> >>> +#include
> >
> > please.
>
> will chan
On 07/30, Russell King - ARM Linux wrote:
> On Wed, Jul 24, 2013 at 01:54:28PM -0700, Stephen Boyd wrote:
> > One more step to allowing MSM to participate in the
> > multi-platform defconfig.
> >
> > Signed-off-by: Stephen Boyd
> > ---
> > arch/arm/Kconfig
On 07/24/13 13:36, 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
On 07/30, Abhimanyu Kapur wrote:
> Add support for restart and poweroff functionality present on MSM
> chipsets with the MPM2 ps-hold hardware.
>
> Signed-off-by: Abhimanyu Kapur
> ---
Thanks, this version looks good. Feel free to add my reviewed-by:
Reviewed-by: Stephen Boyd
On 07/30, Arpit Goel wrote:
> This patch ports PowerPC implementation of spin_event_timeout() for generic
> use. Architecture specific implementation can be added to asm/delay.h, which
> will override the generic linux implementation.
>
> Signed-off-by: Arpit Goel
> ---
We use something similar
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: Sekhar Nori
Cc: Kevin Hilman
Signed-off-by: Stephen Boyd
---
arch/arm/mach-davinci/time.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions
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: Sascha Hauer
Signed-off-by: Stephen Boyd
---
arch/arm/mach-imx/time.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch
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: Russell King
Signed-off-by: Stephen Boyd
---
arch/arm/plat-versatile/sched-clock.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff
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: Jason Cooper
Cc: Andrew Lunn
Signed-off-by: Stephen Boyd
---
arch/arm/plat-orion/time.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions
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: Alexander Shiyan
Signed-off-by: Stephen Boyd
---
arch/arm/mach-clps711x/common.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff
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: Russell King
Signed-off-by: Stephen Boyd
---
arch/arm/mach-sa1100/time.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a
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: Tony Lindgren
Signed-off-by: Stephen Boyd
---
arch/arm/plat-omap/counter_32k.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff
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: Ben Dooks
Cc: Kukjin Kim
Signed-off-by: Stephen Boyd
---
arch/arm/plat-samsung/samsung-time.c | 4 ++--
1 file changed, 2 insertions(+), 2
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: Linus Walleij
Signed-off-by: Stephen Boyd
---
arch/arm/mach-u300/timer.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a
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.
Signed-off-by: Stephen Boyd
---
arch/arm/plat-iop/time.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/plat-iop
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. Also mark the read function notrace since we're here
and failure to do so would cause ftrace to break.
Cc: Russell King
Signed-off-by: Stephen
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: Eric Miao
Cc: Russell King
Cc: Haojian Zhuang
Signed-off-by: Stephen Boyd
---
arch/arm/mach-pxa/time.c | 4 ++--
1 file changed, 2 insertions
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: Tony Lindgren
Signed-off-by: Stephen Boyd
---
arch/arm/mach-omap2/timer.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a
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: Linus Walleij
Signed-off-by: Stephen Boyd
---
arch/arm/mach-integrator/integrator_ap.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions
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: Tony Lindgren
Signed-off-by: Stephen Boyd
---
arch/arm/mach-omap1/time.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a
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: David Brown
Signed-off-by: Stephen Boyd
---
arch/arm/mach-msm/timer.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch
: Jason Cooper
Cc: Kevin Hilman
Cc: Krzysztof Halasa
Cc: Kukjin Kim
Cc: Linus Walleij
Cc: Russell King
Cc: Sascha Hauer
Cc: Sekhar Nori
Cc: Tony Lindgren
Stephen Boyd (18):
ARM: timer-sp: Switch to sched_clock_register()
ARM: clps711x: Switch to sched_clock_register()
ARM: davinci: Switch
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: Eric Miao
Cc: Haojian Zhuang
Signed-off-by: Stephen Boyd
---
arch/arm/mach-mmp/time.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions
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: Imre Kaloz
Cc: Krzysztof Halasa
Signed-off-by: Stephen Boyd
---
arch/arm/mach-ixp4xx/common.c | 4 ++--
1 file changed, 2 insertions(+), 2
On 07/24, Stephen Boyd wrote:
> 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 glo
On 07/31/13 16:44, Timur Tabi wrote:
> On Wed, Jul 31, 2013 at 2:16 AM, Stephen Boyd wrote:
>> What do you do here if jiffies aren't incrementing (i.e
>> interrupts are disabled). The time_before() check won't work
>> there and it would be nice if we were able to us
On 07/31/13 17:13, Timur Tabi wrote:
> On 07/31/2013 07:04 PM, Stephen Boyd wrote:
>> If it yields why are we using udelay? Why not usleep_range()? It would
>> be useful to have a variant that worked in interrupt context and it
>> looked like that was almost possible.
On 07/31/13 17:20, Timur Tabi wrote:
> On 07/31/2013 07:16 PM, Stephen Boyd wrote:
>> cpu_relax() is usually just a compiler barrier or an instruction hint to
>> the cpu that it should cool down because we're spinning in a tight loop.
>> It certainly shouldn't be ca
On 08/20/13 07:41, Kumar Gala wrote:
> On Aug 19, 2013, at 4:39 PM, Stephen Boyd wrote:
>
>> diff --git a/Documentation/devicetree/bindings/serial/msm_serial.txt
>> b/Documentation/devicetree/bindings/serial/msm_serial.txt
>> new file mode 100644
>> index 000
Let's follow the ratified DT binding and use uartdm instead of
hsuart. This does break backwards compatibility but this
shouldn't be a problem because the uart driver isn't probing on
these devices without adding clock support (which isn't merged so
far).
Cc: David Brown
Si
in
UARTDM.
Changes since v1:
* Dropped _clk postfix from {core,iface}_clk
* Split DT binding into two files
* Renamed DT binding files to match compatible strings
* Fixed up DT review comments
* Added new patch 5/5 (more than 1 char for UARTDM)
Stephen Boyd (5):
msm_serial: Switch clock consum
We recently added support to send more than one character at a
time for UARTDM hardware but we didn't add the same support in
the console code path. Add support here to speed up console
messages on UARTDM hardware.
Cc: David Brown
Signed-off-by: Stephen Boyd
---
drivers/tty/serial/msm_ser
Not all UARTDM hardware is part of a GSBI complex. Add support
for these devices and fix a bug where we assumed uartdm meant the
hardware was part of a GSBI complex.
Cc: David Brown
Signed-off-by: Stephen Boyd
---
drivers/tty/serial/msm_serial.c | 10 --
1 file changed, 8 insertions
of the hardware. Also, let's add the
version information in case we need to differentiate between
different versions of the hardware in the future.
Cc: David Brown
Cc:
Signed-off-by: Stephen Boyd
---
.../devicetree/bindings/serial/qcom,msm-uart.txt | 25 +++
.../devicetree/bind
unprepare() will properly check for NULL pointers
(it will because MSM uses the common clock framework).
Cc: David Brown
Signed-off-by: Stephen Boyd
---
arch/arm/mach-msm/devices-msm7x00.c | 6 +++---
arch/arm/mach-msm/devices-msm7x30.c | 2 +-
arch/arm/mach-msm/devices-qsd8x50.c | 6 +
On 08/21, Kumar Gala wrote:
>
> On Aug 21, 2013, at 1:48 AM, Stephen Boyd wrote:
>
> > The msm serial device bindings were added to the DTS files but
> > never documented. Let's document them now and also fix things up
> > so that it's clearer what ha
broadcast source but so far we haven't needed this and supporting
it is rather complicated. Let's just deny the possibility for now
until this becomes a reality (let's hope it never does!).
Reported-by: Sören Brinkmann
Signed-off-by: Stephen Boyd
---
kernel/time/tick-broadcast.c |
than tick devices that
do suffer from FEAT_C3_STOP. This will remove the need to do any
broadcasting on such ARM systems.
Signed-off-by: Stephen Boyd
---
kernel/time/tick-common.c | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/kernel/time/tick-common.c b/kernel
On 08/22/13 10:33, Santosh Shilimkar wrote:
> On Thursday 22 August 2013 01:06 PM, Stephen Boyd wrote:
>> On some ARM systems there are two sets of per-cpu timers: the TWD
>> timers and the global timers. The TWD timers are rated at 350 and
>> the global timers are rated at 3
On 08/22, Santosh Shilimkar wrote:
> On Thursday 22 August 2013 01:40 PM, Stephen Boyd wrote:
> > On 08/22/13 10:33, Santosh Shilimkar wrote:
> >> On Thursday 22 August 2013 01:06 PM, Stephen Boyd wrote:
> >>> On some ARM systems there are two sets of per-cpu timers
On 07/17, Stephen Boyd wrote:
> On 07/17/13 15:53, Nicolas Pitre wrote:
> > On Wed, 17 Jul 2013, Stephen Boyd wrote:
> >
> >> On 07/17/13 15:34, Nicolas Pitre wrote:
> >>> On Wed, 17 Jul 2013, Stephen Boyd wrote:
> >>>
> >>>> On 07
On 08/21, Mike Turquette wrote:
>
> I just happened across a to-do list note telling me to respond to this
> email. Better late than never.
>
[snip]
>
> This is a way to establish initial configuration from the consumer's
> perspective. Similarly something can be done for the clock rate with
> as
On 08/22, Nicolas Pitre wrote:
> On Thu, 22 Aug 2013, Stephen Boyd wrote:
>
> > On 07/17, Stephen Boyd wrote:
> > > On 07/17/13 15:53, Nicolas Pitre wrote:
> > > > On Wed, 17 Jul 2013, Stephen Boyd wrote:
> > > >
> > > >> On 07/17/
On 08/07, David Brown wrote:
> On Wed, Aug 07, 2013 at 08:34:39AM +0200, Krzysztof Kozlowski wrote:
> >Fix compilation error in gpiomux (CONFIG_MSM_GPIOMUX=y):
> >arch/arm/mach-msm/gpiomux.c:24:13: error: static declaration of
> > ???__msm_gpiomux_write??? follows non-static declaration
> >arch
On 08/07/13 15:31, Will Deacon wrote:
> On Wed, Aug 07, 2013 at 09:14:55PM +0100, Vince Weaver wrote:
>
>> [ 388.509063] Unable to handle kernel paging request at virtual address
>> 73fd14cc
>> [ 388.509063] pgd = eca6c000
>> [ 388.519805] [73fd14cc] *pgd=
>> [ 388.523651] Internal err
On 08/08/13 10:16, Mark Rutland wrote:
> On Thu, Aug 08, 2013 at 06:11:26PM +0100, Sören Brinkmann wrote:
>> Hi Daniel,
>>
>> On Thu, Aug 01, 2013 at 07:48:04PM +0200, Daniel Lezcano wrote:
>>> On 08/01/2013 07:43 PM, Sören Brinkmann wrote:
On Thu, Aug 01, 2013 at 07:29:12PM +0200, Daniel Lezc
On 08/08/13 05:09, Will Deacon wrote:
> Well spotted, thanks. If you make that return -EINVAL instead of -ENOENT (to
> match what we do for cache events) then:
>
> Acked-by: Will Deacon
>
> Could you stick it in the patch system please?
Submitted as 7810/1
--
Qualcomm Innovation Center, Inc.
m_qos_update_request() here so
that we don't deadlock.
Cc: Tejun Heo
Signed-off-by: Stephen Boyd
---
kernel/power/qos.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/kernel/power/qos.c b/kernel/power/qos.c
index 06fe285..d52d314 100644
--- a/kernel/power/qos.c
On 06/20/13 23:14, Mike Turquette wrote:
> This series introduces binding definitions for common register-mapped
> clock multiplexer, divider and gate IP blocks along with the
> corresponding setup functions for matching DT data. The bindings are
> similar to the struct definitions but please don'
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
---
drivers/clocksource/clksrc-dbx500-prcmu.c | 5 ++---
1 file changed, 2
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: Gregory CLEMENT
Signed-off-by: Stephen Boyd
---
drivers/clocksource/time-armada-370-xp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions
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: Shawn Guo
Signed-off-by: Stephen Boyd
---
drivers/clocksource/mxs_timer.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a
Nobody is using sched_clock_func() anymore now that sched_clock
supports up to 64 bits. Remove the hook so that new code only
uses sched_clock_register().
Signed-off-by: Stephen Boyd
---
include/linux/sched_clock.h | 2 --
kernel/time/sched_clock.c | 9 +
2 files changed, 1 insertion
ially calculated in nanoseconds
which we can easily use with hrtimers, so switch to using an
hrtimer.
Cc: Russell King
Signed-off-by: Stephen Boyd
---
kernel/time/sched_clock.c | 29 -
1 file changed, 16 insertions(+), 13 deletions(-)
diff --git a/kernel/time/sched_cloc
Users of the generic sched_clock framework should use
sched_clock_register() instead of setup_sched_clock(). Mark the
function as deprecated.
Signed-off-by: Stephen Boyd
---
include/linux/sched_clock.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/linux
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.
Signed-off-by: Stephen Boyd
---
drivers/clocksource/dw_apb_timer_of.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers
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: Tomasz Figa
Cc: Kyungmin Park
Cc: Kukjin Kim
Signed-off-by: Stephen Boyd
---
drivers/clocksource/samsung_pwm_timer.c | 4 ++--
1 file changed, 2
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: Jingchang Lu
Cc: Fabio Estevam
Signed-off-by: Stephen Boyd
---
drivers/clocksource/vf_pit_timer.c | 4 ++--
1 file changed, 2 insertions(+), 2
ng
Signed-off-by: Stephen Boyd
---
kernel/time/sched_clock.c | 27 ---
1 file changed, 8 insertions(+), 19 deletions(-)
diff --git a/kernel/time/sched_clock.c b/kernel/time/sched_clock.c
index a326f27..396f7b9 100644
--- a/kernel/time/sched_clock.c
+++ b/kernel/time/sch
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: Stephen Warren
Signed-off-by: Stephen Boyd
---
drivers/clocksource/tegra20_timer.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff
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 and use all 64 bits of this timer.
Cc: Barry Song
Signed-off-by: Stephen Boyd
---
drivers/clocksource/timer-prima2.c | 6 +++---
1 file changed, 3
We need to calculate the same number in the clocksource code and
the sched_clock code, so extract this code into its own function.
We also drop the min_t and just use min() because the two types
are the same.
Signed-off-by: Stephen Boyd
---
include/linux/clocksource.h | 2 ++
kernel/time
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: Linus Walleij
Signed-off-by: Stephen Boyd
---
drivers/clocksource/nomadik-mtu.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff
* Use of 1 hour in clocks_calc_mult_shift
* Converted over drivers in drivers/clocksource
Stephen Boyd (17):
clocksource: Extract max nsec calculation into separate function
sched_clock: Use seqcount instead of rolling our own
sched_clock: Use an hrtimer instead of timer
sched_clock: Add
ivers clocksource
out of the arch ports.
Cc: Christopher Covington
Cc: Catalin Marinas
Signed-off-by: Stephen Boyd
---
arch/arm/kernel/arch_timer.c | 14 --
arch/arm64/Kconfig | 1 +
arch/arm64/kernel/time.c | 10 --
drivers/clocks
() in favor of sched_clock_register().
Cc: Russell King
Signed-off-by: Stephen Boyd
---
include/linux/sched_clock.h | 2 ++
kernel/time/sched_clock.c | 46 +++--
2 files changed, 34 insertions(+), 14 deletions(-)
diff --git a/include/linux
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: Stephen Warren
Signed-off-by: Stephen Boyd
---
drivers/clocksource/bcm2835_timer.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff
Gleixner
Cc: Thomas Gleixner
Cc: Mark Rutland
Cc: Marc Zyngier
Signed-off-by: Stephen Boyd
---
arch/arm/include/asm/arch_timer.h| 14 ++
arch/arm64/include/asm/arch_timer.h | 23 +--
drivers/clocksource/arm_arch_timer.c | 6 +++---
include/clocksource/a
o much for hypervisor support, although it
should be possible to support it by searching for at least two
frames where one frame has the virtual capability and then
updating KVM timers to support it.
Cc: Mark Rutland
Cc: Marc Zyngier
Cc: Rob Herring
Signed-off-by: Stephen Boyd
---
drivers/c
We're going to introduce support to read and write the memory
mapped timer registers in the next patch, so push the cp15
read/write functions one level deeper. This simplifies the next
patch and makes it clearer what's going on.
Cc: Mark Rutland
Cc: Marc Zyngier
Signed-off-by: St
v3.10-rc1
Updates since v1:
* Assigned counter reading function and commented why for arm64
* Updated DT binding to replace frame-id with frame-number and use status
property
Stephen Boyd (5):
clocksource: arch_timer: Make register accessors less error-prone
Documentation: Add memory
401 - 500 of 10018 matches
Mail list logo