From: Ian Campbell Subject: Re: [PATCH v2 2/3] xen/arm: Allow secondary cpus to start in THUMB Date: Mon, 29 Jul 2013 16:57:57 +0100 Message-ID: <1375113477.11701.11.camel@kazak.uk.xensource.com> References: <1374765692-31370-1-git-send-email-julien.grall@linaro.org> <1374765692-31370-3-git-send-email-julien.grall@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1374765692-31370-3-git-send-email-julien.grall@linaro.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: Stefano.Stabellini@eu.citrix.com, patches@linaro.org, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Thu, 2013-07-25 at 16:21 +0100, Julien Grall wrote: > Unlike bx, eret will not update the instruction set (THUMB,ARM) according to > the return address. This will result to an unpredicable behaviour for the > processor if the address doesn't match the right instruction set. > > When the kernel is compiled with THUMB2, THUMB bit needs to be set in CPSR > for the secondary cpus. > > Signed-off-by: Julien Grall Acked + applied, thanks. >