Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1256433

RE: [PATCH] arm: kernel: utilize hrtimer based broadcast

From Huan Wang <alison.wang@freescale.com>
Newsgroups linux.kernel
Subject RE: [PATCH] arm: kernel: utilize hrtimer based broadcast
Date 2015-10-27 04:00 +0100
Message-ID <qo2Eq-7Yj-9@gated-at.bofh.it> (permalink)
References <pN9Ye-18j-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi, Mark,

	Could you comment this patch? It is based on your suggestion in https://patchwork.kernel.org/patch/6764231/ .

	Thanks.

Best Regards,
Alison Wang

> -----Original Message-----
> From: Alison Wang [mailto:b18965@freescale.com]
> Sent: Friday, July 17, 2015 5:12 PM
> To: mark.rutland@arm.com; linux-arm-kernel@lists.infradead.org; linux-
> kernel@vger.kernel.org
> Cc: Wang Huan-B18965
> Subject: [PATCH] arm: kernel: utilize hrtimer based broadcast
> 
> 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>
> ---
>  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

--
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/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

RE: [PATCH] arm: kernel: utilize hrtimer based broadcast Huan Wang <alison.wang@freescale.com> - 2015-10-27 04:00 +0100

csiph-web