Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1485419ybp; Wed, 9 Oct 2019 15:05:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqwj2nqZ44dPnhe6fLIDIRhHjw19d74kuFosR71mo2qLXtJ9IGdl9hLWJrn/iYdZE4qdeP4R X-Received: by 2002:aa7:cd06:: with SMTP id b6mr5283270edw.58.1570658749332; Wed, 09 Oct 2019 15:05:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1570658749; cv=pass; d=google.com; s=arc-20160816; b=D2WQhfCJTQTXcehLujGBhMZQaiS0mzWBF/Ub1+Wbder7O8n0C7BPEgClVRG8JP/zYm jUPE7DMv5+QaaIBIe6YpCt0v2FbWOtO6JbcIvVs2DkyYdXAmM+EXSu2coe6HpHC7B/lY 3Gt+MBYxCWayM1a7XWnNDPe0NmJi8MpDyaZxnu8Jmf/rz9TvGE5wE7vqeuFlHm9hpNGK iJCFJJzHJlpQcB7n6sDCq8xl3mnta57vDvK3TxwqJosqMk54VUYo3c2FaSH871QUUi2p jCTcIIeUtbnoT2sGKsTSh6VM5n1zGXAFAGBp3ssu0dqzu342B6LWWZuExnP4cw7r4Zwn AA4A== 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=+zsaZc6kxpwaRjehPSTssL3stLwWwuaV9Og6AnYp1GU=; b=TYugPosTJFdgZWBh5uzUb7RvV97xJveRkDMyQ7dWonKWsc5InSujjmbXK5U1sDye39 Y1Ztm2blwZi2Mz76L155En73yOm9ANuYfYt2fJ3TOgloou8X0sYdgJZ2IURj+xBJ6svj VdT1xgX8UT7S7pdbwsUSdGplKJRv8XPe+vT6C6+BElZWHCArvUXSTrIq5oY6pB6fk7AL JN6aFZlWUHa7LgfpYD5GJr6qR2sfri0f/PLC0qcqHmABIfQQ61kMB4/aUWzkUQVwJdaR 0uqd6j9WtoNdyPs5w2oJdgky7HVWcl2xZcAEyt3Jb5SErnhNR3Seezy//YopH1Sdkni9 CiZA== ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=O0h7sRfT; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector2-sharedspace-onmicrosoft-com header.b=EmrSZwBy; 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 b33si2388326edc.265.2019.10.09.15.05.25; Wed, 09 Oct 2019 15:05:49 -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=O0h7sRfT; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector2-sharedspace-onmicrosoft-com header.b=EmrSZwBy; 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 S1732082AbfJIWC0 (ORCPT + 99 others); Wed, 9 Oct 2019 18:02:26 -0400 Received: from esa3.hgst.iphmx.com ([216.71.153.141]:3692 "EHLO esa3.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730809AbfJIWC0 (ORCPT ); Wed, 9 Oct 2019 18:02:26 -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=1570658546; x=1602194546; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=+zsaZc6kxpwaRjehPSTssL3stLwWwuaV9Og6AnYp1GU=; b=O0h7sRfTolrsbRalfJAq8aNJc/VbxENt1SsTNmACvsY3BZvttVzCWPhR V4TpEvB8C/GirnWKe7l9FrHJt5p+1S3akqdGayrVXO7DfSDD8OCriMOBl IAko81UX5EQFpWo9wAk1wkhcqVnerjW329qainK/RK15eG8l/Ql8dEPU0 wP9+YBHNRuwCSq0zFY9gYxCtSdkquc0xteJ6sZl33QgH+TPi8YpVRlBqE 3A9vyD4WYwjq+b2M/SQYNhU8x2RMVcgvt0V03CGvQuEI+mRpkk+dNyOTC n8eFSkIY8oGQKf5hV1RB7b6IPXY+ZlOxQ9cUseJ/qTuu+PJ+yes3evxE2 w==; IronPort-SDR: g4DVKxNJNsTgbZCVowb9EVMk2kF0VBA3ygDRnI76AfWUfntHRZirEg9klW+mz+hO5VQ3LXkp21 F7vb7ccanTN2v2TLVex5W3FjNhEEuoonbwkQblk3/FUqhHPt/tcFoFWsBA9oK6namLGbRr4eUR 1UcVnBb2XoaAVn3zxJq2cxcE7VAAup31a3py+0P9CNmHnu7ScsjLQX0hm31Ac65aroCX1MEcnr UH8l0XS9ZXaitCm+N+8WRFqep0X/dxjTpQf4Unb4LVUTT2VXSwVdSb+SAj1Zv0WWTo516tJtK6 OTA= X-IronPort-AV: E=Sophos;i="5.67,277,1566835200"; d="scan'208";a="124618111" Received: from mail-dm3nam05lp2058.outbound.protection.outlook.com (HELO NAM05-DM3-obe.outbound.protection.outlook.com) ([104.47.49.58]) by ob1.hgst.iphmx.com with ESMTP; 10 Oct 2019 06:02:23 +0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ChgIetBlMxCaxTGojATCoSCsVH18MkWDiDXQ6Mlr1eJCo9V+jRAKQsXrApCx8Rswh1dx3sZ2rhP0VNIiBKVb9Cqm2rq/Igtiv8n1s+Vbjbw2IZbQibIj+g1IHl1qZhN91RstluTX0wd59hBfLqDAmA/MwR20isaAdVQ+AlngPpH/s21WXBYNE+K4PrYHYXH604GkaJpT9tpfgPBnVkk3X4CYTHRnSMvYMTBTh/Ht11pH6ACX3tSWq8jWJoI08i+FiMaojrsbsmjsLL+d+0sbPVZikPK9KOMLEtJ+RevjZyEmU3dFmupOrq8WP3PrufVm4CqKSUk5rk7V4PzG9F+mfg== 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=+zsaZc6kxpwaRjehPSTssL3stLwWwuaV9Og6AnYp1GU=; b=XAgcOr66jxTmZFajZUfTC24QHRpMSIsNRmCE6iPfV0Wx3xz1V93v/mvqsVBtOuSEGXk7bQsi9F2r8tz2ID6KVHZFJzjiFlP9kDpsSd0bEslGQWjR798zSENhOswH1YrkfpekmKdrHtRMUgCTP8qmsftZbX/wI7DrYayh9TCyAzsZONG9IzULyOpbKjsZeW7NjMicFG4Uxr+mov1ue31MgTRHXsKPBJ9SNIXXapZcDweWTqxzZ1vHsKXE02pQQ0O5MLJm8RP66MGyuCXob141TkbNccMJ4+Kvdct793h9wrc2MAO8veUBJX96XuUXA5ng5j91qUPlmeB6xi63qAF2pQ== 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=+zsaZc6kxpwaRjehPSTssL3stLwWwuaV9Og6AnYp1GU=; b=EmrSZwByQmz2bp7lHDefUxxgFeNFz2qM3Il7VkNObWdLFrxPFgk2bX5RxzJBP0AS9glJiOZqgOVDPu0OzPudRNMuvd6CgoWOdoEChu/9tAJTFi+Uc7XIyjjfOy4s3kIzgOWtp1ESyGaOTvX5hkLcYtAFvjbBrsPJSMtiokQo6T4= Received: from BYAPR04MB3990.namprd04.prod.outlook.com (52.135.215.29) by BYAPR04MB5030.namprd04.prod.outlook.com (52.135.234.220) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2347.16; Wed, 9 Oct 2019 22:02:21 +0000 Received: from BYAPR04MB3990.namprd04.prod.outlook.com ([fe80::51dd:7de9:c4a1:f9f3]) by BYAPR04MB3990.namprd04.prod.outlook.com ([fe80::51dd:7de9:c4a1:f9f3%3]) with mapi id 15.20.2327.026; Wed, 9 Oct 2019 22:02:21 +0000 From: Atish Patra To: "hch@infradead.org" CC: "paul.walmsley@sifive.com" , "linux-riscv@lists.infradead.org" , "gregkh@linuxfoundation.org" , "akpm@linux-foundation.org" , "aghiti@upmem.com" , "aou@eecs.berkeley.edu" , "rfontana@redhat.com" , "johan@kernel.org" , "linux-kernel@vger.kernel.org" , "tglx@linutronix.de" , "palmer@sifive.com" , "anup@brainfault.org" Subject: Re: [v1 PATCH 2/2] RISC-V: Consolidate isa correctness check Thread-Topic: [v1 PATCH 2/2] RISC-V: Consolidate isa correctness check Thread-Index: AQHVelHdFNDYeeaoR0C47HAPlzL9UadQ6c0AgAH8AAA= Date: Wed, 9 Oct 2019 22:02:21 +0000 Message-ID: References: <20191004012000.2661-1-atish.patra@wdc.com> <20191004012000.2661-3-atish.patra@wdc.com> <20191008154408.GC20318@infradead.org> In-Reply-To: <20191008154408.GC20318@infradead.org> 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-correlation-id: c8e42985-e488-4b6a-1755-08d74d045c21 x-ms-office365-filtering-ht: Tenant x-ms-traffictypediagnostic: BYAPR04MB5030: x-microsoft-antispam-prvs: wdcipoutbound: EOP-TRUE x-ms-oob-tlc-oobclassifiers: OLM:6790; x-forefront-prvs: 018577E36E x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(4636009)(39860400002)(136003)(346002)(396003)(366004)(376002)(189003)(199004)(256004)(6116002)(71190400001)(4326008)(2351001)(99286004)(476003)(478600001)(2616005)(5660300002)(7736002)(2906002)(3846002)(7416002)(54906003)(36756003)(305945005)(316002)(76116006)(229853002)(71200400001)(66446008)(446003)(6436002)(14454004)(6486002)(6506007)(8936002)(11346002)(2501003)(102836004)(6512007)(6916009)(64756008)(66556008)(76176011)(5640700003)(66476007)(6246003)(25786009)(486006)(86362001)(66066001)(81166006)(118296001)(186003)(1730700003)(26005)(81156014)(66946007)(8676002);DIR:OUT;SFP:1102;SCL:1;SRVR:BYAPR04MB5030;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: BCL:0; x-microsoft-antispam-message-info: xQ/mBFQsv7knGYm4Dp7Bc6C9h/GqlvFn1lQJ/7y5p8ftxcoLpAg5C+TurWgWdizAQHNHGNmXVqx9Nm6EIszIgjFjXXJ3UcrZwDeqmZ/R6C3g/ZXa0pP4oL0zD8y5WHNFhcjtaM2uwRiygzY9MOatZL8st+w4wPGlrSRlD5K99JvKsGBWXckNsBEa1msiA7lV82a5NF8dCDjoSISqvjU2XpfmLGdnqSK9+pbIgvzbdxJ4Dh1PCEn+UucuY0VH6AdSMCDkP1q9Wz2cqSt3wVU+4Ds8xKurTp/L0rmnU9qKq7INyuSufv9Dez43q6mL+BPzr9qoRlPFVIGmlPTm+PJHxSid1PKVGM4rkccT2dlPF9dyu6JE3/frnJy0w3ocNKQ2XmtlXalI2FV2E/pNMun0SW+FJdRL9hyVrv7EQjwtPNc= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: <599FA5FC1033F84281BA3C35FA81F1E3@namprd04.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: c8e42985-e488-4b6a-1755-08d74d045c21 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Oct 2019 22:02:21.5166 (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: BpNmY1RNeJgqwLLe2iOj3yEw4+JRUSnvOh/6H4L/2BwBDhzftJ5YUcdjmNsVq2hOYTVZx85G3DLOMDeCEXrEHg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR04MB5030 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVHVlLCAyMDE5LTEwLTA4IGF0IDA4OjQ0IC0wNzAwLCBDaHJpc3RvcGggSGVsbHdpZyB3cm90 ZToNCj4gPiAraW50IHJpc2N2X3JlYWRfY2hlY2tfaXNhKHN0cnVjdCBkZXZpY2Vfbm9kZSAqbm9k ZSwgY29uc3QgY2hhcg0KPiA+ICoqaXNhKQ0KPiA+ICt7DQo+ID4gKwl1MzIgaGFydDsNCj4gPiAr DQo+ID4gKwlpZiAob2ZfcHJvcGVydHlfcmVhZF91MzIobm9kZSwgInJlZyIsICZoYXJ0KSkgew0K PiA+ICsJCXByX3dhcm4oIkZvdW5kIENQVSB3aXRob3V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