Re: [PATCH] riscv: Fix unaligned access info messages

From: Geert Uytterhoeven
Date: Thu Apr 10 2025 - 10:19:14 EST


Hi Andrew,

On Wed, 9 Apr 2025 at 17:36, Andrew Jones <ajones@xxxxxxxxxxxxxxxx> wrote:
> Ensure we only print messages about command line parameters when
> the parameters are actually in use. Also complain about the use
> of the vector parameter when vector support isn't available.
>
> Fixes: aecb09e091dc ("riscv: Add parameter for skipping access speed tests")
> Reported-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
> Closes: https://lore.kernel.org/all/CAMuHMdVEp2_ho51gkpLLJG2HimqZ1gZ0fa=JA4uNNZjFFqaPMg@xxxxxxxxxxxxxx/
> Closes: https://lore.kernel.org/all/CAMuHMdWVMP0MYCLFq+b7H_uz-2omdFiDDUZq0t_gw0L9rrJtkQ@xxxxxxxxxxxxxx/
> Signed-off-by: Andrew Jones <ajones@xxxxxxxxxxxxxxxx>

Thanks, this gets rid of the bogus messages!

Impact on SiPEED MAiX BiT:

-scalar unaligned access speed set to '(null)' by command line
-vector unaligned access speed set to 'unsupported' by command line

BeagleV Beta Starlight:

-vector unaligned access speed set to 'unsupported' by command line

Renesas RZ/Five:

-vector unaligned access speed set to 'unsupported' by command line

MPFS Icicle:

-vector unaligned access speed set to 'unsupported' by command line

Tested-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds