Message ID | 1448974985-11487-3-git-send-email-noamc@ezchip.com |
---|---|
State | Superseded |
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 A3B471400DE for <incoming@patchwork.ozlabs.org>; Wed, 2 Dec 2015 00:10:50 +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 1a3khl-0004CF-At; Tue, 01 Dec 2015 13:10:49 +0000 Received: from mail-am1on0092.outbound.protection.outlook.com ([157.56.112.92] helo=emea01-am1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1a3kce-0005HL-6q for linux-snps-arc@lists.infradead.org; Tue, 01 Dec 2015 13:05:34 +0000 Received: from DB5PR02CA0016.eurprd02.prod.outlook.com (10.161.237.26) by AM3PR02MB1138.eurprd02.prod.outlook.com (10.163.183.140) with Microsoft SMTP Server (TLS) id 15.1.331.20; Tue, 1 Dec 2015 13:05:09 +0000 Received: from AM1FFO11FD032.protection.gbl (2a01:111:f400:7e00::115) by DB5PR02CA0016.outlook.office365.com (2a01:111:e400:5805::26) with Microsoft SMTP Server (TLS) id 15.1.331.20 via Frontend Transport; Tue, 1 Dec 2015 13:05:09 +0000 Authentication-Results: spf=fail (sender IP is 212.179.42.66) smtp.mailfrom=ezchip.com; vger.kernel.org; dkim=none (message not signed) header.d=none; vger.kernel.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 AM1FFO11FD032.mail.protection.outlook.com (10.174.64.221) with Microsoft SMTP Server (TLS) id 15.1.331.11 via Frontend Transport; Tue, 1 Dec 2015 13:05:08 +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; Tue, 1 Dec 2015 15:04:43 +0200 From: Noam Camus <noamc@ezchip.com> To: <linux-snps-arc@lists.infradead.org> Subject: [PATCH v3 02/18] ARC: [plat-eznps] define IPI_IRQ Date: Tue, 1 Dec 2015 15:02:49 +0200 Message-ID: <1448974985-11487-3-git-send-email-noamc@ezchip.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1448974985-11487-1-git-send-email-noamc@ezchip.com> References: <1448974985-11487-1-git-send-email-noamc@ezchip.com> MIME-Version: 1.0 X-TM-AS-Product-Ver: SMEX-11.0.0.1191-8.000.1202-21974.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; AM1FFO11FD032; 1:XTMWsvt2/INCs5QAZa/e7fzgHMqmobRx6J7P/+Gv1tqkNwQjmlg3gnD3OC1k1nINfLJvPEbT+l7Y/HDK/L/iPoLMmcacrjOdOPSUu4HsmyrU1TUwP2pDTPKJFq8GQK4BxsvQHIaAmwMuXfAv9aDTJTfYfol0guapztto5uqElRBUyUpmXjORse9AAkpqHeC/F9Ncxiynp6U3+WD9BHypMuak2K9lwvdVcNByf+8PNfzBBrnGBgN2hA13kmTqg3UItNBygJTpCj7TRe49p5UllFIGBRvSZA9hUZPv2bm1vMuaY8dBd8qeMA6kMY1AwXf1fWGdXnTmsbgtvBh1Y00DFu5n6479SzGqwvDr5+BgL3q1ETdObFsJtQ+FtdwcyPXzCrnUsyoB5KLsc0x0MBTKFwK4qA+O579mUhVvUt+eoo0= X-Forefront-Antispam-Report: CIP:212.179.42.66; CTRY:IL; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(19580405001)(85426001)(33646002)(2351001)(1220700001)(4001430100002)(110136002)(107886002)(49486002)(87936001)(5001970100001)(105606002)(36756003)(229853001)(106466001)(5003940100001)(77096005)(50226001)(50986999)(76176999)(2950100001)(6806005)(50466002)(92566002)(47776003)(86362001)(48376002)(19580395003)(189998001)(5008740100001)(11100500001)(1096002)(575784001)(586003)(104016004); DIR:OUT; SFP:1101; SCL:1; SRVR:AM3PR02MB1138; H:ezex10.ezchip.com; FPR:; SPF:Fail; PTR:ezmail.ezchip.com; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; AM3PR02MB1138; 2:l6n0NwBMbX+Uce9CMX1tp1AWEcZ5KBVNpvCf++W0UWbaQzXRiXz7COEwU7rmMRMHqc/oOovBDX1srATSKiAOfChFmIz70tZsyHvOrXQ1gjNsbk0y2keWjz2kl8UfXkjCTaCmfk+aXes+NDWTRdYYjw==; 3:KQrr1/CODKpvRi08cwGM2YpoC/NbNm4QLEIqaWiwAzw1qjxBSX9gGHbOX6AwHbz1BPgGYEx3ABSxcroMgKuCaWSE4hWfrABwJBdDdKbAhki6pI1Qzsgc/l6Szt29ii8Ns46yB9M5EVW428M+EPsYhWPvDRavXWnR9doB0dUs2lm/1U3crDuLLKUu75YSXFcMvRS7ojXJcn2qnE/PcrmxdpPDrx26DW4ltFgijNmIsBw=; 25:amR0XXvY4zXB4Swy8hdHCviFhQeGoIavzGgGsPO2reiZVhJt1R059elLVEuQG/uBrWmL6RxB7KYZgl4gObiNYvZoTj24AWAMDmJICHj3VygGJ8guJHqwRC/FPFgebdvCN4RagQd4/JB22TJG8NUHC3et9tRW/oxOiCNN0pi3YOJubzcXV0pPtBzIph8hpb6HMwukKbXwJOVw/7Hm6Le5+qhmCG1VfJJN8y1S9hG17KQ2NlgFAYnkULduCyxaZpxCAzeFxMmkmxd7yo0d2PCSVA==; 20:XRI82XGQRYUBeDTihWrPwOFek+sXi3SDiKVLw9MjmpX6PSY20PWygqV82HUGTT+AdDS6gpvFxlDKMdaFsijpu2f5VXHcVtGTp0jkXfpxp6MDB/C/1vJOR4Fqu+nE5C31aTMM34OTo9HaYQO8QYuiJAzO0renADUkwVKD2DD/oGs= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:AM3PR02MB1138; X-Microsoft-Antispam-PRVS: <AM3PR02MB1138C1D4A68A24F627563FFBD60F0@AM3PR02MB1138.eurprd02.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(121898900299872); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(520078)(5005006)(10201501046)(3002001); SRVR:AM3PR02MB1138; BCL:0; PCL:0; RULEID:; SRVR:AM3PR02MB1138; X-Microsoft-Exchange-Diagnostics: 1; AM3PR02MB1138; 4:GlNrYqvmCHxKfNuNt2zkl/tD60U1S4ZhITKc0rZ0j4dnijSLU9VMT+LHnvQBQJx3/4zZuhVs+DdqcuGgR9kYqS6+0zPkih9/iIaVmEZTJDszqDJ7+NrZZzWJ5SWToEe/7KZR5Riu+kL++XPQ0IXi4q9RwpWww5VWPTVj/bZRQ+Kf59fxbKFAPNWBKMbPEtzxk2TR7UPd8oDxwDQVx3uANHQHALy2jkhgAKUxS2RP+YoORZDBmHuL3bb259hzSYqTg25EyWyUlwwncr+sePhXv3Ef0mxZKFqrTCY5+GIhsz18UUsDUKKcNuCMKWLxfong3Vr1MGcxdsk4+Qq+zWCVnn7Bnv1QspG1Y+rG/dJyCMl2ma+M4+TD++t+BHmv8bsK+U4cGmhEuLlntnuh2eqpKdUOM5hwDg9cRtHGpMbwBfZYqHSCh+34wMW0rRoOx2dw X-Forefront-PRVS: 07778E4001 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM3PR02MB1138; 23:GB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-ascii?Q?C2negoqKFE/faPxnhHq/lWMWWIc0g8GC+sfNDtrHmOXcaVGyk/RDSBsl0Bwq?= =?us-ascii?Q?2JpTSPPYTV7vrcztmivYwvIHhIIA/0gQpOUrsei0vbEHo/YLPoKoJPVEZ4hX?= =?us-ascii?Q?PmkFY2acw1PpKN1gJdUtlrdH1OJs+LBVvQweEM6QWQc8bOMlh/tb0XfEikoK?= =?us-ascii?Q?UHBM+UeGxKd+wRfSf9qwNQisNEwWS4/bx4JkDY3EUqdcps55E2ZYBZCVaQYq?= =?us-ascii?Q?Ufhh3eIRv8=3D?= X-Microsoft-Exchange-Diagnostics: 1; AM3PR02MB1138; 5:C0QChdNjRRKSAn1fNLvK+2eaIyPsK1fOBRMTx/sQurTAL2n3YvqTek8otxfy0vI1yFGO/wzV7YuQgaxRRBzGeaMTCIm1bzHr1NZ2TZk6IJveLNfUueVRDVoBoRQCGgHyq4OnyF9Qr4dVovd1OK6YYA==; 24:l9/oTAxVAFRftIiwcL8x5wKmc4RGDT2gdasRDvS6q+i6cSxWKciBXLzm9fmsfHflw5FHgfevPrQIaL0jAN6oI4Wd1A+AGjNpayxrupTIU7M= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: ezchip.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Dec 2015 13:05:08.0172 (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: AM3PR02MB1138 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151201_050532_727761_161AE7DA X-CRM114-Status: UNSURE ( 6.79 ) 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.92 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [157.56.112.92 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO 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: cmetcalf@ezchip.com, 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