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

target/arm: Fix ID_MMFR4 value on AArch64 'max' CPU

In commit 41a4bf1feab098da4cd the added code to set the CNP
field in ID_MMFR4 for the AArch64 'max' CPU had a typo
where it used the wrong variable name, resulting in ID_MMFR4
fields AC2, XNX and LSM being wrong. Fix the typo.

Fixes: 41a4bf1feab098da4cd
Reported-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Message-id: 20200422124501.28015-1-peter.maydell@linaro.org

+1 -1
+1 -1
target/arm/cpu64.c
··· 705 705 u = cpu->isar.id_mmfr4; 706 706 u = FIELD_DP32(u, ID_MMFR4, HPDS, 1); /* AA32HPD */ 707 707 u = FIELD_DP32(u, ID_MMFR4, AC2, 1); /* ACTLR2, HACTLR2 */ 708 - u = FIELD_DP32(t, ID_MMFR4, CNP, 1); /* TTCNP */ 708 + u = FIELD_DP32(u, ID_MMFR4, CNP, 1); /* TTCNP */ 709 709 cpu->isar.id_mmfr4 = u; 710 710 711 711 u = cpu->isar.id_aa64dfr0;