Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1990577yba; Mon, 15 Apr 2019 02:38:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqyZtNKxnSl2NkXJrw7JBE1c53HzUm2r+0n6022f1vtl263PCTetXLzoodv19T4gmh2F+cYH X-Received: by 2002:a65:484a:: with SMTP id i10mr69778338pgs.408.1555321088594; Mon, 15 Apr 2019 02:38:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555321088; cv=none; d=google.com; s=arc-20160816; b=dsh4vBVBX3G16wtaD6PbObhCq43CQIUMMdnP5Z1iwB+v1C93BDE2nnvxyyaX7A21Ma y4dczo5kGG18bzCPi694i47juQiQKpCgs5yaFkFsOzACka8zNvL5NEOsKvm68f5fqrGQ 1PKBJtv40kRGx2u4GcF796sbBW99ErRUCqy8g+iWRVVF/HvDv1EYpCVGBPaXEm54BxOd em+tsIh2YN83rwisiNlO/vWcXWw8J8yk4molSU0Q97Q9wt6LRnJFwpq6ayfexZeF57K0 4Rm+nqK3QF2ut+0hQao/2LISC2MrJpd+PrNjhnytEPfu8Wa6Egqgzz+qPXpP0kz6wvZK GFoA== 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:message-id:date :thread-index:thread-topic:subject:cc:to:from:dkim-signature :dkim-signature; bh=uVc0rYrF6bkwZJkr0j51meyFXSxPSJ7x7pN5wFNzDPE=; b=jMuK8B+CNWIA3PKr7asQ7p0G1YGoMzQPYRcb0voBeVHYdznTP+OuSvFVZ9/qM9a+0C tZ2EI5SM/7IahREoKPuIl7Z0BbZZ3Th9zQam/8WBtwuBVaAQ/4skufsm1IspF7xfQuuh ltHdDrA9Za61bYREiAysa22wUVxpt6CNb9uGMXZ1TMmWbc7nIj+Z6c05727TPUnqFxeW M9DO1lg3rtZHJBDRO4whEXOknZBZNBrg6iPoH5CWIKx4QSfVr95aODsDbIEOJJtGQLBS KxGZRlm+z0nPcQm5FhWgUDJpThupYIQSCLb/WHjeAXIMakRpC2TD3P53IAbT4MEITApz 2OsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=UukdD1Yl; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector1-wdc-com header.b=OMiEtW+X; 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 v4si44719824pgj.138.2019.04.15.02.37.51; Mon, 15 Apr 2019 02:38:08 -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=UukdD1Yl; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector1-wdc-com header.b=OMiEtW+X; 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 S1726413AbfDOJhP (ORCPT + 99 others); Mon, 15 Apr 2019 05:37:15 -0400 Received: from esa6.hgst.iphmx.com ([216.71.154.45]:26128 "EHLO esa6.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725779AbfDOJhP (ORCPT ); Mon, 15 Apr 2019 05:37:15 -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=1555321035; x=1586857035; h=from:to:cc:subject:date:message-id: content-transfer-encoding:mime-version; bh=uVc0rYrF6bkwZJkr0j51meyFXSxPSJ7x7pN5wFNzDPE=; b=UukdD1Ylu3QrOK2YTToHVNQ20oyXXhVpYYdJUmRXwYahSvtlCJF+y0Ok oOQwqPW3U0BSzBg9Esq29CsOBdHuIwmz6LDWbDFLzHjhS/jT661PxXJ26 GqIblscjMKaSy+TeW7kFf/VOqO4WvJz3/t5qp3mEo5ZFeUo5m+U6xrgJK irB1kh/JYhF7E6LBPh/M9YStrYKUkPqsj3Ch+R8Qm5s0WJd9dgItXdjGf bPmqoLKBJ9t79+LdRpQTRN3PFu1Cl4b3A6+TXQK3NYaBP33HWggq4QFdz LlDcm283AVF0zu66x19VIEQER9YDLb9s9gKC9gjZr8kLMMwT4SYLi6eQM w==; X-IronPort-AV: E=Sophos;i="5.60,353,1549900800"; d="scan'208";a="107725747" Received: from mail-bl2nam02lp2059.outbound.protection.outlook.com (HELO NAM02-BL2-obe.outbound.protection.outlook.com) ([104.47.38.59]) by ob1.hgst.iphmx.com with ESMTP; 15 Apr 2019 17:37:14 +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=uVc0rYrF6bkwZJkr0j51meyFXSxPSJ7x7pN5wFNzDPE=; b=OMiEtW+XtgA74+26qyDhwbeKDthKfS+ar8BT0HvkOTJg18FDWGd6b/oTt2DqeqByCVg9ul6CBw5hjanncqTX5+YZm1asgMeSSqV0h+4i4OIkXIwVDGH/Q8mgpFUzVmUO6Ddzf29GGoAuOmxWdehfGFHaiJhEzf1Rsi2U7Cz0CGU= Received: from MN2PR04MB6061.namprd04.prod.outlook.com (20.178.246.15) by MN2PR04MB5677.namprd04.prod.outlook.com (20.179.20.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1792.17; Mon, 15 Apr 2019 09:37:12 +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.1792.018; Mon, 15 Apr 2019 09:37:12 +0000 From: Anup Patel To: Palmer Dabbelt , Albert Ou CC: Atish Patra , Paul Walmsley , Christoph Hellwig , "linux-riscv@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Anup Patel Subject: [PATCH v3 0/3] Allow accessing CSR using CSR number Thread-Topic: [PATCH v3 0/3] Allow accessing CSR using CSR number Thread-Index: AQHU827N/wQBBtLuc024oFhZoiTi3Q== Date: Mon, 15 Apr 2019 09:37:12 +0000 Message-ID: <20190415093648.7525-1-anup.patel@wdc.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BYAPR04CA0022.namprd04.prod.outlook.com (2603:10b6:a03:40::35) To MN2PR04MB6061.namprd04.prod.outlook.com (2603:10b6:208:d8::15) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Anup.Patel@wdc.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-originating-ip: [129.253.179.161] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4c7a71c6-0587-4e54-8a7d-08d6c185efd9 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(5600140)(711020)(4605104)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020);SRVR:MN2PR04MB5677; x-ms-traffictypediagnostic: MN2PR04MB5677: wdcipoutbound: EOP-TRUE x-microsoft-antispam-prvs: x-forefront-prvs: 000800954F x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(366004)(396003)(136003)(346002)(376002)(39860400002)(199004)(189003)(4326008)(71200400001)(53936002)(71190400001)(26005)(476003)(86362001)(50226002)(186003)(5660300002)(54906003)(3846002)(6116002)(102836004)(97736004)(6512007)(2616005)(6486002)(316002)(105586002)(110136005)(36756003)(486006)(6436002)(2171002)(6506007)(386003)(478600001)(44832011)(8936002)(8676002)(68736007)(72206003)(81166006)(2906002)(7736002)(14444005)(256004)(99286004)(14454004)(25786009)(1076003)(52116002)(66066001)(305945005)(81156014)(106356001);DIR:OUT;SFP:1102;SCL:1;SRVR:MN2PR04MB5677;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: 7tlLPd2jDmQdBLW/ULXvdWWe+Ag3/3LNHJ0Ick07wFsTFld7ZnRwITx/Eq6AUpegK1YQlyqu6BcJOmlnNfTSvUWEBUbDyYGmf2vS3HTVI9VWSXiA1V7oOvWIrYj4MjU3GkwnxsRw369Z01NhrnROURXLyCaHRAiq4bBhc+kXzFs3duCz/bfYsAQBrpDpm5bMbp7DZNLBbbuhvQpCwVC2nhKGW9vduSPkQX6AdkD/4CUqAxuMcTz8DgPGijdf/9diWg1LIZbdBUfdat+2v8G6rMm2MGM7hExF2b7vK23gGU4vBYquX2KT1s3JiO6fYKPv41uW4HBn7X0zJ8KS6JGNxHDG7CmRkSE3XCx9OAZNHokOEkX4zfxcDXNo2dpeTzhWrlGK2aUeiFNTFvQ7dvCwhz5/wZAagQdEwCR0hzcHevs= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4c7a71c6-0587-4e54-8a7d-08d6c185efd9 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Apr 2019 09:37:12.3620 (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: MN2PR04MB5677 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org VGhpcyBwYXRjaCBzZXJpZXMgYWRkcyBzdXBwb3J0IHRvIGFjY2VzcyBDU1IgdXNpbmcgYm90aCBD U1IgbmFtZSBhbmQNCkNTUiBudW1iZXJzLg0KDQpBbHNvLCB3ZSBzaG91bGQgcHJlZmVyIGFjY2Vz c2luZyBDU1JzIHVzaW5nIHRoZWlyIENTUiBudW1iZXJzIGJlY2F1c2U6DQoxLiBJdCBjb21waWxl cyBmaW5lIHdpdGggb2xkZXIgdG9vbGNoYWlucy4NCjIuIFdlIGNhbiB1c2UgbGF0ZXN0IENTUiBu YW1lcyBpbiAjZGVmaW5lIG1hY3JvIG5hbWVzIG9mIENTUiBudW1iZXJzDQogICBhcy1wZXIgUklT Qy1WIHNwZWMuIChlLmcuIHNwdGJyID0+IENTUl9TQVRQLCBzYmFkYWRkciA9PiBDU1JfU1RWQUws IGV0Yy4pDQozLiBXZSBjYW4gYWNjZXNzIG5ld2x5IGFkZGVkIENTUnMgZXZlbiBpZiB0b29sY2hh aW4gZG9lcyBub3QgcmVjb2duaXplDQogICBuZXdseSBhZGRlcyBDU1JzIGJ5IG5hbWUuIChlLmcu IEJTU1RBVFVTLCBCU0lFLCBTU0lQLCBldGMuKQ0KDQpUaGUgcGF0Y2hzZXQgY2FuIGJlIGZvdW5k IGluIHJpc2N2X2Nzcl9udW1iZXJfdjMgYnJhbmNoIG9mDQpodHRwcy8vZ2l0aHViLmNvbS9hdnBh dGVsL2xpbnV4LmdpdA0KDQpDaGFuZ2VzIHNpbmNlIHYyOg0KIC0gRHJvcHBlZCBQQVRDSDEgd2hp Y2ggYWRkZWQgYXNtL2VuY29kaW5nLmgNCiAtIEFkZGVkIG5ldyBQQVRDSDEgd2hpY2ggYmVhdXRp ZmllcyBhc20vY3NyLmggYnkgd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