Jisheng Zhang b649a7fe9a riscv: don't probe unaligned access speed if already done
[ Upstream commit c20d36cc2a2073d4cdcda92bd7a1bb9b3b3b7c79 ]

If misaligned_access_speed percpu var isn't so called "HWPROBE
MISALIGNED UNKNOWN", it means the probe has happened(this is possible
for example, hotplug off then hotplug on one cpu), and the percpu var
has been set, don't probe again in this case.

Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Fixes: 584ea6564bca ("RISC-V: Probe for unaligned access speed")
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230912154040.3306-1-jszhang@kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-10 17:16:56 +01:00
..
2023-11-28 17:19:49 +00:00
2023-08-23 14:16:39 -07:00
2023-03-23 08:47:00 -07:00
2023-08-31 00:18:25 -07:00
2022-12-29 06:59:47 -08:00
2023-08-23 14:16:38 -07:00
2022-05-19 19:30:30 +02:00
2021-01-07 19:00:50 -08:00
2023-08-23 14:16:36 -07:00