diff options
author | 2025-05-23 12:19:24 +0200 | |
---|---|---|
committer | 2025-06-04 15:11:04 -0700 | |
commit | 9f9f6fdd1dc6791bcfe251160a96a446199f85ce (patch) | |
tree | 1f62941a6ebec2225e96d5d5f7dbeabfec1275fc /scripts/lib/kdoc/kdoc_files.py | |
parent | riscv: misaligned: request misaligned exception from SBI (diff) | |
download | linux-rng-9f9f6fdd1dc6791bcfe251160a96a446199f85ce.tar.xz linux-rng-9f9f6fdd1dc6791bcfe251160a96a446199f85ce.zip |
riscv: misaligned: use on_each_cpu() for scalar misaligned access probing
schedule_on_each_cpu() was used without any good reason while documented
as very slow. This call was in the boot path, so better use
on_each_cpu() for scalar misaligned checking. Vector misaligned check
still needs to use schedule_on_each_cpu() since it requires irqs to be
enabled but that's less of a problem since this code is ran in a kthread.
Add a comment to explicit that.
Signed-off-by: Clément Léger <cleger@rivosinc.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Charlie Jenkins <charlie@rivosinc.com>
Tested-by: Charlie Jenkins <charlie@rivosinc.com>
Link: https://lore.kernel.org/r/20250523101932.1594077-8-cleger@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@dabbelt.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions