[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [qemu-s390x] [Qemu-devel] [PATCH v3 04/29] s390x/tcg: MVCL: Process
From: |
Richard Henderson |
Subject: |
Re: [qemu-s390x] [Qemu-devel] [PATCH v3 04/29] s390x/tcg: MVCL: Process max 4k bytes at a time |
Date: |
Tue, 17 Sep 2019 12:56:16 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 |
On 9/16/19 9:57 AM, David Hildenbrand wrote:
> Process max 4k bytes at a time, writing back registers between the
> accesses. The instruction is interruptible.
> "For operands longer than 2K bytes, access exceptions are not
> recognized for locations more than 2K bytes beyond the current location
> being processed."
> Note that on z/Architecture, 2k vs. 4k access cannot get differentiated as
> long as pages are not crossed. This seems to be a leftover from ESA/390.
> Simply stay within single pages.
>
> MVCL handling is quite different than MVCLE/MVCLU handling, so split up
> the handlers.
>
> Defer interrupt handling, as that will require more thought, add a TODO
> for that.
>
> Signed-off-by: David Hildenbrand <address@hidden>
> ---
> target/s390x/mem_helper.c | 44 +++++++++++++++++++++++++++++++++------
> 1 file changed, 38 insertions(+), 6 deletions(-)
Reviewed-by: Richard Henderson <address@hidden>
r~
- [qemu-s390x] [PATCH v3 00/29] s390x/tcg: mem_helper: Fault-safe handling, David Hildenbrand, 2019/09/16
- [qemu-s390x] [PATCH v3 01/29] s390x/tcg: Reset exception_index to -1 instead of 0, David Hildenbrand, 2019/09/16
- [qemu-s390x] [PATCH v3 02/29] s390x/tcg: MVCL: Zero out unused bits of address, David Hildenbrand, 2019/09/16
- [qemu-s390x] [PATCH v3 03/29] s390x/tcg: MVCL: Detect destructive overlaps, David Hildenbrand, 2019/09/16
- [qemu-s390x] [PATCH v3 04/29] s390x/tcg: MVCL: Process max 4k bytes at a time, David Hildenbrand, 2019/09/16
- Re: [qemu-s390x] [Qemu-devel] [PATCH v3 04/29] s390x/tcg: MVCL: Process max 4k bytes at a time,
Richard Henderson <=
- [qemu-s390x] [PATCH v3 06/29] s390x/tcg: MVC: Use is_destructive_overlap(), David Hildenbrand, 2019/09/16
- [qemu-s390x] [PATCH v3 05/29] s390x/tcg: MVC: Increment the length once, David Hildenbrand, 2019/09/16
- [qemu-s390x] [PATCH v3 07/29] s390x/tcg: MVPG: Check for specification exceptions, David Hildenbrand, 2019/09/16
- [qemu-s390x] [PATCH v3 09/29] s390x/tcg: MVCLU/MVCLE: Process max 4k bytes at a time, David Hildenbrand, 2019/09/16
- [qemu-s390x] [PATCH v3 08/29] s390x/tcg: MVPG: Properly wrap the addresses, David Hildenbrand, 2019/09/16
- [qemu-s390x] [PATCH v3 10/29] s390x/tcg: MVCS/MVCP: Check for special operation exceptions, David Hildenbrand, 2019/09/16
- [qemu-s390x] [PATCH v3 11/29] s390x/tcg: MVCOS: Lengths are 32 bit in 24/31-bit mode, David Hildenbrand, 2019/09/16
- [qemu-s390x] [PATCH v3 12/29] s390x/tcg: MVCS/MVCP: Properly wrap the length, David Hildenbrand, 2019/09/16