Re: [Qemu-devel] [PATCH 04/13] target/openrisc: Make VR and PPC read-only

2019-08-26 Thread Stafford Horne
On Mon, Aug 26, 2019 at 05:07:36PM -0700, Richard Henderson wrote: > These SPRs are read-only. The writes can simply be ignored, > as we already do for other read-only (or missing) registers. > There is no reason to mask the value in env->vr. > > Signed-off-by: Richard Henderson Reviewed-by: St

[Qemu-devel] [PATCH 04/13] target/openrisc: Make VR and PPC read-only

2019-08-26 Thread Richard Henderson
These SPRs are read-only. The writes can simply be ignored, as we already do for other read-only (or missing) registers. There is no reason to mask the value in env->vr. Signed-off-by: Richard Henderson --- target/openrisc/cpu.h| 3 --- target/openrisc/sys_helper.c | 10 +- 2 f