qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

linux-user/mips: Recognize the R5900 CPU model

This kind of ELF for the R5900 relies on an IEEE 754-1985 compliant FPU.
The R5900 FPU hardware is noncompliant and it is therefore emulated in
software by the Linux kernel. QEMU emulates a compliant FPU accordingly.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Signed-off-by: Fredrik Noring <noring@nocrew.org>
Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>

authored by

Fredrik Noring and committed by
Aleksandar Markovic
4d9e5a0e ed4f49ba

+3
+3
linux-user/mips/target_elf.h
··· 12 12 if ((eflags & EF_MIPS_ARCH) == EF_MIPS_ARCH_32R6) { 13 13 return "mips32r6-generic"; 14 14 } 15 + if ((eflags & EF_MIPS_MACH) == EF_MIPS_MACH_5900) { 16 + return "R5900"; 17 + } 15 18 return "24Kf"; 16 19 } 17 20 #endif