Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp5336391img; Wed, 27 Mar 2019 06:44:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqz1Zs9oCvJu3kpQPZtjPFME9OzcDKIYS4fnqbwfhMCwrVI5r0kuZgogk/Os36XdgA/a+GtH X-Received: by 2002:aa7:8201:: with SMTP id k1mr35532554pfi.53.1553694259274; Wed, 27 Mar 2019 06:44:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553694259; cv=none; d=google.com; s=arc-20160816; b=vLJY0howvjzEyQoTXHS08LBmDesxjssFzUQjFt2MHhZIzpghnprP7pw8KC1ZL98+RV xQe5xh8lA0ygNZY6zJEhl78D0TPypFwENqKLcIexTBaD57QpSrqarxubUToW7hcFRFAD 8L+SrA113WP4v54oOEDWq2MBrCki3we4ti/2aTzLWbqCailKGD7tHMVKxpYQEwLnpRoq +85H/JW5sFDf5xQABOSsrk7ajsxLxFQ4EAsZ4BItGL8b2tA+jnxz0BbYUdeO+Ne7VQSG BASQCQ4PA29rK6G6vYRuLtYvYDqYA4g9HZy1xYTIxLlWGNOHdOu9dtXjeKUHElCabmS0 wErQ== 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=r59OY5aULlJzATGxaBra4CRIOGt01uor7NXJpYTYl8k=; b=IBCkgYRAPNO1GjF01kv9qzhpxQjqutXUUNDxp9NjCgTXzPYz82UWccfg+DMKnYisZX ImXTCRUD6cvV0YrvS6nKri1ba33VvRRh5oyoNImEwNTemN9xwryOuaMXVhcg8YOgtXUD kWnRAoIvjGDurUe8C5Drcf/oxKODkZuHv+uHUC3P9wU6kEZ5B3R8hwfH4d0kQ1zmB4Hb WvczHEFqH18TKxBqSm7Q0UkJDTVKXFta7f4J0xdZAnKZOLx9p18Dsqs3n+jw9JPgu2mb OVjrjNGGURiOg1qfTTpS6xzTrqOEBMhDap+lLXvWZid5kRwCOYSLMMH7+h3OtEZTKDi+ zQ2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@garyguo.net header.s=selector1 header.b=V2ig6UtR; 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 a89si20706831pla.362.2019.03.27.06.44.03; Wed, 27 Mar 2019 06:44:19 -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=V2ig6UtR; 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 S1729762AbfC0NnL (ORCPT + 99 others); Wed, 27 Mar 2019 09:43:11 -0400 Received: from mail-eopbgr100092.outbound.protection.outlook.com ([40.107.10.92]:43226 "EHLO GBR01-LO2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728324AbfC0NnL (ORCPT ); Wed, 27 Mar 2019 09:43:11 -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=r59OY5aULlJzATGxaBra4CRIOGt01uor7NXJpYTYl8k=; b=V2ig6UtRBV4OzzwrdYrn73XQeKwzWYATMhU0bM+6OetvekvgBBnfps8mmruQ6bfkGC1+HrcKjcdDIU5oJmZBbLRP6lpY31yEkKUN86niAVQx/7xAFK8TWSBHNTotixtfA6mmHShUsC21jZgaw99K9r15/Mlgbhml4UcS/fraGSc= 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:42:28 +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:42:28 +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/36YfVxgAgAAEHICAACGYgA== Date: Wed, 27 Mar 2019 13:42:28 +0000 Message-ID: <74227a1d-3928-3e92-c7a9-5c3e093b29ab@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: LO2P265CA0184.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a::28) 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: bae4e099-0b80-49ec-8e6f-08d6b2ba0db6 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)(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)(340984004);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: gRkqUT0ojW2+YIiyvG6RnQ6c3o/lfOABCyb44F0ii5Iix6SwYRPbr1B+oQ5ArF4pFodmWpKmmTPa8KQf7GLr+qgv8oGJ1lHkRHt9GbgZpmjLfo8pnyOJ5qJZxpVz8h2pXwu9a5qrC9i0z5tYLMR+6hnbpOlJiM1IoOhHOETgDQx0nloj5p7r2uLepMev9f8zj886zuvBvKL9bqyvrKVglZ5uJwDUHvXEWGWNtVo1F0sz9+2DIyFEz25ptoHMwngIiH4yCmCMBL7JxBcWt/wxJRD42wYAF1r43z6r4oo8AcPS0zt42LdpngIToQLC2rFDlHqQ7jbYZOsohqPHMUMQpQZWqZcm0NpdxVESgFBW2935agciuoU/5sNwdSau7/BznUt8CYzmSH3WcKLPv/2ss3XDJFOsFRn55byGPmDNI8A= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: garyguo.net X-MS-Exchange-CrossTenant-Network-Message-Id: bae4e099-0b80-49ec-8e6f-08d6b2ba0db6 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Mar 2019 13:42:28.4833 (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 SSB3b3VsZCBhbHNvIGxpa2UgdG8gbWVudGlvbiB0aGF0IHlvdXIgY29kZSBhc3N1bWVzIDY0LWJp dCBhdG9taWNzIA0Kc3VwcG9ydCB3aGljaCB3ZSBkb24ndCBoYXZlIG9uIDMyLWJpdCBzeXN0ZW1z LiBVc2luZyAzMi1iaXQgdG8gdHJhY2sgDQpBU0lEIGdlbmVyYXRpb25zIGlzbid0IHN1ZmZpY2ll bnQgYW5kIHdpbGwgY2F1c2Ugb3ZlcmZsb3dzLiBUaGF0J3Mgd2h5IEkgDQpoYXZlIGFzaWRfZ2Vu ZXJhdGlvbl9vdmVyZmxvdyB0byBoYW5kbGUgdGhlIGNhc2UgKHRoaXMgaXMgc3VwZXIgDQplcnJv ci1wcm9uZSBhcyB3ZWxsKS4NCg0KQmVzdCwNCkdhcnkNCg0KT24gMjcvMDMvMjAxOSAxMTo0Miwg QW51cCBQYXRlbCB3cm90ZToNCj4gT24gV2VkLCBNYXIgMjcsIDIwMTkgYXQgNDo1NyBQTSBHYXJ5 IEd1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