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

Mark Brown broonie at kernel.org
Wed Dec 8 05:37:03 PST 2021


On Tue, Dec 07, 2021 at 08:02:16PM +0100, Ard Biesheuvel wrote:

> Can't we make these 34/36/38, respectively, and just do
> 
> hint #.Lbti_targets_\targets
> 
> here?

That works, the only downside is that it generates more hostile error
messages if you typo the argument, eg:

<instantiation>:4:7: error: immediate must be an integer in range [0, 127].
 hint #.L__bti_targets_d

I don't really mind either way.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20211208/c5a2d23a/attachment.sig>


More information about the linux-arm-kernel mailing list