Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1540306yba; Thu, 25 Apr 2019 01:17:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqwLHIDMV9HDmYHij8BsHzC8YTA74yryt0Oh2LA/I48Lf2TMSytPm22bqZhiVN0KFk9/unQw X-Received: by 2002:a63:d250:: with SMTP id t16mr35660314pgi.288.1556180258724; Thu, 25 Apr 2019 01:17:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556180258; cv=none; d=google.com; s=arc-20160816; b=lAqiJXmGF7ZqFxFO6HKrKHv9sTq3wDyKWmXRA6SovKXFJYf4+TOVT/g/YN/F1v9e7E 1o3KVIXPWB3V7jufdKhXo+nd4RpQAzzdvO465+7AZ6T3YPBQLb8ki5nnPlmf1IO5R9e2 1SNkb5vnt3vsJLNCVsM/PxQJzsKuRorI6yEKxkkIOUTQWQ1GKW2XyOOwD9XxXJ93Gr9G sN37WBfjrEZeOPbOg+Ge5Xmng+5qAQu7lVOXvwXsLm2+sdimPBSPm5gzQ0hA03MhceOo ryi036SbdXDZekX8O1XU/9CZ+49AC7M/LNkKfy13pw8MNfxOAv5gfs9UcmFUSL+4HUo1 LQlA== 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=tXF0+Sgwo6f/hlvIo2DQ7O1Z1n6PVRbgXCBswBGwVLY=; b=FhgWXVlXFmj5Biwa6k7OzhpQtHtPa+Hro5d2wlec61BmYjm2IaaHQAZvmu9yaHZv9L RF/Nc7Y5Vt+gqi6hnchsJTAZv4AnstqGJtdxnOU66UdL/n6xRCZYtIdiS+yKmyFnIVwt ZuZZ5tWCSNsWxDU9K3Mdo/GE1PS5zVjMY6WwJhxAbcJoImSNrNL65sFIWWtenxlBL5uR yf/xVhco9HaLXGKPw7NxUGRA3CsGJX1tJQWdYtKUx+kpCpI8dqG/oIZjloUZ6cxK6RYj +cYpCA7WAmE11fS3yuqqml4fTY/S6AnAxL45MUQuuUma+c/H65b6SHlhMRejkXk+RvMH lYhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=b+eu9RzB; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector1-wdc-com header.b=fTIInJTn; 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 g17si11493626pge.27.2019.04.25.01.17.24; Thu, 25 Apr 2019 01:17:38 -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=b+eu9RzB; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector1-wdc-com header.b=fTIInJTn; 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 S2388756AbfDYFux (ORCPT + 99 others); Thu, 25 Apr 2019 01:50:53 -0400 Received: from esa3.hgst.iphmx.com ([216.71.153.141]:26629 "EHLO esa3.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388228AbfDYFux (ORCPT ); Thu, 25 Apr 2019 01:50:53 -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=1556171452; x=1587707452; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=tXF0+Sgwo6f/hlvIo2DQ7O1Z1n6PVRbgXCBswBGwVLY=; b=b+eu9RzBD1aDQYjE1s+WIsjXvMBujkfFQ8gp7qg6EnXuGVmFeAojVkTn WltGUp1SuE6uW81kGLJoU1fiorejgLCjNDhCjVctYK1t5sE4uELM/AAhj imyyNOc3HpKm0+VuGOZE+JlOVymLJpku1inYtCe+/9qYvonZNtdN6V0vO 2yocUrMVhBNb9+pg47BwjUI0C4wFv0vu0OkY5J1GJD6WBOHqDxBz99OMf uagdPEdf9XLjfv9PtHTe7pJqGoAjhnajMXqeFESRdnVj3VEf2ctzqNAch EirAcrubg7w5iLqprzYV+r+GNVlZhVQ8bNlbchxmD2H06Au0Cg7WXbZhK A==; X-IronPort-AV: E=Sophos;i="5.60,392,1549900800"; d="scan'208";a="111723191" Received: from mail-by2nam05lp2053.outbound.protection.outlook.com (HELO NAM05-BY2-obe.outbound.protection.outlook.com) ([104.47.50.53]) by ob1.hgst.iphmx.com with ESMTP; 25 Apr 2019 13:50:52 +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=tXF0+Sgwo6f/hlvIo2DQ7O1Z1n6PVRbgXCBswBGwVLY=; b=fTIInJTnNuYf65gIycpzXHrsN/1Np2+aZ7cIqXOEF+Zz1uDaTgp4Z0Vu3aumXVIRnLePcCmM3bYR4/b6N4BegglAEecIzEwZX6pDzjsFcgYUhVD8JPjdqS2i2U+QxNb3zyRRLpy7drt7+eCuaEpB7rJi9XeWYXv2pkUCoJqW4Cs= Received: from MN2PR04MB6061.namprd04.prod.outlook.com (20.178.246.15) by MN2PR04MB5552.namprd04.prod.outlook.com (20.178.247.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1813.12; Thu, 25 Apr 2019 05:50:50 +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.1813.017; Thu, 25 Apr 2019 05:50:50 +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 v4 2/3] RISC-V: Add interrupt related SCAUSE defines in asm/csr.h Thread-Topic: [PATCH v4 2/3] RISC-V: Add interrupt related SCAUSE defines in asm/csr.h Thread-Index: AQHU+yrWFZqJVy7gAUCSnXFDUgxCNQ== Date: Thu, 25 Apr 2019 05:50:49 +0000 Message-ID: <20190425055015.45487-3-anup.patel@wdc.com> References: <20190425055015.45487-1-anup.patel@wdc.com> In-Reply-To: <20190425055015.45487-1-anup.patel@wdc.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: MA1PR0101CA0039.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:22::25) 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: 4bbe0788-0df1-43a7-6d63-08d6c941f850 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020);SRVR:MN2PR04MB5552; x-ms-traffictypediagnostic: MN2PR04MB5552: wdcipoutbound: EOP-TRUE x-microsoft-antispam-prvs: x-forefront-prvs: 0018A2705B x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(366004)(39860400002)(376002)(346002)(136003)(396003)(199004)(189003)(6486002)(1076003)(2616005)(476003)(76176011)(14444005)(486006)(50226002)(256004)(66066001)(7736002)(305945005)(73956011)(2906002)(72206003)(14454004)(446003)(478600001)(11346002)(6436002)(3846002)(6116002)(66476007)(316002)(64756008)(66446008)(66556008)(66946007)(54906003)(110136005)(6512007)(8676002)(6506007)(386003)(71200400001)(71190400001)(186003)(86362001)(4326008)(102836004)(68736007)(2171002)(5660300002)(81166006)(26005)(81156014)(53936002)(8936002)(97736004)(52116002)(25786009)(99286004)(44832011)(36756003);DIR:OUT;SFP:1102;SCL:1;SRVR:MN2PR04MB5552;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: m4KHtMs97/UwCTuqwCLsQTsVDodeCDpfPrnwUfbzNalitpWhWcyjXhftZzCcp6tuhdg/byU1C6DadQo2RC8H88HtW6T24I559UhyEKCJJXc/P5Ckln555xqvZJqSI2vIPWuRSyO2SuyrN4IRUzqoxwyEeh7AfF1B1MEi9WRJ4FKw+GNLaK9WJXMP9NcrvYQE5IOdjaObUlAL7hcMn4IPGL4aezhVEqrMA/42FCrcHQAHAoWO+fNTtscN/b0Ya8s02OSnr8YusvApBVFsez3ib3A0bFk786x+zrlorGe6hCkc4cvAHD4bwFW/L0J24nlsGaNsvQCyBK4m5RFLiT6n93djm55ByeVzEfZEls3KcHQdpQVBeAbU4chlmEgZ/QsHgZBCGSeThBhHwvRVnaItVqLUuJiFmGqFfiNiEd9DCdI= 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: 4bbe0788-0df1-43a7-6d63-08d6c941f850 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Apr 2019 05:50:49.9374 (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: MN2PR04MB5552 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 ICB8ICA4ICsrKystLS0tDQogMiBmaWxlcyBjaGFuZ2VkLCAyNSBpbnNlcnRpb25zKCspLCA4IGRl bGV0aW9ucygtKQ0KDQpkaWZmIC0tZ2l0IGEvYXJjaC9yaXNjdi9pbmNsdWRlL2FzbS9jc3IuaCBi L2FyY2gvcmlzY3YvaW5jbHVkZS9hc20vY3NyLmgNCmluZGV4IDJhZTU0YTczODZmMS4uYWI0MGE5 MzZjYjJkIDEwMDY0NA0KLS0tIGEvYXJjaC9yaXNjdi9pbmNsdWRlL2FzbS9jc3IuaA0KKysrIGIv YXJjaC9yaXNjdi9pbmNsd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