Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3479000yba; Mon, 8 Apr 2019 20:57:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqwioRYOCQ+BU4b5A66ScwmZYfSsiMqQP4JJDDlwZv053UTmKHWkPTzozT5vuaWSDQd46zH1 X-Received: by 2002:a63:7e10:: with SMTP id z16mr25517711pgc.40.1554782256148; Mon, 08 Apr 2019 20:57:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554782256; cv=none; d=google.com; s=arc-20160816; b=ivWkE18NtpHaVvYQkcA1HbFNtOOilsmqN6o/W0/z8ch9qx/k/ehTWA4RIlgep5j++i 0IqYss4F+FPEktdR6n1AoDQGj48I9PjaXt6EhJkvD48aCJh5MtpDfX6jRR58QLduVRd6 5Y4oGaEO59tqK+P4dQzQZbl4FOtl2XjtlW5KNiCjxpcNDFVZ0bQiMBD+l3RRQPVMN/64 jcm5KDJMGEAVTMi9A1RX2a3Oxk+4w7SlcI+SDPLuItGvp385VbFBBHBrCMVx5mhsHvW7 CwQfzzB1ARHRpc/hDk73NkNeELyOc6ZpNS3DEtM0tJ9z6Btzh4woOLjooD+lT0auahQm qiXA== 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 :wdcipoutbound:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature:dkim-signature; bh=m1SU6SG4bJpDHYBoK0GmD4Zz5O7Ld8oYO6X2tb7fbLY=; b=NRR+D3Q7c5xIlm1s1ubQJsZCFGZUvvk75hFpjjgOrU2HKyPyTTKZCooeIYUGo8zzwj n0oAYhe8xDHab2OCSFy4+nu3slzdhyZuyYHIG4ErmCM/FAlMqY3c+jiD/D+8Io/DkVvr f1tC95VEjxfAG1N7+8HvUy8aXKXnI+k9bjEnkW+MxB1Iwga6Z4IuVlHnXHEeSCwJtBZe zrY5BbNqMTDmxSsBGKQrfrd2Kyec+VKhVlcQwSHbUOprpdMzKY0MI5YHghBtyDrf2ltx y2hpe56V57vH4uMDcIq3RjCghA9AODSV6Ng/3NX8YdkVdjSYJwyhrdeqOB/5uh5wn+zi Tbhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=NpW5HJxX; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector1-wdc-com header.b=NgQZjamW; 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 o14si29321145pgf.200.2019.04.08.20.57.18; Mon, 08 Apr 2019 20:57:35 -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=NpW5HJxX; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector1-wdc-com header.b=NgQZjamW; 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 S1727171AbfDIDgH (ORCPT + 99 others); Mon, 8 Apr 2019 23:36:07 -0400 Received: from esa3.hgst.iphmx.com ([216.71.153.141]:64898 "EHLO esa3.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726081AbfDIDgG (ORCPT ); Mon, 8 Apr 2019 23:36:06 -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=1554780966; x=1586316966; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=m1SU6SG4bJpDHYBoK0GmD4Zz5O7Ld8oYO6X2tb7fbLY=; b=NpW5HJxXMkctAJdQySTa5s/XvlkhIcBrLbwev4+Us3GIEfQvYqI7Ml10 +Pq1Ay0VDLcd+YttOYl+HMllggkY1t6uBUjKB4CH7uKNYLDdPTGv/hAqg efH+ieeALGL4DeKgSBOcQxnAu9Io5bG1aZOvGvO+gva72YULn3+UJXe7d F2ebwMWaNjsnxuHs3fCqgtqnX6qrPi/t2C2Llcwykxu6T0uR4IPm9bna4 1kJVP+wD/01jtR2yS15GDQE1SAntT8ae5jrnaac2OSek5z/QwrGdpkjOA EEi3Jx7A8ln3FIP5vBzAdB5QtPpzpmlxn/6c+YWPKSAxGLcndA1hh9+P8 g==; X-IronPort-AV: E=Sophos;i="5.60,327,1549900800"; d="scan'208";a="110351421" Received: from mail-by2nam03lp2052.outbound.protection.outlook.com (HELO NAM03-BY2-obe.outbound.protection.outlook.com) ([104.47.42.52]) by ob1.hgst.iphmx.com with ESMTP; 09 Apr 2019 11:36:05 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector1-wdc-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=m1SU6SG4bJpDHYBoK0GmD4Zz5O7Ld8oYO6X2tb7fbLY=; b=NgQZjamWKyoiUCUL9AXcgBQlO4SMff3I0KRmfIK3pb36c45WgHYoxntM7HcMakSYJpcs3DFSEXWXGlQgvsgzu7yrxy2eKFV/qOjLqgNND8wr6mzMUkH7UKyraNiY4oU0YfXTnaRh1Q1bzaZGkPf9pHjeAUhBTOR9ZvlJ4MXw8vw= Received: from MN2PR04MB6061.namprd04.prod.outlook.com (20.178.246.15) by MN2PR04MB6271.namprd04.prod.outlook.com (20.178.245.154) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1771.16; Tue, 9 Apr 2019 03:36:03 +0000 Received: from MN2PR04MB6061.namprd04.prod.outlook.com ([fe80::ad2f:3a0f:2de1:6fb2]) by MN2PR04MB6061.namprd04.prod.outlook.com ([fe80::ad2f:3a0f:2de1:6fb2%5]) with mapi id 15.20.1771.016; Tue, 9 Apr 2019 03:36:03 +0000 From: Anup Patel To: Guo Ren CC: Palmer Dabbelt , Albert Ou , "linux-kernel@vger.kernel.org" , Mike Rapoport , Christoph Hellwig , Atish Patra , Gary Guo , Paul Walmsley , "linux-riscv@lists.infradead.org" Subject: RE: [PATCH v2] RISC-V: Implement ASID allocator Thread-Topic: [PATCH v2] RISC-V: Implement ASID allocator Thread-Index: AQHU5TAIKaRDCttA7UazIjpcDaomMKYzNveAgAAJAEA= Date: Tue, 9 Apr 2019 03:36:03 +0000 Message-ID: References: <20190328063211.13052-1-anup.patel@wdc.com> <20190409030231.GA14861@guoren-Inspiron-7460> In-Reply-To: <20190409030231.GA14861@guoren-Inspiron-7460> 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=Anup.Patel@wdc.com; x-originating-ip: [129.253.179.161] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 62262d5e-14db-4deb-bba6-08d6bc9c7dfc x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(4618075)(2017052603328)(7193020);SRVR:MN2PR04MB6271; x-ms-traffictypediagnostic: MN2PR04MB6271: wdcipoutbound: EOP-TRUE x-microsoft-antispam-prvs: x-forefront-prvs: 000227DA0C x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(39860400002)(396003)(136003)(366004)(346002)(376002)(13464003)(199004)(189003)(3846002)(4744005)(76176011)(102836004)(8936002)(53546011)(81156014)(6916009)(99286004)(54906003)(25786009)(81166006)(71200400001)(71190400001)(52536014)(316002)(86362001)(6116002)(6506007)(229853002)(2906002)(5660300002)(6246003)(8676002)(14454004)(105586002)(305945005)(26005)(9686003)(4326008)(53936002)(33656002)(478600001)(476003)(74316002)(446003)(55016002)(66066001)(7696005)(72206003)(7736002)(68736007)(11346002)(6436002)(97736004)(186003)(256004)(106356001)(486006);DIR:OUT;SFP:1102;SCL:1;SRVR:MN2PR04MB6271;H:MN2PR04MB6061.namprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 71VLu+T9pdYUSuQca4dhVQpLvLOizj9f3lew8OIn9bSP/wQYHKexRxx8VqapBV3qYJObQX+mUjVT2Z7uaXy5/rZlT5vDBe6NH/pMmF/FnP//y1N64IG2zYb9ZQaODjohSJeLISjJQxkAYMJKrD6UqbMaK+sTg5ZJchF0siPZ5Z4oKyycwqe54gRQ6CmIAjorlNiwnEcuYym/oQZudOAYZhZVBPpsooJW/Qm5sWWt/tLbTdxTKx7D09eqnOQt6lrr2TyKtCWZ5QsjAa466YnHs645XxBHVPSxsIG87ZBTSENOW3pjRHjygYq2xZ66kuZvqvmf/r3Ckw/ypkP3xWI2E7G7k0wF0x792eNqrtUZYDdOlailSi9PVCYvQmjr+77iBz6a+uMk6BML+axncp1j/PQVQtBV+/J1xpf7NpRKvDg= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: 62262d5e-14db-4deb-bba6-08d6bc9c7dfc X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Apr 2019 03:36:03.2227 (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-Transport-CrossTenantHeadersStamped: MN2PR04MB6271 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > -----Original Message----- > From: Guo Ren > Sent: Tuesday, April 9, 2019 8:33 AM > To: Anup Patel > Cc: Palmer Dabbelt ; Albert Ou > ; linux-kernel@vger.kernel.org; Mike Rapoport > ; Christoph Hellwig ; Atish Patra > ; Gary Guo ; Paul Walmsley > ; linux-riscv@lists.infradead.org > Subject: Re: [PATCH v2] RISC-V: Implement ASID allocator >=20 > Hi Anup, >=20 > On Thu, Mar 28, 2019 at 06:32:36AM +0000, Anup Patel wrote: > > This patch is tested on QEMU/virt machine and SiFive Unleashed board. > > On QEMU/virt machine, we see 10% (approx) performance improvement > with > > SW emulated TLBs provided by QEMU. Unfortunately, ASID bits of SATP > > CSR are not implemented on SiFive Unleashed board so we don't see any > > change in performance. > Can you tell me what is the test case ? I am testing this using hackbench. Regards, Anup