Re: [PATCH 4/4] tcg: Map code_gen_buffer with PROT_BTI

2023-08-16 Thread Philippe Mathieu-Daudé
(Cc'ing Joelle) On 16/8/23 16:25, Richard Henderson wrote: For linux aarch64 host supporting BTI, map the buffer to require BTI instructions at branch landing pads. Signed-off-by: Richard Henderson --- tcg/region.c | 39 --- 1 file changed, 28 insertions(

[PATCH 4/4] tcg: Map code_gen_buffer with PROT_BTI

2023-08-16 Thread Richard Henderson
For linux aarch64 host supporting BTI, map the buffer to require BTI instructions at branch landing pads. Signed-off-by: Richard Henderson --- tcg/region.c | 39 --- 1 file changed, 28 insertions(+), 11 deletions(-) diff --git a/tcg/region.c b/tcg/region.c in