Skip to content

target-arm: fix mmu access protection emulation

Juha Riihimäki qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3target-arm: fix vmsav6 access controltarget-arm/helper.c+19 -150 replies
2/3target-arm: correct cp15 c1_sys reset value for cortex-a8target-arm/helper.c+1 -00 replies
3/3target-arm: correct cp15 c1_sys reset value for arm1136 and cortex-a9target-arm/helper.c+2 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/3] target-arm: fix mmu access protection emulation

The ARM VMSAv6 emulation does not correctly ignore access protection checks for manager domain translation table descriptors. This causes ARM Linux kernel to hang during initialization for ARMv7 CPUs. However that has so far been hidden by another emulation bug where the cp15 c1 system control register has an invalid reset value for the emulated ARMv6 and ARMv7 processors indicating an earlier processor revision instead and thus making QEMU run the MMU emulation in ARMv5 mode.

This patch series fixes the access protection emulation in the ARM MMU emulation (1) and introduces correct cp15 c1 system control register values for the ARM1136, Cortex-A8 and Cortex-A9 cores (2,3).

Juha Riihimäki (2):
target-arm: fix vmsav6 access control
target-arm: correct cp15 c1_sys reset value for arm1136 and cortex-a9

Mattias Holm (1):
target-arm: correct cp15 c1_sys reset value for cortex-a8

 target-arm/helper.c |   37 ++++++++++++++++++++++---------------
 1 files changed, 22 insertions(+), 15 deletions(-)
Signature · 1 line
1.7.3.1