]> git.ipfire.org Git - thirdparty/linux.git/commit
riscv: Fix set up of cpu hotplug callbacks
authorAndrew Jones <ajones@ventanamicro.com>
Tue, 4 Mar 2025 12:00:20 +0000 (13:00 +0100)
committerAlexandre Ghiti <alexghiti@rivosinc.com>
Wed, 19 Mar 2025 14:23:30 +0000 (14:23 +0000)
commit05ee21f0fcb8ca29bf42bd6cbce109f2e49c167f
tree6d7bd8c95f88b6c89cdeb9c1f20e5cd2d51d1bf6
parent813d39baee3229d31420af61460b97f4fafdd352
riscv: Fix set up of cpu hotplug callbacks

CPU hotplug callbacks should be set up even if we detected all
current cpus emulate misaligned accesses, since we want to
ensure our expectations of all cpus emulating is maintained.

Fixes: 6e5ce7f2eae3 ("riscv: Decouple emulated unaligned accesses from access speed")
Fixes: e7c9d66e313b ("RISC-V: Report vector unaligned access speed hwprobe")
Reviewed-by: Clément Léger <cleger@rivosinc.com>
Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Signed-off-by: Andrew Jones <ajones@ventanamicro.com>
Link: https://lore.kernel.org/r/20250304120014.143628-15-ajones@ventanamicro.com
Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
arch/riscv/kernel/unaligned_access_speed.c