Re: [U-Boot] [PATCH v5 7/8] ARM: extend non-secure switch to also go into HYP mode

2013-10-03 Thread Albert ARIBAUD
Hi Christoffer, On Thu, 3 Oct 2013 19:55:15 +0100, Christoffer Dall wrote: > On Thu, Oct 03, 2013 at 08:24:57AM +0200, Albert ARIBAUD wrote: > > Hi Andre, > > > > On Thu, 19 Sep 2013 18:06:45 +0200, Andre Przywara > > wrote: > > > > > For the KVM and XEN hypervisors to be usable, we need to e

Re: [U-Boot] [PATCH v5 7/8] ARM: extend non-secure switch to also go into HYP mode

2013-10-03 Thread Christoffer Dall
On Thu, Oct 03, 2013 at 08:24:57AM +0200, Albert ARIBAUD wrote: > Hi Andre, > > On Thu, 19 Sep 2013 18:06:45 +0200, Andre Przywara > wrote: > > > For the KVM and XEN hypervisors to be usable, we need to enter the > > kernel in HYP mode. Now that we already are in non-secure state, > > HYP mode s

Re: [U-Boot] [PATCH v5 7/8] ARM: extend non-secure switch to also go into HYP mode

2013-10-02 Thread Albert ARIBAUD
Hi Andre, On Thu, 19 Sep 2013 18:06:45 +0200, Andre Przywara wrote: > For the KVM and XEN hypervisors to be usable, we need to enter the > kernel in HYP mode. Now that we already are in non-secure state, > HYP mode switching is within short reach. > > While doing the non-secure switch, we have

[U-Boot] [PATCH v5 7/8] ARM: extend non-secure switch to also go into HYP mode

2013-09-19 Thread Andre Przywara
For the KVM and XEN hypervisors to be usable, we need to enter the kernel in HYP mode. Now that we already are in non-secure state, HYP mode switching is within short reach. While doing the non-secure switch, we have to enable the HVC instruction and setup the HYP mode HVBAR (while still secure).