public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: mark.rutland@arm.com (Mark Rutland)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm: kernel: utilize hrtimer based broadcast
Date: Tue, 27 Oct 2015 08:18:35 +0000	[thread overview]
Message-ID: <20151027081834.GB1425@svinekod> (raw)
In-Reply-To: <1437124312-44700-1-git-send-email-b18965@freescale.com>

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();
>  	}
>  }
> -- 
> 2.1.0.27.g96db324
> 

  parent reply	other threads:[~2015-10-27  8:18 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-17  9:11 [PATCH] arm: kernel: utilize hrtimer based broadcast Alison Wang
2015-10-27  2:58 ` Huan Wang
2015-10-27  8:18 ` Mark Rutland [this message]
2015-11-06  6:35   ` Huan Wang
2015-12-28  7:18   ` Huan Wang
2015-12-28 11:54     ` Arnd Bergmann
2015-12-29 13:54       ` Thomas Gleixner
2016-01-02 10:29         ` Russell King - ARM Linux
2016-01-05  9:42           ` Thomas Gleixner
2017-12-01  3:33             ` Alison Wang
2019-04-03  2:36             ` Yang Li

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151027081834.GB1425@svinekod \
    --to=mark.rutland@arm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox