On Fri, Mar 29, 2019 at 01:00:35PM +0000, Dave Martin wrote: > Architecture features that are conditionally visible to the guest > will require run-time checks in the ID register accessor functions. > In particular, read_id_reg() will need to perform checks in order > to generate the correct emulated value for certain ID register > fields such as ID_AA64PFR0_EL1.SVE for example. > > This patch propagates vcpu into read_id_reg() so that future > patches can add run-time checks on the guest configuration here. > > For now, there is no functional change. > > Signed-off-by: Dave Martin <dave.mar...@arm.com> > Reviewed-by: Alex Bennée <alex.ben...@linaro.org> > Tested-by: zhang.lei <zhang....@jp.fujitsu.com> > --- > arch/arm64/kvm/sys_regs.c | 23 +++++++++++++---------- > 1 file changed, 13 insertions(+), 10 deletions(-) >
Reviewed-by: Andrew Jones <drjo...@redhat.com> _______________________________________________ kvmarm mailing list kvmarm@lists.cs.columbia.edu https://lists.cs.columbia.edu/mailman/listinfo/kvmarm