From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH 07/14] ARM: v6k: select clear exclusive code seqences according to V6 variants Date: Mon, 17 Jan 2011 15:15:22 -0800 Message-ID: <20110117231522.GF4957@atomide.com> References: <20110117192050.GE23331@n2100.arm.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:26733 "EHLO mho-02-ewr.mailhop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753100Ab1AQXP2 (ORCPT ); Mon, 17 Jan 2011 18:15:28 -0500 Content-Disposition: inline In-Reply-To: Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Russell King - ARM Linux Cc: linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org * Russell King - ARM Linux [110117 11:27]: > If CONFIG_CPU_V6 is enabled, then the kernel must support ARMv6 CPUs > which don't have the V6K extensions implemented. Always use the > dummy store-exclusive method to ensure that the exclusive monitors are > cleared. > > If CONFIG_CPU_V6 is not set, but CONFIG_CPU_32v6K is enabled, then we > have the K extensions available on all CPUs we're building support for, > so we can use the new clear-exclusive instruction. > > Signed-off-by: Russell King Acked-by: Tony Lindgren From mboxrd@z Thu Jan 1 00:00:00 1970 From: tony@atomide.com (Tony Lindgren) Date: Mon, 17 Jan 2011 15:15:22 -0800 Subject: [PATCH 07/14] ARM: v6k: select clear exclusive code seqences according to V6 variants In-Reply-To: References: <20110117192050.GE23331@n2100.arm.linux.org.uk> Message-ID: <20110117231522.GF4957@atomide.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org * Russell King - ARM Linux [110117 11:27]: > If CONFIG_CPU_V6 is enabled, then the kernel must support ARMv6 CPUs > which don't have the V6K extensions implemented. Always use the > dummy store-exclusive method to ensure that the exclusive monitors are > cleared. > > If CONFIG_CPU_V6 is not set, but CONFIG_CPU_32v6K is enabled, then we > have the K extensions available on all CPUs we're building support for, > so we can use the new clear-exclusive instruction. > > Signed-off-by: Russell King Acked-by: Tony Lindgren