Re: [PATCH v2 02/55] hw/core: Make do_unaligned_access available to user-only

2021-08-03 Thread Alex Bennée
Richard Henderson writes: > We shouldn't be ignoring SIGBUS for user-only. > > Move our existing TCGCPUOps hook out from CONFIG_SOFTMMU. > Move the wrapper, cpu_unaligned_access, to cpu-exec-common.c. > > Signed-off-by: Richard Henderson Reviewed-by: Alex Bennée -- Alex Bennée

Re: [PATCH v2 02/55] hw/core: Make do_unaligned_access available to user-only

2021-08-03 Thread Philippe Mathieu-Daudé
On 8/3/21 6:13 AM, Richard Henderson wrote: > We shouldn't be ignoring SIGBUS for user-only. > > Move our existing TCGCPUOps hook out from CONFIG_SOFTMMU. > Move the wrapper, cpu_unaligned_access, to cpu-exec-common.c. > > Signed-off-by: Richard Henderson > --- > accel/tcg/internal.h |

[PATCH v2 02/55] hw/core: Make do_unaligned_access available to user-only

2021-08-02 Thread Richard Henderson
We shouldn't be ignoring SIGBUS for user-only. Move our existing TCGCPUOps hook out from CONFIG_SOFTMMU. Move the wrapper, cpu_unaligned_access, to cpu-exec-common.c. Signed-off-by: Richard Henderson --- accel/tcg/internal.h | 4 include/hw/core/tcg-cpu-ops.h | 16 ---