mbox series

[v1,00/15] testing, docs, tracepoints and cputlb hacks

Message ID 20220408164742.2844631-1-alex.bennee@linaro.org
Headers show
Series testing, docs, tracepoints and cputlb hacks | expand

Message

Alex Bennée April 8, 2022, 4:47 p.m. UTC
Hi,

In anticipation of the tree re-opening soon I thought flush the
current state of my maintainer trees. We have a change for testing, a
couple of documentation updates, some refactoring of disassembly
handling and additional tracepoints for diagnosing cputlb issues.
There is also a hack for speeding up UEFI boots which I suspect will
never be up-streamed but may serve as a prompt for further discussion
and more refined approaches.

Currently the following patches need review:

- accel/tcg: add heuristic to invalidate al TBs in a page [hack!]
- tests/tcg: add memory-sve test for aarch64
- accel/tcg: add tb_invalidate_phys_page_range tracepoint
- cputlb: add tracepoints for TB invalidation
- cputlb: add tracepoints for the protect/unprotect helpers
- disas: use result of ->read_memory_func
- disas: generalise plugin_printf and use for monitor_disas
- monitor: expose monitor_puts to rest of code
- accel/tcg: add tb_invalidate_phy_pages_fast tracepoint
- accel/tcg: move trace events to correct location
- docs/devel: drop :hidden: and :includehidden: tags
- docs/devel: add some notes on the binfmt-image-debian targets
- tests/avocado: update aarch64_virt test to exercise -cpu max


Alex Bennée (14):
  tests/avocado: update aarch64_virt test to exercise -cpu max
  docs/devel: add some notes on the binfmt-image-debian targets
  docs/devel: drop :hidden: and :includehidden: tags
  accel/tcg: move trace events to correct location
  accel/tcg: add tb_invalidate_phy_pages_fast tracepoint
  monitor: expose monitor_puts to rest of code
  disas: generalise plugin_printf and use for monitor_disas
  disas: use result of ->read_memory_func
  cputlb: add tracepoints for the protect/unprotect helpers
  cputlb: add tracepoints for TB invalidation
  accel/tcg: add tb_invalidate_phys_page_range tracepoint
  tests/tcg: add memory-sve test for aarch64
  plugins: extend execlog to filter matches
  accel/tcg: add heuristic to invalidate al TBs in a page [hack!]

Richard Henderson (1):
  plugins: Assert mmu_idx in range before use in qemu_plugin_get_hwaddr

 docs/devel/index-api.rst                  |  1 -
 docs/devel/index-build.rst                |  3 +-
 docs/devel/index-internals.rst            |  1 -
 docs/devel/index-process.rst              |  1 -
 docs/devel/index-tcg.rst                  |  1 -
 docs/devel/index.rst                      |  2 -
 docs/devel/qtest.rst                      |  1 -
 docs/devel/tcg-plugins.rst                |  9 ++-
 docs/devel/testing.rst                    | 38 +++++++++
 include/monitor/monitor.h                 |  1 +
 monitor/monitor-internal.h                |  1 -
 accel/tcg/cputlb.c                        | 16 ++--
 accel/tcg/translate-all.c                 | 38 +++++++--
 contrib/plugins/execlog.c                 | 96 +++++++++++++++++++----
 disas.c                                   | 43 +++++-----
 disas/capstone.c                          | 73 ++++++++++-------
 plugins/api.c                             |  2 +
 MAINTAINERS                               |  1 +
 accel/tcg/trace-events                    | 10 +++
 tests/avocado/boot_linux_console.py       | 25 ------
 tests/avocado/machine_aarch64_virt.py     | 51 ++++++++++++
 tests/tcg/aarch64/Makefile.softmmu-target |  7 ++
 tests/tcg/aarch64/system/boot.S           |  3 +-
 trace-events                              |  4 -
 24 files changed, 314 insertions(+), 114 deletions(-)
 create mode 100644 tests/avocado/machine_aarch64_virt.py