Re: [PATCH for-8.1] accel/tcg: Avoid reading too much in load_atom_{2,4}

2023-08-10 Thread Philippe Mathieu-Daudé
On 10/8/23 17:48, Richard Henderson wrote: When load_atom_extract_al16_or_al8 is inexpensive, we want to use it early, in order to avoid the overhead of required_atomicity. However, we must not read past the end of the page. Reported-by: Mark Cave-Ayland Signed-off-by: Richard Henderson ---

[PATCH for-8.1] accel/tcg: Avoid reading too much in load_atom_{2,4}

2023-08-10 Thread Richard Henderson
When load_atom_extract_al16_or_al8 is inexpensive, we want to use it early, in order to avoid the overhead of required_atomicity. However, we must not read past the end of the page. Reported-by: Mark Cave-Ayland Signed-off-by: Richard Henderson --- This should solve the problem that Mark report