From patchwork Fri May 20 04:03:02 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Vineet Gupta X-Patchwork-Id: 624301 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 3r9vSR52RNz9t3h for ; Fri, 20 May 2016 14:03:50 +1000 (AEST) 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 1b3bfA-0000gp-2D; Fri, 20 May 2016 04:03:48 +0000 Received: from smtprelay4.synopsys.com ([198.182.47.9] helo=smtprelay.synopsys.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1b3bf8-0000ZI-PG for linux-snps-arc@lists.infradead.org; Fri, 20 May 2016 04:03:47 +0000 Received: from us02secmta1.synopsys.com (us02secmta1.synopsys.com [10.12.235.96]) by smtprelay.synopsys.com (Postfix) with ESMTP id B6CA524E170D; Thu, 19 May 2016 21:03:23 -0700 (PDT) Received: from us02secmta1.internal.synopsys.com (us02secmta1.internal.synopsys.com [127.0.0.1]) by us02secmta1.internal.synopsys.com (Service) with ESMTP id A98584E213; Thu, 19 May 2016 21:03:23 -0700 (PDT) Received: from mailhost.synopsys.com (unknown [10.13.184.66]) by us02secmta1.internal.synopsys.com (Service) with ESMTP id 505104E202; Thu, 19 May 2016 21:03:23 -0700 (PDT) Received: from mailhost.synopsys.com (localhost [127.0.0.1]) by mailhost.synopsys.com (Postfix) with ESMTP id 3808A67D; Thu, 19 May 2016 21:03:23 -0700 (PDT) Received: from US01WXQAHTC1.internal.synopsys.com (us01wxqahtc1.internal.synopsys.com [10.12.238.230]) by mailhost.synopsys.com (Postfix) with ESMTP id CC7F3675; Thu, 19 May 2016 21:03:21 -0700 (PDT) Received: from IN01WEHTCB.internal.synopsys.com (10.144.199.106) by US01WXQAHTC1.internal.synopsys.com (10.12.238.230) with Microsoft SMTP Server (TLS) id 14.3.195.1; Thu, 19 May 2016 21:03:21 -0700 Received: from IN01WEHTCA.internal.synopsys.com (10.144.199.103) by IN01WEHTCB.internal.synopsys.com (10.144.199.105) with Microsoft SMTP Server (TLS) id 14.3.195.1; Fri, 20 May 2016 09:33:18 +0530 Received: from [10.12.197.158] (10.12.197.158) by IN01WEHTCA.internal.synopsys.com (10.144.199.243) with Microsoft SMTP Server (TLS) id 14.3.195.1; Fri, 20 May 2016 09:33:18 +0530 Subject: Re: [GIT PULL] ARC updates for 4.7-rc1 To: Linus Torvalds References: <573D5C31.8010100@synopsys.com> Newsgroups: gmane.linux.kernel.arc From: Vineet Gupta Message-ID: <573E8C76.2030801@synopsys.com> Date: Fri, 20 May 2016 09:33:02 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: X-Originating-IP: [10.12.197.158] X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160519_210346_885494_6953A677 X-CRM114-Status: GOOD ( 18.04 ) X-Spam-Score: -3.3 (---) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-3.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [198.182.47.9 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [198.182.47.9 listed in wl.mailspike.net] -1.4 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 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: Jose Abreu , Daniel Lezcano , Jason Cooper , Arnd Bergmann , Marc Zyngier , Noam Camus , Alexey Brodkin , Tal Zilcer , lkml , Gilad Ben Yossef , Thomas Gleixner , arcml Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org On Friday 20 May 2016 02:04 AM, Linus Torvalds wrote: > On Wed, May 18, 2016 at 11:24 PM, Vineet Gupta > wrote: >> >> The highlight is support for EZChip (now Mellanox) NPS-400 network processor [..] > > Oh, and that brought in the > > drivers/irqchip/irq-eznps.c > > driver that is compile-test enabled. > > And that driver is not 64-bit clean: > > In file included from drivers/irqchip/irq-eznps.c:39:0: > 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] > return (void *)reg_address.value; > ^ > include/soc/nps/common.h: In function ‘nps_host_reg’: > include/soc/nps/common.h:162:9: warning: cast to pointer from > integer of different size [-Wint-to-pointer-cast] > return (void *)reg_address.value; > ^ > > so it needs to either be disabled or fixed. Annoying everybody else > with warnings is not an option. Sorry about that. We already have a fix from Arnd which was just waiting for things to settle down per discussion here: https://lkml.org/lkml/2016/5/13/132 I guess it was wrong call on my part to not include it in this pull request. Another lesson learnt to not add other subsys stuff via your tree. I should have merged the new soc header in 4.6 and paved way for NPS changes via other trees. Live and learn ! Is inline patch below OK or else I can send a pull request: -----------> From 69d911ecf3e2a0dd6bf99b2e5c36fbabf09dfa75 Mon Sep 17 00:00:00 2001 From: Arnd Bergmann Date: Thu, 12 May 2016 23:03:35 +0200 Subject: [PATCH] irqchip: nps: add 64BIT dependency 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. Acked-by: Marc Zyngier Signed-off-by: Arnd Bergmann Signed-off-by: Vineet Gupta --- drivers/irqchip/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig index 1ab632a94db3..8e97c2ab560c 100644 --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconfig @@ -247,6 +247,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