Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp597191yba; Sat, 13 Apr 2019 08:41:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqyp8lN5aUaqqMIekdGe1Ngrk9Z+IfKhNMauaYbXAoixbqu44NesWqveegdxjjdO/EaBEnGh X-Received: by 2002:a62:b612:: with SMTP id j18mr65239174pff.124.1555170061109; Sat, 13 Apr 2019 08:41:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555170061; cv=none; d=google.com; s=arc-20160816; b=0VKAxtSnlEIAwtHx3hgDUfDmH/0vsCd2pIQC803ltGL+ud9q9kkgXwP9eCD4H1sMo/ IBDUpFBwF0Laj10it1lHNVGfESs/iaBSnK4pvC7fyVH9N+DkJwV5spOFV5sYwhTUNOJN gKjS2rmgdGNcJsdqIYqYMdxz30SYNgcne9LBwjGtakKOhc/PQE0Sbust1DmbVZFAqi4i uJunTHkY9SU/nfCNCGEQDJ5o9TP9ZLf6Za4W8DxCNjOkClpu1iDlvil70A9PTZtyXZ/V 6woPYOkbUJD9yGa9VwPwfRZHdkU3V/YHEdFc/JzA3o9F82GcrvtzK35OOzzNNECMXYGY Lvig== 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=T9yFNNImO8CfkqoFA0/qVcPa2wZJQfUTQnvM/Z+JMQs=; b=WFr4GSwVd/0e/1Ddp2PODA2YuX13hb/Tb5Q2/trdi9yU7V9rjnZQydwsryYV3a2L/s 2QL2N3NK8RromAOWv1a7Z7RFZ1beCIz6zml7sEZhG6TRnlqLYxJVZ0jtvoeQVgk6Bz8C WTQ0K0z63ECdE+LoNXcLHZQBWAOdYtVsFwHzIogfdLppJric6MXyU/OnnLHnkwtwOuGZ 0zimF9rDClcTG+giF41vo0hm5sALZb1qeRY1QVJx9LK0ri/3xbwmzpH+20PaeQLYqD6V WBJ2hOmJpsm7em9AewFLzoJyrPy8fhI2IYyhKtScuWoFBpFWdLq9L1MDCEOSdYn0mXjE JdaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=CLgNVGHr; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector1-wdc-com header.b=T+DacslA; 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 194si37617966pfu.48.2019.04.13.08.40.45; Sat, 13 Apr 2019 08:41:01 -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=CLgNVGHr; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector1-wdc-com header.b=T+DacslA; 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 S1727289AbfDMPit (ORCPT + 99 others); Sat, 13 Apr 2019 11:38:49 -0400 Received: from esa2.hgst.iphmx.com ([68.232.143.124]:6958 "EHLO esa2.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727244AbfDMPir (ORCPT ); Sat, 13 Apr 2019 11:38:47 -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=1555170012; x=1586706012; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=T9yFNNImO8CfkqoFA0/qVcPa2wZJQfUTQnvM/Z+JMQs=; b=CLgNVGHrCD7yoMJEFZoxnylai9jwCUYuFv8NQ8QZvqJsz49FP+YJuiwj ZL+c+GU9URYTiK2dYyVgahK0Au9A9G2kVS+miJeWPITEXeJMSrdM7IN37 I7RLWfr8SIq6Dp6qzISG8jhKwEstfC2lEv9P2VGOS9FeC1Qasnajdy0+b 2k7uUTsKXpkWqylq64KU4niMuDcVr5FtOYavbrScHt6dRlqK9tlv7mrEh 38JJB7v5LdpTFa+AabTIugJRBlEb8fYo2husxJ76S7cYUV2/SqXPwlRkd sd9OjvqkUMlGgViut5pjxXb21VrVZDolyxCJGlO93Qhu9ebsFERt/EI7f A==; X-IronPort-AV: E=Sophos;i="5.60,345,1549900800"; d="scan'208";a="204828673" Received: from mail-bl2nam02lp2052.outbound.protection.outlook.com (HELO NAM02-BL2-obe.outbound.protection.outlook.com) ([104.47.38.52]) by ob1.hgst.iphmx.com with ESMTP; 13 Apr 2019 23:40:05 +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=T9yFNNImO8CfkqoFA0/qVcPa2wZJQfUTQnvM/Z+JMQs=; b=T+DacslAw7B0kZIzp5yro9u40stmtM5k+LUbRS3hdFtEunxp0NR9naTKKh4gTFIJ8NB3C9rzx93uZnj6/Qr8KfTbdaka0jSVkWu9lADvJii6YOXwfJZZP02Jb3F+Fl+oA6QTrwM/SJerMyR0W6m5qQ0eJxier9IwYcFxU1MY9a4= Received: from MN2PR04MB6061.namprd04.prod.outlook.com (20.178.246.15) by MN2PR04MB5501.namprd04.prod.outlook.com (20.178.245.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1792.17; Sat, 13 Apr 2019 15:38:40 +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; Sat, 13 Apr 2019 15:38:40 +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 v2 2/3] RISC-V: Add interrupt related SCAUSE defines in asm/encoding.h Thread-Topic: [PATCH v2 2/3] RISC-V: Add interrupt related SCAUSE defines in asm/encoding.h Thread-Index: AQHU8g739Jygn8R9+UOEL40FVTFlWw== Date: Sat, 13 Apr 2019 15:38:39 +0000 Message-ID: <20190413153807.116227-3-anup.patel@wdc.com> References: <20190413153807.116227-1-anup.patel@wdc.com> In-Reply-To: <20190413153807.116227-1-anup.patel@wdc.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: PN1PR0101CA0032.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:c::18) 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: [106.51.17.210] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 73cf40a5-6a82-4f21-fceb-08d6c02619f5 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(4618075)(2017052603328)(7193020);SRVR:MN2PR04MB5501; x-ms-traffictypediagnostic: MN2PR04MB5501: wdcipoutbound: EOP-TRUE x-microsoft-antispam-prvs: x-forefront-prvs: 00064751B6 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(39860400002)(376002)(396003)(136003)(346002)(366004)(199004)(189003)(2906002)(71190400001)(71200400001)(97736004)(50226002)(1076003)(186003)(68736007)(102836004)(8936002)(6486002)(86362001)(110136005)(54906003)(316002)(9456002)(78486014)(55236004)(4326008)(81166006)(81156014)(6506007)(386003)(5660300002)(26005)(8676002)(36756003)(105586002)(44832011)(106356001)(14444005)(256004)(76176011)(3846002)(14454004)(478600001)(72206003)(6116002)(52116002)(6512007)(25786009)(99286004)(53936002)(11346002)(446003)(486006)(2171002)(66066001)(7736002)(6436002)(476003)(305945005)(2616005);DIR:OUT;SFP:1102;SCL:1;SRVR:MN2PR04MB5501;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: +VEvovHbr6wOc2u9D0yD1PKGkzDldeGFnMbK9RZwZBOay4vx0/3eB6+KlO2lwJdUhztWs3esS+nON9kmWGfVfTF7AEbmOndQKBYfgXOVbGDZy3fksWKd06YNOOWST7UCxRdvuhcIXgVLLbV/5j1QIaVthQbBlotOy1uGj0/Q++4scfQQnm634JPe57YWcThdYZvwNxzRXc6yciQC1/RQ4XilETbd/ulIkZSQZRD1WiSWayrdJZAhbI7gYCfIPjn++W/lrNQQJ6N8M1m953gpsbxFa25vsoev+soSyMKkxBqFDT6O2s/xXolp4klWgXJtVfISd6AYRpOm52Mu868OYbaVZbI5NuY9eocvnMU9wxhHgIijpRehA0Uvvgrzxd91bsjnYeNle+ISsYgROOk88cdjz6s5k3/7g/UNIFa2ZgI= 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: 73cf40a5-6a82-4f21-fceb-08d6c02619f5 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Apr 2019 15:38:39.9968 (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: MN2PR04MB5501 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org VGhpcyBwYXRjaCBhZGRzIFNDQVVTRSBpbnRlcnJ1cHQgZmxhZyBhbmQgU0NBVVNFIGludGVycnVw dCBjYXVzZQ0KcmVsYXRlZCBkZWZpbmVzIHRvIGFzbS9lbmNvZGluZy5oLiBXZSBhbHNvIHVzZSB0 aGVzZSBkZWZpbmVzIGluDQphcmNoL3Jpc2N2L2tlcm5lbC9pcnEuYyBhbmQgZXhwcmVzcyBTSUUv U0lQIGZsYWcgaW4tdGVybXMgb2YNCmludGVycnVwdCBjYXVzZXMuDQoNClNpZ25lZC1vZmYtYnk6 IEFudXAgUGF0ZWwgPGFudXAucGF0ZWxAd2RjLmNvbT4NCi0tLQ0KIGFyY2gvcmlzY3YvaW5jbHVk ZS9hc20vZW5jb2RpbmcuaCB8IDI1ICsrKysrKysrKysrKysrKysrKysrKy0tLS0NCiBhcmNoL3Jp c2N2L2tlcm5lbC9pcnEuYyAgICAgICAgICAgfCAgOSArKysrKy0tLS0NCiAyIGZpbGVzIGNoYW5n ZWQsIDI2IGluc2VydGlvbnMoKyksIDggZGVsZXRpb25zKC0pDQoNCmRpZmYgLS1naXQgYS9hcmNo L3Jpc2N2L2luY2x1ZGUvYXNtL2VuY29kaW5nLmggYi9hcmNoL3Jpc2N2L2luY2x1ZGUvYXNtL2Vu Y29kaW5nLmgNCmluZGV4IDI5Njk5NzA1ZGMzNi4uNGYxODc4NTRmZDhiIDEwMDY0NA0KLS0tIGEv YXJjaC9yaXNjdi9pbmNsdWRlL2FzbS9lbmNvZGluZy5oD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