commit | deba78709ae8ce103e2248413857747f804cd1ef | [log] [tgz] |
---|---|---|
author | Richard Henderson <richard.henderson@linaro.org> | Thu Jul 06 17:55:48 2023 +0100 |
committer | Richard Henderson <richard.henderson@linaro.org> | Sat Jul 15 08:02:33 2023 +0100 |
tree | 9e3993af183c57f27270979281ba00e6b92f08a8 | |
parent | d713cf4d6c71076513a10528303b3e337b4d5998 [diff] |
accel/tcg: Always lock pages before translation We had done this for user-mode by invoking page_protect within the translator loop. Extend this to handle system mode as well. Move page locking out of tb_link_page. Reported-by: Liren Wei <lrwei@bupt.edu.cn> Reported-by: Richard W.M. Jones <rjones@redhat.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Tested-by: Richard W.M. Jones <rjones@redhat.com>