On Mon, 26 Jun 2023 at 15:15, ~jhogberg <jhogb...@git.sr.ht> wrote: > > From: John Högberg <john.hogb...@ericsson.com> > > https://gitlab.com/qemu-project/qemu/-/issues/1034 > > Signed-off-by: John Högberg <john.hogb...@ericsson.com>
> +static int self_modification_test(uint32_t *rw_data, const uint32_t > *exec_data) > +{ > + /* > + * This test is self-modifying in an attempt to cover an edge case where > + * the IC IVAU instruction invalidates itself. > + * > + * Note that the IC IVAU instruction is 16 bytes into the function, in > what > + * will be the same cache line as the modifed instruction on machines > with typo: "modified". Otherwise Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> thanks -- PMM