Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp4786812ybh; Tue, 6 Aug 2019 18:14:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqyqBnUEpljwbXfPmB8p6k5SpGq5fN3FWKryKC2LoIQJ+KzJ8Ibg9Lb7G/bct0CC2A4B1Yqu X-Received: by 2002:a17:902:7686:: with SMTP id m6mr5778671pll.239.1565140472657; Tue, 06 Aug 2019 18:14:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1565140472; cv=pass; d=google.com; s=arc-20160816; b=KwNciD9JzOfJroSg3f0bPVcIAN/DnC+Is22hT2IB9RCtRr6zEHOKr+9ilpIK+8l/b2 1EgTkw1LPA533kzYLlK8bsjAJdeSo+TazweQ9bHWPQn/jYHgmYX2URuL/l0nuLU8Uwmp flKkvXNYE2+SuVno9JSgIuKbBhtDQkmGY4ZgmHMr/Kn5IDitccluHRt5mLB+hAZHyVi2 AaPV3XGot+TBIoVOdJOv9oYd65DwxNWMnzVSCCOy05IBnFtL65ns0gJuJekypiqVzbX6 SgHrVroWZDL9Z2M6+s0szuHHICrlOWAf8ik4vCU/aZZQeC1xy7K+/y62mEuAPUUYOTzZ IpeQ== 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=y9DXexklj4DH4N+MEDF/aqzOQagA02It45aZlweZBWg=; b=k0A4XCGb6rRtJ05H8lSO9cE1rxIum828MP1546krgdonEOPsKABeVbTh+qa8McLTfO FY2jOMlehf8aQnvidEGqOUQX/A2B57pk1WKIZTqjiJ/nB5vZ+P878tAMSp48DEaL52Gh YuQAqQFjPQ713mAuBvuw0nAPBd9PDH+QL7IS4yeAv4UFfdX4Slxm28wqufFKyBNtzE2K 4/iuGQ2mfw84TxQcpyPr9zU4ulegWMYqRUW0wWKSAD++ZPzalBEcCdNz65/vp3zfbMxw 8oIuMTwILjdCcNXdJxOiOIs1pfyZknqMpn2O8QBUb3AtP/C7rb0kXDT+ndwwpKAzHDNL NflA== ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=ersQ3ADq; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector2-sharedspace-onmicrosoft-com header.b=iRO2sZuM; 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 d5si41987536plo.396.2019.08.06.18.14.17; Tue, 06 Aug 2019 18:14:32 -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=ersQ3ADq; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector2-sharedspace-onmicrosoft-com header.b=iRO2sZuM; 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 S1727788AbfHGBNT (ORCPT + 99 others); Tue, 6 Aug 2019 21:13:19 -0400 Received: from esa4.hgst.iphmx.com ([216.71.154.42]:61929 "EHLO esa4.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727527AbfHGBNT (ORCPT ); Tue, 6 Aug 2019 21:13:19 -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=1565140399; x=1596676399; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=y9DXexklj4DH4N+MEDF/aqzOQagA02It45aZlweZBWg=; b=ersQ3ADqU4+ymUABgArAfifBrlUVDZcetDCl3AngErK5g2FoIzm2+nX6 SjnXeYmMuBGKucZQ3+/s5lhfPQCKk8LYTDLdNr5evAx01kpWNINY9Dykb lHg2IoVbdONTjElRqcZHHsxbZzWIFpbMekR3iQyRHobajIGzhnKg8nK7P GZr7tA3MYs1STVpIKZYrZWnD59HXRRlodDoVxnICrXSYfKKvR3u57xopM pL3B/RLghBFG9wvS2Odgcd6P5tpJ8wIOrcVeqf0MdRmvVMTWxI7B7AJz2 MngTFHq4aUFURgpLrWpC3DpKFX9FH9vwnujnQIRCzEoUL9g5Lh3P/jQQr A==; IronPort-SDR: Xkm9nTVt77sCI4yrw2HiO6CT1C7V1TADxyR9uBoHtNCWQnTOobz7bRVMARW79FA3ukkezVevOC CzhAGkrJKmhnC+22b5PnJPOcZkzOTZanN6YgCVrAmkZ2ND8y6OYSGUiviwLgJGBxDG7W8zbUyP 7UMFwZCd1io+3yZaW4Co5+XIMo/5JhwfORlzYXYFEShiL+xwY7fT/c7nKWOKAuqTFyhdP1KrrC LMU3VcqPyLMw/Xvgb6L7vljrIkiXBmgHa9azt1lnMdkXriWctBFgfHP7jEKhcGtdQH5PsfbgEr Puo= X-IronPort-AV: E=Sophos;i="5.64,353,1559491200"; d="scan'208";a="115200113" Received: from mail-by2nam01lp2050.outbound.protection.outlook.com (HELO NAM01-BY2-obe.outbound.protection.outlook.com) ([104.47.34.50]) by ob1.hgst.iphmx.com with ESMTP; 07 Aug 2019 09:13:18 +0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gxPOTjKZwsZ+Y0C2qDM2h3CNM0nJjMa2J3c5guiAKcnSiflMsBBRQpQS8/JrqnhyfC3o5u6gKLIzqqWzCb7Sc5EjH98RB+3PLgXvamxixpwC6t4PEHmeF6tyE7K9MXwyJrOtmKw3LLxGCwvogNmKTOl68lPiEwNuRBTuefotLZSZ8o1QKqk0+nBMPCQj/rXMu2X+wA6fk1EYSFK27gr0bw2fDRiIH05gGh0S8rPKF1QkJXAJMHFZP1A72QmTR1hErAeB2ey0z3CSzd4wWFosIWdWeqPaW4qXHLgLyx1hUB+Jw7bJrvqQrAC7OaLf4/8BXWF2NN+SXgdgXm9+g9d/jQ== 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=y9DXexklj4DH4N+MEDF/aqzOQagA02It45aZlweZBWg=; b=Jt32pD8CQ1o95QcHqp1OUrV1PBxiw9znUf84VaXaVV0CtQJk/NQKhbQq6Inu/OlH05x/HVlReuxYFlab/UgGCo+N60rgvsLE7Kr0Ox2S5fVCB3AluF6mVyDsE5ZYxZ8hqQLWqZ7xf3M+OONJBwA80jcOtHtckFgWwhkgVQ5k7FVqP85Eo1aD+Oeaiuv1xHdX3wUOeMQU6AMh2IwTFiqcziDtLXl3VaG8lFrmvIGG5kojM5NmHqF8asuplJ5Hs42a5RHaslMFgIBTaEuIs/+HicgzLGRWr9heGicSSGgcSaBYnihwC5qE0zzMBQ2yAdSSksrRvFIXwtZzvaXWBQccow== 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=y9DXexklj4DH4N+MEDF/aqzOQagA02It45aZlweZBWg=; b=iRO2sZuMQ+0virrKO1riY0Pdcx/Q/qeKPd+wUswxZZNiGgou5dmxDRb3/dcao+BMYoyPDJk9twrUFJRUXPNvuF0dzSShfhAvLehEXdFh1DVtKd2bZt6PQSh9AfHCvvAZKJFZUYT75UliWzjk/p05O/IMFYGRQq9gy+VKSOf2qDM= Received: from BYAPR04MB3782.namprd04.prod.outlook.com (52.135.214.142) by BYAPR04MB6104.namprd04.prod.outlook.com (20.178.234.96) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2136.15; Wed, 7 Aug 2019 01:13:16 +0000 Received: from BYAPR04MB3782.namprd04.prod.outlook.com ([fe80::ac9a:967e:70a5:e926]) by BYAPR04MB3782.namprd04.prod.outlook.com ([fe80::ac9a:967e:70a5:e926%7]) with mapi id 15.20.2115.005; Wed, 7 Aug 2019 01:13:16 +0000 From: Atish Patra To: "paul.walmsley@sifive.com" CC: "info@metux.net" , "allison@lohutok.net" , "palmer@sifive.com" , "aou@eecs.berkeley.edu" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , "tglx@linutronix.de" , "daniel.lezcano@linaro.org" , Anup Patel , "mark.rutland@arm.com" , "robh+dt@kernel.org" , "johan@kernel.org" , "tiny.windzz@gmail.com" , "gregkh@linuxfoundation.org" , "gary@garyguo.net" , "linux-riscv@lists.infradead.org" Subject: Re: [PATCH v3 3/5] RISC-V: Fix unsupported isa string info. Thread-Topic: [PATCH v3 3/5] RISC-V: Fix unsupported isa string info. Thread-Index: AQHVSARDLwisRSZSxEGpcN8B9TVet6buzP8AgAAdjQA= Date: Wed, 7 Aug 2019 01:13:16 +0000 Message-ID: <1e23ef1face9d323fda4b756811f922caa5f7689.camel@wdc.com> References: <20190801005843.10343-1-atish.patra@wdc.com> <20190801005843.10343-4-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-correlation-id: 4acb7e1e-8db5-4781-da02-08d71ad46d76 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:BYAPR04MB6104; x-ms-traffictypediagnostic: BYAPR04MB6104: x-microsoft-antispam-prvs: wdcipoutbound: EOP-TRUE x-ms-oob-tlc-oobclassifiers: OLM:7219; x-forefront-prvs: 01221E3973 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(4636009)(136003)(346002)(376002)(396003)(39860400002)(366004)(189003)(199004)(6916009)(99286004)(11346002)(446003)(476003)(2616005)(71190400001)(71200400001)(486006)(68736007)(316002)(7736002)(54906003)(2906002)(305945005)(14454004)(5660300002)(3846002)(6116002)(8936002)(8676002)(81156014)(7416002)(14444005)(2351001)(81166006)(256004)(118296001)(76116006)(4326008)(64756008)(66446008)(66556008)(66476007)(66946007)(86362001)(25786009)(66066001)(2501003)(478600001)(36756003)(186003)(53936002)(102836004)(6506007)(5640700003)(229853002)(6436002)(76176011)(6486002)(6512007)(26005)(6246003);DIR:OUT;SFP:1102;SCL:1;SRVR:BYAPR04MB6104;H:BYAPR04MB3782.namprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 8SQSCmcA9mINJrSVu3q9pESjf/zLo3OKKGxeRB3jL6mCslme3IP8REUJBiM+Bl9TQgA9SrBYxetGHIo9LXBm/sr/iyMarJii6tik7120g3wvGD/fs3mS3PX1caA3XWbF10CfjAtHluf51RB5awaCugMraoPpi2e+LuSbs5kT0lhAl+Mjj8xYsh9HDcNE8GsgpEtQm9PtNMOsXM54Bylgde8I1WGaYVX1g7D0eQQWsSf5JGSKJL07N5Wpn83SwlBOP2Ew7Z3ZY37O10V1l+mkKS2+b/B6mFurNa9jDxtrmud6LgfH+3H8snsveL/HI8HKnRvCW4nNybmmKXh8cW1ETefTwweM+kXjZ8/7SzFOp9dbu3mzXHu7PspgPGbrSGvBwmx2R5e0Bc0es53OgKa6yLCm30dyqwZpiAztuIhMfsw= Content-Type: text/plain; charset="utf-8" Content-ID: <491CCE35E6E1AF498E1AE2926EFFB451@namprd04.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4acb7e1e-8db5-4781-da02-08d71ad46d76 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Aug 2019 01:13:16.6050 (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: Atish.Patra@wdc.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR04MB6104 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVHVlLCAyMDE5LTA4LTA2IGF0IDE2OjI3IC0wNzAwLCBQYXVsIFdhbG1zbGV5IHdyb3RlOg0K PiBPbiBXZWQsIDMxIEp1bCAyMDE5LCBBdGlzaCBQYXRyYSB3cm90ZToNCj4gDQo+ID4gQ3VycmVu dGx5LCBrZXJuZWwgcHJpbnRzIGEgaW5mbyB3YXJuaW5nIGlmIGFueSBvZiB0aGUgZXh0ZW5zaW9u cw0KPiA+IGZyb20gIm1hZmRjc3UiIGlzIG1pc3NpbmcgaW4gZGV2aW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