qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Richard Henderson
Subject: Re: [PATCH] target/arm: Enable SCTLR_EL1.BT0 for aarch64-linux-user
Date: Thu, 28 Apr 2022 08:19:39 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0

On 4/28/22 05:56, Peter Maydell wrote:
On Wed, 27 Apr 2022 at 05:23, Richard Henderson
<richard.henderson@linaro.org> 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
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

--- a/tests/tcg/aarch64/Makefile.target
+++ b/tests/tcg/aarch64/Makefile.target
@@ -26,11 +26,11 @@ run-plugin-pauth-%: QEMU_OPTS += -cpu max
  endif

  # BTI Tests
-# bti-1 tests the elf notes, so we require special compiler support.
+# bti-1 test the elf notes, so we require special compiler support.

Did you intend to edit this comment line ?

Otherwise
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>

Oops, no.  At one point I had bti-3 sharing this line, and following code, but 
it didn't work.

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]