Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753179AbaFMPKX (ORCPT ); Fri, 13 Jun 2014 11:10:23 -0400 Received: from mail-ve0-f179.google.com ([209.85.128.179]:63594 "EHLO mail-ve0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752522AbaFMPKU (ORCPT ); Fri, 13 Jun 2014 11:10:20 -0400 MIME-Version: 1.0 In-Reply-To: References: <1402090985-8061-1-git-send-email-dianders@chromium.org> <20140607181221.GB25068@e102568-lin.cambridge.arm.com> <20140609223831.GB16889@e102568-lin.cambridge.arm.com> <5398758F.4080306@samsung.com> Date: Fri, 13 Jun 2014 08:10:18 -0700 X-Google-Sender-Auth: 8e_TKQDcKvO9lrD0PAgAbKp1HtA Message-ID: Subject: Re: [PATCH] ARM: EXYNOS: mcpm: Don't rely on firmware's secondary_cpu_start From: Doug Anderson To: Chander Kashyap Cc: Kukjin Kim , Nicolas Pitre , "linux-arm-kernel@lists.infradead.org" , "linux@arm.linux.org.uk" , Kevin Hilman , Andrew Bresticker , Inderpal Singh , "linux-kernel@vger.kernel.org" , Chander Kashyap , "olof@lixom.net" , Tushar Behera , Lorenzo Pieralisi , Thomas Abraham , Abhilash Kesavan , Javier Martinez Canillas , "linux-samsung-soc@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Chander, On Fri, Jun 13, 2014 at 4:54 AM, Chander Kashyap wrote: > This patch is effectively changing the mcpm_entry_point address from > nsbase + 0x1c to nsbase + 0x8 > > Hence while integrating with mainline u-boot we need to take care for > new mcpm_entry_point address. > > With Chromebook it works straightforward. Can you explain more and point to the code that is using the nsbase + 0x1c? Specifically the only code I see that uses the nsbase + 0x1c is the code that is located at nsbase, which is the code we're overwriting here. I'd imagine you're using U-Boot code that looks something like the bits that start at code_base here: https://chromium.googlesource.com/chromiumos/third_party/u-boot/+/ce358daf5069f1dc145b0f9d403cfbb028271807/arch/arm/cpu/armv7/exynos/lowlevel.S With my kernel change you can completely eliminate U-Boot's installation of this code (or keep it, it makes no difference). -Doug -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/