Received: by 2002:a25:1104:0:0:0:0:0 with SMTP id 4csp833123ybr; Fri, 22 May 2020 22:18:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyqQ/k3w4sAtwEsolBCXOAzQ9EXEvWcuG7b5Lqygn2fz3lDg212FOgXfqUnzI/I+2MEiaBE X-Received: by 2002:a05:6402:c2:: with SMTP id i2mr5881224edu.224.1590211092323; Fri, 22 May 2020 22:18:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1590211092; cv=pass; d=google.com; s=arc-20160816; b=TKRfQDPDYfp+/qtp1lo1Nt6+5a3t1AlB23N+hyh+RXTXiYeQr/iURhdEJyNqkA/RZe YEwPgqbhr3K7fSYi93OAl2bA05pVao367mz6mVH9ePAIWpY/YXYzuc4HdXtr+Myg+uCW B4sIg+MdO/tvi8wi9JBFxK+58AGoLBg4bjkpF+SnlsQnt9LhEDX0XIkeOQ9e/xFS92K/ TFuODnE9nkSoNLmciBa8ZYP1P8sXG752euCSPSzeC5l4QIOfKYkaYlSjxth/X080qYA3 oBu0xG0ZsEFpEehZstsbjMEAgpMQ/xO/GB8SrV/SA0MeG1aYchqnG0g822rIQshcue7+ /syg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :wdcipoutbound:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature:ironport-sdr:dkim-signature; bh=DgJdXbICNbI8OQN4EAi512Y0oqvMzN1ZCzm5jAI6CuU=; b=cZIH4XVTujRn8F7GVBnOF6JtNboi3UHaUXmGTzU8haeRK7S5/2fVypFBnzs4SXkD15 SIP3s6Fnc/S4yMCiEvAnTVQhSK4RnRsDxmPieSYdX8qU6gz860yK0KHWimoRBzE584nv pcBG99xAmEISw0kThgQ7Funz8i+TmlGDHBbK2gLTqJmtYI+6SwbKugNfmJVtC8uqMpem VNePnRva8qQUaho0P5GewPxmSFu9fE4iuOWuvKpO2ouH4i86gICPCfjRTNbH9XWaUV3H DjDdQYp+7PiepN7Smj5bI5ruwypD3fXSYg4QQnjtszNynEYnWVlotA49Cisql3oqAOzL kPeg== ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=P0naG0UC; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector2-sharedspace-onmicrosoft-com header.b=ok0A1NZn; arc=pass (i=1 spf=pass spfdomain=wdc.com dkim=pass dkdomain=wdc.com dmarc=pass fromdomain=wdc.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g15si6366506ejo.520.2020.05.22.22.17.49; Fri, 22 May 2020 22:18:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=P0naG0UC; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector2-sharedspace-onmicrosoft-com header.b=ok0A1NZn; arc=pass (i=1 spf=pass spfdomain=wdc.com dkim=pass dkdomain=wdc.com dmarc=pass fromdomain=wdc.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387586AbgEWFP6 (ORCPT + 99 others); Sat, 23 May 2020 01:15:58 -0400 Received: from esa2.hgst.iphmx.com ([68.232.143.124]:46145 "EHLO esa2.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387457AbgEWFP5 (ORCPT ); Sat, 23 May 2020 01:15:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1590210969; x=1621746969; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=DgJdXbICNbI8OQN4EAi512Y0oqvMzN1ZCzm5jAI6CuU=; b=P0naG0UC/jgoEjyze6RuS8vH1JTesG13Wf4TGCgXwh1GXuf3xeCsBUH8 /B0xqsmJN/VG41I76sbEXqAmzMcLIjTJ0ViQrBqqOqCwKzLyimM5K6xED zJAScwV/OZYCcBLO7Ti4VMGwl6+dJYE133m9sKk4+Wl6om0qPLCfbkzUu hgVZW7ntlJr5m/SmG0DW2+cU2AAQszdJXHx8EDhUKZXHfjYf9r7N7IZ5Y EXb/nJC2C5s9JEi9sfRGskV1oQCzs0k0fsul2eEltWrwjF6iQogoGQXs1 jIgTUBUmbDbGN57GYK1sQDSFiGaphQH3JhLLSYbs8d/RmX1NhPYWfcDeR g==; IronPort-SDR: rFYOLPe8naTa1v32NH62DQOclt1A448uVnZ9XZ0H98zxnEsVPdE/P1zs9wV029a9XxhohVXXyC ZJ9qMI0mpwD3nHSCFrXmlQ4fh1pRo7Njec/p621luc9Pajka85y8ConH+KiyVHxOYJo3K71G1W OELpg91zzWbDN2riTHatNRsZoc0vPdgIxf9vw7sQA6NDDApm/gjeCt/qHCU9fCXq9khH7VTQwT gFxQ1SiF77xxQJde765X/c4cvIUjwpoGdLCuwn9YaykHIAjCIeipV9NTu1lAcnfMRTyDpr3FZZ JA8= X-IronPort-AV: E=Sophos;i="5.73,424,1583164800"; d="scan'208";a="241119434" Received: from mail-sn1nam02lp2052.outbound.protection.outlook.com (HELO NAM02-SN1-obe.outbound.protection.outlook.com) ([104.47.36.52]) by ob1.hgst.iphmx.com with ESMTP; 23 May 2020 13:16:07 +0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OLFIYWOWZmC75y+UJhmsdzP+JY6cEtEBSdIE1ow9cecBIDu7okzSXlQhj9ayJPpqkapzJELEUwxVG1Z6bdyzTBtHzspw+BOTVBj5vxU5HvgrRYCFb+UwlXXdQT5FZVhQ/3aXCSj+G1nMnaVsi/RrSczNJpSNTMQKJ7WRPvIjISdS7bA/W5QQwE6pXjt5w3i1SsNsLm7ZlfJRKx6fTGeLjLeokvHXgJCVgOEmlvkb8bL9xGnfrVPmT58VE4/Hq8p0HmSBLzkgwxtpOyRPwJt3MZSxRzDupbDyris2iEvpVZPPEmkshGTJGXqJRmmjStNrSP+aA/u7YG32FFoYT1J0pA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DgJdXbICNbI8OQN4EAi512Y0oqvMzN1ZCzm5jAI6CuU=; b=dKCE/JWR9dOG6diPC9o9v0QiVFJcGFzHs6wwhDtmJKwET0RWZksCuoihdG0n09Lghs5/+F0JGLiRlJqTmXHt8npnIhG+l8/GVTRHMNuyz31vTi0iDbVgC2gErftHL8rvd2v5UKxhE87AEFqtladRMZ3bG6yOKdnfrbx+yfw1U2rx0SH233tjuhVDhia8cKotORyBRzMvjtGVAMrelRFvmla7WPRCFV238+tr/KxIfUXYstF4B1KQ0jy4/byQbtjLaP95EUEyI6ot7tVxdzg0j7wdfXeMKN3s28TA41T/Mn9F9ABbXQraPcFKwCsWruL4VYmLgdGeuInaZNraSxGWDA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wdc.com; dmarc=pass action=none header.from=wdc.com; dkim=pass header.d=wdc.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector2-sharedspace-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DgJdXbICNbI8OQN4EAi512Y0oqvMzN1ZCzm5jAI6CuU=; b=ok0A1NZnhPAGz7ctCG2wU81I5/u/JZcZMRwnm58TdM1AjVbdCU0iILOPWmD1bIBfSUe4T7KJOy8Pq0OKRMy8VkF40sS8tDkKLK9Cv4geHTI1sCNVNHeZl8bLzIuGyWzT2qUu05Bn7Qe+dsV+wm9+4tOzM5UZip07TiVEDSK0Cl0= Received: from DM6PR04MB6201.namprd04.prod.outlook.com (2603:10b6:5:127::32) by DM6PR04MB4954.namprd04.prod.outlook.com (2603:10b6:5:19::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3021.24; Sat, 23 May 2020 05:15:53 +0000 Received: from DM6PR04MB6201.namprd04.prod.outlook.com ([fe80::f8b3:c124:482b:52e0]) by DM6PR04MB6201.namprd04.prod.outlook.com ([fe80::f8b3:c124:482b:52e0%5]) with mapi id 15.20.3021.027; Sat, 23 May 2020 05:15:53 +0000 From: Anup Patel To: Daniel Lezcano , Palmer Dabbelt , Paul Walmsley , Albert Ou , Thomas Gleixner , Jason Cooper , Marc Zyngier CC: Atish Patra , Alistair Francis , Anup Patel , "linux-riscv@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH v5 4/6] clocksource/drivers/timer-riscv: Use per-CPU timer interrupt Thread-Topic: [PATCH v5 4/6] clocksource/drivers/timer-riscv: Use per-CPU timer interrupt Thread-Index: AQHWL3R6sYmJxZ+TeUaHloYoFyxT+Ki0FS2AgAEN0WA= Date: Sat, 23 May 2020 05:15:53 +0000 Message-ID: References: <20200521133301.816665-1-anup.patel@wdc.com> <20200521133301.816665-5-anup.patel@wdc.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: linaro.org; dkim=none (message not signed) header.d=none;linaro.org; dmarc=none action=none header.from=wdc.com; x-originating-ip: [106.51.30.72] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 65af5d2e-64eb-4a96-8fdd-08d7fed85daf x-ms-traffictypediagnostic: DM6PR04MB4954: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: wdcipoutbound: EOP-TRUE x-ms-oob-tlc-oobclassifiers: OLM:4303; x-forefront-prvs: 0412A98A59 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: w4bov3ylliCT55RmFX+t+VuUH6QushHwoIxbuTYfTj56bH78sFxvSvbCAg7ppovfljFdMEMuUfVAY9TM6KUfCvmvXIN6LQvEl08L0ng0NyUGYhXRX01pQf/iV2yvgou49NPQKRCEi34AJtYG8bD9yOsEita3hF/2OLk5EfXXDEpPAW7dEWQ1eMetBpfQz2CUu4SM40amENxjurvEQjWIdvxhGuD1557Atx2s1hZKjIxhORQcHnitDDfzbUP5ERHnqzmb5nvQvJ+KyAjQ2nYrZMuduRzE0fUFOn0kD5RQkVCSJ3JoJ5XHVa6oIOw2bZ9thZ1SzbCIL4R9W+LGqgG309qEUo3SaxkEQR7tpRjvRwAsq3Npc8xqhOz75x7JDVPPUkaNbhbBcJoabbSE2gjB6A== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR04MB6201.namprd04.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(136003)(396003)(376002)(366004)(39860400002)(346002)(110136005)(5660300002)(7416002)(6506007)(316002)(8936002)(54906003)(478600001)(2906002)(8676002)(9686003)(33656002)(55016002)(86362001)(26005)(55236004)(7696005)(76116006)(53546011)(66446008)(71200400001)(52536014)(66476007)(186003)(4326008)(66946007)(64756008)(66556008);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: 1Q+ZoYx022wI5Oav/fk+GscAVOPZQX7+BoNpndMVFFOAXNx1o69kx4u4lHOMg6ITeNIsMh/7dmfUwczb63k9ug3cwtcjtzSEGtttiY7OAsGOJs48E7BwvFPhU/2ChH1EzyQeZq29y9+myncRl7JxIyHZEOJD2tNZZbstqezpp196zGxqI2zVBxeYChXMIuLzwD/gCYhlKqdM2veJujICn5iDcRaIbjzHBBo76c5bl0WGPD0X4dVdqRtcUOGcs3OOzYagRZahKecHjW+ZwZsyXQTr4MjoMb0Hnc9ZhEVKXZdDKGzBsmKvM8JwO2IGXw6xQh0hHA7DBd8e1DioHzjn0JY0po/7eHagDSr+MdID0maFuJHTyNj8UxP4+cYUqlTLFGleBWxqgb97PngGmw54EeQgeHrGJkugZh2wIxskhmZzBzkrsH0L5nuKOsbJTZCbHwa8KWb2LLMA98iPU9O02x56xU+gy3ITgzU0REK1VC0= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: 65af5d2e-64eb-4a96-8fdd-08d7fed85daf X-MS-Exchange-CrossTenant-originalarrivaltime: 23 May 2020 05:15:53.1364 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: yc+8y83WvnmDutQeVZOWXwppIvm25Nre2i7mzJSsbA5Bobd0elfuXrp63bUIYBrMg0ab6R0Wt4iytl4fbVVDLg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR04MB4954 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogRGFuaWVsIExlemNhbm8g PGRhbmllbC5sZXpjYW5vQGxpbmFyby5vcmc+DQo+IFNlbnQ6IDIyIE1heSAyMDIwIDE4OjM4DQo+ IFRvOiBBbnVwIFBhdGVsID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