Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757100AbbKFGfL (ORCPT ); Fri, 6 Nov 2015 01:35:11 -0500 Received: from mail-bn1on0136.outbound.protection.outlook.com ([157.56.110.136]:13451 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750823AbbKFGfJ convert rfc822-to-8bit (ORCPT ); Fri, 6 Nov 2015 01:35:09 -0500 From: Huan Wang To: "linux@arm.linux.org.uk" CC: Mark Rutland , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Jin Jason Subject: RE: [PATCH] arm: kernel: utilize hrtimer based broadcast Thread-Topic: [PATCH] arm: kernel: utilize hrtimer based broadcast Thread-Index: AQHQwHFNmO3t+nqyE0S495K9Sn3tip5/n0OAgA+WMLA= Date: Fri, 6 Nov 2015 06:35:06 +0000 Message-ID: References: <1437124312-44700-1-git-send-email-b18965@freescale.com> <20151027081834.GB1425@svinekod> In-Reply-To: <20151027081834.GB1425@svinekod> Accept-Language: zh-CN, 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@freescale.com; x-originating-ip: [192.158.241.86] x-microsoft-exchange-diagnostics: 1;BN3PR0301MB1283;5:1FR0jWEuQBEGRJeui/d/wkUivpKM11SBdj13fjJsPmUX8eSNgaDItlLF1AnONlvZMPRBtk7tjTCsjykmeHlY2MxYhpb3VuArZrAmsUJYmd7mbB3RLmIoERrnT254ksRiJl4JuYA3oSh5EfHSzKxNsg==;24:EJH7G09iraQvCf3W6Wx3zwjKD1aFh8uPqA5rx/3OmBOJUcv0lROm0bBiX+cSs7hoBu5/U85UaeSKJ7pA/2pqEfbTqHMoNiVxlEddYUDYuVY=;20:VHspyHRpNM74S/KWqXzK6eRrh3AVn0SdniRrYSKZiG5uLWRYO+cX2OPeCqMvr6Wi7yn5joecD/CuytM+fcKdwg== x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR0301MB1283; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(101931422205132); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(601004)(2401047)(520078)(8121501046)(5005006)(10201501046)(3002001);SRVR:BN3PR0301MB1283;BCL:0;PCL:0;RULEID:;SRVR:BN3PR0301MB1283; x-forefront-prvs: 07521929C1 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(164054003)(199003)(24454002)(189002)(5003600100002)(19580395003)(54356999)(92566002)(5004730100002)(87936001)(66066001)(76576001)(105586002)(99286002)(106356001)(19580405001)(76176999)(106116001)(86362001)(50986999)(101416001)(5007970100001)(5001960100002)(97736004)(122556002)(2501003)(189998001)(33656002)(2900100001)(5002640100001)(107886002)(110136002)(40100003)(4001430100002)(77096005)(2351001)(102836002)(81156007)(5001920100001)(2950100001)(74316001)(11100500001)(5008740100001)(10400500002);DIR:OUT;SFP:1102;SCL:1;SRVR:BN3PR0301MB1283;H:BN3PR0301MB0867.namprd03.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Nov 2015 06:35:06.8588 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0301MB1283 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1432 Lines: 56 Hi, Could you help to review this 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/