Re: [Qemu-devel] [PATCH v2 2/2] target/s390x: implement mvcos instruction

2017-06-15 Thread David Hildenbrand
>> >> +#ifndef CONFIG_USER_ONLY >> +static void fast_memmove_idx(CPUS390XState *env, uint64_t dest, uint64_t >> src, >> + uint32_t len, int dest_idx, int src_idx, >> + uintptr_t ra) >> +{ >> +TCGMemOpIdx oi_dest = make_memop_idx(MO_UB,

Re: [Qemu-devel] [PATCH v2 2/2] target/s390x: implement mvcos instruction

2017-06-14 Thread Thomas Huth
On 14.06.2017 15:38, David Hildenbrand wrote: > This adds support for the MOVE WITH OPTIONAL SPECIFICATIONS (MVCOS) > instruction. Allow to enable it for the qemu cpu model using > > qemu-system-s390x ... -cpu qemu,mvcos=on ... > > This allows to boot linux kernel that uses it for uacccess. > >

[Qemu-devel] [PATCH v2 2/2] target/s390x: implement mvcos instruction

2017-06-14 Thread David Hildenbrand
This adds support for the MOVE WITH OPTIONAL SPECIFICATIONS (MVCOS) instruction. Allow to enable it for the qemu cpu model using qemu-system-s390x ... -cpu qemu,mvcos=on ... This allows to boot linux kernel that uses it for uacccess. We are missing (as for most other part) low address protection