Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp352820ybl; Mon, 12 Aug 2019 17:50:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqxl4Klx/2l9TAUkmbe6GlHNf7Oo1SBS4RYtheVanRf2GwEFXxkjFPs0g/EbhSvsNPMdX+91 X-Received: by 2002:a17:902:8c98:: with SMTP id t24mr36068590plo.320.1565657448608; Mon, 12 Aug 2019 17:50:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1565657448; cv=pass; d=google.com; s=arc-20160816; b=Xd56nv3SMXc/RABBR4ZyR725OPO9YolO7O/tPUghueImCiQJW4Fs+gt5/D7TdrBBXk xPkL8RAWKyH4MGHvvW3aWcbij+UJT+cS0EFJbnVsorA11CvxjVdu4og0J0WGbqXNkml8 ybvZXnVH70OWpvLYQwj7AM69kl0vfJj2J7FsFa2hSafEVxS3GZRarJcpVYlLjvXBUSYK Wcat0wJ30jIzzf1VfQ9w1ge3nCBSyrI2a2DdhTXFsBYqDD9vzpIEbwIB7oNxufFEppMV J35tmP3xgvJJB3s6sEPZkAbF/Xdw//0l55ggxdSQs1XIJIy2SkBCqV6IBXdEJClFKFY0 OxdA== 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 :content-id: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=I5BUH+4Sq+xFTpc6mFQ+mMgWw41G1ncOymUx8Ld91S4=; b=JRnb8b/9vZOfLDHhZRlX7quhJw06f4PROkhUeg5MnQIbc4rzztH8WSS6l36BpasoXv PLy7GRMYGN75xJGWHCRRNTBSjb1m5Ca8lVOAjPDnJ6oWaEdhD3naJwiwCe+ed58DsTs6 TiXL7FORQBys4SUCNkhNQix4y5KYl5PQoAZJ7sLXq1DSn+FmGc008sVpybSuYK2vCc0I vmSRPa3PYvSGntyIGcFdR0bW8z1MTzSDr7nHkfDPgBeG/BVyaXfycQ4KZXGLiyPp/bdD cuO9jpo+JqQRzxhKERJxswB+yiiunBcIDPN2ZrauvY2mAlM0FwSE52hH3I4seCPiZHP7 /iKQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=DsyKaheg; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector2-sharedspace-onmicrosoft-com header.b=o+STR06M; arc=pass (i=1 spf=pass spfdomain=wdc.com dkim=pass dkdomain=wdc.com dmarc=pass fromdomain=wdc.com); 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=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v27si64738125pgn.14.2019.08.12.17.50.30; Mon, 12 Aug 2019 17:50:48 -0700 (PDT) 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=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=DsyKaheg; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector2-sharedspace-onmicrosoft-com header.b=o+STR06M; arc=pass (i=1 spf=pass spfdomain=wdc.com dkim=pass dkdomain=wdc.com dmarc=pass fromdomain=wdc.com); 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=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726910AbfHMAPS (ORCPT + 99 others); Mon, 12 Aug 2019 20:15:18 -0400 Received: from esa3.hgst.iphmx.com ([216.71.153.141]:20761 "EHLO esa3.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726453AbfHMAPS (ORCPT ); Mon, 12 Aug 2019 20:15:18 -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=1565655317; x=1597191317; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=I5BUH+4Sq+xFTpc6mFQ+mMgWw41G1ncOymUx8Ld91S4=; b=DsyKaheg3qLdH+b1E+miDuXWlB23jtGWv6RE3+fhgC+ftbn9z1AMaz6K miq06Ptofaea0PlJYEiWMUjxVo8oDQ8FdCGNqIZajRk50d+VYmnFNeDow 16T9EKWkFYuy861UjIn0/HKYaePlXGwK0LNusMu+cGUzgnRsTFrF/TQz7 gaWAN5NktDAv8ZLmyz5+5lIKkRRInj+rX2H3l31lJDekbPDhzQkK48IEV FFFb6ZWJe95gLQZrz7uM/8e7GEvgZkAVXP/OVZ3qH0U9WPWmD9KtVcp22 u4/BrhLMY4AljRv8HfDYE796slrOKIO1znsofTUxronxo+7AvHbbQKLrP A==; IronPort-SDR: 3R5NBlQy/p3EeDeOY9rUp5Osj4hftsHVtIYxwIDhfl1v0od2gA6CxxEOLss+olMq4qffc0ElFB OBxC0jZbl1P1WVRUk4eFt69A6kIUQnzyHbvRvsln1zUZCMJSmfz6Ti8JLxB7H4jUdfLTWGiUic G3iA9e6dyV6jIsMbkxvG3DxAfOleixS0wq40IzPcEvsOSoK/xHgyS8iGocZ+PcszZGbUhMDmwl 8ZxmrDIuGbd/J3a4uyjvwi5cpLZjUc7BfMsiU+IHglQul9KV0ZLzhh6eN8PEUvrKNpn53RAAfM hGM= X-IronPort-AV: E=Sophos;i="5.64,379,1559491200"; d="scan'208";a="120289057" Received: from mail-co1nam04lp2058.outbound.protection.outlook.com (HELO NAM04-CO1-obe.outbound.protection.outlook.com) ([104.47.45.58]) by ob1.hgst.iphmx.com with ESMTP; 13 Aug 2019 08:15:16 +0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CUeEZZGoLvIfDEvGZLtMcbP7n4Cc6nFRIpgyseub0UG2+SjsWYrMZ7I3mJFerGlYWEnl9L+6ExSDeOrr0STI8gsLm+GnmV5e+KvpaSTRB1U8wecN9S3ZGP0B81P7IPRKtsWnGQ+FdcZB6pkz3HxNKP9AfWgnOHbXaDrn9kWhDc0AEy1Bx3PZr0862TwjBg/0XaU6oEuWkmoIxrWjH0v/iGSFST3mTjC47U2kBxC7RC4x/ADl9m1MNyFniBBEZEcRdr3Ymk1qestdppKtH0bEApz01ZRoAYUpqSnD1BrXtca8may3v6KfzhIqH3d65HdV4x1qTbMwCcRKj2x0PLw8Pg== 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=I5BUH+4Sq+xFTpc6mFQ+mMgWw41G1ncOymUx8Ld91S4=; b=lfeApC/jfKAj4urys5QqbZkg+oIiVQ7zAcvzEhi8JnoZSOC5EcLOmaVqoyo5ZF+vOp5y34Gk0cpiOCEqQXEPopronQLC98mlwpPo5t6cLxpsC5kt6w9Jf2SFlr457zzk6FWA3rHn9WuIih++VuKWXpBWQp9q2p5It2OMKUsKgnAooCdp6Iv+qxjHeReAh74ugNlOfYuE/eptZErsbV+fKH4Lf46Ty1iTk2zmf1GGCR3zuHs3TCdfoDHa8u27cC9G9fBkE82MXGSzQ9k1TSZwh6I51fWV/qX2Lj5MQUsFfllSUVvn3U9EB+lOeFiYODJGzAqhn2QIOSpJpurvS4oW6g== 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=I5BUH+4Sq+xFTpc6mFQ+mMgWw41G1ncOymUx8Ld91S4=; b=o+STR06ME34pa02YIPGG257pcJ9q5sBBNBIu8CahC5AYrVLwxvae8V5mcS/qc8a0k2f6FOWhFZA6zPMosmbnJQpEuFnrrgbECrd/z7UvAf83yKe/yNUwUXNuzczWT+uH6r1VOV5Ey8soTVcmUedIb5QnFlALe4N+qYXHjkdzGaA= Received: from SN6PR04MB3791.namprd04.prod.outlook.com (52.135.81.24) by SN6PR04MB4159.namprd04.prod.outlook.com (52.135.71.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2157.16; Tue, 13 Aug 2019 00:15:15 +0000 Received: from SN6PR04MB3791.namprd04.prod.outlook.com ([fe80::5dbf:a641:a0da:4c32]) by SN6PR04MB3791.namprd04.prod.outlook.com ([fe80::5dbf:a641:a0da:4c32%3]) with mapi id 15.20.2157.011; Tue, 13 Aug 2019 00:15:15 +0000 From: Atish Patra To: "hch@infradead.org" CC: "linux-riscv@lists.infradead.org" , Anup Patel , "gregkh@linuxfoundation.org" , "paul.walmsley@sifive.com" , "aou@eecs.berkeley.edu" , "linux-kernel@vger.kernel.org" , "allison@lohutok.net" , "alexios.zavras@intel.com" , "palmer@sifive.com" Subject: Re: [PATCH] RISC-V: Issue a local tlb flush if possible. Thread-Topic: [PATCH] RISC-V: Issue a local tlb flush if possible. Thread-Index: AQHVTxz5XkoGRRVrekixM0/zCIcSeKb3ngaAgACcGwA= Date: Tue, 13 Aug 2019 00:15:15 +0000 Message-ID: References: <20190810014309.20838-1-atish.patra@wdc.com> <20190812145631.GC26897@infradead.org> In-Reply-To: <20190812145631.GC26897@infradead.org> 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=Atish.Patra@wdc.com; x-originating-ip: [199.255.44.250] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: bbbad3a9-701d-4dbe-d071-08d71f8350d9 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:SN6PR04MB4159; x-ms-traffictypediagnostic: SN6PR04MB4159: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: wdcipoutbound: EOP-TRUE x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 01283822F8 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(4636009)(376002)(136003)(396003)(366004)(346002)(39860400002)(189003)(199004)(7736002)(76176011)(8936002)(5660300002)(2501003)(186003)(14454004)(478600001)(99286004)(1730700003)(6116002)(81166006)(66066001)(6512007)(66476007)(66946007)(8676002)(91956017)(76116006)(66446008)(64756008)(2351001)(66556008)(81156014)(6916009)(256004)(3846002)(26005)(6506007)(305945005)(316002)(53936002)(229853002)(118296001)(5640700003)(14444005)(446003)(54906003)(486006)(6486002)(86362001)(71200400001)(2616005)(476003)(4326008)(36756003)(102836004)(25786009)(6436002)(6246003)(11346002)(71190400001)(2906002);DIR:OUT;SFP:1102;SCL:1;SRVR:SN6PR04MB4159;H:SN6PR04MB3791.namprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: Vq2Xz8tC3bskWu0PU5T48TsSWDTBerstlUsRBZr4QgqjRxg7oFY2ToqtEWsim7rcT8WXxfYStkavuMbcp24zLoduQKB5kRa1yQzopMXDC61A2ux7y1xAU/NDPr8l1q/q+yeLlkQ1wROLcfyuOgFCLDBKHUgqpexmtWshEqa6gTMokwpl+qkbRfbla7U91UR7K671mDkdDQmbXiS1ZeptPT4Or82t58mj4WSdA/uQcb42DQWX+C0HC4WWMxsrrqoAAAGQj4h3FZ3rJIeOyIA/1XplFwh1tYnpUiZhX6NIoxPBpG55KZnOcvSTvAhUakTjTo/qAU+Vt2L+4sqW1AHAjCUKvSRaj6Egrehbb6a+V0SjseZa6RgxhPPXh/FfIeoKzMYHIrvEB8Uzfv1lbMZQyFusbw6wWKYUAr9iBxaJjl4= Content-Type: text/plain; charset="utf-8" Content-ID: <92E2C94787F9AD4A9C9452C8752FD816@namprd04.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: bbbad3a9-701d-4dbe-d071-08d71f8350d9 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Aug 2019 00:15:15.2763 (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: FLTreNXqh7gyMae46DIOuHK/E9+ORc4hq+WUKWae6RY4Gtsx0Ji2k5vZNV69TeCGJCUok6KzaXE4n80G6JfJFQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR04MB4159 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gTW9uLCAyMDE5LTA4LTEyIGF0IDA3OjU2IC0wNzAwLCBDaHJpc3RvcGggSGVsbHdpZyB3cm90 ZToNCj4gSSBhZ3JlZSB3aXRoIHRoZSBjb21tZW50IHRoYXQgd2UgcmVhbGx5IHNob3VsZCBtb3Zl IHRoaXMgb3V0IG9mIGxpbmUNCj4gbm93LCBhbmQgDQoNCnN1cmUuDQoNCj4gYWxzbyB0aGF0IHdl IGNhbiBzaW1wbGlmeSBpdCBmdXJ0aGVyLCB3aGljaCBhbHNvIGluY2x1ZGVzDQo+IG5vdCBib3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