Re: [Qemu-devel] [PATCH v3 06/12] ARM: Factor out ARM on/off PSCI control functions

2016-03-20 Thread Jean-Christophe DUBOIS
Hi Peter, I am wondering what is the "correct" (simple?) way in QEMU to put a CPU in a particular state (HYP, SVC, MON, ...) after I reset it (using cpu_reset()). For example, if I reset a core that has "has_el3" property it will start in EL3 mode. Now what is the simple way to transition

Re: [Qemu-devel] [PATCH v3 06/12] ARM: Factor out ARM on/off PSCI control functions

2016-03-19 Thread Peter Maydell
On 16 March 2016 at 22:19, Jean-Christophe DUBOIS wrote: > Hi Peter, > > I am wondering what is the "correct" (simple?) way in QEMU to put a CPU in a > particular state (HYP, SVC, MON, ...) after I reset it (using cpu_reset()). > > For example, if I reset a core that has "has_el3" property it will

Re: [Qemu-devel] [PATCH v3 06/12] ARM: Factor out ARM on/off PSCI control functions

2016-03-10 Thread Peter Maydell
On 2 March 2016 at 05:27, Jean-Christophe Dubois wrote: > Split ARM on/off function from PSCI support code. > > This will allow to reuse these functions in other code. > > Signed-off-by: Jean-Christophe Dubois > --- > > Changes since V1: > * Not present on V1 > > Changes since V2: > * Not prese

[Qemu-devel] [PATCH v3 06/12] ARM: Factor out ARM on/off PSCI control functions

2016-03-01 Thread Jean-Christophe Dubois
Split ARM on/off function from PSCI support code. This will allow to reuse these functions in other code. Signed-off-by: Jean-Christophe Dubois --- Changes since V1: * Not present on V1 Changes since V2: * Not present on V2 target-arm/Makefile.objs | 1 + target-arm/arm-powerctl.c | 156