Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp5334874img; Wed, 27 Mar 2019 06:42:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqyDJCdDssu3S6Wle0j+ULX2e0H4AlI/+5u9Laz/qCUeu26sEXKwuiN/Y2hrKdALnLvcqxEu X-Received: by 2002:a63:ed0a:: with SMTP id d10mr34224938pgi.452.1553694143709; Wed, 27 Mar 2019 06:42:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553694143; cv=none; d=google.com; s=arc-20160816; b=osjfUWP4gcVTRafu7TyWACOBMNXoIwVyyiWNeYE/ePGEudQy6cmGW+uG9hNtoeCgTi t0oxmWnTBuDTsaIpQoXmGzVuVC4ZafZNqxqaVvNngs7gyBA4E+h9sqEfsr3ZxwaNQKvE svdfYG/uklw7fEjixqdK5UbZvFj7hDJyCw20HkfOg2SZK9LiqJXCVS4fK0TTnoQoUIJj qhrLEziDCk+fasdHogMGwiJfSEiiNGyZZGbdGKS0N6xTPkz/zizzKs7thWppnl4xZkgr oLaB4YtIzQdHkcmukL/vR/DWry3r39wHaFaW9SJCsNhq53soHsveqX0YyDcbuvvzTpSu DUyg== 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 :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=qi+JXVDJxT883aEjkbt6YKCMeNdGqv0trCpR/udwwFk=; b=krot4kboM6aW252sP5KQ6fzhwE7pn8ntM1un2l/YDUeN7h8DNRIknR1uArZ8NriXqT mUPE74HEIKX0xV3uDq31a6tny69Py8/N4ZMOnOQshLWSPiH/UEtUPS/aCJPnAnaoSs90 z6B+wMBkHA/wtIaODXHHoEAEMwCmioAUozDIIqOs3kPzl13X8DKj2ORkAguOCN015rVI 9E9huRqS6YPb8jLWiEtAv2u1p4mBGU84C0ljvq8XN1+LKfW1eb9TxOSheun2MAYidOTa zRBmQVHbVVcH+aKyu48ocs053DINdq65L90k87Rp2+az/UrSwZCDdcm9ZKiSll6ijv/J 0nUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@garyguo.net header.s=selector1 header.b=qJCqNx3v; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i97si20450995plb.213.2019.03.27.06.42.08; Wed, 27 Mar 2019 06:42:23 -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=pass header.i=@garyguo.net header.s=selector1 header.b=qJCqNx3v; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728687AbfC0NjI (ORCPT + 99 others); Wed, 27 Mar 2019 09:39:08 -0400 Received: from mail-eopbgr100129.outbound.protection.outlook.com ([40.107.10.129]:18016 "EHLO GBR01-LO2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726185AbfC0NjH (ORCPT ); Wed, 27 Mar 2019 09:39:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=garyguo.net; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qi+JXVDJxT883aEjkbt6YKCMeNdGqv0trCpR/udwwFk=; b=qJCqNx3vb3C5LoUxV7akM2Pyn21w8kwwBFxHVymARQs4oHQorEO6LnVDoTpcbIA8hdomYQY/tvS7qmPgl/nGvkc0fNvJVSN58K33qvhIjkpcyGCNtqqG6JuXkna3qatX6fzL/NqfS/tvwWtsHvdHA1d6n+DkmsTiS77Qg/CzLis= Received: from LO2P265MB0847.GBRP265.PROD.OUTLOOK.COM (20.176.139.20) by LO2P265MB1295.GBRP265.PROD.OUTLOOK.COM (20.176.144.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1730.18; Wed, 27 Mar 2019 13:38:25 +0000 Received: from LO2P265MB0847.GBRP265.PROD.OUTLOOK.COM ([fe80::ed34:1290:4306:3157]) by LO2P265MB0847.GBRP265.PROD.OUTLOOK.COM ([fe80::ed34:1290:4306:3157%3]) with mapi id 15.20.1730.019; Wed, 27 Mar 2019 13:38:24 +0000 From: Gary Guo To: Anup Patel CC: Anup Patel , Palmer Dabbelt , Albert Ou , Atish Patra , Christoph Hellwig , Paul Walmsley , Mike Rapoport , "linux-riscv@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] RISC-V: Implement ASID allocator Thread-Topic: [PATCH] RISC-V: Implement ASID allocator Thread-Index: AQHU5IQth95RRmVyw0y1O3lxWJG/36YfVxgAgAAEHICAACB1gA== Date: Wed, 27 Mar 2019 13:38:24 +0000 Message-ID: <49628dc9-c56d-6b60-9520-e4eb0e3b3424@garyguo.net> References: <20190327100201.32220-1-anup.patel@wdc.com> <7edf91f1-1df5-5513-d372-d84edd12edf3@garyguo.net> In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: LNXP123CA0018.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::30) To LO2P265MB0847.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:8c::20) x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [2001:630:212:238:3697:f6ff:fe55:55b1] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 16bfaf41-2a6a-4180-94f9-08d6b2b97c4f x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(7021145)(8989299)(4534185)(7022145)(4603075)(4627221)(201702281549075)(8990200)(7048125)(7024125)(7027125)(7023125)(5600127)(711020)(4605104)(2017052603328)(7153060)(7193020);SRVR:LO2P265MB1295; x-ms-traffictypediagnostic: LO2P265MB1295: x-ms-exchange-purlcount: 1 authentication-results: spf=none (sender IP is ) smtp.mailfrom=gary@garyguo.net; x-microsoft-antispam-prvs: x-forefront-prvs: 0989A7979C x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(376002)(346002)(366004)(39830400003)(396003)(136003)(199004)(189003)(97736004)(4326008)(316002)(71190400001)(54906003)(2906002)(14454004)(5660300002)(25786009)(7736002)(966005)(86362001)(6916009)(8936002)(508600001)(14444005)(71200400001)(256004)(7416002)(68736007)(31696002)(31686004)(186003)(446003)(6436002)(52116002)(6512007)(6306002)(486006)(2616005)(105586002)(6506007)(53546011)(229853002)(53936002)(386003)(476003)(99286004)(6116002)(6486002)(46003)(76176011)(305945005)(8676002)(36756003)(11346002)(102836004)(106356001)(6246003)(81156014)(81166006);DIR:OUT;SFP:1102;SCL:1;SRVR:LO2P265MB1295;H:LO2P265MB0847.GBRP265.PROD.OUTLOOK.COM;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: garyguo.net does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 3E0s3cnfBVH2FLmIIG04JFM6TK1sbzbIy1bG4+PPhwjXIdy+iAgs7WdlDTjgedp99N/6UsBB9uzZApHdqNPF+91FLGBBkILRb4lu+FGn6ChM2mFjh/GJuJrpSHpVtqS0hGQCduPGULrsXMXZCJNeqATVikHmYuz9EXUUsRSceN3HlQO+n0bD3jvMwi9L9FBHw6Eai7+rdTvJnr8PjREf+QIiIOD5S1UC3iZYY2rPoc8sjBFPz9L0YUgnVQVIlvdCpEsyiJUCMhxjc6TtsZJyyOt2aZdZ0FG/iX/ZD+C825e2h7VNg0Yk6qBJRRNsVpdUpw7VwXBOwh+SYIZxc59kgtq+18qXgWIzQicxqS/QdnlnfUGqmE1UNPvpXpuVnXrpjONg/xq45Bb1Xl3DRzsxXW0cfEGrwePsMrtXCfcLQWo= Content-Type: text/plain; charset="utf-8" Content-ID: <79B6C6F9D82FFD43AE28F57D76E58B59@GBRP265.PROD.OUTLOOK.COM> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: garyguo.net X-MS-Exchange-CrossTenant-Network-Message-Id: 16bfaf41-2a6a-4180-94f9-08d6b2b97c4f X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Mar 2019 13:38:24.7810 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: bbc898ad-b10f-4e10-8552-d9377b823d45 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: LO2P265MB1295 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gMjcvMDMvMjAxOSAxMTo0MiwgQW51cCBQYXRlbCB3cm90ZToNCj4gT24gV2VkLCBNYXIgMjcs IDIwMTkgYXQgNDo1NyBQTSBHYXJ5IEd1byA8Z2FyeUBnYXJ5Z3VvLm5ldD4gd3JvdGU6DQo+Pg0K Pj4gSGkgQW51cCwNCj4+DQo+PiBUaGlzIHdvbid0IHdvcmsgaW4gYW4gYWN0dWFsIGhhcmR3YXJl IHdpdGggQVNJRCBzdXBwb3J0LiBUaGVyZSdyZSBtb3JlDQo+IA0KPiBDYW4geW91IGVsYWJvcmF0 ZSB3aHkgPg0KPiANCj4gVGhpcyBpbXBsZW1lbnRhdGlvbiBpcyBiYXNlZCBvbiBMaW51eCBBUk02 NCBBU0lEIGFsbG9jYXRvciB3aGljaCBpcw0KPiB0ZXN0ZWQgZm9yIGxhcmdlIG51bWJlciBvZiBD UFVzIG9uIHJlYWwgSFcuDQo+IA0KPj4g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