Skip to content

exec: address space translation cleanups

Peter Xu qemu-devel 1 version Applied

Status from this message: Queued, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 15 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4exec: simplify phys_page_find() paramsexec.c+6 -72 replies
2/4exec: rename resolve_subpageexec.c+4 -42 replies
3/4exec: further use is_mmioexec.c+1 -12 replies
4/4exec: abstract address_space_do_translate()exec.c+65 -340 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchDavid GibsonMaxime Coquelin
SeriesT-b
1/4R-b
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/4] exec: address space translation cleanups

The problem is that, address_space_get_iotlb_entry() shares a lot with address_space_translate(). This patch tries to abstract the shared elements.

Originally, this work is derived from discussion from VT-d passthrough series discussions [1]. But for sure we can just see this series as a standalone cleanup. So I posted it separately here.

Smoke tests are done with general VM boots, IOs, especially with vhost dmar configurations.

I believe with current series I can throw away the old patch [1], which may be good. But before that, please kindly review. Thanks.

References:

[1] https://lists.gnu.org/archive/html/qemu-devel/2017-05/msg02335.html

Peter Xu (4):
exec: simplify phys_page_find() params
exec: rename resolve_subpage
exec: further use is_mmio
exec: abstract address_space_do_translate()

 exec.c | 122 ++++++++++++++++++++++++++++++++++++++++-------------------------
 1 file changed, 76 insertions(+), 46 deletions(-)
Signature · 1 line
2.7.4