qemu-s390x
[Top][All Lists]
Advanced

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

Re: [PATCH v4] target/s390x: Implement the MVPG condition-code-option bi


From: Richard Henderson
Subject: Re: [PATCH v4] target/s390x: Implement the MVPG condition-code-option bit
Date: Wed, 3 Mar 2021 10:22:15 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

On 3/3/21 5:28 AM, Thomas Huth wrote:
From: Richard Henderson<richard.henderson@linaro.org>

If the CCO bit is set, MVPG should not generate an exception but
report page translation faults via a CC code.

Create a new helper, access_prepare_nf, which can use probe_access_flags
in non-faulting mode, and then handle watchpoints.

Signed-off-by: Richard Henderson<richard.henderson@linaro.org>
[thuth: Added logic to still inject protection exceptions]
Signed-off-by: Thomas Huth<thuth@redhat.com>
---
  v4: Add logic to inject protection exceptions if necessary

Works for me. I was considering adding yet another cputlb interface to help with this, but this is sufficiently clean that I don't think it's required.


r~



reply via email to

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