Skip to content

tcg: Introduce probe_access() and return a host pointer

David Hildenbrand qemu-devel 2 versions – Applied

Status from this message: Queued to tcg-next.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 3 repliesApplied
  2. v12 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- Rebased to tcg-next
- "tcg: Make probe_write() return a pointer to the host page" -- Rephrase documentation
- "tcg: Factor out probe_write() logic into probe_access()" -- Don't check the MMU index

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2tcg: Make probe_write() return a pointer to the host pageaccel/tcg/cputlb.c accel/tcg/user-exec.c include/exec/exec-all.h+22 -91 reply
2/2tcg: Factor out probe_write() logic into probe_access()accel/tcg/cputlb.c accel/tcg/user-exec.c include/exec/exec-all.h+59 -191 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchRichard Henderson
1/2R-b
2/2R-b

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

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/2] tcg: Introduce probe_access() and return a host pointer

Let's return a host pointer from probe_access() if possible and provide probe_access(). s390x will soon make use of probe_access() and use the provided host pointer.

v1 -> v2:
- Rebased to tcg-next
- "tcg: Make probe_write() return a pointer to the host page" -- Rephrase documentation
- "tcg: Factor out probe_write() logic into probe_access()" -- Don't check the MMU index

Cc Paolo Bonzini <[email protected]>
Cc Riku Voipio <[email protected]>

David Hildenbrand (2):
tcg: Make probe_write() return a pointer to the host page
tcg: Factor out probe_write() logic into probe_access()

 accel/tcg/cputlb.c      | 60 +++++++++++++++++++++++++++++++----------
 accel/tcg/user-exec.c   | 28 ++++++++++++++-----
 include/exec/exec-all.h |  9 +++++--
 3 files changed, 75 insertions(+), 22 deletions(-)
Signature · 1 line
2.21.0