Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751565AbdHNSlT (ORCPT ); Mon, 14 Aug 2017 14:41:19 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:59851 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750859AbdHNSlS (ORCPT ); Mon, 14 Aug 2017 14:41:18 -0400 Date: Mon, 14 Aug 2017 20:40:42 +0200 (CEST) From: Stefan Wahren To: Eric Anholt , 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 Message-ID: <399697756.271804.1502736043014@email.1und1.de> In-Reply-To: <1168905996.270506.1502730695418@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> Subject: Re: [PATCH] ARM: bcm2836: Send event when onlining other cores MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v7.8.2-Rev34 X-Originating-Client: open-xchange-appsuite X-Provags-ID: V03:K0:DGtGj7AvdRhkk8dTaOylVzNrHPAB+N4zxJkHxMtJbMC8TAfROv6 MZcbf1PAL49dUSkSJxXgpv3w0cgEhpC/QK6kLzwHOaT7sX8fudJWajkSGWSqMM11MnAlTXR jH4cUztRpybbaoHZYIOulr0RoJBB72VqHoHk4+yHmbe3eLKouCSbAZ0rWYGzFPf0SjGHOIi huS7aF5ft0MSqLm+6W59g== X-UI-Out-Filterresults: notjunk:1;V01:K0:lyQYxp6nd4c=:K+VTp00bJ7hGp7YPe6IhHz k5ITUaJ4e+wK6dyb8sVqQ8pAzNhmuk62RpWGNJZDTZMiRU1zMjIodJcUYH/QZ7lihNapLQuU9 VNQcMwU4Qt8PB1DsNHkTkNgKXpHDBlj6WZkLm6+bjg01UbAo8+W7rHp8gigqSMYLpDnMClxiv kW3DzIpCY2N1pLsvHQ6+HBBgBQcl8aofT3TXw3JksmsCC5avPQE9cTtFeivPJ3IfFZf5q1Z1z dcBubUQ9JZqivZWx6b1J4TdUJ+AZOikBm37Dv5mIExVwX7XEPjEesg/zY1Dyu/IFpqHaUweNn Af0ghUwXWqeD+3k/66P77JJXzZaKKxcl27vT1REk9q9w1b5oWivny+LvkyunwvC4069DQ3dJk 1lvkNei5ZWJHNh9520Y+4tPuK9IuVSru45gzRa9cDfp+2dw6wG731XJ0RrXedzXSJC4W36qNO b9ZtlL/FHfY4Cy4tpavuD53AF2Yghef8KZYow6HAEDpBjH+8fHzi3cCAOdZoh9u4ZyeDJdkNf gxeFZQ9WGorN3EcWNKFBGwHgyc3h+J6cuwWFMB1TQ/rjkUz0J4cT8V1OAG409wigOJarslQIy euVnGJ+BcLP2pcaPd5Kr2MsYP8x4cnnZnPYPRxoZgYtI8lVUti4ussSyzJf8ePBVG+9gd8PVB /8HG6C2Fzqi/Uyu/ud+StxSqdYRGMIQkQ/82KGtjAHUlqPJaJNpyQkEH3guj/MG+B+EJJMZR1 ZgG8cU3iJXsqHKbFr/UTZM9/+a58g19LJeVMScTGVoF040/R6kGjhJJtn+c= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1277 Lines: 33 Hi Eric, > Stefan Wahren hat am 14. August 2017 um 19:11 geschrieben: > > > Hi Florian, > > > Florian Fainelli hat am 14. August 2017 um 18:25 geschrieben: > > > > > > > > > > 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 event > > > or interrupt arrives before continuing to the next instruction, and > > > the "sev" instruction sends a wakeup event to the other cores. > > > > > > Add an "sev" (and a memory barrier) to bcm2836_boot_secondary, the > > > function that wakes the waiting cores during booting. This is required > > > if the secondary cores are sitting in "wfe", and harmless if not. > > > > 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 tags > > I already merged? > > this patch depends on series "ARM: bcm2836: Move SMP startup code to arch/arm". > > 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. Stefan