summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2017-11-13 13:55:27 +0000
committerPeter Maydell <peter.maydell@linaro.org>2017-11-13 13:55:27 +0000
commitd25f2a72272b9ffe0d06710d6217d1169bc2cc7d (patch)
tree9352a1f48ca074cd58c2eee2e0cd049170ee6bd8 /hw
parent7264961934130df50d151def5eb415efa2e28ec5 (diff)
downloadqemu-d25f2a72272b9ffe0d06710d6217d1169bc2cc7d.tar.gz
accel/tcg/translate-all: expand cpu_restore_state addr check
We are still seeing signals during translation time when we walk over a page protection boundary. This expands the check to ensure the host PC is inside the code generation buffer. The original suggestion was to check versus tcg_ctx.code_gen_ptr but as we now segment the translation buffer we have to settle for just a general check for being inside. I've also fixed up the declaration to make it clear it can deal with invalid addresses. A later patch will fix up the call sites. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reported-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20171108153245.20740-2-alex.bennee@linaro.org Suggested-by: Paolo Bonzini <pbonzini@redhat.com> Cc: Richard Henderson <rth@twiddle.net> Tested-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw')
0 files changed, 0 insertions, 0 deletions