Re: [PATCH net-next V2] net/mlx5: Improve write-combining test reliability for ARM64 Grace CPUs

Arnd Bergmann
2025-09-16T08:58:56Z

On Tue, Sep 16, 2025, at 10:39, Patrisious Haddad wrote:
> On 9/16/2025 2:15 AM, Nathan Chancellor wrote:
>> External email: Use caution opening links or attachments
>
> ifeq ($(ARCH),arm64)
>         CFLAGS_lib/neon_iowrite64_copy.o += -ffreestanding
>         CFLAGS_REMOVE_lib/neon_iowrite64_copy.o += -mgeneral-regs-only
> endif
>
> Which is actually equivalent to the diff you sent, Thanks for the
> heads-up will fix and resend.
>

I think it's better to handle this inside of the inline asm itself
by adding

".arch_extension simd;\n\t"

at the start of it.

Arnd