Re: [PATCH 1/2] target/i386: fix hang when using slow path for ptw_setl

2024-10-25 Thread Pierrick Bouvier
On 10/24/24 09:25, Richard Henderson wrote: On 10/23/24 23:20, Pierrick Bouvier wrote: When instrumenting memory accesses for plugin, we force memory accesses to use the slow path for mmu. [1] This create a situation where we end up calling ptw_setl_slow. Since this function gets called duri

Re: [PATCH 1/2] target/i386: fix hang when using slow path for ptw_setl

2024-10-25 Thread Richard Henderson
On 10/24/24 18:14, Pierrick Bouvier wrote: On 10/24/24 09:25, Richard Henderson wrote: On 10/23/24 23:20, Pierrick Bouvier wrote: When instrumenting memory accesses for plugin, we force memory accesses to use the slow path for mmu. [1] This create a situation where we end up calling ptw_setl_sl

Re: [PATCH 1/2] target/i386: fix hang when using slow path for ptw_setl

2024-10-25 Thread Pierrick Bouvier
On 10/24/24 09:25, Richard Henderson wrote: On 10/23/24 23:20, Pierrick Bouvier wrote: When instrumenting memory accesses for plugin, we force memory accesses to use the slow path for mmu. [1] This create a situation where we end up calling ptw_setl_slow. Since this function gets called during

Re: [PATCH 1/2] target/i386: fix hang when using slow path for ptw_setl

2024-10-24 Thread Richard Henderson
On 10/23/24 23:20, Pierrick Bouvier wrote: When instrumenting memory accesses for plugin, we force memory accesses to use the slow path for mmu. [1] This create a situation where we end up calling ptw_setl_slow. Since this function gets called during a cpu_exec, start_exclusive then hangs. This

[PATCH 1/2] target/i386: fix hang when using slow path for ptw_setl

2024-10-23 Thread Pierrick Bouvier
When instrumenting memory accesses for plugin, we force memory accesses to use the slow path for mmu. [1] This create a situation where we end up calling ptw_setl_slow. Since this function gets called during a cpu_exec, start_exclusive then hangs. This exclusive section was introduced initially fo