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

2020-03-11 Thread Richard Henderson
On 3/10/20 11:44 PM, Richard Henderson wrote: > +int probe_access_flags(CPUArchState *env, target_ulong addr, > + MMUAccessType access_type, int mmu_idx, > + bool nonfault, void **phost, uintptr_t retaddr) > +{ > +void *host; > +int flags; > + > +

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

2020-03-10 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