From patchwork Tue Oct 8 04:37:19 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: vkamensky X-Patchwork-Id: 20886 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f198.google.com (mail-ve0-f198.google.com [209.85.128.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 535BD24697 for ; Tue, 8 Oct 2013 04:37:55 +0000 (UTC) Received: by mail-ve0-f198.google.com with SMTP id c14sf17880252vea.5 for ; Mon, 07 Oct 2013 21:37:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:x-gm-message-state:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=sgVFQdyc1rAIIOVZhES4A1d1RJsAy2p/ax+/fiAD9/Y=; b=L8NJJ+IbNKN7itTiEltuFGBvaUv6ZGK8NCfITNaaLB6HekJsieAXjK+kDQqjkPK7Jf iiyX7h4cg26f7CWFcgSWITwxgXwyi/zLLsMK4OzIOigztdBp9GKnOxxsArC4vSeeYgMt frNUq9oXxWtQhTjacmzHzKqz8WTGSQ1Mgwh9WzCr3OFceVll6MThtuO/jnJkRGekH0Vp G31D122/K5OGCFN4gSPCmbdUzGEMaG4ULrYxJwQffuZtIADs6mDmuyZpmXQO3cHMdpCD CEUGHWIjcOEud8VogouvVcwdgRzjefRduP59zuMFp9N9WY83Nhywdoza/wsVIy5ekKWb UmVg== X-Received: by 10.236.93.45 with SMTP id k33mr33300292yhf.19.1381207075066; Mon, 07 Oct 2013 21:37:55 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.27.199 with SMTP id v7ls72678qeg.85.gmail; Mon, 07 Oct 2013 21:37:55 -0700 (PDT) X-Received: by 10.58.201.73 with SMTP id jy9mr159179vec.20.1381207074976; Mon, 07 Oct 2013 21:37:54 -0700 (PDT) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) by mx.google.com with ESMTPS id b6si8823634veo.98.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 07 Oct 2013 21:37:54 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.181; Received: by mail-vc0-f181.google.com with SMTP id hz10so3477667vcb.12 for ; Mon, 07 Oct 2013 21:37:54 -0700 (PDT) X-Gm-Message-State: ALoCoQmpcAU92q97goxuuI6LybmIvy72wuZlF2Mcm9J9BW5sm2Gz1XFgvZ1fomfduZPUNY7DqtFM X-Received: by 10.58.161.116 with SMTP id xr20mr29283418veb.2.1381207074652; Mon, 07 Oct 2013 21:37:54 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp174940vcz; Mon, 7 Oct 2013 21:37:54 -0700 (PDT) X-Received: by 10.68.162.5 with SMTP id xw5mr4481770pbb.71.1381207073658; Mon, 07 Oct 2013 21:37:53 -0700 (PDT) Received: from mail-pb0-f41.google.com (mail-pb0-f41.google.com [209.85.160.41]) by mx.google.com with ESMTPS id ei3si24676068pbc.260.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 07 Oct 2013 21:37:53 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.41 is neither permitted nor denied by best guess record for domain of victor.kamensky@linaro.org) client-ip=209.85.160.41; Received: by mail-pb0-f41.google.com with SMTP id rp2so8100633pbb.0 for ; Mon, 07 Oct 2013 21:37:53 -0700 (PDT) X-Received: by 10.66.190.198 with SMTP id gs6mr1148970pac.49.1381207073278; Mon, 07 Oct 2013 21:37:53 -0700 (PDT) Received: from kamensky-w530.cisco.com.com (128-107-239-234.cisco.com. [128.107.239.234]) by mx.google.com with ESMTPSA id qp10sm43930696pab.13.1969.12.31.16.00.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 07 Oct 2013 21:37:52 -0700 (PDT) From: Victor Kamensky To: ben.dooks@codethink.co.uk, linux-arm-kernel@lists.infradead.org Cc: steve.mcintyre@linaro.org, patches@linaro.org, linaro-kernel@lists.linaro.org, linaro-networking@linaro.org, Victor Kamensky Subject: [PATCH 1/2] ARM: mcpm: fix big endian issue in mcpm startup code Date: Mon, 7 Oct 2013 21:37:19 -0700 Message-Id: <1381207040-1623-2-git-send-email-victor.kamensky@linaro.org> X-Mailer: git-send-email 1.8.1.4 In-Reply-To: <1381207040-1623-1-git-send-email-victor.kamensky@linaro.org> References: <1381207040-1623-1-git-send-email-victor.kamensky@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: victor.kamensky@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , In big endian mode mcpm_entry_point is first function that called on secondaries CPU. First it should switch CPU into big endian code. Signed-off-by: Victor Kamensky --- arch/arm/common/mcpm_head.S | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/common/mcpm_head.S b/arch/arm/common/mcpm_head.S index 39c96df..4f88f5e 100644 --- a/arch/arm/common/mcpm_head.S +++ b/arch/arm/common/mcpm_head.S @@ -15,6 +15,7 @@ #include #include +#include #include "vlock.h" @@ -47,6 +48,7 @@ ENTRY(mcpm_entry_point) + ARM_BE8(setend be) THUMB( adr r12, BSYM(1f) ) THUMB( bx r12 ) THUMB( .thumb )