From: Ian Campbell Subject: Re: [ARM:PATCH v1 1/1] Add Odroid-XU (Exynos5410) support Date: Tue, 29 Jul 2014 18:36:56 +0100 Message-ID: <1406655416.28644.45.camel@dagon.hellion.org.uk> References: <1406242066-7001-1-git-send-email-suriyan.r@gmail.com> <53D24B4B.7020908@linaro.org> <1406291967.24842.1.camel@kazak.uk.xensource.com> <1406318711.4100.38.camel@hastur.hellion.org.uk> <53D390C3.4000506@linaro.org> <53D3EC54.6060105@linaro.org> <53D41C84.5060706@linaro.org> <53D41D01.7060103@linaro.org> <53D647CA.8010502@linaro.org> <1406619004.28644.37.camel@dagon.hellion.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Suriyan Ramasami Cc: keir@xen.org, ian.jackson@eu.citrix.com, Julien Grall , Tim Deegan , "xen-devel@lists.xen.org" , Jan Beulich List-Id: xen-devel@lists.xenproject.org On Tue, 2014-07-29 at 08:49 -0700, Suriyan Ramasami wrote: > On Tue, Jul 29, 2014 at 12:30 AM, Ian Campbell wrote: > > On Mon, 2014-07-28 at 15:25 -0700, Suriyan Ramasami wrote: > >> So, why is any other CPU other than CPU0 not able to read the CNTFRQ > >> register? Is my CPU turn on code causing this issue, or is something > >> extra needed to be done to the other CPUs in the bring up code? > > > > Are you sure you are writing CNTFRQ on every pCPU? This is a processor > > local register so it needs setting everywhere, not just once. > > > Ah! I didn't know that. I was setting it only once on the booting CPU > in u-boot through am smc call. All cp registers are always local. At least I can't think of an exception offhand. > > You symptoms are sounding very much like it is only set on the boot CPU. > > > Thanks for pointing this out. I am wondering if I should go the psci > route for the Exynos 5410 or add an smc call in the cpu bring up code. PSCI would certainly be preferable if it is available for your platform. A basic PSCI framework got added to u-boot mainline just this week, if that is helpful. Ian.