From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: [PATCH v3 15/31] arm64: SMP support Date: Fri, 7 Sep 2012 19:39:45 +0000 Message-ID: <201209071939.45799.arnd@arndb.de> References: <1347035226-18649-1-git-send-email-catalin.marinas@arm.com> <1347035226-18649-16-git-send-email-catalin.marinas@arm.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Return-path: Received: from moutng.kundenserver.de ([212.227.17.8]:56150 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753540Ab2IGTju (ORCPT ); Fri, 7 Sep 2012 15:39:50 -0400 In-Reply-To: <1347035226-18649-16-git-send-email-catalin.marinas@arm.com> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Catalin Marinas Cc: linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org On Friday 07 September 2012, Catalin Marinas wrote: > This patch adds SMP initialisation and spinlocks implementation for > AArch64. The spinlock support uses the new load-acquire/store-release > instructions to avoid explicit barriers. The architecture also specifies > that an event is automatically generated when clearing the exclusive > monitor state to wake up processors in WFE, so there is no need for an > explicit DSB/SEV instruction sequence. The SEVL instruction is used to > set the exclusive monitor locally as there is no conditional WFE and a > branch is more expensive. > > For the SMP booting protocol, see Documentation/arm64/booting.txt. > > Signed-off-by: Will Deacon > Signed-off-by: Marc Zyngier > Signed-off-by: Catalin Marinas > Acked-by: Arnd Bergmann > Acked-by: Tony Lindgren Acked-by: Arnd Bergmann From mboxrd@z Thu Jan 1 00:00:00 1970 From: arnd@arndb.de (Arnd Bergmann) Date: Fri, 7 Sep 2012 19:39:45 +0000 Subject: [PATCH v3 15/31] arm64: SMP support In-Reply-To: <1347035226-18649-16-git-send-email-catalin.marinas@arm.com> References: <1347035226-18649-1-git-send-email-catalin.marinas@arm.com> <1347035226-18649-16-git-send-email-catalin.marinas@arm.com> Message-ID: <201209071939.45799.arnd@arndb.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Friday 07 September 2012, Catalin Marinas wrote: > This patch adds SMP initialisation and spinlocks implementation for > AArch64. The spinlock support uses the new load-acquire/store-release > instructions to avoid explicit barriers. The architecture also specifies > that an event is automatically generated when clearing the exclusive > monitor state to wake up processors in WFE, so there is no need for an > explicit DSB/SEV instruction sequence. The SEVL instruction is used to > set the exclusive monitor locally as there is no conditional WFE and a > branch is more expensive. > > For the SMP booting protocol, see Documentation/arm64/booting.txt. > > Signed-off-by: Will Deacon > Signed-off-by: Marc Zyngier > Signed-off-by: Catalin Marinas > Acked-by: Arnd Bergmann > Acked-by: Tony Lindgren Acked-by: Arnd Bergmann