Message ID | 1451222619-3610-4-git-send-email-noamc@ezchip.com |
---|---|
State | Deferred |
Headers | show
Return-Path: <linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:1868:205::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 7F66C140CC3 for <incoming@patchwork.ozlabs.org>; Mon, 28 Dec 2015 00:27:33 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aDBMC-0000qK-1n; Sun, 27 Dec 2015 13:27:32 +0000 Received: from mail-am1on0077.outbound.protection.outlook.com ([157.56.112.77] helo=emea01-am1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aDBM9-0000nh-Ed for linux-snps-arc@lists.infradead.org; Sun, 27 Dec 2015 13:27:30 +0000 Received: from AM3PR02CA0042.eurprd02.prod.outlook.com (10.242.240.42) by AM4PR02MB1442.eurprd02.prod.outlook.com (10.165.242.144) with Microsoft SMTP Server (TLS) id 15.1.361.13; Sun, 27 Dec 2015 13:27:07 +0000 Received: from DB3FFO11FD042.protection.gbl (2a01:111:f400:7e04::176) by AM3PR02CA0042.outlook.office365.com (2a01:111:e400:8800::42) with Microsoft SMTP Server (TLS) id 15.1.361.13 via Frontend Transport; Sun, 27 Dec 2015 13:27:07 +0000 Authentication-Results: spf=fail (sender IP is 212.179.42.66) smtp.mailfrom=ezchip.com; linaro.org; dkim=none (message not signed) header.d=none; linaro.org; dmarc=none action=none header.from=ezchip.com; Received-SPF: Fail (protection.outlook.com: domain of ezchip.com does not designate 212.179.42.66 as permitted sender) receiver=protection.outlook.com; client-ip=212.179.42.66; helo=ezex10.ezchip.com; Received: from ezex10.ezchip.com (212.179.42.66) by DB3FFO11FD042.mail.protection.outlook.com (10.47.217.73) with Microsoft SMTP Server (TLS) id 15.1.355.15 via Frontend Transport; Sun, 27 Dec 2015 13:27:06 +0000 Received: from localhost.localdomain (10.1.3.132) by ezex10.ezchip.com (10.1.1.4) with Microsoft SMTP Server (TLS) id 14.3.224.2; Sun, 27 Dec 2015 15:26:42 +0200 From: Noam Camus <noamc@ezchip.com> To: <linux-snps-arc@lists.infradead.org> Subject: [PATCH v5 03/20] ARC: [plat-eznps] define IPI_IRQ Date: Sun, 27 Dec 2015 15:23:22 +0200 Message-ID: <1451222619-3610-4-git-send-email-noamc@ezchip.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1451222619-3610-1-git-send-email-noamc@ezchip.com> References: <1451222619-3610-1-git-send-email-noamc@ezchip.com> MIME-Version: 1.0 X-TM-AS-Product-Ver: SMEX-11.0.0.1191-8.000.1202-22026.007 X-TM-AS-Result: No--0.618700-8.000000-31 X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; DB3FFO11FD042; 1:WgOkhXdIXjkLOcJz2UG/aVjHzlcX0KP6h1dVS6FjNVBlyrgGOO8P7n10Zfk6054/v65TMnl2COdseIOEqIkJiSrQ2NGZcslcYkCMxqVzS2ftt9mdeq0JjGdvoFXhi9le7bprtxLyOsCqhpLdjWcj5f3r3xxqzsrthEmSHe9jrL/mgVkjRsB0wvRwt8Y/K0tRqPn0wOaq1jODDYI0u+Yf3rhm8Hge7JM6coqTrszyCRbqNbPCTe0GwGKD2h0x7FuLRVkBP6nrWpuFJ8+Ckx20PRU72qu+bIy31677HTStoJxWuli1bKGQF2RjcfR1lYU7rahyO5CQrF1HjcImfMI4p5NTBk4H+v6brZ0HlORcvHa+LQc0ahC030ye8E1opHC9MqrlSP+xWSl38NWWIxP4/O3ORE/734Zhmyo1cQu+6gI= X-Forefront-Antispam-Report: CIP:212.179.42.66; CTRY:IL; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(19580405001)(50986999)(50466002)(5008740100001)(6806005)(36756003)(106466001)(4001430100002)(575784001)(86362001)(104016004)(49486002)(76176999)(92566002)(48376002)(2351001)(2950100001)(77096005)(50226001)(87936001)(85426001)(5003940100001)(105606002)(229853001)(107886002)(5001970100001)(189998001)(110136002)(47776003)(11100500001)(1096002)(586003)(1220700001)(33646002)(19580395003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR02MB1442; H:ezex10.ezchip.com; FPR:; SPF:Fail; PTR:ezmail.ezchip.com; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; AM4PR02MB1442; 2:XuBmubUkHTe4IT5AGJn6ZoBWa+dkmLeMw6BginRO9+YIwUX4wehhpsX5bskFHfLYn26Mg3W27g5EmR2I8/qdaILDPlxeNXwKLyRoHMNSvRjzLzyBPbfE3jyAvBdAMfIdl9Wt4/RyPF27SneVUZwj1Q==; 3:W3GFdFCQhKdaDMyQbZEjVKxjFHlzZPpDxiDsPT+Mgc6Ac16mS1x1wF6taRb5mWV+QRUGRVU6/rVy3m/I8xLQR5DO32yzioFSYBMGEfJkUcFtoxbigTdN4KtsbdNACbz8m7XnjBubhbkyk760AsvQkuEi6v31dQRWVMzRJghlIsm8M5lrnz23qaMkyQZWJKP616jN/zVO+l42PD3ID2gEF467oNGbHCQKilC0xts5tXQ=; 25:99oxmOaaZbVaZzbyhR9o4ESMBibgCW6YZnDHMa3qgCCsigm8EWiYkduLKleJ7lbRvwdtlg5l7zb+9uevZ33vWMzc/J9pPw+nAN/TW0+I9y4cTXbfHPf+9ZAzprh4u7h8xjoaIPmNjUfyTi5up7JnGVjVTAcmDUH6yk9Gcelr1kVvHRS6DJwchOOcaVsEkm5SupFGwDVrVuTIp1GsUHkHItzoqP3bxkH3BnC+92mmp7jHVflgQYTw6CezL8uKqbQ6MHBl5GakrAkmKBwyQHnogw==; 20:EXOYOz0EkOrnGkyPD7Poq6oYpvreWu/5bW7jKF4sRZYUZfRc3m5b4Bk0FIa4NVOEk+UlQdEJ+R63SQegwAlVZu+nhhaZT+WcMfD2/Oo5IVpfT1Bvpz4n/XneIv2Vl5eW8aJkUc7arLf3FqbCqvFgZmFCvH43MZSvpww81RFlgos= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:AM4PR02MB1442; X-Microsoft-Antispam-PRVS: <AM4PR02MB144276DB233657E79498C183D6FA0@AM4PR02MB1442.eurprd02.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(121898900299872); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(520078)(8121501046)(10201501046)(3002001); SRVR:AM4PR02MB1442; BCL:0; PCL:0; RULEID:; SRVR:AM4PR02MB1442; X-Microsoft-Exchange-Diagnostics: 1; AM4PR02MB1442; 4:wWXdpsHB3bHZzMaP/9rax1iwfm9IXPzCle7ZuJBzHcJfDutCvlCDqDAZ0zApI7Pdlw8QiQRfeL4V9X0HtFtMvF0UVX+vQZozIszlV8FrbEOIFG1g9DxvgULoOwP9Q3Ph/SbNR7vGhbeANCqaN0AXBb2W3ZggjJG6+hPMIQmL2KR8Qa4P237eQmlIbmLgf4eBkVkamnLvXp50JKHjJ6goyO5iOv2O4qQQnvyGn5R0KKnxC/DmLgEapdbjM5qVZW6U1vcMUL6hj7Zh2KBH802EzKJG1bYN3p1hMQfyMg8idD1hY7E4QSLx9TFJvFEl3UWP7p8OLIvSGiJGPvE9uF/tCa8v6uqvpC+ed6VaPgw+9UZrQkppWxJSnnH1WWuBPVleu1tBEaRvt6C3qDqZAej80Xi/cePZDcQ7DbgGbv0LEKv8MzhBrETW7Fsw6NfsTqi0 X-Forefront-PRVS: 0803A0241F X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM4PR02M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FJttxmaa7U1Uzeg?= =?us-ascii?Q?YJ6bJ2UaHC+wcP9J94nV+hpgr+r+vk6j3XQ6OsRxY+mBlRXP59iz7vEIlLwf?= =?us-ascii?Q?RGVCYs8jphJwjFM+TLdGwG1tWGBVk6mHOEe6OEGOG2Ss+wp2pA/RoZmRoNTL?= =?us-ascii?Q?Tkgq4Dw3J7n/mxqN1WagENq4uTExsnZi9kQLT0lOVbLOOf0ek0Ni6yR/HgXb?= =?us-ascii?Q?ykw8j1JD7K2xUUvg4JI3dIv1h+yxMKDhQzlp9Q6BvB98xXeWTZIOhPDeWP1F?= =?us-ascii?Q?gOGwHZRXhM=3D?= X-Microsoft-Exchange-Diagnostics: 1; AM4PR02MB1442; 5:vIJs7Oh5yR7Bo8Rdi22Hwsx4iTMDZiQ4VM5g9CuDwIOuu1FAd09fy4XjFzVe7v6PZ0aPzeXusmrCiDUG41YZQeCMMOx1PrjF0F34QJzqV7DhUEkpl6vMf4VCUMjEAZ5GFGHAJsEJCBzO6fPT84bYqA==; 24:MRige0uKRgD+/3cf/OFjDcj8/LbN2TsrM+r/GsCDy7E22vp1nQzgCjFv1TYAVSsoytt7oW/GEU1pkbluetK24lERIUwc8QyiLeucPulGBgw= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: ezchip.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Dec 2015 13:27:06.1803 (UTC) X-MS-Exchange-CrossTenant-Id: 0fc16e0a-3cd3-4092-8b2f-0a42cff122c3 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=0fc16e0a-3cd3-4092-8b2f-0a42cff122c3; Ip=[212.179.42.66]; Helo=[ezex10.ezchip.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR02MB1442 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151227_052729_808750_74A597A3 X-CRM114-Status: UNSURE ( 6.61 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [157.56.112.77 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [157.56.112.77 listed in wl.mailspike.net] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Linux on Synopsys ARC Processors <linux-snps-arc.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-snps-arc>, <mailto:linux-snps-arc-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-snps-arc/> List-Post: <mailto:linux-snps-arc@lists.infradead.org> List-Help: <mailto:linux-snps-arc-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-snps-arc>, <mailto:linux-snps-arc-request@lists.infradead.org?subject=subscribe> Cc: marc.zyngier@arm.com, cmetcalf@ezchip.com, daniel.lezcano@linaro.org, Noam Camus <noamc@ezchip.com>, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-snps-arc" <linux-snps-arc-bounces@lists.infradead.org> Errors-To: linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org |
diff --git a/arch/arc/include/asm/irq.h b/arch/arc/include/asm/irq.h index 4fd7d62..c5f8f0f 100644 --- a/arch/arc/include/asm/irq.h +++ b/arch/arc/include/asm/irq.h @@ -16,7 +16,11 @@ #ifdef CONFIG_ISA_ARCOMPACT #define TIMER0_IRQ 3 #define TIMER1_IRQ 4 +#if defined(CONFIG_SMP) && defined(CONFIG_ARC_PLAT_EZNPS) +#define IPI_IRQ 5 +#else #define IPI_IRQ (NR_CPU_IRQS-1) /* dummy to enable SMP build for up hardware */ +#endif #else #define TIMER0_IRQ 16 #define TIMER1_IRQ 17