Re: [PATCH v4 00/28] arm/arm64: KVM: Rework the hyp-stub API

2017-03-24 Thread Christoffer Dall
Hi Marc, On Tue, Mar 21, 2017 at 07:20:30PM +, Marc Zyngier wrote: > As noticed by RMK in this thread[1], the hyp-stub API on 32bit ARM > could do with some TLC (it cannot perform a soft-restart at HYP, and > has holes in the hyp-stub support in a number of places). In general, > it would be d

Re: [PATCH v4 00/28] arm/arm64: KVM: Rework the hyp-stub API

2017-03-23 Thread Christoffer Dall
On Thu, Mar 23, 2017 at 03:16:49PM +, Marc Zyngier wrote: > On 23/03/17 14:39, Christoffer Dall wrote: > > On Thu, Mar 23, 2017 at 10:53:04AM +, Marc Zyngier wrote: > >> On 22/03/17 17:27, Christoffer Dall wrote: > >>> > >>> I don't think there is a great use case beyond what we already do,

Re: [PATCH v4 00/28] arm/arm64: KVM: Rework the hyp-stub API

2017-03-23 Thread Marc Zyngier
On 23/03/17 14:39, Christoffer Dall wrote: > On Thu, Mar 23, 2017 at 10:53:04AM +, Marc Zyngier wrote: >> On 22/03/17 17:27, Christoffer Dall wrote: >>> >>> I don't think there is a great use case beyond what we already do, it >>> would just be to have one set of hyp vectors fewer, so that eith

Re: [PATCH v4 00/28] arm/arm64: KVM: Rework the hyp-stub API

2017-03-23 Thread Christoffer Dall
On Thu, Mar 23, 2017 at 10:53:04AM +, Marc Zyngier wrote: > On 22/03/17 17:27, Christoffer Dall wrote: > > On Wed, Mar 22, 2017 at 04:14:44PM +, Marc Zyngier wrote: > >> Hi Christoffer, > >> > >> On 22/03/17 13:37, Christoffer Dall wrote: > >>> Hi Marc, > >>> > >>> > >>> On Tue, Mar 21, 201

Re: [PATCH v4 00/28] arm/arm64: KVM: Rework the hyp-stub API

2017-03-23 Thread Marc Zyngier
On 22/03/17 17:27, Christoffer Dall wrote: > On Wed, Mar 22, 2017 at 04:14:44PM +, Marc Zyngier wrote: >> Hi Christoffer, >> >> On 22/03/17 13:37, Christoffer Dall wrote: >>> Hi Marc, >>> >>> >>> On Tue, Mar 21, 2017 at 07:20:30PM +, Marc Zyngier wrote: As noticed by RMK in this thread

Re: [PATCH v4 00/28] arm/arm64: KVM: Rework the hyp-stub API

2017-03-22 Thread Christoffer Dall
On Wed, Mar 22, 2017 at 04:14:44PM +, Marc Zyngier wrote: > Hi Christoffer, > > On 22/03/17 13:37, Christoffer Dall wrote: > > Hi Marc, > > > > > > On Tue, Mar 21, 2017 at 07:20:30PM +, Marc Zyngier wrote: > >> As noticed by RMK in this thread[1], the hyp-stub API on 32bit ARM > >> could

Re: [PATCH v4 00/28] arm/arm64: KVM: Rework the hyp-stub API

2017-03-22 Thread Catalin Marinas
On Tue, Mar 21, 2017 at 07:20:30PM +, Marc Zyngier wrote: > * From v3: > - Reworked the way we save/restore lr on arm64, making it EL2's job > in a consistent way (these are the three initial patches) Thanks for fixing up the lr use. Feel free to upstream it via the kvm tree. For the whole

Re: [PATCH v4 00/28] arm/arm64: KVM: Rework the hyp-stub API

2017-03-22 Thread Marc Zyngier
Hi Christoffer, On 22/03/17 13:37, Christoffer Dall wrote: > Hi Marc, > > > On Tue, Mar 21, 2017 at 07:20:30PM +, Marc Zyngier wrote: >> As noticed by RMK in this thread[1], the hyp-stub API on 32bit ARM >> could do with some TLC (it cannot perform a soft-restart at HYP, and >> has holes in

Re: [PATCH v4 00/28] arm/arm64: KVM: Rework the hyp-stub API

2017-03-22 Thread Christoffer Dall
Hi Marc, On Tue, Mar 21, 2017 at 07:20:30PM +, Marc Zyngier wrote: > As noticed by RMK in this thread[1], the hyp-stub API on 32bit ARM > could do with some TLC (it cannot perform a soft-restart at HYP, and > has holes in the hyp-stub support in a number of places). In general, > it would be

[PATCH v4 00/28] arm/arm64: KVM: Rework the hyp-stub API

2017-03-21 Thread Marc Zyngier
As noticed by RMK in this thread[1], the hyp-stub API on 32bit ARM could do with some TLC (it cannot perform a soft-restart at HYP, and has holes in the hyp-stub support in a number of places). In general, it would be desirable for the 32bit behaviour to align on 64bit, if only to ease maintenance.