From patchwork Fri May 20 07:34:06 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 624388 Return-Path: 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 3rB07W4FWKz9t74 for ; Fri, 20 May 2016 17:34:31 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=K8iOxAdN; dkim-atps=neutral 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 1b3ex3-0002Hl-Ou; Fri, 20 May 2016 07:34:29 +0000 Received: from mail-io0-x242.google.com ([2607:f8b0:4001:c06::242]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1b3ex2-0002FE-5Y for linux-snps-arc@lists.infradead.org; Fri, 20 May 2016 07:34:28 +0000 Received: by mail-io0-x242.google.com with SMTP id a79so8832397ioe.3 for ; Fri, 20 May 2016 00:34:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc; bh=A7ZOouvM4wphaaXLwHcsaEwEN6i1drjfOxAgcd9Bwvk=; b=K8iOxAdNT4UdizVerq0MF873aCcjCDPUFj1ejDHilg/62N6qI0aS/6wx7dTZiaozUG Qi7TIEr8JxLLXSsqKTMXs2pzGLD1OJP67fn5ROxAlOJgFofq79kH3Obkcku7OYyyO3x4 EQZrt3ZkNXTpcZeVFXtMN2LKz6QL4rBxiICfR+QSXAYIynxYpOrm254eCwHOO/0Jlg2d +2ZN5GeDp1Lib2gE5weScNVT6zAgVGsgQa8ngNHjB14T5Bfpb5IjoRonWr4H/erMIijQ UNZxaKjYgv6nKVWo2m4MMm9p4E/XvPzeJOcFCItRRqP1w2xLUWSTb2Vo1VNw8QQIV+3b Cniw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc; bh=A7ZOouvM4wphaaXLwHcsaEwEN6i1drjfOxAgcd9Bwvk=; b=Dg8s/SpUFFF1bCsWkAP+lWM1FkH7Fvz8CzWKkCsDudgXTlySpBiar6J776+zyqPE3q 32qBCNcMAaLNm5HC74YysGnJmBPe0CAXtjJrbXLbNi2jVRSs0uAM21y/mArHb8jUu5eA Jm0nek9iD1VAl3xhdq/PZxV8l/9JIrOKuOnmqZq/EB38enhuDahGbE/7mNUelHJve/fz jg1Ju2QoF9nhhMThNW1gWLNxRzVByjFyr1DV2oExy4LEWWFTlj2gNBPgMc8zt9CPeR7R O8iXTx84740bty96DX3OSVjmTvuktquN9qmI1zpIdWbt3sOWr0XJyUcWlJsCF48cwvBo Nqkw== X-Gm-Message-State: AOPr4FUH/76MaqO8TBvlkbmQtqaLNuABNgXK7fiUyPfNEXsYCM3C0EthG2IAFbGa/digIbD/CsDy1ZJk4IOdZw== MIME-Version: 1.0 X-Received: by 10.107.172.194 with SMTP id v185mr1683840ioe.5.1463729646820; Fri, 20 May 2016 00:34:06 -0700 (PDT) Received: by 10.107.33.134 with HTTP; Fri, 20 May 2016 00:34:06 -0700 (PDT) In-Reply-To: <1463087038-2522527-1-git-send-email-arnd@arndb.de> References: <1463087038-2522527-1-git-send-email-arnd@arndb.de> Date: Fri, 20 May 2016 09:34:06 +0200 X-Google-Sender-Auth: wHbhAKAruCi0-JX0gvwrJhY1DA4 Message-ID: Subject: Re: [PATCH] irqchip: nps: add 64BIT dependency From: Geert Uytterhoeven To: Arnd Bergmann X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160520_003428_263814_B7798070 X-CRM114-Status: GOOD ( 14.25 ) X-Spam-Score: -2.4 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.4 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2607:f8b0:4001:c06:0:0:0:242 listed in] [list.dnswl.org] 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (geert.uytterhoeven[at]gmail.com) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Linux on Synopsys ARC Processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jason Cooper , Marc Zyngier , Vineet Gupta , "linux-kernel@vger.kernel.org" , Noam Camus , Thomas Gleixner , arcml Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Hi Arnd, On Thu, May 12, 2016 at 11:03 PM, Arnd Bergmann wrote: > The newly added nps irqchip driver causes build warnings on ARM64. > > include/soc/nps/common.h: In function 'nps_host_reg_non_cl': > include/soc/nps/common.h:148:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > > As the driver is only used on ARC, we don't need to see it without > COMPILE_TEST elsewhere, and we can avoid the warnings by only > building on 32-bit architectures even with CONFIG_COMPILE_TEST. > > Signed-off-by: Arnd Bergmann > --- > drivers/irqchip/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig > index 83775f148158..37289cf6b449 100644 > --- a/drivers/irqchip/Kconfig > +++ b/drivers/irqchip/Kconfig > @@ -253,6 +253,7 @@ config MVEBU_ODMI > > config EZNPS_GIC > bool "NPS400 Global Interrupt Manager (GIM)" > + depends on ARC || (COMPILE_TEST && !64BIT) > select IRQ_DOMAIN > help > Support the EZchip NPS400 global interrupt controller As ARC_PLAT_EZNPS already selects EZNPS_GIC, I'd like to suggest the slight simpler (whitespace-damaged): Gr{oetje,eeting}s, Geert --- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconfig @@ -255,7 +255,8 @@ config PARTITION_PERCPU bool config EZNPS_GIC - bool "NPS400 Global Interrupt Manager (GIM)" + bool "NPS400 Global Interrupt Manager (GIM)" if COMPILE_TEST + depends on !64BIT select IRQ_DOMAIN help Support the EZchip NPS400 global interrupt controller