[PATCH 0/9] riscv: Unaligned access speed probing fixes and skipping
From: Andrew Jones
Date: Fri Feb 07 2025 - 11:19:59 EST
The first six patches of this series are fixes and cleanups of the
unaligned access speed probing code. The next two patches introduce
support to skip probing by matching vendor/arch/imp ids and checking a
table for the access speed type. The last patch applies the new skip
support to Ventana harts.
(I'd be happy to split the fixes from the new skip support if we want to
discuss the skip support independently, but I want to base on the fixes
and I'm not sure if patchwork supports Based-on: $MESSAGE_ID/$LORE_URL
or not at the moment, so I'm just posting together for now in order to
be able to check for my patchwork green lights!)
Thanks,
drew
Andrew Jones (9):
riscv: Annotate unaligned access init functions
riscv: Fix riscv_online_cpu_vec
riscv: Fix check_unaligned_access_all_cpus
riscv: Change check_unaligned_access_speed_all_cpus to void
riscv: Fix set up of cpu hotplug callbacks
riscv: Fix set up of vector cpu hotplug callback
riscv: Prepare for unaligned access type table lookups
riscv: Implement check_unaligned_access_table
riscv: Add Ventana unaligned access table entries
arch/riscv/include/asm/cpufeature.h | 4 +-
arch/riscv/include/asm/vendorid_list.h | 1 +
arch/riscv/kernel/traps_misaligned.c | 14 +-
arch/riscv/kernel/unaligned_access_speed.c | 278 ++++++++++++++-------
4 files changed, 200 insertions(+), 97 deletions(-)
--
2.48.1