]> git.proxmox.com Git - mirror_qemu.git/commit
get_phys_addr_pmsav7: Support AP=0b111 for v7M
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 16 Jan 2018 13:28:10 +0000 (13:28 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 16 Jan 2018 13:28:10 +0000 (13:28 +0000)
commit8638f1ad7403b63db880dadce38e6690b5d82b64
tree8317391c0b8c0d16e596ecb36f2cc9145c4b0190
parent4b9774ef482d789d27938d0a7c14936ad706c74f
get_phys_addr_pmsav7: Support AP=0b111 for v7M

For PMSAv7, the v7A/R Arm ARM defines that setting AP to 0b111
is an UNPREDICTABLE reserved combination. However, for v7M
this value is documented as having the same behaviour as 0b110:
read-only for both privileged and unprivileged. Accept this
value on an M profile core rather than treating it as a guest
error and a no-access page.

Reported-by: Andy Gross <andy.gross@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 1512742402-31669-1-git-send-email-peter.maydell@linaro.org
target/arm/helper.c