Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp23006ybx; Mon, 4 Nov 2019 15:09:11 -0800 (PST) X-Google-Smtp-Source: APXvYqzVZevzEw6lZhtS0R797KmO+IASU0O7TqMR5bHP0zUE7n+luPwWIgPfj3N5de3L6BQAgFf0 X-Received: by 2002:a05:6402:138c:: with SMTP id b12mr17675770edv.28.1572908951327; Mon, 04 Nov 2019 15:09:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1572908951; cv=pass; d=google.com; s=arc-20160816; b=oUxVXpxzycgbjojYKyvcfNj3sjZalCTOjqzuVqi23Wn/hyQy4MrNlfJvqZshnnIq6T VamnLKESoupY8MrGSmUeCkmcekxt+8f9SUVr+zb8MID57uwX/EjSXgCYUqM4E4+GunaK pt5N3LHMzTlTf1J/JlE3s3Z7GekbWV5XIuifg0Ut8Ff8Lj2Z6rqGFfr13FaoAfwN47KF B3FXb7dDaMDxsoij9K0bQJJW3LCrUSaV11c3rS++gbkNb7BumUH6JiUADgDcd+A/rtLM IKVHpVMeVf5a5GKUXTsBqxapdIW1CKi/1i9o+wWn2PpyWtOwYYCj4XLa7a44VhBjeQRT mj8w== 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=ReIx7euwgGmysoA14OOiX7RZqMXlEd29DtQn1yy3KNs=; b=qwfdEy1peBY+Ktg4pVLZRN6g48xsPfc78+zwspS6WJ0r7POSv6uCiuk3GUm69aZTzb 29QsjlX2QmyuL2BFqiLfOzPT+0E/cOws6ittQ+fYnBEoWIwUzk77D86fQOKYlVmcS6Ng 9VJZEMGXfplEHElkx14gB1sTVgXM+DY83p7EveVZo9hl97VOJmTz0MitHDmRphe72m9Y uM90BVuXBxe5U8mQlfHNO2RhaAIVds+84mPS4ONesD8qPxKW/4ScFIBYYTrSSb9hgfD6 +UIm1Q6Jeqdij0euOcDcWsIRhnS/zpeIq2JBzt7s9U/8AFEe9wl6OetGviVd1XQk4MNe E3DA== ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=KEoKhbmb; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector2-sharedspace-onmicrosoft-com header.b=Ygtt5iXP; 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 qp18si7282980ejb.100.2019.11.04.15.08.34; Mon, 04 Nov 2019 15:09:11 -0800 (PST) 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=KEoKhbmb; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector2-sharedspace-onmicrosoft-com header.b=Ygtt5iXP; 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 S1730003AbfKDXHB (ORCPT + 99 others); Mon, 4 Nov 2019 18:07:01 -0500 Received: from esa2.hgst.iphmx.com ([68.232.143.124]:52984 "EHLO esa2.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729758AbfKDXHB (ORCPT ); Mon, 4 Nov 2019 18:07:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1572908840; x=1604444840; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=ReIx7euwgGmysoA14OOiX7RZqMXlEd29DtQn1yy3KNs=; b=KEoKhbmbU21WWTtiMSEawwZqLuxxtx4vLzi75/umtK6IAce6bu5XrT8e AuSJwfr6AsAClc2eFxzCmsZkTSI/VEw7vgPe9kAgk6qdIu7chr9N5ARJm u1ZPRUGi6FpcQCQM1m/yTSfzTKUh6MUGwYAR4hHvvXFqGI5y5kNeuni7B cBrYRd8r6XoXjFSXHdT8MRu5PIPPQdefrfDNlLRS2+vXecw4fprnTMzfr D+pdaFP4qdYJKHElKdaNhAbhLDiIMNASjxQ1wIHwE2Zaoq2fT/4BC3oVW I85LPCGPcBZV7SfTq0s8V8e3Ev+/CoS4ZyfkN7ieU2ehLuLYi2yVh2ses Q==; IronPort-SDR: jI3Ns0UyeXSQ9lFgtXIuHMHNvmBHSrEguiXOcQhfvjT9VbB1SorkdrW5Ax32k3/kaFrB1ZBieh nHbaYxIzZ/oqauB9s2RCcme27BKVH0fS/IHOwC5VCVGoSB0yKSUfcJwamaE682eApSaC6IsjLg ny64330pFYEZwawmDfv0RudPi8QQK0EFHH+GNU1QUUq9Nhjy+3sRZizvPglctAG5rhRvqT5HqR GzqxLjo8xMUjUBrTV6IExzIsdPMbn5vOiGiz4SoV+mjyIYd6VHz3dQRcVsk9Yx6wdqlM3pEwTX UfE= X-IronPort-AV: E=Sophos;i="5.68,268,1569254400"; d="scan'208";a="223291062" Received: from mail-co1nam05lp2053.outbound.protection.outlook.com (HELO NAM05-CO1-obe.outbound.protection.outlook.com) ([104.47.48.53]) by ob1.hgst.iphmx.com with ESMTP; 05 Nov 2019 07:07:12 +0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SEtuOjtB2+7BeKjPDiPHtFYjCw5qSytpPf+Im7vVjKMc0I5G3rRT434VFuxvAOcP1dlSFftcsrqQe05PbcLMwGcZd+dd9xIs3x0K9+GHSENNj0WirKgMTtNGPwwhcp5eez+eo8xRLunKEPTEySh0jHyU/E5BXJB7GpDgmipXWIi+8DTA7JRNDR8dxaPh98J22ujfj4IgrL2Kk7/n5NrBCreZTzA9rvtD8Bhfmu5iXd7ogjfhZP4s3OCbtYnMXKV/i5rQXpY09uVc3L0CJAUilFM2FuKxuImGb6aeQ9vwiYl4OilXmUZTZ7BnxEdGLbcNXENFG2cVSZVWUqbNxOkV/g== 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=ReIx7euwgGmysoA14OOiX7RZqMXlEd29DtQn1yy3KNs=; b=FUZIuRrq4hsHLcY8F0gahTFMu2tRPLiCyWrTA+OXWnnunhhbqhTaynPDs4FDj/1F6ETJiuS37FXbdR561PoMmFlhdC+oVghmWnapbky3kPN5ucTv138baZnhbwv3KMXMXeLNoydV0GGHCZ9CVzKR8SK4NK5NzPlQhxdCxMQiyKPeeS/UXtx3KKETxBzOwaYxVBaoBVDEpjduYC9Yw06N/w9ijkhbJ/3TG/Grj/fMXceP3ICbhMqazVjsTX+CURZtAE+kYaLIqIe8epq4edaezoCy/IE4l3wCpeTtfr72yFrdhwYncH8y8Fp2AXbcW8naqmCC/1BaTgYffJi6g2FzkQ== 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=ReIx7euwgGmysoA14OOiX7RZqMXlEd29DtQn1yy3KNs=; b=Ygtt5iXP9O+jwK1M7b7639HrixXBo9QFpuOIJJ5H9kP3yiRiTbwPc9fuzhwYPvxoLc9JbMtWJW7AE/Iv0p413M+F2ZCqRo4C9sY73LGQpTLnhgTtcmLiV3gpwQ1k2tlBkPPclNClHx9ed+oHD8/JmPy60IQz6MsN4Tph6qmGW0w= Received: from BYAPR04MB3990.namprd04.prod.outlook.com (52.135.215.29) by BYAPR04MB4902.namprd04.prod.outlook.com (52.135.232.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2408.24; Mon, 4 Nov 2019 23:06:53 +0000 Received: from BYAPR04MB3990.namprd04.prod.outlook.com ([fe80::9012:2102:b53f:d5f1]) by BYAPR04MB3990.namprd04.prod.outlook.com ([fe80::9012:2102:b53f:d5f1%7]) with mapi id 15.20.2408.024; Mon, 4 Nov 2019 23:06:53 +0000 From: Atish Patra To: "paul.walmsley@sifive.com" CC: "linux-riscv@lists.infradead.org" , "gregkh@linuxfoundation.org" , "info@metux.net" , "linux-kernel@vger.kernel.org" , "rfontana@redhat.com" , "johan@kernel.org" , "anup@brainfault.org" , "tglx@linutronix.de" , "palmer@sifive.com" , "aou@eecs.berkeley.edu" , "allison@lohutok.net" Subject: Re: [PATCH v2 2/2] RISC-V: Consolidate isa correctness check Thread-Topic: [PATCH v2 2/2] RISC-V: Consolidate isa correctness check Thread-Index: AQHVfu0fDoAFDM4020SNIx23VNFenqdgImCAgACZzQCAAAjDgIAbBkwA Date: Mon, 4 Nov 2019 23:06:53 +0000 Message-ID: References: <20191009220058.24964-1-atish.patra@wdc.com> <20191009220058.24964-3-atish.patra@wdc.com> In-Reply-To: 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-ht: Tenant x-ms-office365-filtering-correlation-id: ac4a04fe-38df-4a8b-fa68-08d7617bae84 x-ms-traffictypediagnostic: BYAPR04MB4902: x-microsoft-antispam-prvs: wdcipoutbound: EOP-TRUE x-ms-oob-tlc-oobclassifiers: OLM:10000; x-forefront-prvs: 0211965D06 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(4636009)(366004)(136003)(39860400002)(396003)(376002)(346002)(189003)(199004)(305945005)(6246003)(2351001)(102836004)(5640700003)(6486002)(486006)(2616005)(66066001)(476003)(446003)(8936002)(7416002)(25786009)(8676002)(4001150100001)(2906002)(7736002)(11346002)(81166006)(81156014)(4326008)(86362001)(14454004)(5660300002)(6116002)(3846002)(2501003)(478600001)(71190400001)(71200400001)(118296001)(186003)(6506007)(256004)(6512007)(66556008)(66946007)(6916009)(76116006)(66476007)(64756008)(66446008)(99286004)(76176011)(316002)(26005)(54906003)(229853002)(36756003)(6436002);DIR:OUT;SFP:1102;SCL:1;SRVR:BYAPR04MB4902;H:BYAPR04MB3990.namprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:3;A:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Q7jZJgLOTRKBnkccvxJRCtKJ2f/rclTp4vRuQgmtYUpzbYnXtKRs0HHYk1iFBgqMcRJFShmdDav+SPwRCR9ysjDaHXQD9/hZtQrIPgWCCvZE0h8+P+4CAI/1Uv7Ly1N6xdVhiF7GzC/nNd5EzF+3WGYvI+sadZo0vsf38YOHf91PQ6HPHEQjAVlo4Sf4pifJGbdlgkUWPZ6vbKRA3WG+ZxzSofO7JsXR+f4oqzSRGczoyiS2irEIxLSoNe33vcJGGl/XU5bJvvKWyXJBprwO0n4Ex2nzfB291FOn9qUwLBMHt4aSNl8Fzoa3lx8LFK3dzU5LB3M2Yr+BQJILdzlfWOpM/cAAySNZcUv5nLl14h+G1fstZWC9+S+URfcn6RNtL/JetaXNi5bCeTqOKxd31OW7AzzfgM4nRtbuKMPUSkMrkCf6zBSkvvvgoZprf415 x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: ac4a04fe-38df-4a8b-fa68-08d7617bae84 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Nov 2019 23:06:53.1187 (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: wAoRvUHCO8rlpy1wuzWWaJwM6m8yjCCj3v6hA7Yb5EpSBwX7/KqYeNDVKDvFe+I1+jporvRUoTudVn3t+ZwOUw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR04MB4902 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gRnJpLCAyMDE5LTEwLTE4IGF0IDExOjI1IC0wNzAwLCBQYXVsIFdhbG1zbGV5IHdyb3RlOg0K PiBPbiBGcmksIDE4IE9jdCAyMDE5LCBBdGlzaCBQYXRyYSB3cm90ZToNCj4gDQo+ID4gT24gRnJp LCAyMDE5LTEwLTE4IGF0IDAxOjQzIC0wNzAwLCBQYXVsIFdhbG1zbGV5IHdyb3RlOg0KPiA+ID4g T24gV2VkLCA5IE9jdCAyMDE5LCBBdGlzaCBQYXRyYSB3cm90ZToNCj4gPiA+IA0KPiA+ID4gPiBD dXJyZW50bHksIGlzYSBzdHJpbmcgaXMgcmVhZCBhbmQgY2hlY2tlZCBmb3IgY29ycmVjdG5lc3Mg YXQgDQo+ID4gPiA+IG11bHRpcGxlIHBsYWNlc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