Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755565AbbKEUZi (ORCPT ); Thu, 5 Nov 2015 15:25:38 -0500 Received: from hauke-m.de ([5.39.93.123]:51075 "EHLO hauke-m.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751470AbbKEUZg (ORCPT ); Thu, 5 Nov 2015 15:25:36 -0500 Message-ID: <563BBB3A.6010605@hauke-m.de> Date: Thu, 05 Nov 2015 21:25:30 +0100 From: Hauke Mehrtens User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-Version: 1.0 To: Russell King - ARM Linux , Kapil Hali CC: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Ray Jui , Scott Branden , Jon Mason , Florian Fainelli , Gregory Fong , Lee Jones , Heiko Stuebner , Kever Yang , Maxime Ripard , Olof Johansson , Paul Walmsley , Linus Walleij , Chen-Yu Tsai , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Linus Walleij Subject: Re: [PATCH RESEND 0/4] SMP support for Broadcom NSP References: <1446702681-45339-1-git-send-email-kapilh@broadcom.com> <20151105093443.GO8644@n2100.arm.linux.org.uk> In-Reply-To: <20151105093443.GO8644@n2100.arm.linux.org.uk> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1590 Lines: 38 On 11/05/2015 10:34 AM, Russell King - ARM Linux wrote: > On Thu, Nov 05, 2015 at 12:51:17AM -0500, Kapil Hali wrote: >> Hi, >> >> This series adds SMP support for Broadcom's Northstar Plus SoC. >> >> There are similar SMP enablement methods for many ARMv7 bsed SoCs. >> BCM NSP SoC, has a typical such mechanism - after power-on, the >> secondary core is held in a standby state, primary core provides a >> startup address for the secondary core and wakes it up. Booting of >> the secondary core is serialized using pen_release global variable. > > Why do you need the pen_release stuff? The above implies that you > have only one secondary core, and you can control when it comes out > of standby state. > > Please, don't assume that the pen_release stuff is any kind of recommended > or standardised system. It isn't. It's a hack for ARMs evaluation > platforms. > I tried to remove the pen code because I also thought/hoped that it is useless, but the 2. CPU did not boot any more after I removed it. I do not know the internals of SoC, but it looks like this is needed. I described it here: http://www.spinics.net/lists/arm-kernel/msg452178.html I removed this comparison and the jump afterwards ("cmp r7, r0") and the 2. CPU did not boot any more. Is this pen stuff some kind of workaround for some bug in the silicon? Hauke -- 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/