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 using >> OpenVirtualization in secure world, which then switches to a Linux kernel in >> non-secure world to test the patches. What about you? >> >> Best, >> Fabian > > 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 applications 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 >> <greg.bell...@linaro.org<mailto:greg.bell...@linaro.org>> 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 difference >> being that your approach is a bit more explicit in the declaration of the >> banked registers. Whereas my approach was to update the banked registers >> once all the other registers were registered. Both approaches I believe >> work. >> >> I spoke with Peter M. and he and I are okay with your approach. I will be >> looking closer at your patches today and making comments. >> >> One thing that held me up from committing sooner was testing my changes. Do >> you have a good approach for testing the changes? >> >> Regards, >> >> Greg >> >> >> On 14 May 2014 03:58, Aggeler Fabian >> <aggel...@student.ethz.ch<mailto:aggel...@student.ethz.ch>> 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 working on them. >> What do you suggest to minimize overlap? >> >> Thanks, >> Fabian >> ________________________________________ >> From: Peter Maydell >> [peter.mayd...@linaro.org<mailto:peter.mayd...@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ée; Greg Bellows >> Subject: Re: [Qemu-devel] [PATCH v1 00/22] target-arm: Preparations for A64 >> EL2 and 3 >> >> On 12 May 2014 20:13, Aggeler Fabian >> <aggel...@student.ethz.ch<mailto:aggel...@student.ethz.ch>> wrote: >>> I’ve 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 noticed >>> Edgar’s >>> patches. Is there some branch with the patches so I could rebase on them? >> 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 >> >> >> > > -- Employee of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by the Linux Foundation.