Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932818AbbFIOAD (ORCPT ); Tue, 9 Jun 2015 10:00:03 -0400 Received: from pandora.arm.linux.org.uk ([78.32.30.218]:48160 "EHLO pandora.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753541AbbFIN7t (ORCPT ); Tue, 9 Jun 2015 09:59:49 -0400 Date: Tue, 9 Jun 2015 14:59:35 +0100 From: Russell King - ARM Linux To: Peter Griffin Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, srinivas.kandagatla@gmail.com, patrice.chotard@st.com, maxime.coquelin@st.com, khilman@kernel.org, arnd@arndb.de, olof@lixom.net, devicetree@vger.kernel.org, lee.jones@linaro.org Subject: Re: [PATCH v2 1/3] ARM: STi: Add code to release secondary cores from holding pen. Message-ID: <20150609135935.GE7557@n2100.arm.linux.org.uk> References: <1433856824-30689-1-git-send-email-peter.griffin@linaro.org> <1433856824-30689-2-git-send-email-peter.griffin@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1433856824-30689-2-git-send-email-peter.griffin@linaro.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1128 Lines: 28 On Tue, Jun 09, 2015 at 02:33:42PM +0100, Peter Griffin wrote: > Most upstream devs boot STi platform via JTAG which abuses the > boot process by setting the PC of secondary cores directly. As > a consquence, booting STi platforms via u-boot results in only > the primary core being brought up as the code to manage the > holding pen is not upstream. Looking at the current mainline code: static void sti_secondary_init(unsigned int cpu) { trace_hardirqs_off(); Why is this necessary? If things aren't correctly setup in generic code, please report a bug against the generic code rather than working around the problem in platform specific code. This is the Linux kernel, not some closed source project. What bug are you seeing which required the addition of that? -- FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up according to speedtest.net. -- 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/