Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753475AbbL2NzO (ORCPT ); Tue, 29 Dec 2015 08:55:14 -0500 Received: from www.linutronix.de ([62.245.132.108]:42583 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752690AbbL2NzJ (ORCPT ); Tue, 29 Dec 2015 08:55:09 -0500 Date: Tue, 29 Dec 2015 14:54:10 +0100 (CET) From: Thomas Gleixner To: Arnd Bergmann cc: LAK , Huan Wang , "mark.rutland@arm.com" , "linux-kernel@vger.kernel.org" , Huan Wang , Daniel Lezcano , John Stultz , Russell King Subject: Re: [PATCH] arm: kernel: utilize hrtimer based broadcast In-Reply-To: <4875455.lvoc6XpkZc@wuerfel> Message-ID: References: <1437124312-44700-1-git-send-email-b18965@freescale.com> <20151027081834.GB1425@svinekod> <4875455.lvoc6XpkZc@wuerfel> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2137 Lines: 71 On Mon, 28 Dec 2015, Arnd Bergmann wrote: > 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. I have no real opinion about that patch. It does no harm to unconditionally setup the hrtimer based broadcast even if it's never used. Up to the arch maintainer to decide. Thanks, tglx > > > 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 > > > > > > This looks sensible to me. FWIW: > > > > > > Acked-by: Mark Rutland > > > > > > 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 > > > > +#include > > > > #include > > > > #include > > > > #include > > > > @@ -121,5 +122,7 @@ void __init time_init(void) > > > > of_clk_init(NULL); > > > > #endif > > > > clocksource_of_init(); > > > > + > > > > + tick_setup_hrtimer_broadcast(); > > > > } > > > > } > > > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/