diff options
| author | 2026-10-05 18:21:37 +0200 | |
|---|---|---|
| committer | 2026-10-08 16:45:05 -0700 | |
| commit | 9142c2f8f84bf4eafe23e9d68b6ba016a60300c0 (patch) | |
| tree | 8eeb5bf1c65fdbe045b6ac9273b086e170b23526 /scripts/Makefile.thinlto | |
| parent | net: macb: configure ENST registers for all queues (diff) | |
octeontx2: use arch_extension to enable LSE
Instead of using ".cpu generic+lse", use ".arch_extension lse" to
enable LSE.
The ".cpu generic+lse" directive replaces the assembler's current feature
set with generic+lse, dropping other previously enabled features. In
contrast, ".arch_extension lse" enables LSE while preserving the current
feature set.
For example, the following code is rejected with "selected processor does
not support retaa", because ".cpu generic+lse" drops PAuth even though it
was enabled by armv9-a:
.arch armv9-a
.text
.cpu generic+lse
retaa
We encountered this issue while building the kernel with GCC configured
using --with-arch=armv9-a. Since Armv9-A includes pointer authentication,
GCC can assume that PAuth instructions are available and may use retaa
when generating PAuth-protected returns.
Signed-off-by: Emanuele Rocca <emanuele.rocca@arm.com>
Link: https://patch.msgid.link/20261005162137.71397-1-emanuele.rocca@arm.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
