From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andre Przywara Date: Mon, 27 May 2013 00:42:31 +0200 Subject: [U-Boot] [PATCH 1/6] ARM: add secure monitor handler to switch to non-secure state In-Reply-To: <20130523125219.3522d2fb@lilith> References: <1367846270-1827-1-git-send-email-andre.przywara@linaro.org> <1367846270-1827-2-git-send-email-andre.przywara@linaro.org> <20130523125219.3522d2fb@lilith> Message-ID: <51A28FD7.3080806@linaro.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 05/23/2013 12:52 PM, Albert ARIBAUD wrote: > Hi Andre, > > On Mon, 6 May 2013 15:17:45 +0200, Andre Przywara > wrote: > >> A prerequisite for using virtualization is to be in HYP mode, which >> requires the CPU to be in non-secure state. >> Introduce a monitor handler routine which switches the CPU to >> non-secure state by setting the NS and associated bits. >> According to the ARM ARM this should not be done in SVC mode, so we > > ARM *TRM*, I suspect. Also, as there are a lot of ARM TRMs, if there is > a more precise reference, please provide it. Albert, my apologies for the confusion. As Peter already pointed out, the reference is really in the architectural manual. I just picked up that "ARM ARM" phrase lately and assumed that this is common knowledge. I will change it to something more precise in the next revision. Thanks, Andre.