diff options
| author | Nam Cao <namcao@linutronix.de> | 2026-05-29 00:12:30 +0300 |
|---|---|---|
| committer | Paul Walmsley <pjw@kernel.org> | 2026-06-08 19:47:22 +0300 |
| commit | d585018a9258efed01514bae369ab3d4f21e7b1a (patch) | |
| tree | e5dbe35b2224b033d7c30d9b6e1ed1985f6390f2 /include/linux/timerqueue.h | |
| parent | bce35135fecc7a73c60aaa9d2ec699ead1e32661 (diff) | |
| download | linux-d585018a9258efed01514bae369ab3d4f21e7b1a.tar.xz | |
riscv: misaligned: Fix fast_unaligned_access_speed_key init
When booting with unaligned_scalar_speed=fast,
fast_unaligned_access_speed_key is initialized incorrectly.
The key is currently derived from the fast_misaligned_access cpumask, but
that mask is only populated when the unaligned access speed probe runs.
Specifying unaligned_scalar_speed=fast skips the probe entirely, leaving
the mask uninitialized.
The information tracked by fast_misaligned_access is already available in
the misaligned_access_speed per-CPU variable. Use that to initialize
fast_unaligned_access_speed_key instead and remove the redundant cpumask.
Signed-off-by: Nam Cao <namcao@linutronix.de>
Link: https://patch.msgid.link/2468816ceb433394099a00d7822f819745276b49.1780002199.git.namcao@linutronix.de
Signed-off-by: Paul Walmsley <pjw@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
