On 3/3/21 5:28 AM, Thomas Huth wrote:
From: Richard Henderson<richard.hender...@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.hender...@linaro.org>
[thuth: Added logic to still inject protection exceptions]
Signed-off-by: Thomas Huth<th...@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~