From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53791) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wkv1I-00018t-LR for qemu-devel@nongnu.org; Thu, 15 May 2014 08:44:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wkv1D-0000v7-Sx for qemu-devel@nongnu.org; Thu, 15 May 2014 08:44:20 -0400 Received: from smtp.codeaurora.org ([198.145.11.231]:38250) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wkv1D-0000uR-E4 for qemu-devel@nongnu.org; Thu, 15 May 2014 08:44:15 -0400 Message-ID: <5374B699.10502@codeaurora.org> Date: Thu, 15 May 2014 08:44:09 -0400 From: Christopher Covington MIME-Version: 1.0 References: <1399356506-5609-1-git-send-email-edgar.iglesias@gmail.com> <20140507034637.GC7381@hostname> <25DB5247-EC22-4881-BFE0-1820357DC6CF@ethz.ch> <34FA7872A8229F4F98814E45252B77EC1AFC5342@MBX12.d.ethz.ch> <5153C5A7-55BE-466C-859F-806F76457075@ethz.ch> <53748C9D.2070900@gmail.com> In-Reply-To: <53748C9D.2070900@gmail.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v1 00/22] target-arm: Preparations for A64 EL2 and 3 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Sergey Fedorov Cc: Peter Maydell , Peter Crosthwaite , Aggeler Fabian , Rob Herring , QEMU Developers , Alexander Graf , John Williams , Greg Bellows , "Edgar E. Iglesias" , =?windows-1252?Q?Alex_Benn=E9e?= Hi Sergey, On 05/15/2014 05:45 AM, Sergey Fedorov wrote: > On 15.05.2014 13:28, Aggeler Fabian wrote: >> Hi Greg >> >> Thanks for your comments. I still have to work through them. I am usin= g OpenVirtualization in secure world, which then switches to a Linux kern= el in non-secure world to test the patches. What about you? >> >> Best, >> Fabian >=20 > Hi, Fabian, are there some secure OS with secure user-space tasks which > can be used for testing whether world switching is performed correctly? In my experience, A32 and A64 Linux runs fine in secure supervisor mode / EL1_S (KVM, if enabled, will fail gracefully). A32 and A64 Linux applicat= ions run fine in secure user mode / EL0_S. For A64 EL3 there's https://github.com/ARM-software/arm-trusted-firmware, although I've yet to use it myself. It advertises an EL1 test payload. Christopher >> >> On 14 May 2014, at 15:55, Greg Bellows > wrote: >> >> Hi Fabian, >> >> I too had been updating the core TZ patches provided by Samsung. From= looking at your changes I see a lot of similarities in our code with the= exception being the mechanism for banked register support. The differen= ce being that your approach is a bit more explicit in the declaration of = the banked registers. Whereas my approach was to update the banked regis= ters once all the other registers were registered. Both approaches I bel= ieve work. >> >> I spoke with Peter M. and he and I are okay with your approach. I wil= l be looking closer at your patches today and making comments. >> >> One thing that held me up from committing sooner was testing my change= s. Do you have a good approach for testing the changes? >> >> Regards, >> >> Greg >> >> >> On 14 May 2014 03:58, Aggeler Fabian > wrote: >> I see. What is Greg Bellows working on exactly? Also peripherals like = TZASC, TZPC,...? My plan is to focus on them now if no one else is workin= g on them. What do you suggest to minimize overlap? >> >> Thanks, >> Fabian >> ________________________________________ >> From: Peter Maydell [peter.maydell@linaro.org] >> Sent: Monday, May 12, 2014 10:39 PM >> To: Aggeler Fabian >> Cc: Edgar E. Iglesias; Rob Herring; Peter Crosthwaite; QEMU Developers= ; Alexander Graf; John Williams; Alex Benn=E9e; Greg Bellows >> Subject: Re: [Qemu-devel] [PATCH v1 00/22] target-arm: Preparations fo= r A64 EL2 and 3 >> >> On 12 May 2014 20:13, Aggeler Fabian > wrote: >>> I=92ve been reworking the Samsung patches as part of my Master thesis= and I wanted to >>> send them some time this week. I am currently rebasing them when I no= ticed Edgar=92s >>> patches. Is there some branch with the patches so I could rebase on t= hem? >> Hmm, that makes about three lots of people trying to do similar things >> at this point. We should try to coordinate so we don't duplicate work. >> >> thanks >> -- PMM >> >> >> >=20 >=20 --=20 Employee of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by the Linux Foundation.