riscv: unaligned: stop using kthread for vector speed probe
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | riscv: unaligned: stop using kthread for check_vector_unaligned_access()arch/ | +2 | 3 replies | |
| 2/2 | Revert "riscv: hwprobe: Fix stale vDSO data for late-initialized keys at boot"arch/ arch/ arch/ +1 more | +13 | 1 reply |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Anirudh Srinivasan | Jesse Taube |
|---|---|---|
| Series | T-b | |
| 1/2 | A-b | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] riscv: unaligned: stop using kthread for vector speed probe
Hi,
This series is follow-up to the discussion at:
https://lore.kernel.org/linux-riscv/20260612-vec_unaligned_drop_init-v1-1-df969210ae34@oss.tenstorrent.com/
It removes the kthread usage for unaligned vector access speed probe, avoiding a bug that the kthread may still be excuting a __init function that have already been freed.
It also allows removing some vdso synchronization, simplify the code.
This kthread has been bothering me for a while now, and the recent bug report pushed me to post this series.
Nam Cao (2):
riscv: unaligned: stop using kthread for
check_vector_unaligned_access()
Revert "riscv: hwprobe: Fix stale vDSO data for late-initialized keys
at boot"
arch/riscv/include/asm/hwprobe.h | 7 --- arch/riscv/include/asm/vdso/arch_data.h | 6 -- arch/riscv/kernel/sys_hwprobe.c | 70 ++++------------------ arch/riscv/kernel/unaligned_access_speed.c | 19 +----- arch/riscv/kernel/vdso/hwprobe.c | 2 +- 5 files changed, 15 insertions(+), 89 deletions(-)
Signature · 1 line
2.47.3