Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753895AbdHOSJq (ORCPT ); Tue, 15 Aug 2017 14:09:46 -0400 Received: from anholt.net ([50.246.234.109]:55920 "EHLO anholt.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752542AbdHOSJo (ORCPT ); Tue, 15 Aug 2017 14:09:44 -0400 From: Eric Anholt To: Stefan Wahren , Florian Fainelli Cc: Phil Elwell , Scott Branden , Ray Jui , Russell King , linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] ARM: bcm2836: Send event when onlining other cores In-Reply-To: <399697756.271804.1502736043014@email.1und1.de> References: <1502190295-53391-1-git-send-email-phil@raspberrypi.org> <1502190295-53391-2-git-send-email-phil@raspberrypi.org> <1168905996.270506.1502730695418@email.1und1.de> <399697756.271804.1502736043014@email.1und1.de> User-Agent: Notmuch/0.22.2+1~gb0bcfaa (http://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu) Date: Tue, 15 Aug 2017 11:04:01 -0700 Message-ID: <878tikhfn2.fsf@eliezer.anholt.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2578 Lines: 69 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Stefan Wahren writes: > Hi Eric, > >> Stefan Wahren hat am 14. August 2017 um 19:11 g= eschrieben: >>=20 >>=20 >> Hi Florian, >>=20 >> > Florian Fainelli hat am 14. August 2017 um 18:2= 5 geschrieben: >> >=20 >> >=20 >> >=20 >> >=20 >> > On 08/08/2017 04:04 AM, Phil Elwell wrote: >> > > Secondary cores should enter a low-power idle state when waiting to >> > > be started. The "wfe" instruction causes a core to wait until an eve= nt >> > > or interrupt arrives before continuing to the next instruction, and >> > > the "sev" instruction sends a wakeup event to the other cores. >> > >=20 >> > > Add an "sev" (and a memory barrier) to bcm2836_boot_secondary, the >> > > function that wakes the waiting cores during booting. This is requir= ed >> > > if the secondary cores are sitting in "wfe", and harmless if not. >> >=20 >> > Eric, should I just pick this up for the upcoming ARM SoC pull requests >> > that I am preparing, or do you have more changes aside from the two ta= gs >> > I already merged? >>=20 >> this patch depends on series "ARM: bcm2836: Move SMP startup code to arc= h/arm". >>=20 >> I didn't had the time to test Phil's patch in all relevant cases. But i = could at least prepare a branch with my changes with the acks. > > i prepared the branches bcm2835-dt-next-v2 and bcm2835-soc-next. bcm2835-soc-next on its own breaks boot for me on the Pi2, so I had to merge in the DT branch first. I've rebased to do that, pulled in this patch (and the clk one), and sent PRs for -dt and -soc. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE/JuuFDWp9/ZkuCBXtdYpNtH8nugFAlmTN5EACgkQtdYpNtH8 nujdNhAApZmpynzVoBLeHSDAp1GuuowUhidV6V1rStvA2zIHtcrsmipOl4TRfila CH4YXJV5/18+E7I8bn9mVbdBv/4o3gEnMPej3xXY8yEiQij9PX2z8FK64FZSashe PkJInCMm/c2q2cmJpLzbSjdkwHqupFaX1Uh1I4vM3zvK9LsTCAOYsefItCZQR1DZ pTkg5YXrYii1OvTG++CQXNMhs97aj+5Vere0EGU0+GXIfOcj148yEltj3n7SMfvA ZfNvVGpZJjOeOGrArf2AbdGpa/2hJ/XFqeB5Ua+iLZYE5IBdtthDBTR1JrsbIsmi UAFkuQH71swIA4+NnvdLXNGBSUqyI5Pp4HmMuB/3JR5HDYwUOJ7xzpsR9/z3X2dr ex2F1DG9kt4tzZt0acYpdoNToMULT6fkomIwnOMZvf2xE8uO7F4NmCJVwYJ1hSma LHuqtL2tFk7kbZQRHj5rXrdUEMMC4o5PH8pEJCLgCC05PE44kvgNyqoXbW7A1X+x x9KpoPJyFK289lDyzTvQvlOTtPp2VN4549a/bbQHX7oudpHgRgb25TQ5IqmHX0AJ lImAQ+CPOywijj+zW/Rl7AEVZKkMiqr7EvkAsXQQDadSn4nqVE1YX3jp31N9DOkQ O+h42KWT/DY2drvpP8qV3mAPWMa7SiUVawjiG1+NgcitLdqYM0U= =kI++ -----END PGP SIGNATURE----- --=-=-=--