Received: by 10.223.164.202 with SMTP id h10csp766303wrb; Thu, 30 Nov 2017 19:34:32 -0800 (PST) X-Google-Smtp-Source: AGs4zMYZbi6R8/hkunCsafJATuGmlpi2p2FzyNz9TEUUpHEBqOSBDL3oWt0FdZovMx6bKckPQvW8 X-Received: by 10.84.141.36 with SMTP id 33mr4792370plu.247.1512099272290; Thu, 30 Nov 2017 19:34:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512099272; cv=none; d=google.com; s=arc-20160816; b=RBg2uiRehQS/03D+0kha3UeXSDDTw8R80h1w9puo9Gu7roK5NMK9xX1+sD0r46jV8q 5tWteQ9GjcO35/uyLzxfPf6Kd5ZiV+L27J5p163I7h5WvrkylVGjo8ID9+CBwR+AMNYM YPaOGPMjWm03iLzSyJVSgZOKrNLaomFJ3Ty7b/MbZ+jhH2nmT4qD0Hx+wR2E++u1VRyL QhN1jOWK10reHd/5xkjMNIJ5m57K93sFwyrYRNrMH/teiyafvFhOFcnJR838jEWrJiDg 3CKUEqp8lldTr8gmNR4Z43BE/ACAfGISfoYideFN1ZKyNVqZiuEfVt6mw/DfsbA7Zjey uVHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=FwY4vl4zf9Xugu1KzIl2axYivRvfl7VBQFT+NoyjKdE=; b=1Bf6gccmxQQP45lOQurEbvxmlTCLqFtxElabIScgoSBZLEDw/F4SAcXPNh1JtfkwZj b6ixPscgHdlv2ONI4Azdu5jqUluWQVWKmnfTcoUnmMPjh8xcyM8h99cOrxXLfSqXaLEy a+Pzi5o72YrRmZQPb0AlRw5obI0KhC4vQ8WyLufncStiUB09lL0D8juQxTSkw02kRj5D 0iVfii4T786G99w5VU95NkjGc7YRRocIafgAyRAcWebINP1B2goe0L8ARsdgSppfQ0kt vw2mhqCimYxzC6juNwPOqntimAcwKeK0gj4nSMyEyl1ViGvY7zVwfMnn50GStyhHTQi+ 4cDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=ho1ryXtO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j2si4210758plt.359.2017.11.30.19.34.07; Thu, 30 Nov 2017 19:34:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=ho1ryXtO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752217AbdLADd4 (ORCPT + 99 others); Thu, 30 Nov 2017 22:33:56 -0500 Received: from mail-he1eur01on0080.outbound.protection.outlook.com ([104.47.0.80]:25664 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751303AbdLADdz (ORCPT ); Thu, 30 Nov 2017 22:33:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=FwY4vl4zf9Xugu1KzIl2axYivRvfl7VBQFT+NoyjKdE=; b=ho1ryXtOaiAZ4rNBCzX+iZkG3cIuIM+GIDxyx61s0OBx6zwg7ohn7vOpTCzqmWXvB41g8xXf1FMQa4tPWy+r7UzOTeIuhaBg+w9gPCOWi5MwLCEQsR0/R4vPEMwpt8RvI4ajNeSjrkK6kvar3jfSHuCvE/+2KaowHqqFMvsohsg= Received: from VI1PR04MB3039.eurprd04.prod.outlook.com (10.170.228.149) by DB5PR0401MB1701.eurprd04.prod.outlook.com (10.165.5.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.282.5; Fri, 1 Dec 2017 03:33:50 +0000 Received: from VI1PR04MB3039.eurprd04.prod.outlook.com ([fe80::7d30:ad69:5890:ae81]) by VI1PR04MB3039.eurprd04.prod.outlook.com ([fe80::7d30:ad69:5890:ae81%13]) with mapi id 15.20.0282.006; Fri, 1 Dec 2017 03:33:50 +0000 From: Alison Wang To: Thomas Gleixner , Russell King - ARM Linux , Leo Li CC: Arnd Bergmann , LAK , "mark.rutland@arm.com" , "linux-kernel@vger.kernel.org" , Huan Wang , "Daniel Lezcano" , John Stultz Subject: RE: [PATCH] arm: kernel: utilize hrtimer based broadcast Thread-Topic: [PATCH] arm: kernel: utilize hrtimer based broadcast Thread-Index: AQHRJ+n4K0E1kuUBN0uZtCJSriMvb57gLndwgABOtwCAAbPGAIAGEEOAgASp34CERWkAEA== Date: Fri, 1 Dec 2017 03:33:49 +0000 Message-ID: References: <1437124312-44700-1-git-send-email-b18965@freescale.com> <20151027081834.GB1425@svinekod> <4875455.lvoc6XpkZc@wuerfel> <20160102102955.GP8644@n2100.arm.linux.org.uk> In-Reply-To: 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@nxp.com; x-originating-ip: [199.59.225.131] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DB5PR0401MB1701;6:hailuo8izQOs4jTPJP9NdczSoFYAGJtQ0EnomPVtsY6tfallFNALQARw+jpzVZ9aYcjdRR/MrqMqQ2LBxj51upkzkM6lX7y+4lkTS6Pt8uP3kvqklGwyJ7GzxiIeZl/xkNecIuLPJLI87bCk7E2lpQCq0rUZ7fnCwtLM1Rf40eD1l1bflIkIA3YVIX5JvL4XqNJy6rEtgtr5fOJk9kWttUnNheMWkKpstHC0A2oPvXuhE39d6E7KisFtbJy2R5Q579Ebkr44MUIuvU5IEqq/obWAST4/zPJLS5DKzcG/UUwxJ/RhdVABoJXSwsLOmncODvRUx/NO+J2GCbmkrtezDUhsJ6SJaj1amdIJ6IYbFxM=;5:WBRNTzw0SwPiSBGBbRwwCkRxvfyUHZzYLUCiBx6K8cAgFu9K0t+j9dF7TT99hsj076CEwpjFsG18tMx1Mw7zesbyQr//1EP4xgg5dFcMs4UJI1pMkvIJD86rSDOzO5aFYDGAWxScp9ZBmr744/TGR99iMsGGs/VHXG8BTjpCLAw=;24:adccHWzIoCh176FOFRnT2R16fcWlsYDP+aizTa8FaQIuTqqt3RAQOtCr6g2BwFbRCbzuW/XxcL3Mj8jOOFBVttO2miKwvkcqDwSAvEq1Zvk=;7:cPh60zhnsvMS68xvZ2UqBPWqYaNDPpgti9Salg8oJgXalBLAGY1t/19H0u2RPlAmxdSb8UVz77nsWF+tS2OXNq8mHrl2gde2aVAbZhCSTw2DV6G+LUGYzWVBtJIApemqk9XEMGojR/7cPbq9JXN2oGS7GASgqiI46qMr4lSxK2Gqn8ATpdd8oTL0uOGAQTA2yMV5Sqh9070DOt9uXHTbbYcEZ38rkmFYN49BZV4sn1cr///GVORIva7rSCv511JC x-ms-exchange-antispam-srfa-diagnostics: SSOS;SSOR; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 96358a1c-8b85-45e2-db7a-08d5386c5668 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(2017052603286);SRVR:DB5PR0401MB1701; x-ms-traffictypediagnostic: DB5PR0401MB1701: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040450)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3002001)(3231022)(6055026)(6041248)(20161123560025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123564025)(20161123555025)(6072148)(201708071742011);SRVR:DB5PR0401MB1701;BCL:0;PCL:0;RULEID:(100000803101)(100110400095);SRVR:DB5PR0401MB1701; x-forefront-prvs: 05087F0C24 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(366004)(39860400002)(346002)(376002)(199003)(24454002)(189002)(6636002)(5660300001)(86362001)(8936002)(99286004)(6506006)(2950100002)(106356001)(5250100002)(3280700002)(3660700001)(2906002)(105586002)(229853002)(55016002)(68736007)(101416001)(93886005)(6246003)(189998001)(316002)(110136005)(54906003)(9686003)(3846002)(305945005)(2900100001)(102836003)(6116002)(33656002)(81156014)(478600001)(8676002)(66066001)(6436002)(74316002)(53936002)(97736004)(14454004)(7696005)(7736002)(25786009)(4326008)(76176011)(54356011)(81166006);DIR:OUT;SFP:1101;SCL:1;SRVR:DB5PR0401MB1701;H:VI1PR04MB3039.eurprd04.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 96358a1c-8b85-45e2-db7a-08d5386c5668 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Dec 2017 03:33:49.8410 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR0401MB1701 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Russell, > On Sat, 2 Jan 2016, Russell King - ARM Linux wrote: > > On Tue, Dec 29, 2015 at 02:54:10PM +0100, Thomas Gleixner wrote: > > > 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. > > > > That's really not fair to keep shovelling these kinds of decisions > > onto architecture maintainers without any kind of explanation about > > how an architecture maintainer should make such a decision. > > > > Do I roll a 6-face dice, and if it gives an odd number, I apply this > > patch, otherwise I reject it? > > > > Is there a technical basis for making the decision? If so, please > > explain what the technical arguments are against having or not having > > this change. >=20 > The hrtimer based broadcast device is used when you have per cpu timers > which stop in deeper power states, but you have no other timer hardware o= n > the chip which can backup the per cpu timer in deep power states. The > trick is that it emulates a timer hardware via a hrtimer and then tells > the cpu idle code not to go into deep power states on the cpu which owns > that hrtimer. All other cpus can go as deep as they want and still get > woken up. >=20 > The only downside of adding this unconditionally is extra code in case > that it is not needed on a particular platform. >=20 > Hope that helps. >=20 [Alison Wang] What's your opinion about this explanation? Is this patch acc= eptable? Best Regards, Alison Wang From 1585560690256904713@xxx Fri Dec 01 06:08:27 +0000 2017 X-GM-THRID: 1585560690256904713 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread