-
Sergey Fedorov authored
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: 5b053a4a ("tcg: Clean up direct block chaining safety checks") Reported-by:
Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by:
Sergey Fedorov <serge.fdrv@gmail.com>
Signed-off-by:
Sergey Fedorov <sergey.fedorov@linaro.org>
Tested-by:
Max Filippov <jcmvbkbc@gmail.com>
Message-id: 1463404380-29302-1-git-send-email-sergey.fedorov@linaro.org
Signed-off-by:
Peter Maydell <peter.maydell@linaro.org>Sergey Fedorov authoredIt 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: 5b053a4a ("tcg: Clean up direct block chaining safety checks") Reported-by:
Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by:
Sergey Fedorov <serge.fdrv@gmail.com>
Signed-off-by:
Sergey Fedorov <sergey.fedorov@linaro.org>
Tested-by:
Max Filippov <jcmvbkbc@gmail.com>
Message-id: 1463404380-29302-1-git-send-email-sergey.fedorov@linaro.org
Signed-off-by:
Peter Maydell <peter.maydell@linaro.org>
Loading