Re: [PATCH v2 02/16] accel/tcg: Add probe_access_flags

2020-04-17 Thread Richard Henderson
On 4/16/20 4:54 AM, Peter Maydell wrote: >> -target_ulong tlb_addr; >> -size_t elt_ofs; >> -int wp_access; >> - >> -g_assert(-(addr | TARGET_PAGE_MASK) >= size); >> - >> -switch (access_type) { >> -case MMU_DATA_LOAD: >> -elt_ofs = offsetof(CPUTLBEntry, addr_read); >

Re: [PATCH v2 02/16] accel/tcg: Add probe_access_flags

2020-04-16 Thread Peter Maydell
On Thu, 12 Mar 2020 at 04:34, Richard Henderson wrote: > > This new interface will allow targets to probe for a page > and then handle watchpoints themselves. This will be most > useful for vector predicated memory operations, where one > page lookup can be used for many operations, and one test

[PATCH v2 02/16] accel/tcg: Add probe_access_flags

2020-03-11 Thread Richard Henderson
This new interface will allow targets to probe for a page and then handle watchpoints themselves. This will be most useful for vector predicated memory operations, where one page lookup can be used for many operations, and one test can avoid many watchpoint checks. Signed-off-by: Richard Henderso