[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [qemu-s390x] [Qemu-devel] [PATCH v2 09/28] s390x/tcg: MVCLU/MVCLE: P
From: |
David Hildenbrand |
Subject: |
Re: [qemu-s390x] [Qemu-devel] [PATCH v2 09/28] s390x/tcg: MVCLU/MVCLE: Process max 4k bytes at a time |
Date: |
Wed, 11 Sep 2019 18:14:53 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 |
On 11.09.19 17:05, Richard Henderson wrote:
> On 9/6/19 3:57 AM, David Hildenbrand wrote:
>> + if (*srclen) {
>> + /* Copy the src array */
>> + len = MIN(len, *srclen);
>> + *destlen -= len;
>> + *srclen -= len;
>> + fast_memmove(env, *dest, *src, len, ra);
>> + *src = wrap_address(env, *src + len);
>> + *dest = wrap_address(env, *dest + len);
>> + } else if (wordsize == 1) {
>> + /* Pad the remaining area */
>> + *destlen -= len;
>> + fast_memset(env, *dest, pad, len, ra);
>> + *dest = wrap_address(env, *dest + len);
>
> Again, I'm not sure fast_memmove actually handles wrap, yet.
Similarly, fixed by access_prepare(), access_memmove().
> Would it be easier to split at page boundaries rather than a
> fixed 4k length?
Also had that already, can do.
--
Thanks,
David / dhildenb
- [qemu-s390x] [PATCH v2 05/28] s390x/tcg: MVC: Increment the length once, (continued)
- [qemu-s390x] [PATCH v2 05/28] s390x/tcg: MVC: Increment the length once, David Hildenbrand, 2019/09/06
- [qemu-s390x] [PATCH v2 06/28] s390x/tcg: MVC: Use is_destructive_overlap(), David Hildenbrand, 2019/09/06
- [qemu-s390x] [PATCH v2 07/28] s390x/tcg: MVPG: Check for specification exceptions, David Hildenbrand, 2019/09/06
- [qemu-s390x] [PATCH v2 08/28] s390x/tcg: MVPG: Properly wrap the addresses, David Hildenbrand, 2019/09/06
- [qemu-s390x] [PATCH v2 09/28] s390x/tcg: MVCLU/MVCLE: Process max 4k bytes at a time, David Hildenbrand, 2019/09/06
- [qemu-s390x] [PATCH v2 10/28] s390x/tcg: MVCS/MVCP: Check for special operation exceptions, David Hildenbrand, 2019/09/06
- [qemu-s390x] [PATCH v2 11/28] s390x/tcg: MVCS/MVCP: Properly wrap the length, David Hildenbrand, 2019/09/06
- [qemu-s390x] [PATCH v2 12/28] s390x/tcg: MVST: Check for specification exceptions, David Hildenbrand, 2019/09/06
- [qemu-s390x] [PATCH v2 13/28] s390x/tcg: MVST: Fix storing back the addresses to registers, David Hildenbrand, 2019/09/06