[U-Boot] [PATCH v5 3/8] ARM: add assembly routine to switch to non-secure state

Ian Campbell
2013-09-19T21:28:24Z

On Thu, 2013-09-19 at 21:11 +0100, Christoffer Dall wrote:
> On Fri, Sep 20, 2013 at 01:27:48AM +0530, Mj Embd wrote:
> > two quick points
> > (a) xen already has a mode_switch code, so AFAIK xen might not use it
> > (as suggested by comment in another patch in this patch set)
>
> For KVM the boot procedure for Hyp mode is quite clearly defined: the
> kernel must be booted in Hyp mode.
>
> I was under the impression that Xen wanted to use the same paradigm and
> rely on bootloaders to switch to Hyp mode and thereby get rid of the
> code in Xen.

Absolutely correct, our needs are the same as KVM and we want to be
booted in the same way.

Ian.