On 05/18/2017 07:19 AM, Thomas Huth wrote:
TEST BLOCK was likely once used to execute basic memory
tests, but nowadays it is just a (slow) way to clear a page.
Signed-off-by: Thomas Huth <th...@redhat.com>
---
v3:
- Use TCG_CALL_NO_RWG instead of TCG_CALL_NO_WG
- Use potential_page_fault() since the helper can generate an exception
You were right the first time, using TCG_CALL_NO_WG, since an exception path
implies that all of the register values are read (by being live values when we
restart at the exception handler).
As an aside, we really should convert target/s390 to properly use
cpu_loop_exit_restore so that we can drop potential_page_fault().
r~