[PATCH v3 1/2] arm64: Add macro version of the BTI instruction

Will Deacon will at kernel.org
Mon Dec 13 10:44:46 PST 2021


On Wed, Dec 08, 2021 at 04:08:18PM +0000, Mark Brown wrote:
> BTI is only available from v8.5 so we need to encode it using HINT in
> generic code and for older toolchains. Add an assembler macro written
> by Mark Rutland which lets us use the mnemonic and update the existing
> users.
> 
> Suggested-by: Mark Rutland <mark.rutland at arm.com>
> Signed-off-by: Mark Brown <broonie at kernel.org>
> ---
>  arch/arm64/crypto/aes-modes.S      | 10 +++++-----
>  arch/arm64/include/asm/assembler.h | 10 ++++++++++
>  arch/arm64/include/asm/linkage.h   |  7 +------
>  3 files changed, 16 insertions(+), 11 deletions(-)

Acked-by: Will Deacon <will at kernel.org>

Will



More information about the linux-arm-kernel mailing list