Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp363474ybl; Wed, 21 Aug 2019 21:04:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqx9eYdN3UwgCbUcKBSR9weqUrMwpSMO7ljd+I/bU8bpG3ObDRcJ0I6fz5Kko+Vc7jAa+TDJ X-Received: by 2002:a65:500a:: with SMTP id f10mr32052335pgo.105.1566446666955; Wed, 21 Aug 2019 21:04:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1566446666; cv=pass; d=google.com; s=arc-20160816; b=dYvqxqOUp/PFWMQJCSEtidwWQhgwXw+4HBPMjFdtQsPprVt13fjl7ytoiYjKQPQxnV peHfpMxqOUQjdWxSIVR/oMU/fsaSoa4tbtjix/LVu+8Uxraxc7rses1UrYJMtM2Wj/4I XIG3Ijm+mFAIb62z72jS46kablKwm1w9Q2+4nPnB+D2VPcHzJtQ2MbqsELRFxnrsjlw7 JSQMFvMhL978EUQzuH05X/iB9GqJC8b5trmRkJUMr0INsmVMDPIMstscG5N6eTQ07ki8 8lbr9YHZpKmOyfmAsfQWyd9XJTuSeMWfArw4vsywAkDRbVnsuEMpUbGBnuN1fhDPmJ+x cNQA== 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=BUilaCWlb9HbDt0OcS+IhyTuYoposAVKNiiyeL6RP/M=; b=vWIUPKxT3LVi2fFvKLpdG2zacezXNHJouWncVL2QryTFxlGxzyiscdtRpEyKkCdMah qT19Fypkz9+6myqUT+kM8JeGEHfYrmhDvYQcVoas8i1gO3qPkryWXhFY2gIloyx4I2JK wT41ehO3hRtmHK3mmPgKf/PUO64wH1varbPhsa33sUmcZWizdBD37jUmUsJ8qHv+IeSR nsxAtvDL9ZAREdI17KzOOQBGd2NuDpM1dTsj+R33Xq9SFAweZ5AQYdZpwBeRwdROIvBa W2Xk0cBadng6z0Zdyw88hdfkdMDNdTjEJD2cTiHafMDe5x5sX22NgMJqx6blGmzNuwsY a0GQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=VIYL1qYD; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector2-sharedspace-onmicrosoft-com header.b=y5PaxG6W; 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 o9si17563558pfp.158.2019.08.21.21.04.12; Wed, 21 Aug 2019 21:04:26 -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=VIYL1qYD; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector2-sharedspace-onmicrosoft-com header.b=y5PaxG6W; 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 S1725930AbfHVEB3 (ORCPT + 99 others); Thu, 22 Aug 2019 00:01:29 -0400 Received: from esa5.hgst.iphmx.com ([216.71.153.144]:44749 "EHLO esa5.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725770AbfHVEB2 (ORCPT ); Thu, 22 Aug 2019 00:01:28 -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=1566446488; x=1597982488; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=BUilaCWlb9HbDt0OcS+IhyTuYoposAVKNiiyeL6RP/M=; b=VIYL1qYDehzd8T2Wcf1sI25fa1EN8asV7POhGtVmhRsqei2+mjiLcHkL CUbyv61vNpYKTRB99WDMsopn1nQU4OCr1IxbhnjZ8oerQZ/kQlIdVWjQQ 4OERp1Z+yZJK0lwHva/vdYgZauQXR6/K6Nn/OqWpDqaU/yVU4vVH2xztJ 1y2YYsCgSBRpONFp4EIV5jumiS9J259YDGHpDbMZzDEYuD1rfGBg0pQaw RLKhyteYkAH4iR+7JyioOqyDAftb7nawtQOEI+qw1DDBRSIHQD00GBRYA Fi3nTT3gY7p0jtawqo/FO1WsE3EbvAmHuHqdrh3CgFD2Ceuc9q0CBTSLT w==; IronPort-SDR: jKCwGXvRStuix7PsiDZcmyhJQrKwRa5CPuR01RQt+tXmCf6XnwlmZJqxj1EBcrAeZmJDQ9GggN f+j/w3PHOBjfbyPWClbVmNFTefNZVQlPaPMJMYNPplOK6y3XblqQ4JqM9YYoBcVN+bXf7il1na fOc4ExWX87xWlf+Crd0VarMnOprviPC/rDQrj75VZUC5K5vjlUwzIoennQTmpDa4hsNfi69gGV 7z0E9ZSLA6HYPq8js181J3udcvNwivWcngZLrrvi3LwnXZZ+a53MzNT3DbSdhb5Zwz7VtNoADv STM= X-IronPort-AV: E=Sophos;i="5.64,415,1559491200"; d="scan'208";a="117317468" Received: from mail-bn3nam04lp2059.outbound.protection.outlook.com (HELO NAM04-BN3-obe.outbound.protection.outlook.com) ([104.47.46.59]) by ob1.hgst.iphmx.com with ESMTP; 22 Aug 2019 12:01:26 +0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VL0zie42cuwKi3nx9Ynn+DSQQeULYpmomNbNvxUUu+aBNx5vlCrPPf6e6uVbD3w9ZLi5ZDUK4WM7yAjdi5WT7AOyGEp2tOI0CAJ10WK/nwijhjkBIKj0npextpj4p+7hL0OUe16mHQTOUBliBd9l4+eVo5GhWBiGo61GXIhQhOymLisfava3vctaB40gpebZlclMEzkQjUcBOS221d3LI/76i/KPXJMVJPU6nkjAKUzt9gZt1NjeUehZin1KPPue/ztK7eJTxS/2VJ4ghVo0FgZ/DPmMIQ1a/i02ltkGbFFTFCV1bfjOZXHVZZnLzk3i6Eq0zgMKemYcfJ0R6WxSYg== 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=BUilaCWlb9HbDt0OcS+IhyTuYoposAVKNiiyeL6RP/M=; b=oE41s4EyKxx7eJcsc42C+QDO24Vy9Io+QX0R1LQ+cB9+a3q1bSO0VonSoCnmv5F+e3zavNaxEvbcxEp6Ptw3oAosVFfIQz9k9lp6afEIQ6Zs8EOFMP87md1SqcvvckHNCY/Jzd0/XQ1UNRV5aF8V0h54VckIOOhYCrGbzcmRJtZFTerrGoNMWQZP3bMb/SmX3Odso6InDzXgln2Tfce5mPGncQ0+o0brbMUMJJMQ2pwgbtQDHe2rKA0LpFSUSTzA5YH3PcZZZpo8plyABujYiCSY2q+jUD3ozs8fyw0FFY+xsWZDbtww1lZVZyvxN5nDlQij5rCAe10qtQLuBNzDdg== 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=BUilaCWlb9HbDt0OcS+IhyTuYoposAVKNiiyeL6RP/M=; b=y5PaxG6WLYrwf7YHefyRW+LoWLTRw1GfkoB6FKJ/2pGDDCOT02F5LvOq4Z4wLKEsvmEFo1ABnSOpas9r9kU9eOLX3pvkSOmDIk+ruKiZzceuI29XvL/Y5U0nH0DfNpNdmqBPuhw00EslVTwuiq+UqPMpHjiDwFMW3LMeWtCTWPM= Received: from BYAPR04MB3990.namprd04.prod.outlook.com (52.135.215.29) by BYAPR04MB4327.namprd04.prod.outlook.com (20.176.251.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2178.18; Thu, 22 Aug 2019 04:01:25 +0000 Received: from BYAPR04MB3990.namprd04.prod.outlook.com ([fe80::24ca:5178:5475:9a0e]) by BYAPR04MB3990.namprd04.prod.outlook.com ([fe80::24ca:5178:5475:9a0e%4]) with mapi id 15.20.2178.018; Thu, 22 Aug 2019 04:01:25 +0000 From: Atish Patra To: "hch@lst.de" CC: "paul.walmsley@sifive.com" , "linux-riscv@lists.infradead.org" , "schwab@linux-m68k.org" , Anup Patel , "linux-kernel@vger.kernel.org" , "palmer@sifive.com" , "aou@eecs.berkeley.edu" Subject: Re: [PATCH v3 1/3] RISC-V: Issue a local tlbflush if possible. Thread-Topic: [PATCH v3 1/3] RISC-V: Issue a local tlbflush if possible. Thread-Index: AQHVWIMVUivLbwS0nk+EJJcu32ceGqcGZd4AgAAlowA= Date: Thu, 22 Aug 2019 04:01:24 +0000 Message-ID: <0f66583404f89ab2bd6c264ba653364ab8a3160e.camel@wdc.com> References: <20190822004644.25829-1-atish.patra@wdc.com> <20190822004644.25829-2-atish.patra@wdc.com> <20190822014642.GA11922@lst.de> In-Reply-To: <20190822014642.GA11922@lst.de> 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: [2601:646:8280:fdf0:69be:1cca:a557:65ea] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5810d355-84e0-49c7-4dc0-08d726b566b7 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:BYAPR04MB4327; x-ms-traffictypediagnostic: BYAPR04MB4327: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: wdcipoutbound: EOP-TRUE x-ms-oob-tlc-oobclassifiers: OLM:7219; x-forefront-prvs: 01371B902F x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(4636009)(39860400002)(136003)(366004)(346002)(376002)(396003)(189003)(199004)(6916009)(6486002)(46003)(2616005)(66556008)(305945005)(7736002)(66946007)(6512007)(6506007)(5660300002)(66446008)(64756008)(476003)(6436002)(5640700003)(446003)(11346002)(76116006)(486006)(36756003)(66476007)(102836004)(118296001)(316002)(186003)(53936002)(229853002)(8936002)(76176011)(86362001)(2351001)(6246003)(4326008)(1730700003)(81166006)(81156014)(25786009)(99286004)(8676002)(478600001)(256004)(71200400001)(54906003)(2906002)(14454004)(71190400001)(6116002)(2501003);DIR:OUT;SFP:1102;SCL:1;SRVR:BYAPR04MB4327;H:BYAPR04MB3990.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: YVVYCWGnpcxMiNuW5wFMP/g15Mchc1Q5QCobZ9WF6c5F/Ehh/qwAhlJBxg4K/bdO8cNfn2fYzQ/4951ARWMd/jWBlxcSWIe/nDj5gitzZFCAVcvTza8/KorEbINchMt8K99sIFKSYf9Z5h2hFxioJJw8sdxHweUX96AOXMx6/TeNgFVeXQqoCC+1CVslbGgh12bWcZUSn4XfmhGMyY8bOPrdl3RfPrj2SCkyC0wJJkh0JW5C8Zdv2BB4z0gexEPXkggl1zmiDwXAMjjGFaLfG6Eh4ldoMdsqv6SQyqvjE4svS0TKUUMCYc0e51dNLIAPrp9H1O6nZEmiV9BMbcVRXLZnukD9C207hIrLbCLDrWfArx8L5GFW9mHsGQrpSZVjdG4eSbFK6QLQCKg+dAnExyZEEbUiF9cXHmvgCcsTfSY= Content-Type: text/plain; charset="utf-8" Content-ID: <1C1DC9928CA4DE43AAB106B1CF77F24E@namprd04.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5810d355-84e0-49c7-4dc0-08d726b566b7 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Aug 2019 04:01:24.8130 (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: CpbLBHO0BKZQ9/yl+JUy0DfVQnVfXbOkUMChXp94ki1BGbNUn2KXypoTrDIrYXmDtF9EYMBcXjKRHf+7vUQkAw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR04MB4327 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVGh1LCAyMDE5LTA4LTIyIGF0IDAzOjQ2ICswMjAwLCBDaHJpc3RvcGggSGVsbHdpZyB3cm90 ZToNCj4gT24gV2VkLCBBdWcgMjEsIDIwMTkgYXQgMDU6NDY6NDJQTSAtMDcwMCwgQXRpc2ggUGF0 cmEgd3JvdGU6DQo+ID4gSW4gUklTQy1WLCB0bGIgZmx1c2ggaGFwcGVucyB2aWEgU0JJIHdoaWNo IGlzIGV4cGVuc2l2ZS4gSWYgdGhlDQo+ID4g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