On Mon, May 16, 2016 at 04:13:00PM +0300, Sergey Fedorov wrote:
> From: Sergey Fedorov <serge.f...@gmail.com>
> 
> It is not safe to make a direct jump to a TB spanning two pages in
> system emulation because the mapping for the second page can get changed
> but we don't take care of direct jumps in this case.
> 
> However in user mode emulation, this is not the case because there's
> only static address translation and TBs are always invalidated properly.
> 
> Fixes: 5b053a4a2827 ("tcg: Clean up direct block chaining safety checks")
> 
> Reported-by: Max Filippov <jcmvb...@gmail.com>
> Signed-off-by: Sergey Fedorov <serge.f...@gmail.com>
> Signed-off-by: Sergey Fedorov <sergey.fedo...@linaro.org>
> ---
>  cpu-exec.c | 9 +++++++++
>  1 file changed, 9 insertions(+)

Tested-by: Max Filippov <jcmvb...@gmail.com>

-- 
Thanks.
-- Max

Reply via email to