From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrii Anisov Subject: Re: [PATCH v2 3/3] xen/arm: Enable switch to hyp mode for OMAP5432 Date: Thu, 15 Aug 2013 17:51:06 +0300 Message-ID: References: <1376572790-27724-1-git-send-email-baozich@gmail.com> <1376572790-27724-4-git-send-email-baozich@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4752906744092373291==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Chen Baozi Cc: Julien Grall , Tim Deegan , Ian Campbell , Xen Developer List List-Id: xen-devel@lists.xenproject.org --===============4752906744092373291== Content-Type: multipart/alternative; boundary=f46d043c815e9c24f904e3fd9a01 --f46d043c815e9c24f904e3fd9a01 Content-Type: text/plain; charset=ISO-8859-1 Well, My colleague just gave me a nasty hint. Code CPU1 is kicked to, does switch to HYP, and executes what ROM > normally does: wait for event, checks AUX_CORE_BOOT_0 if ok - jumps to > AUX_CORE_BOOT_1. The only difference from waiting in ROM code is that > CPU1 is already in HYP. Another difference is that executed wait/check code is placed not in ROM but in RAM. And, theoretically, could be corrupted. Taking in account existing plans to move CPU kicking to later stages, f.e. while xen parses dt. *Sincerely,* *Andrii Anisov.* On Thu, Aug 15, 2013 at 5:27 PM, Andrii Anisov < andrii.anisov@globallogic.com> wrote: > Well, > > Providing mode_switch.c going to be removed, this discussion is just > theorization ;) > > Sincerely, > Andrii Anisov. > --f46d043c815e9c24f904e3fd9a01 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Well,

My colleague just gave me a nasty= hint.

Code CPU1 is ki= cked to, does switch to HYP, and executes what ROM
normally does: wait for event= , checks AUX_CORE_BOOT_0 if ok - jumps to
AUX_CORE= _BOOT_1. The only difference from waiting in ROM code is that
CPU1 is already in= HYP.
Another difference is that executed wait/check c= ode is placed not in ROM but in RAM. And, theoretically, could be corrupted= .
Taking in account existing plans to move = CPU kicking to later stages, f.e. while xen parses dt.

Sincerely,
Andrii Anisov.


On Thu, Aug 15, 2013 at 5:27 PM, Andrii = Anisov <andrii.anisov@globallogic.com> wrote:
Well,

Providing mode_switch.c going to be removed, this discussion is just
theorization ;)

Sincerely,
Andrii Anisov.

--f46d043c815e9c24f904e3fd9a01-- --===============4752906744092373291== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============4752906744092373291==--