]> git.ipfire.org Git - thirdparty/linux.git/commit
Merge patch series "riscv: Unaligned access speed probing fixes and skipping"
authorAlexandre Ghiti <alexghiti@rivosinc.com>
Wed, 19 Mar 2025 14:23:50 +0000 (14:23 +0000)
committerAlexandre Ghiti <alexghiti@rivosinc.com>
Thu, 20 Mar 2025 07:25:24 +0000 (07:25 +0000)
commitd9b65824d8f8b69a9d80a5b4d1a8a52c3244f9c0
tree71b2c2272d87ce99a6c0385d2461dbe26e40b260
parent5b376a68da0a395d54684987efde647d8fa9027c
parent9fe58530a8cd1402aaa35cad19143777a6f65393
Merge patch series "riscv: Unaligned access speed probing fixes and skipping"

Andrew Jones <ajones@ventanamicro.com> says:

The first six patches of this series are fixes and cleanups of the
unaligned access speed probing code. The next patch introduces a
kernel command line option that allows the probing to be skipped.
This command line option is a different approach than Jesse's [1].
[1] takes a cpu-list for a particular speed, supporting heterogeneous
platforms. With this approach, the kernel command line should only
be used for homogeneous platforms. [1] also only allowed 'fast' and
'slow' to be selected. This parameter also supports 'unsupported',
which could be useful for testing code paths gated on that. The final
patch adds the documentation.

[1] https://lore.kernel.org/linux-riscv/20240805173816.3722002-1-jesse@rivosinc.com/

* patches from https://lore.kernel.org/r/20250304120014.143628-10-ajones@ventanamicro.com:
  Documentation/kernel-parameters: Add riscv unaligned speed parameters
  riscv: Add parameter for skipping access speed tests
  riscv: Fix set up of vector cpu hotplug callback
  riscv: Fix set up of cpu hotplug callbacks
  riscv: Change check_unaligned_access_speed_all_cpus to void
  riscv: Fix check_unaligned_access_all_cpus
  riscv: Fix riscv_online_cpu_vec
  riscv: Annotate unaligned access init functions

Link: https://lore.kernel.org/r/20250304120014.143628-10-ajones@ventanamicro.com
Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
arch/riscv/kernel/unaligned_access_speed.c