From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [ARM:PATCH v2 1/1] Pass the timer clock-frequency to DOM0 Date: Sun, 13 Apr 2014 22:40:45 +0100 Message-ID: <534B045D.4080409@linaro.org> References: <1395892451-14191-1-git-send-email-suriyan.r@gmail.com> <53349C97.2010204@linaro.org> <5335815A.2040901@linaro.org> <1396350736.8667.105.camel@kazak.uk.xensource.com> <5348191F.9030209@linaro.org> <534AF18B.7060703@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" 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: Stefano Stabellini , Tim Deegan , Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On 13/04/14 21:48, Suriyan Ramasami wrote: > On Sun, Apr 13, 2014 at 1:20 PM, Julien Grall wrote: > fanta's patch to get the CPU up in NS HYP mode is in hardkernel's git > repository -> > https://github.com/hardkernel/u-boot/commit/56e5bdcb95d41f9236554de0578b0017a9f232a5 > > Hence, it would appear that the SPL BL2 code is entered in NS HYP mode. > > Also, BL1 I believe is signed and encrypted - hence no access. BL2 can > be signed and that is how currently we are entering in NS HYP. Thanks for the explanation. By any chance, do you know if the Arndale octa (exynos 5420) also bring CPU in HYP mode the same way? > Apparently the tzsw can be signed too, and hence, I was thinking of > modifying a current smc call to have it set the CNTFRQ, which I > believe will be in monitor mode. We had the same issue on the Arndale last year. Luckily u-boot were booting in Secure mode. It would be great to have a firmware that correctly configure the Arch timer (according the ARM ARM). But I bet the Arndale octa will have the same issue. So we will have to handle this such configuration in Xen. Can you send a new version with remarks make previously? Regards, -- Julien Grall