Re: [PATCH 5/9] accel/tcg: Pass last not end to page_reset_target_data

2023-03-05 Thread Philippe Mathieu-Daudé
On 6/3/23 03:13, Richard Henderson wrote: Pass the address of the last byte to be changed, rather than the first address past the last byte. This avoids overflow when the last page of the address space is involved. Signed-off-by: Richard Henderson --- include/exec/cpu-all.h | 2 +- accel/t

[PATCH 5/9] accel/tcg: Pass last not end to page_reset_target_data

2023-03-05 Thread Richard Henderson
Pass the address of the last byte to be changed, rather than the first address past the last byte. This avoids overflow when the last page of the address space is involved. Signed-off-by: Richard Henderson --- include/exec/cpu-all.h | 2 +- accel/tcg/user-exec.c | 11 +-- linux-user/m