Re: [REPOST PATCH] arm/arm64: KVM: Add PSCI version selection API

2018-04-09 Thread Marc Zyngier
On 09/04/18 14:05, Christoffer Dall wrote: > On Mon, Apr 09, 2018 at 01:47:50PM +0100, Marc Zyngier wrote: >> +Drew, who's look at the whole save/restore thing extensively >> >> On 09/04/18 13:30, Christoffer Dall wrote: >>> On Thu, Mar 15, 2018 at 07:26:48PM +, Marc Zyngier wrote: On 15/0

Re: [REPOST PATCH] arm/arm64: KVM: Add PSCI version selection API

2018-04-09 Thread Christoffer Dall
On Mon, Apr 09, 2018 at 01:47:50PM +0100, Marc Zyngier wrote: > +Drew, who's look at the whole save/restore thing extensively > > On 09/04/18 13:30, Christoffer Dall wrote: > > On Thu, Mar 15, 2018 at 07:26:48PM +, Marc Zyngier wrote: > >> On 15/03/18 19:13, Peter Maydell wrote: > >>> On 15 Ma

Re: [REPOST PATCH] arm/arm64: KVM: Add PSCI version selection API

2018-04-09 Thread Marc Zyngier
+Drew, who's look at the whole save/restore thing extensively On 09/04/18 13:30, Christoffer Dall wrote: > On Thu, Mar 15, 2018 at 07:26:48PM +, Marc Zyngier wrote: >> On 15/03/18 19:13, Peter Maydell wrote: >>> On 15 March 2018 at 19:00, Marc Zyngier wrote: On 06/03/18 09:21, Andrew Jon

Re: [REPOST PATCH] arm/arm64: KVM: Add PSCI version selection API

2018-04-09 Thread Christoffer Dall
On Thu, Mar 15, 2018 at 07:26:48PM +, Marc Zyngier wrote: > On 15/03/18 19:13, Peter Maydell wrote: > > On 15 March 2018 at 19:00, Marc Zyngier wrote: > >> On 06/03/18 09:21, Andrew Jones wrote: > >>> On Mon, Mar 05, 2018 at 04:47:55PM +, Peter Maydell wrote: > On 2 March 2018 at 11:1

Re: [REPOST PATCH] arm/arm64: KVM: Add PSCI version selection API

2018-03-15 Thread Marc Zyngier
On 15/03/18 19:13, Peter Maydell wrote: > On 15 March 2018 at 19:00, Marc Zyngier wrote: >> On 06/03/18 09:21, Andrew Jones wrote: >>> On Mon, Mar 05, 2018 at 04:47:55PM +, Peter Maydell wrote: On 2 March 2018 at 11:11, Marc Zyngier wrote: > On Fri, 02 Mar 2018 10:44:48 +, >

Re: [REPOST PATCH] arm/arm64: KVM: Add PSCI version selection API

2018-03-15 Thread Peter Maydell
On 15 March 2018 at 19:00, Marc Zyngier wrote: > On 06/03/18 09:21, Andrew Jones wrote: >> On Mon, Mar 05, 2018 at 04:47:55PM +, Peter Maydell wrote: >>> On 2 March 2018 at 11:11, Marc Zyngier wrote: On Fri, 02 Mar 2018 10:44:48 +, Auger Eric wrote: > I understand the get/se

Re: [REPOST PATCH] arm/arm64: KVM: Add PSCI version selection API

2018-03-15 Thread Marc Zyngier
On 06/03/18 09:21, Andrew Jones wrote: > On Mon, Mar 05, 2018 at 04:47:55PM +, Peter Maydell wrote: >> On 2 March 2018 at 11:11, Marc Zyngier wrote: >>> On Fri, 02 Mar 2018 10:44:48 +, >>> Auger Eric wrote: I understand the get/set is called as part of the migration process. So m

Re: [REPOST PATCH] arm/arm64: KVM: Add PSCI version selection API

2018-03-06 Thread Marc Zyngier
On Tue, 06 Mar 2018 10:12:42 +, peter maydell wrote: > > On 6 March 2018 at 09:50, Marc Zyngier wrote: > > On 05/03/18 20:37, Auger Eric wrote: > >> On 05/03/18 17:31, Peter Maydell wrote: > >>> That also means that we will fail migration from a new kernel where > >>> we've specifically asked

Re: [REPOST PATCH] arm/arm64: KVM: Add PSCI version selection API

