Re: [Qemu-devel] [PATCH v2 18/28] s390x/tcg: MVC: Fault-safe handling on destructive overlaps

2019-09-11 Thread Richard Henderson
On 9/6/19 3:57 AM, David Hildenbrand wrote: > +static S390Access access_prepare(CPUS390XState *env, vaddr vaddr, int size, > + MMUAccessType access_type, uintptr_t ra) > +{ > +int mmu_idx = cpu_mmu_index(env, false); > + > +return access_prepare_idx(env, vadd

[Qemu-devel] [PATCH v2 18/28] s390x/tcg: MVC: Fault-safe handling on destructive overlaps

2019-09-06 Thread David Hildenbrand
The last remaining bit for MVC is handling destructive overlaps in a fault-safe way. Signed-off-by: David Hildenbrand --- target/s390x/mem_helper.c | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/target/s390x/mem_helper.c b/target/s390x/mem_helper.c index 26