Re: [PATCH v2 1/3] KVM: arm64: Don't hide ID registers from userspace

2020-11-04 Thread Dave Martin
On Tue, Nov 03, 2020 at 02:32:15PM +0100, Andrew Jones wrote: > On Tue, Nov 03, 2020 at 11:18:19AM +, Dave Martin wrote: > > On Mon, Nov 02, 2020 at 07:50:35PM +0100, Andrew Jones wrote: > > > ID registers are RAZ until they've been allocated a purpose, but > > > that doesn't mean they should

Re: [PATCH v2 1/3] KVM: arm64: Don't hide ID registers from userspace

2020-11-03 Thread Andrew Jones
On Tue, Nov 03, 2020 at 11:18:19AM +, Dave Martin wrote: > On Mon, Nov 02, 2020 at 07:50:35PM +0100, Andrew Jones wrote: > > ID registers are RAZ until they've been allocated a purpose, but > > that doesn't mean they should be removed from the KVM_GET_REG_LIST > > list. So far we only have one

Re: [PATCH v2 1/3] KVM: arm64: Don't hide ID registers from userspace

2020-11-03 Thread Dave Martin
On Mon, Nov 02, 2020 at 07:50:35PM +0100, Andrew Jones wrote: > ID registers are RAZ until they've been allocated a purpose, but > that doesn't mean they should be removed from the KVM_GET_REG_LIST > list. So far we only have one register, SYS_ID_AA64ZFR0_EL1, that > is hidden from userspace when

[PATCH v2 1/3] KVM: arm64: Don't hide ID registers from userspace

2020-11-02 Thread Andrew Jones
ID registers are RAZ until they've been allocated a purpose, but that doesn't mean they should be removed from the KVM_GET_REG_LIST list. So far we only have one register, SYS_ID_AA64ZFR0_EL1, that is hidden from userspace when its function is not present. Removing the userspace visibility checks