Skip to content

Commit e475fa4

Browse files
arndbkuba-moo
authored andcommitted
net/mlx5: fix pre-2.40 binutils assembler error
Old binutils versions require a slightly stricter syntax for the .arch_extension directive and fail with the extra semicolon: /tmp/cclfMnj9.s:656: Error: unknown architectural extension `simd;' Drop the semicolon to make it work with all supported toolchain version. Link: https://lore.kernel.org/all/20251001163655.GA370262@ax162/ Reported-by: Paolo Abeni <[email protected]> Reported-by: Naresh Kamboju <[email protected]> Suggested-by: Nathan Chancellor <[email protected]> Fixes: fd8c821 ("net/mlx5: Improve write-combining test reliability for ARM64 Grace CPUs") Signed-off-by: Arnd Bergmann <[email protected]> Reviewed-by: Nathan Chancellor <[email protected]> Reviewed-by: Patrisious Haddad <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 943af64 commit e475fa4

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/ethernet/mellanox/mlx5/core

1 file changed

+1
-1
lines changed

drivers/net/ethernet/mellanox/mlx5/core/wc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ static void mlx5_iowrite64_copy(struct mlx5_wc_sq *sq, __be32 mmio_wqe[16],
266266
if (cpu_has_neon()) {
267267
kernel_neon_begin();
268268
asm volatile
269-
(".arch_extension simd;\n\t"
269+
(".arch_extension simd\n\t"
270270
"ld1 {v0.16b, v1.16b, v2.16b, v3.16b}, [%0]\n\t"
271271
"st1 {v0.16b, v1.16b, v2.16b, v3.16b}, [%1]"
272272
:

0 commit comments

Comments
 (0)