Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1991620yba; Mon, 15 Apr 2019 02:39:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqw/qX2eYLVbMG7jCppG4OmeJtqNagMKvben857rcPaSecWbF+kxBRmxITpLK3sHK92yRpAU X-Received: by 2002:a62:5ec2:: with SMTP id s185mr73503919pfb.16.1555321194238; Mon, 15 Apr 2019 02:39:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555321194; cv=none; d=google.com; s=arc-20160816; b=0fppIpMsRyK8Jn0xB9tngfySb6y+YSpvBl8VvVaY0YD7zlBlTcqnoIWCU22Xpn7jJ/ dUC1iabCl9KaNjugdligTGmjc7oYuh4QIGPOnhJv/Rubc3P9K7XShtnszBHUnp/epdYT GyjW8o87TtO9SpBBBYLRq7O/xft/MkK7gpurP6t5Y4U0C7enB1Lm1e6nqFvStCPjunw5 PqpMad3xQB08d+AfWyuHGZG2A7hXZFb/OOjDqHC5M1cSwMR5uSIKAwWi6We0k7TdwE3E 7L5zDWvV9gWGVaNk612mihaS5TJux+pwqak+RIOsfzsow3ajhIZKePdvSg+4EAJNkR0g rEEQ== 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=2IDNV3G824yMZZw1Lc5BZVkhjzk96LM19BohmWGDemA=; b=Fnx2dJW+zUKbxVVR61ZrLA1QAnOJh+9oYNRxTeNzCAqfFdlDcaTE7RBJ0Fky9GUKkD hZF3YrFoE6M3Na/TdwL3Zz909r5TR5WcuhdHoKpVBaT/+ejohEJX7n9QVNH9zZSgXi8f F1r2aW/K5YzfupCTEDcQ1VeiXwBpLQc2snpo4j+tzZtvIPribOjZn4Txfppdx4iGEedN VmNXtDmuhkawwaVmN1EzHb6Ci2ZhP/JQZTyxVLlrZDQRftesHFA9aN1Oox0f3nFq2uAc igMMP9PGg4pvzdm29T+wp39cksmCAWVm99yMj09S58nfJr2W9EpU8dMn96JgP29ppAiz 1rcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b="A/enW6jO"; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector1-wdc-com header.b=cO7to09u; 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 m15si3045967pls.86.2019.04.15.02.39.37; Mon, 15 Apr 2019 02:39:54 -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="A/enW6jO"; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector1-wdc-com header.b=cO7to09u; 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 S1726964AbfDOJh0 (ORCPT + 99 others); Mon, 15 Apr 2019 05:37:26 -0400 Received: from esa4.hgst.iphmx.com ([216.71.154.42]:53685 "EHLO esa4.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725779AbfDOJh0 (ORCPT ); Mon, 15 Apr 2019 05:37: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=1555321045; x=1586857045; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=2IDNV3G824yMZZw1Lc5BZVkhjzk96LM19BohmWGDemA=; b=A/enW6jOu+UQxaUFam/rCkIKkVLZn8JZMxsbm53DWVVL1rt3TrSOXQ8G RbKe+S0RW0Fb4en5dDKQIEdJyt7k9KnLAN+BvND2EsSqqPuceZ1lHMLUT q5kM36BfM7TEk7XBnqnvADN/OIqPGU4PfdMJv/0co3AMY2ZCrAuza4B5i /S97dlgxDxquIJ2zt9ep1zKTZcheMoeB+v0frTeFK/t9N5z+6bNb+AZr+ tcrAzFABlhf3mEJ4rbd1POE2eMJVmsM8aE1+hKWJ4GTbH+L54Z8Z25hlw vhz2eBJ3FSkjFOa35JqVAbLALBJDesRTGV2flLfdpO3ytctUYi0WUqK/h Q==; X-IronPort-AV: E=Sophos;i="5.60,353,1549900800"; d="scan'208";a="105984906" 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:25 +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=2IDNV3G824yMZZw1Lc5BZVkhjzk96LM19BohmWGDemA=; b=cO7to09uPOemPOKEqNbvGDZgA4smDomzC7KuCOZdmF27IS9B/GUzZKv9US1VoAS55Dx3qQWuBPTRARmg2Kq0eVgwZKNPQI2Ow43ceCY0WKhgg3TQuwiKmwgwfQyGfKRRRYpPfPvs+ENlfkp8VZm2krmzkQ2y2UUVLKZjr/VJy0w= 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:23 +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:23 +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 2/3] RISC-V: Add interrupt related SCAUSE defines in asm/csr.h Thread-Topic: [PATCH v3 2/3] RISC-V: Add interrupt related SCAUSE defines in asm/csr.h Thread-Index: AQHU827U4QwgrExo4UujjLmFmbLC7A== Date: Mon, 15 Apr 2019 09:37:23 +0000 Message-ID: <20190415093648.7525-3-anup.patel@wdc.com> References: <20190415093648.7525-1-anup.patel@wdc.com> In-Reply-To: <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: 0a3acff1-7af0-489a-ad76-08d6c185f653 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)(11346002)(486006)(6436002)(2171002)(6506007)(386003)(478600001)(44832011)(446003)(8936002)(8676002)(76176011)(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: i7yHhuKCLdco52OSqG5cBTCChXgih+/XLbb/pB7wioCiiqfZ2fDKZF0zdDVbfD2Y6re9CImqm0sTC5qDQDn3eF9DbV9Sp3nb8wvtSQu+PAI9nPdvt528k3gwQHQ8Y/3iwwdcVTIPbKSQrgt+hRmVdpW7Q+ETZmdfdQ5KEVeEjIXGDbro7N6dXYTYAzQsrfb0Cy9w0vB18DmTZY1LPjJ39l57+ljECZLS9CzJtgL4msSyxBH7WM2cfhniosDVPe6NNP5oB7ydNEwDh+cGWMH4dyfM0g957b2MweXHljkPB9vHCZcsvvleqA7v1QfLmJ4SG7yvT7viZGK6iXUrbUCJMt2PQT6kR/cQhxJNBned8vjSaKVewcSZLfZyfeptAaZ5JmVk3KuZkgRYVN426cOZHGVBBLACX4z0O+bK5bWBVF4= 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: 0a3acff1-7af0-489a-ad76-08d6c185f653 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Apr 2019 09:37:23.2117 (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 VGhpcyBwYXRjaCBhZGRzIFNDQVVTRSBpbnRlcnJ1cHQgZmxhZyBhbmQgU0NBVVNFIGludGVycnVw dCByZWxhdGVkDQpkZWZpbmVzIHRvIGFzbS9jc3IuaC4gV2UgYWxzbyB1c2UgdGhlc2UgZGVmaW5l cyBpbiBrZXJuZWwvaXJxLmMgYW5kDQpleHByZXNzIFNJRS9TSVAgZmxhZ3MgaW4tdGVybXMgb2Yg U0NBVVNFIGludGVycnVwdCBjYXVzZXMuDQoNClNpZ25lZC1vZmYtYnk6IEFudXAgUGF0ZWwgPGFu dXAucGF0ZWxAd2RjLmNvbT4NCi0tLQ0KIGFyY2gvcmlzY3YvaW5jbHVkZS9hc20vY3NyLmggfCAy NSArKysrKysrKysrKysrKysrKysrKystLS0tDQogYXJjaC9yaXNjdi9rZXJuZWwvaXJxLmMgICAg ICB8IDIzICsrKystLS0tLS0tLS0tLS0tLS0tLS0tDQogMiBmaWxlcyBjaGFuZ2VkLCAyNSBpbnNl cnRpb25zKCspLCAyMyBkZWxldGlvbnMoLSkNCg0KZGlmZiAtLWdpdCBhL2FyY2gvcmlzY3YvaW5j bHVkZS9hc20vY3NyLmggYi9hcmNoL3Jpc2N2L2luY2x1ZGUvYXNtL2Nzci5oDQppbmRleCAyYWU1 NGE3Mzg2ZjEuLmFiNDBhOTM2Y2IyZCAxMDA2NDQNCi0tLSBhL2FyY2gvcmlzY3YvaW5jbHVkZS9h c20vY3NyLmgNCisrKyBiL2FyY2gvcmlzY3YvaW5jbHVkZS9hc20vY3NyLmgNCkBAIC01MSwxMCAr NTEsM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