Re: [PATCH 07/12] arm64/bti: Advertise BTI in assembly objects
Mark Brown <[email protected]>
| Newsgroups | org.kernel.vger.live-patching,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-kernel,org.kernel.vger.linux-toolchains |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Aug 14, 2026 at 09:45:24PM -0700, Josh Poimboeuf wrote: > On a kernel whose text exceeds the +/-128MB direct branch range, the > linker inserts veneers. With BTI enabled, the veneers' indirect branch > targets need a BTI landing pad, which not all functions have starting > with Clang 21 (and for all versions of GCC). We already have explicit note generation support in asm/assembler.h which is used in the vDSO code, it probably makes sense to replace that too. I didn't check if there's potential for the two to collide with this as is.
signature.asc
(application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmqA3+YACgkQJNaLcl1U h9A/DQf/WTnuS2TWA3jYmXlJx0LmO3Ydemf68Q8UJia96H0cXBoAVbvlCLGelBJ+ xwrW2pLUAszFkVhshCZn9wIsBxiaJHvjNEJBiV11UN27ogqwqkF8P5omVVAoUx9n Jd8YZb4KIDcof9ZXXeug2J5QFkXaZQ+TjCCAKunMT94QPA4Ku2PLSs41CVdm1aBB Hda9JTCPsvER87662JHG7mICgPmUmlDQKwHpxS9V9YE+/fx+kgARnoEGc1O32DOb JKhYD8v22nrMHu0sdcpQMwjc/6GDvB6nGzFsxtwqi9sOQ6RNDffXKaHWWnxY1+74 ZNAOYbZgbFNcnQb5BDrpiUMHGbWfjA== =y+lK -----END PGP SIGNATURE-----