qemu-s390x
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v6 2/2] target/s390x: Store r1/r2 for page-translation except


From: Richard Henderson
Subject: Re: [PATCH v6 2/2] target/s390x: Store r1/r2 for page-translation exceptions during MVPG
Date: Fri, 12 Mar 2021 19:29:23 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

On 3/11/21 1:44 PM, David Hildenbrand wrote:
The PoP states:

     When EDAT-1 does not apply, and a program interruption due to a
     page-translation exception is recognized by the MOVE PAGE
     instruction, the contents of the R1 field of the instruction are
     stored in bit positions 0-3 of location 162, and the contents of
     the R2 field are stored in bit positions 4-7.

     If [...] an ASCE-type, region-first-translation,
     region-second-translation, region-third-translation, or
     segment-translation exception was recognized, the contents of
     location 162 are unpredictable.

So we have to write r1/r2 into the lowcore on page-translation
exceptions. Simply handle all exceptions inside our mvpg helper now.

Signed-off-by: David Hildenbrand<david@redhat.com>
---

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]