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

David Hildenbrand posted 2 patches 4 years, 7 months ago
Failed in applying to current master (apply log)
accel/tcg/cputlb.c      | 60 +++++++++++++++++++++++++++++++----------
accel/tcg/user-exec.c   | 28 ++++++++++++++-----
include/exec/exec-all.h |  9 +++++--
3 files changed, 75 insertions(+), 22 deletions(-)
[Qemu-devel] [PATCH v2 0/2] tcg: Introduce probe_access() and return a host pointer
Posted by David Hildenbrand 4 years, 7 months ago
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 <pbonzini@redhat.com>
Cc: Riku Voipio <riku.voipio@iki.fi>

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(-)

-- 
2.21.0


Re: [Qemu-devel] [PATCH v2 0/2] tcg: Introduce probe_access() and return a host pointer
Posted by Richard Henderson 4 years, 7 months ago
On 8/30/19 3:09 AM, David Hildenbrand wrote:
> 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 <pbonzini@redhat.com>
> Cc: Riku Voipio <riku.voipio@iki.fi>
> 
> 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(-)
> 

Queued to tcg-next.


r~