2018-03-06 Thread Peter Maydell
On 6 March 2018 at 09:50, Marc Zyngier wrote: > On 05/03/18 20:37, Auger Eric wrote: >> On 05/03/18 17:31, Peter Maydell wrote: >>> That also means that we will fail migration from a new kernel where >>> we've specifically asked for PSCI 0.2 to an old PSCI-0.2-only kernel >>> (because the KVM_REG_

Re: [REPOST PATCH] arm/arm64: KVM: Add PSCI version selection API

2018-03-06 Thread Marc Zyngier
On 05/03/18 20:37, Auger Eric wrote: > Hi Peter, > > On 05/03/18 17:31, Peter Maydell wrote: >> On 2 March 2018 at 12:26, Auger Eric wrote: >>> Hi Marc, >>> On 02/03/18 12:11, Marc Zyngier wrote: On Fri, 02 Mar 2018 10:44:48 +, Auger Eric wrote: > I understand the get/set is cal

Re: [REPOST PATCH] arm/arm64: KVM: Add PSCI version selection API

2018-03-06 Thread Andrew Jones
On Mon, Mar 05, 2018 at 04:47:55PM +, Peter Maydell wrote: > On 2 March 2018 at 11:11, Marc Zyngier wrote: > > On Fri, 02 Mar 2018 10:44:48 +, > > Auger Eric wrote: > >> I understand the get/set is called as part of the migration process. > >> So my understanding is the benefit of this ser

Re: [REPOST PATCH] arm/arm64: KVM: Add PSCI version selection API

2018-03-05 Thread Auger Eric
Hi Peter, On 05/03/18 17:31, Peter Maydell wrote: > On 2 March 2018 at 12:26, Auger Eric wrote: >> Hi Marc, >> On 02/03/18 12:11, Marc Zyngier wrote: >>> On Fri, 02 Mar 2018 10:44:48 +, >>> Auger Eric wrote: I understand the get/set is called as part of the migration process. So my

Re: [REPOST PATCH] arm/arm64: KVM: Add PSCI version selection API

2018-03-05 Thread Peter Maydell
On 2 March 2018 at 11:11, Marc Zyngier wrote: > On Fri, 02 Mar 2018 10:44:48 +, > Auger Eric wrote: >> I understand the get/set is called as part of the migration process. >> So my understanding is the benefit of this series is migration fails in >> those cases: >> >> >=0.2 source -> 0.1 desti

Re: [REPOST PATCH] arm/arm64: KVM: Add PSCI version selection API

2018-03-05 Thread Peter Maydell
On 2 March 2018 at 12:26, Auger Eric wrote: > Hi Marc, > On 02/03/18 12:11, Marc Zyngier wrote: >> On Fri, 02 Mar 2018 10:44:48 +, >> Auger Eric wrote: >>> I understand the get/set is called as part of the migration process. >>> So my understanding is the benefit of this series is migration fa

Re: [REPOST PATCH] arm/arm64: KVM: Add PSCI version selection API

2018-03-02 Thread Auger Eric
Hi Marc, On 02/03/18 12:11, Marc Zyngier wrote: > On Fri, 02 Mar 2018 10:44:48 +, > Auger Eric wrote: >> >> Hi Marc, >> >> On 15/02/18 18:58, Marc Zyngier wrote: >>> Although we've implemented PSCI 0.1, 0.2 and 1.0, we expose either 0.1 >>> or 1.0 to a guest, defaulting to the latest version of

Re: [REPOST PATCH] arm/arm64: KVM: Add PSCI version selection API

2018-03-02 Thread Marc Zyngier
On Fri, 02 Mar 2018 10:44:48 +, Auger Eric wrote: > > Hi Marc, > > On 15/02/18 18:58, Marc Zyngier wrote: > > Although we've implemented PSCI 0.1, 0.2 and 1.0, we expose either 0.1 > > or 1.0 to a guest, defaulting to the latest version of the PSCI > > implementation that is compatible with t

Re: [REPOST PATCH] arm/arm64: KVM: Add PSCI version selection API

2018-03-02 Thread Auger Eric
Hi Marc, On 15/02/18 18:58, Marc Zyngier wrote: > Although we've implemented PSCI 0.1, 0.2 and 1.0, we expose either 0.1 > or 1.0 to a guest, defaulting to the latest version of the PSCI > implementation that is compatible with the requested version. This is > no different from doing a firmware up