Re: [PATCH] target/arm: Enable SCTLR_EL1.BT0 for aarch64-linux-user

2022-05-03 Thread Peter Maydell
On Thu, 28 Apr 2022 at 16:19, Richard Henderson wrote: > > On 4/28/22 05:56, Peter Maydell wrote: > > On Wed, 27 Apr 2022 at 05:23, Richard Henderson > > wrote: > >> > >> This controls whether the PACI{A,B}SP instructions trap with BTYPE=3 > >> (indirect branch from register other than x16/x17).

Re: [PATCH] target/arm: Enable SCTLR_EL1.BT0 for aarch64-linux-user

2022-04-28 Thread Richard Henderson
On 4/28/22 05:56, Peter Maydell wrote: On Wed, 27 Apr 2022 at 05:23, Richard Henderson wrote: This controls whether the PACI{A,B}SP instructions trap with BTYPE=3 (indirect branch from register other than x16/x17). The linux kernel sets this in bti_enable(). Resolves: https://gitlab.com/qemu

Re: [PATCH] target/arm: Enable SCTLR_EL1.BT0 for aarch64-linux-user

2022-04-28 Thread Peter Maydell
On Wed, 27 Apr 2022 at 05:23, Richard Henderson wrote: > > This controls whether the PACI{A,B}SP instructions trap with BTYPE=3 > (indirect branch from register other than x16/x17). The linux kernel > sets this in bti_enable(). > > Resolves: https://gitlab.com/qemu-project/qemu/-/issues/998 > Sig

[PATCH] target/arm: Enable SCTLR_EL1.BT0 for aarch64-linux-user

2022-04-26 Thread Richard Henderson
This controls whether the PACI{A,B}SP instructions trap with BTYPE=3 (indirect branch from register other than x16/x17). The linux kernel sets this in bti_enable(). Resolves: https://gitlab.com/qemu-project/qemu/-/issues/998 Signed-off-by: Richard Henderson --- target/arm/cpu.c