You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/target/mips
Philippe Mathieu-Daudé e895095c78 target/mips: Only update MVPControl.EVP bit if executed by master VPE
According to the 'MIPS MT Application-Specific Extension' manual:

  If the VPE executing the instruction is not a Master VPE,
  with the MVP bit of the VPEConf0 register set, the EVP bit
  is unchanged by the instruction.

Modify the DVPE/EVPE opcodes to only update the MVPControl.EVP bit
if executed on a master VPE.

Cc: qemu-stable@nongnu.org
Reported-by: Hansni Bu
Buglink: https://bugs.launchpad.net/qemu/+bug/1926277
Fixes: f249412c74 ("mips: Add MT halting and waking of VPEs")
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Message-ID: <20210427133343.159718-1-f4bug@amsat.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
2 weeks ago
..
system target/qmp: Use target_cpu_type() 4 weeks ago
tcg target/mips: Only update MVPControl.EVP bit if executed by master VPE 2 weeks ago
Kconfig target/mips: Restrict semihosting to TCG 1 year ago
cpu-defs.c.inc target/mips: Add support for emulation of CRC32 instructions 4 weeks ago
cpu-param.h tcg: Remove the TCG_GUEST_DEFAULT_MO definition globally 4 months ago
cpu-qom.h target: Move ArchCPUClass definition to 'cpu.h' 2 years ago
cpu.c target/mips: Fill in TCGCPUOps.pointer_wrap 3 months ago
cpu.h accel/tcg: Hoist cpu_get_tb_cpu_state decl to accl/tcg/cpu-ops.h 3 months ago
fpu.c target/mips: Optimize CPU/FPU regnames[] arrays 4 years ago
fpu_helper.h fpu: allow flushing of output denormals to be after rounding 6 months ago
gdbstub.c target/mips: Prefer fast cpu_env() over slower CPU QOM cast macro 1 year ago
helper.h target/mips: Add support for emulation of CRC32 instructions 4 weeks ago
internal.h target/mips: Move has_work() from CPUClass to SysemuCPUOps 5 months ago
kvm.c kvm: Introduce kvm_arch_pre_create_vcpu() 3 months ago
kvm_mips.h kvm: Introduce kvm_arch_get_default_type hook 2 years ago
meson.build target/mips: Add support for emulation of CRC32 instructions 4 weeks ago
mips-defs.h target/mips: Introduce disas_mt_available() 9 months ago
msa.c fpu: allow flushing of output denormals to be after rounding 6 months ago