From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joonyoung Shim Subject: Re: exynos5422-odroid-xu3: MCPM: only 6 of 8 CPUs coming online Date: Thu, 23 Oct 2014 10:04:51 +0900 Message-ID: <54485433.2040008@samsung.com> References: <7133556.456161412823997169.JavaMail.weblogic@epml02> <7hzjd4lxc5.fsf@deeprootsystems.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from mailout4.samsung.com ([203.254.224.34]:24061 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754815AbaJWBEn (ORCPT ); Wed, 22 Oct 2014 21:04:43 -0400 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NDV00BJ9HNUIOC0@mailout4.samsung.com> for linux-samsung-soc@vger.kernel.org; Thu, 23 Oct 2014 10:04:42 +0900 (KST) In-reply-to: Sender: linux-samsung-soc-owner@vger.kernel.org List-Id: linux-samsung-soc@vger.kernel.org To: Kevin Hilman Cc: "linux-samsung-soc@vger.kernel.org" , a.kesavan@samsung.com, k.chander@samsung.com Hi, On 10/17/2014 09:06 PM, Kevin Hilman wrote: > On Wed, Oct 15, 2014 at 4:35 AM, Joonyoung Shim wrote: >> Hi, >> >> Kevin Hilman kernel.org> writes: >> >>> >>> Hi hdmi_resources_init, >>> >>> Abhilash Kesavan samsung.com> writes: >>> >>>> I had noticed a similar issue where only 6 cores would come up during >>>> development on 5420. This was because there was a check in our u-boot >>>> secondary boot-up path which would put a core into WFI if a flag was >>>> not present and hence fail to boot. I wonder if it is the same >>>> situation in your case too. >>>> Is the u-boot for odroid-xu3 publically available or can you check if >> there is any such code present in your >>> secondary bring-up path. >>> >>> I'm using the hardkernel u-boot[1], branch: odroidxu3-v2012.07. I'm >>> currently using the pre-built binaries that are in the >>> sd_fuse/hardkernel directory of that branch, but I can rebuild u-boot if >>> needed. >>> >>> I'm not very familiar with u-boot, but if f you have some pointers where >>> to start looking in that code, that would be helpful. >>> >>> Kevin >>> >>> [1] https://github.com/hardkernel/u-boot.git >>> >>> >> >> It seems to need magic code. >> >> Please refer >> https://github.com/abhijeet-dev/linux-samsung/commit/553b7f40465ab4fad6c270f289cd4780942f7fae > > Thanks, Abhilash had pointed me to the same code, and it works. But... > > Can someone explain this "magic", ideally in the form of a changelog > and patch submitted upstream? > I also really wonder. One more problem, cpu0 doesn't boot after offline and system is halted. # echo 0 > /sys/devices/system/cpu/cpu0/online [ 28.027852] IRQ152 no longer affine to CPU0 [ 28.028087] IRQ256 no longer affine to CPU0 [ 28.028344] CPU0: shutdown # # echo 1 > /sys/devices/system/cpu/cpu0/online So, it's failed script[1] to test MCPM functionalities Thanks. [1]: http://www.spinics.net/lists/arm-kernel/msg330946.html