Re: [PATCH 5/5] hw/mips/malta: Rewrite CP0_MVPConf0 access using deposit()

2020-12-05 Thread Richard Henderson
On 12/4/20 4:26 PM, Philippe Mathieu-Daudé wrote: > PTC field has 8 bits, PVPE has 4. We plan to use the > "hw/registerfields.h" API with MIPS CPU definitions > (target/mips/cpu.h). Meanwhile we use magic 8 and 4. > > Signed-off-by: Philippe Mathieu-Daudé > --- > We want to move that to mips_cpu_

[PATCH 5/5] hw/mips/malta: Rewrite CP0_MVPConf0 access using deposit()

2020-12-04 Thread Philippe Mathieu-Daudé
PTC field has 8 bits, PVPE has 4. We plan to use the "hw/registerfields.h" API with MIPS CPU definitions (target/mips/cpu.h). Meanwhile we use magic 8 and 4. Signed-off-by: Philippe Mathieu-Daudé --- We want to move that to mips_cpu_reset() later, because this is not Malta specific but cpu-specif