Re: [PATCH 02/23] tcg: Manage splitwx in tc_ptr_to_region_tree by hand

2021-01-28 Thread Alex Bennée
Alex Bennée writes: > Richard Henderson writes: > >> The use in tcg_tb_lookup is given a random pc that comes from the pc >> of a signal handler. Do not assert that the pointer is already within >> the code gen buffer at all, much less the writable mirror of it. >> >> Fixes: db0c51a3803 >> Si

Re: [PATCH 02/23] tcg: Manage splitwx in tc_ptr_to_region_tree by hand

2021-01-28 Thread Alex Bennée
Richard Henderson writes: > The use in tcg_tb_lookup is given a random pc that comes from the pc > of a signal handler. Do not assert that the pointer is already within > the code gen buffer at all, much less the writable mirror of it. > > Fixes: db0c51a3803 > Signed-off-by: Richard Henderson

[PATCH 02/23] tcg: Manage splitwx in tc_ptr_to_region_tree by hand

2021-01-28 Thread Richard Henderson
The use in tcg_tb_lookup is given a random pc that comes from the pc of a signal handler. Do not assert that the pointer is already within the code gen buffer at all, much less the writable mirror of it. Fixes: db0c51a3803 Signed-off-by: Richard Henderson --- For TCI, this indicates a bug in ha