Message ID | 20160809034613.GB31105@shlinux2 (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5989C60839 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 9 Aug 2016 03:57:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 35D7A2846E for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 9 Aug 2016 03:57:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 16D6E28473; Tue, 9 Aug 2016 03:57:39 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9C1F42846E for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 9 Aug 2016 03:57:38 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bWy8u-0001S1-HY; Tue, 09 Aug 2016 03:55:52 +0000 Received: from mail-pf0-x241.google.com ([2607:f8b0:400e:c00::241]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bWy8p-0001Pc-UW for linux-arm-kernel@lists.infradead.org; Tue, 09 Aug 2016 03:55:48 +0000 Received: by mail-pf0-x241.google.com with SMTP id y134so92747pfg.3 for <linux-arm-kernel@lists.infradead.org>; Mon, 08 Aug 2016 20:55:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=C7YvYeKM+WMYGg4yfE/icOyMXmkonMcTA5oTFZqW5LI=; b=EvW9mo6rv9aAb5yKG9BOtokroe/v8NxPptP9XfLn9BmQwjzOSnAnXkorQWgurtVLBE 8oOYIBE2Ds47Ljh6fe/qVrvLpMBp2AQiDe6Fw2DxXDn23BW6baauJm8XFMyIKcHpXnhX hdf87lUVzGvNFoo1Uya/Ao5PoEEtVg9YFfWd3i36BpYxyi0L9b3eM887FVKVtQaKddae QVq6+MfSC1YR/tYRO28sunBxbw6etqRTSUP49ept8OpYJ9pQ1Z/DoaM6UgzB0QiCpde5 VJ9HUphILIjokunraz7EcNXFt1ZZQx7lRxEf3+X5basiP532Zy80DucocE0TQrL4nseQ uu2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=C7YvYeKM+WMYGg4yfE/icOyMXmkonMcTA5oTFZqW5LI=; b=lAqi2uYK/297O1UReJIUMM1o8L+xG4U0D51hKeu845K13u4VakJoLLUghCQc4qdF6j mnBI5zYnCJ8ZlkKZRdWBvtsoiM5X8S5k26pZSlBmiDLa8woEKNbnQkI5C89JyjGmg74Y 1HH/dw+OvbIKGEvYRtACtwVPwikP+zCiglDhMKBieQEBKwDcPWs1hUbLj9n8hvO5rVdp aB4zCjFXfHf6Lkn4j73k9hJTtKcr3HJ/N6FdVPwODrgOR+8Z8CNcJNUFJDZGUH/W69+G 2GxkfdQQekAg3bW4p2EQXS0hy4ZXbq2elEmNAlENPSJmqqXFjND1LIDICiMnHmfQ1a39 o+kQ== X-Gm-Message-State: AEkoout/nGCETEPU7OeEBGMWRJScKQpVM6Dp85Vo+tAHZ4XPp/bAS9dD+Vdn0h6vEQMrUA== X-Received: by 10.98.152.129 with SMTP id d1mr169478178pfk.126.1470714927038; Mon, 08 Aug 2016 20:55:27 -0700 (PDT) Received: from shlinux2 (gate-zmy3.freescale.com. [192.88.167.1]) by smtp.gmail.com with ESMTPSA id uc9sm44956174pab.12.2016.08.08.20.55.21 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Mon, 08 Aug 2016 20:55:26 -0700 (PDT) Date: Tue, 9 Aug 2016 11:46:13 +0800 From: Peter Chen <hzpeterchen@gmail.com> To: Marc Zyngier <marc.zyngier@arm.com> Subject: Re: [PATCH 1/1] irqchip: irq-gic: forward SGI to itself for cortex-a7 single core Message-ID: <20160809034613.GB31105@shlinux2> References: <1470642594-30455-1-git-send-email-peter.chen@nxp.com> <20160808105026.GA12649@leverpostej> <HE1PR04MB1450C6BE844A31C95CEE3BE18B1B0@HE1PR04MB1450.eurprd04.prod.outlook.com> <20160808130754.GB12649@leverpostej> <20160808132847.GB17680@shlinux2> <20160808134842.GE12649@leverpostej> <20160808145916.0924e868@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20160808145916.0924e868@arm.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160808_205548_052298_FBAAA630 X-CRM114-Status: GOOD ( 28.67 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Mark Rutland <mark.rutland@arm.com>, Peter Chen <peter.chen@nxp.com>, "jason@lakedaemon.net" <jason@lakedaemon.net>, Yongcai Huang <anson.huang@nxp.com>, "Rafael J. Wysocki" <rafael.j.wysocki@intel.com>, Frank Li <frank.li@nxp.com>, Russell King <linux@armlinux.org.uk>, Hui Liu <jason.hui.liu@nxp.com>, Fabio Estevam <fabio.estevam@nxp.com>, "tglx@linutronix.de" <tglx@linutronix.de>, Shawn Guo <shawnguo@kernel.org>, "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org>, Ping Bai <ping.bai@nxp.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/arm/kernel/smp.c b/arch/arm/kernel/smp.c index 937c892..276bd94 100644 --- a/arch/arm/kernel/smp.c +++ b/arch/arm/kernel/smp.c @@ -487,7 +487,8 @@ static const char *ipi_types[NR_IPI] __tracepoint_string = { static void smp_cross_call(const struct cpumask *target, unsigned int ipinr) { trace_ipi_raise_rcuidle(target, ipi_types[ipinr]); - __smp_cross_call(target, ipinr); + if (__smp_cross_call) + __smp_cross_call(target, ipinr); } --