From daafb0ba17d47d315d4c106b1e28b9d6b5d5d15c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Date: Thu, 4 Mar 2021 15:43:39 -0500 Subject: [PATCH] target/arm: Replace magic value by MMU_DATA_LOAD definition cpu_get_phys_page_debug() uses 'DATA LOAD' MMU access type. Backports a9dd161ff2f54446f0b0547447d8196699aca3e1 --- qemu/target/arm/helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qemu/target/arm/helper.c b/qemu/target/arm/helper.c index 7f529b5b..05e760dd 100644 --- a/qemu/target/arm/helper.c +++ b/qemu/target/arm/helper.c @@ -12103,7 +12103,7 @@ hwaddr arm_cpu_get_phys_page_attrs_debug(CPUState *cs, vaddr addr, ARMMMUIdx mmu_idx = arm_mmu_idx(env); ARMCacheAttrs cacheattrs = {}; - ret = get_phys_addr(env, addr, 0, mmu_idx, &phys_addr, + ret = get_phys_addr(env, addr, MMU_DATA_LOAD, mmu_idx, &phys_addr, attrs, &prot, &page_size, &fi, &cacheattrs); if (ret) {