summaryrefslogtreecommitdiffstats
path: root/scripts/simpletrace.py
diff options
context:
space:
mode:
authorPeter Maydell2019-02-21 19:17:45 +0100
committerPeter Maydell2019-02-21 19:17:45 +0100
commitcff21316c666c8053b1f425577e324038d0ca30d (patch)
tree14146b4b0e315bdc5e5bc27f26119e376a31fe5a /scripts/simpletrace.py
parenthw/arm/armsse: Fix memory leak in error-exit path (diff)
downloadqemu-cff21316c666c8053b1f425577e324038d0ca30d.tar.gz
qemu-cff21316c666c8053b1f425577e324038d0ca30d.tar.xz
qemu-cff21316c666c8053b1f425577e324038d0ca30d.zip
target/arm: v8M MPU should use background region as default, not always
The "background region" for a v8M MPU is a default which will be used (if enabled, and if the access is privileged) if the access does not match any specific MPU region. We were incorrectly using it always (by putting the condition at the wrong nesting level). This meant that we would always return the default background permissions rather than the correct permissions for a specific region, and also that we would not return the right information in response to a TT instruction. Move the check for the background region to the same place in the logic as the equivalent v8M MPUCheck() pseudocode puts it. This in turn means we must adjust the condition we use to detect matches in multiple regions to avoid false-positives. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20190214113408.10214-1-peter.maydell@linaro.org
Diffstat (limited to 'scripts/simpletrace.py')
0 files changed, 0 insertions, 0 deletions