Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752632AbbKBHwl (ORCPT ); Mon, 2 Nov 2015 02:52:41 -0500 Received: from smtprelay2.synopsys.com ([198.182.60.111]:54371 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751332AbbKBHwk convert rfc822-to-8bit (ORCPT ); Mon, 2 Nov 2015 02:52:40 -0500 From: Vineet Gupta To: Noam Camus , "linux-snps-arc@lists.infradead.org" CC: "cmetcalf@ezchip.com" , "gilf@ezchip.com" , "talz@ezchip.com" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v1 18/20] ARC: [plat-eznps] define IPI_IRQ Thread-Topic: [PATCH v1 18/20] ARC: [plat-eznps] define IPI_IRQ Thread-Index: AQHRE99PLRYqKm2DA0udx719p+fcYg== Date: Mon, 2 Nov 2015 07:52:37 +0000 Message-ID: References: <1446297327-16298-1-git-send-email-noamc@ezchip.com> <1446297327-16298-19-git-send-email-noamc@ezchip.com> Accept-Language: en-US, en-IN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.12.197.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1319 Lines: 39 On Saturday 31 October 2015 06:53 PM, Noam Camus wrote: > From: Noam Camus > > We add IPI irq definition to be used later by any > irqchip such NPS400 IC. > > Signed-off-by: Noam Camus Again this break bisectability - it needs to be placed before you use this #define in patch 3/20. Anyhow since you are doing stuff via DT, why not get this value from DT itself instead of hard coding. > --- > arch/arc/include/asm/irq.h | 4 ++++ > 1 files changed, 4 insertions(+), 0 deletions(-) > > 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/