lkml.org 
[lkml]   [2015]   [Dec]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] arm: kernel: utilize hrtimer based broadcast
Date
On Monday 28 December 2015 07:18:58 Huan Wang wrote:
> Hi, Arnd,
>
> Could you help to review the following patch? Thanks.
>

Hi Alison,

I'm sorry but I understand very little of this particular area of the kernel.

I've added Daniel Lezcano, John Stultz and Thomas Gleixner to Cc, they all
know this much better than I do and one of them should be able to comment after
their Christmas break.

Arnd

> > On Fri, Jul 17, 2015 at 10:11:52AM +0100, Alison Wang wrote:
> > > Hrtimer based broadcast is used on ARM platform. It can be registered
> > > as the tick broadcast device in the absence of a real external clock
> > > device.
> > >
> > > Signed-off-by: Alison Wang <alison.wang@freescale.com>
> >
> > This looks sensible to me. FWIW:
> >
> > Acked-by: Mark Rutland <mark.rutland@arm.com>
> >
> > Thanks,
> > Mark.
> >
> > > ---
> > > arch/arm/kernel/time.c | 3 +++
> > > 1 file changed, 3 insertions(+)
> > >
> > > diff --git a/arch/arm/kernel/time.c b/arch/arm/kernel/time.c index
> > > a66e37e..a9bc73c 100644
> > > --- a/arch/arm/kernel/time.c
> > > +++ b/arch/arm/kernel/time.c
> > > @@ -12,6 +12,7 @@
> > > * reading the RTC at bootup, etc...
> > > */
> > > #include <linux/clk-provider.h>
> > > +#include <linux/clockchips.h>
> > > #include <linux/clocksource.h>
> > > #include <linux/errno.h>
> > > #include <linux/export.h>
> > > @@ -121,5 +122,7 @@ void __init time_init(void)
> > > of_clk_init(NULL);
> > > #endif
> > > clocksource_of_init();
> > > +
> > > + tick_setup_hrtimer_broadcast();
> > > }
> > > }




\
 
 \ /
  Last update: 2015-12-28 13:01    [W:0.077 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site