Re: [PATCH 2/7] accel/tcg: Set CPUState.plugin_ra before all plugin callbacks

2024-05-31 Thread Alex Bennée
Richard Henderson writes: We really could do with a description of why we are setting plugin_ra and what we mean to achieve by it. I think it is so we can then do the same PC/other register recovery as we do at synchronous faulting exceptions be it generated TCG code or a helper. However we

Re: [PATCH 2/7] accel/tcg: Set CPUState.plugin_ra before all plugin callbacks

2024-04-18 Thread Pierrick Bouvier
On 4/15/24 21:06, Richard Henderson wrote: Signed-off-by: Richard Henderson --- include/hw/core/cpu.h | 1 + accel/tcg/plugin-gen.c | 50 +- 2 files changed, 46 insertions(+), 5 deletions(-) diff --git a/include/hw/core/cpu.h

[PATCH 2/7] accel/tcg: Set CPUState.plugin_ra before all plugin callbacks

2024-04-15 Thread Richard Henderson
Signed-off-by: Richard Henderson --- include/hw/core/cpu.h | 1 + accel/tcg/plugin-gen.c | 50 +- 2 files changed, 46 insertions(+), 5 deletions(-) diff --git a/include/hw/core/cpu.h b/include/hw/core/cpu.h index 10cd492aff..f4af37c13d 100644 ---