[Qemu-commits] [qemu/qemu] 801894: accel/tcg: Use vaddr in translator_ld*
Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: 80189472303e0209deb1c483915df87c0a8310bf https://github.com/qemu/qemu/commit/80189472303e0209deb1c483915df87c0a8310bf Author: Richard Henderson Date: 2024-05-15 (Wed, 15 May 2024) Changed paths: M accel/tcg/translator.c M include/exec/translator.h M target/hexagon/translate.c M target/microblaze/translate.c Log Message: --- accel/tcg: Use vaddr in translator_ld* Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: 66f3b79e85149f42465a580c2530638e27c4a4bb https://github.com/qemu/qemu/commit/66f3b79e85149f42465a580c2530638e27c4a4bb Author: Richard Henderson Date: 2024-05-15 (Wed, 15 May 2024) Changed paths: M include/exec/translator.h Log Message: --- accel/tcg: Hide in_same_page outside of a target-specific context While there are other methods that could be used to replace TARGET_PAGE_MASK, the function is not really required outside the context of target-specific translation. This makes the header usable by target independent code. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: 99977aefd07d85da791e0d851ba2d10d9d5c3094 https://github.com/qemu/qemu/commit/99977aefd07d85da791e0d851ba2d10d9d5c3094 Author: Richard Henderson Date: 2024-05-15 (Wed, 15 May 2024) Changed paths: M accel/tcg/translator.c M include/exec/translator.h M target/s390x/tcg/translate.c Log Message: --- accel/tcg: Pass DisasContextBase to translator_fake_ldb Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: 04f8ed114545f01a2fee1121e862e270cdd46741 https://github.com/qemu/qemu/commit/04f8ed114545f01a2fee1121e862e270cdd46741 Author: Richard Henderson Date: 2024-05-15 (Wed, 15 May 2024) Changed paths: M accel/tcg/translator.c Log Message: --- accel/tcg: Reorg translator_ld* Reorg translator_access into translator_ld, with a more memcpy-ish interface. If both pages are in ram, do not go through the caller's slow path. Assert that the access is within the two pages that we are prepared to protect, per TranslationBlock. Allow access prior to pc_first, so long as it is within the first page. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: ddfa9f11766c532209d4ce848c12761d28730338 https://github.com/qemu/qemu/commit/ddfa9f11766c532209d4ce848c12761d28730338 Author: Richard Henderson Date: 2024-05-15 (Wed, 15 May 2024) Changed paths: M accel/tcg/translator.c Log Message: --- accel/tcg: Cap the translation block when we encounter mmio Do not allow translation to proceed beyond one insn with mmio, as we will not be caching the TranslationBlock. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: ba3fb2a735963cf3988ef9476d134a8418baa436 https://github.com/qemu/qemu/commit/ba3fb2a735963cf3988ef9476d134a8418baa436 Author: Richard Henderson Date: 2024-05-15 (Wed, 15 May 2024) Changed paths: M accel/tcg/translator.c M include/exec/translator.h Log Message: --- accel/tcg: Record mmio bytes during translation This will be able to replace plugin_insn_append, and will be usable for disassembly. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: b3f05b8ce24a2dae2e37bd6e7910f19652848656 https://github.com/qemu/qemu/commit/b3f05b8ce24a2dae2e37bd6e7910f19652848656 Author: Richard Henderson Date: 2024-05-15 (Wed, 15 May 2024) Changed paths: M accel/tcg/translator.c M include/exec/translator.h Log Message: --- accel/tcg: Record when translator_fake_ldb is used Remove left-over comment from commit dcd092a063 ("accel/tcg: Improve can_do_io management"). Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: bf4bb074b72a7dc6c9ee5379a1d6b693dcd0a5a6 https://github.com/qemu/qemu/commit/bf4bb074b72a7dc6c9ee5379a1d6b693dcd0a5a6 Author: Richard Henderson Date: 2024-05-15 (Wed, 15 May 2024) Changed paths: M accel/tcg/plugin-gen.c M include/tcg/tcg.h Log Message: --- accel/tcg: Record DisasContextBase in tcg_ctx for plugins Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: 4abc892362f8282450f18c4e45c5b0534461d01e https://github.com/qemu/qemu/commit/4abc892362f8282450f18c4e45c5b0534461d01e Author: Richard Henderson Date: 2024-05-15 (Wed, 15 May 2024) Changed paths: M contrib/plugins/execlog.c M contrib/plugins/howvec.c M include/qemu/qemu-plugin.h M plugins/api.c Log Message: --- plugins: Copy memory in qemu_plugin_insn_data Instead of returning a host pointer, copy the data into storage provided by the caller. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard
[Qemu-commits] [qemu/qemu] 801894: accel/tcg: Use vaddr in translator_ld*
Branch: refs/heads/staging Home: https://github.com/qemu/qemu Commit: 80189472303e0209deb1c483915df87c0a8310bf https://github.com/qemu/qemu/commit/80189472303e0209deb1c483915df87c0a8310bf Author: Richard Henderson Date: 2024-05-15 (Wed, 15 May 2024) Changed paths: M accel/tcg/translator.c M include/exec/translator.h M target/hexagon/translate.c M target/microblaze/translate.c Log Message: --- accel/tcg: Use vaddr in translator_ld* Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: 66f3b79e85149f42465a580c2530638e27c4a4bb https://github.com/qemu/qemu/commit/66f3b79e85149f42465a580c2530638e27c4a4bb Author: Richard Henderson Date: 2024-05-15 (Wed, 15 May 2024) Changed paths: M include/exec/translator.h Log Message: --- accel/tcg: Hide in_same_page outside of a target-specific context While there are other methods that could be used to replace TARGET_PAGE_MASK, the function is not really required outside the context of target-specific translation. This makes the header usable by target independent code. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: 99977aefd07d85da791e0d851ba2d10d9d5c3094 https://github.com/qemu/qemu/commit/99977aefd07d85da791e0d851ba2d10d9d5c3094 Author: Richard Henderson Date: 2024-05-15 (Wed, 15 May 2024) Changed paths: M accel/tcg/translator.c M include/exec/translator.h M target/s390x/tcg/translate.c Log Message: --- accel/tcg: Pass DisasContextBase to translator_fake_ldb Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: 04f8ed114545f01a2fee1121e862e270cdd46741 https://github.com/qemu/qemu/commit/04f8ed114545f01a2fee1121e862e270cdd46741 Author: Richard Henderson Date: 2024-05-15 (Wed, 15 May 2024) Changed paths: M accel/tcg/translator.c Log Message: --- accel/tcg: Reorg translator_ld* Reorg translator_access into translator_ld, with a more memcpy-ish interface. If both pages are in ram, do not go through the caller's slow path. Assert that the access is within the two pages that we are prepared to protect, per TranslationBlock. Allow access prior to pc_first, so long as it is within the first page. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: ddfa9f11766c532209d4ce848c12761d28730338 https://github.com/qemu/qemu/commit/ddfa9f11766c532209d4ce848c12761d28730338 Author: Richard Henderson Date: 2024-05-15 (Wed, 15 May 2024) Changed paths: M accel/tcg/translator.c Log Message: --- accel/tcg: Cap the translation block when we encounter mmio Do not allow translation to proceed beyond one insn with mmio, as we will not be caching the TranslationBlock. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: ba3fb2a735963cf3988ef9476d134a8418baa436 https://github.com/qemu/qemu/commit/ba3fb2a735963cf3988ef9476d134a8418baa436 Author: Richard Henderson Date: 2024-05-15 (Wed, 15 May 2024) Changed paths: M accel/tcg/translator.c M include/exec/translator.h Log Message: --- accel/tcg: Record mmio bytes during translation This will be able to replace plugin_insn_append, and will be usable for disassembly. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: b3f05b8ce24a2dae2e37bd6e7910f19652848656 https://github.com/qemu/qemu/commit/b3f05b8ce24a2dae2e37bd6e7910f19652848656 Author: Richard Henderson Date: 2024-05-15 (Wed, 15 May 2024) Changed paths: M accel/tcg/translator.c M include/exec/translator.h Log Message: --- accel/tcg: Record when translator_fake_ldb is used Remove left-over comment from commit dcd092a063 ("accel/tcg: Improve can_do_io management"). Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: bf4bb074b72a7dc6c9ee5379a1d6b693dcd0a5a6 https://github.com/qemu/qemu/commit/bf4bb074b72a7dc6c9ee5379a1d6b693dcd0a5a6 Author: Richard Henderson Date: 2024-05-15 (Wed, 15 May 2024) Changed paths: M accel/tcg/plugin-gen.c M include/tcg/tcg.h Log Message: --- accel/tcg: Record DisasContextBase in tcg_ctx for plugins Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Commit: 4abc892362f8282450f18c4e45c5b0534461d01e https://github.com/qemu/qemu/commit/4abc892362f8282450f18c4e45c5b0534461d01e Author: Richard Henderson Date: 2024-05-15 (Wed, 15 May 2024) Changed paths: M contrib/plugins/execlog.c M contrib/plugins/howvec.c M include/qemu/qemu-plugin.h M plugins/api.c Log Message: --- plugins: Copy memory in qemu_plugin_insn_data Instead of returning a host pointer, copy the data into storage provided by the caller. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: