Re: [RFC PATCH 08/16] KVM: arm64: Support dynamically hideable system registers

2018-08-08 Thread Dave Martin
On Tue, Aug 07, 2018 at 09:20:10PM +0200, Christoffer Dall wrote: [...] > > diff --git a/arch/arm64/kvm/sys_regs.c b/arch/arm64/kvm/sys_regs.c > > index a436373..31a351a 100644 > > --- a/arch/arm64/kvm/sys_regs.c > > +++ b/arch/arm64/kvm/sys_regs.c > > @@ -1840,7 +1840,7 @@ static int

Re: [RFC PATCH 08/16] KVM: arm64: Support dynamically hideable system registers

2018-08-07 Thread Christoffer Dall
On Thu, Jun 21, 2018 at 03:57:32PM +0100, Dave Martin wrote: > Some system registers may or may not logically exist for a vcpu > depending on whether certain architectural features are enabled for > the vcpu. > > In order to avoid spuriously emulating access to these registers > when they should

Re: [RFC PATCH 08/16] KVM: arm64: Support dynamically hideable system registers

2018-07-26 Thread Dave Martin
On Wed, Jul 25, 2018 at 04:41:44PM +0100, Alex Bennée wrote: > > Dave Martin writes: > > > On Wed, Jul 25, 2018 at 03:12:15PM +0100, Alex Bennée wrote: > >> > >> Dave Martin writes: > >> > >> > Some system registers may or may not logically exist for a vcpu > >> > depending on whether certain

Re: [RFC PATCH 08/16] KVM: arm64: Support dynamically hideable system registers

2018-07-25 Thread Alex Bennée
Dave Martin writes: > On Wed, Jul 25, 2018 at 03:12:15PM +0100, Alex Bennée wrote: >> >> Dave Martin writes: >> >> > Some system registers may or may not logically exist for a vcpu >> > depending on whether certain architectural features are enabled for >> > the vcpu. >> > >> > In order to

Re: [RFC PATCH 08/16] KVM: arm64: Support dynamically hideable system registers

2018-07-25 Thread Dave Martin
On Wed, Jul 25, 2018 at 03:12:15PM +0100, Alex Bennée wrote: > > Dave Martin writes: > > > Some system registers may or may not logically exist for a vcpu > > depending on whether certain architectural features are enabled for > > the vcpu. > > > > In order to avoid spuriously emulating access

Re: [RFC PATCH 08/16] KVM: arm64: Support dynamically hideable system registers

2018-07-25 Thread Alex Bennée
Dave Martin writes: > Some system registers may or may not logically exist for a vcpu > depending on whether certain architectural features are enabled for > the vcpu. > > In order to avoid spuriously emulating access to these registers > when they should not exist, or allowing the registers to

[RFC PATCH 08/16] KVM: arm64: Support dynamically hideable system registers

2018-06-21 Thread Dave Martin
Some system registers may or may not logically exist for a vcpu depending on whether certain architectural features are enabled for the vcpu. In order to avoid spuriously emulating access to these registers when they should not exist, or allowing the registers to be spuriously enumerated or