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

target/arm: Convert Unallocated memory hint

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20190904193059.26202-40-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

authored by

Richard Henderson and committed by
Peter Maydell
610f4e17 beb595f6

+8 -8
+8
target/arm/a32-uncond.decode
··· 64 64 PLD 1111 0111 -101 ---- 1111 ----- -- 0 ---- # (register) 5te 65 65 PLDW 1111 0111 -001 ---- 1111 ----- -- 0 ---- # (register) 7mp 66 66 PLI 1111 0110 -101 ---- 1111 ----- -- 0 ---- # (register) 7 67 + 68 + # Unallocated memory hints 69 + # 70 + # Since these are v7MP nops, and PLDW is v7MP and implemented as nop, 71 + # (ab)use the PLDW helper. 72 + 73 + PLDW 1111 0100 -001 ---- ---- ---- ---- ---- 74 + PLDW 1111 0110 -001 ---- ---- ---- ---0 ----
-8
target/arm/translate.c
··· 10332 10332 } 10333 10333 return; 10334 10334 } 10335 - if (((insn & 0x0f700000) == 0x04100000) || 10336 - ((insn & 0x0f700010) == 0x06100000)) { 10337 - if (!arm_dc_feature(s, ARM_FEATURE_V7MP)) { 10338 - goto illegal_op; 10339 - } 10340 - return; /* v7MP: Unallocated memory hint: must NOP */ 10341 - } 10342 - 10343 10335 if ((insn & 0x0e000f00) == 0x0c000100) { 10344 10336 if (arm_dc_feature(s, ARM_FEATURE_IWMMXT)) { 10345 10337 /* iWMMXt register transfer. */