Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751753AbbL1HfB (ORCPT ); Mon, 28 Dec 2015 02:35:01 -0500 Received: from mail-am1on0096.outbound.protection.outlook.com ([157.56.112.96]:23936 "EHLO emea01-am1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751373AbbL1He7 convert rfc822-to-8bit (ORCPT ); Mon, 28 Dec 2015 02:34:59 -0500 X-Greylist: delayed 959 seconds by postgrey-1.27 at vger.kernel.org; Mon, 28 Dec 2015 02:34:59 EST From: Huan Wang To: "arnd@arndb.de" CC: "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Huan Wang , "mark.rutland@arm.com" Subject: RE: [PATCH] arm: kernel: utilize hrtimer based broadcast Thread-Topic: [PATCH] arm: kernel: utilize hrtimer based broadcast Thread-Index: AQHRJ+n4K0E1kuUBN0uZtCJSriMvb57gLndw Date: Mon, 28 Dec 2015 07:18:58 +0000 Message-ID: References: <1437124312-44700-1-git-send-email-b18965@freescale.com> <20151027081834.GB1425@svinekod> In-Reply-To: <20151027081834.GB1425@svinekod> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=alison.wang@nxp.com; x-originating-ip: [123.151.195.53] x-microsoft-exchange-diagnostics: 1;DB3PR04MB075;5:x6qAeLIzj92NeH45WCOyg15PgM1G/3/vfRfFD/vKBk2nkaS32pJBO7aTADbkhoL56hAQK51qwc5OGiMF6oord/AJflwKJNKG+nXmtJgb7boToXTZDmJUI2k74OQHaWpnnsL8zRywvtGtj2tvGoFzxA==;24:buOHWLciSje3IFFkCcyfIam6mv8/TL5EGudQtL40Lgi5zaG4n6bGNlq8KMkyxSdUce+ytFMgJZYgpfk8qD0oGUqnAL4MxmBEORk7cfXGtHA= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DB3PR04MB075; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(101931422205132)(180628864354917); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(601004)(2401047)(5005006)(520078)(8121501046)(10201501046)(3002001);SRVR:DB3PR04MB075;BCL:0;PCL:0;RULEID:;SRVR:DB3PR04MB075; x-forefront-prvs: 08041D247D x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(189002)(24454002)(199003)(164054003)(2351001)(92566002)(19580395003)(189998001)(110136002)(74316001)(2950100001)(101416001)(11100500001)(586003)(5008740100001)(5002640100001)(6116002)(1730700002)(2900100001)(1096002)(81156007)(5004730100002)(66066001)(10400500002)(97736004)(102836003)(105586002)(40100003)(122556002)(1220700001)(2501003)(3846002)(86362001)(87936001)(106116001)(50986999)(54356999)(76176999)(76576001)(33656002)(19580405001)(106356001)(5001960100002)(5003600100002)(7059030);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR04MB075;H:DB3PR04MB074.eurprd04.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Dec 2015 07:18:58.0725 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR04MB075 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1444 Lines: 54 Hi, Arnd, Could you help to review the following patch? Thanks. Best Regards, Alison Wang > 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(); > > } > > } > > -- > > 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/