Files
linux/arch/riscv/kernel
Klara Modin c5136add3f riscv: export boot_cpu_hartid
The mailbox controller driver for the Microchip Inter-processor
Communication can be built as a module. It uses cpuid_to_hartid_map and
commit 4783ce32b0 ("riscv: export __cpuid_to_hartid_map") enables that
to work for SMP. However, cpuid_to_hartid_map uses boot_cpu_hartid on
non-SMP kernels and this driver can be useful in such configurations[1].

Export boot_cpu_hartid so the driver can be built as a module on non-SMP
kernels as well.

Link: https://lore.kernel.org/lkml/20250617-confess-reimburse-876101e099cb@spud/ [1]
Cc: stable@vger.kernel.org
Fixes: e4b1d67e71 ("mailbox: add Microchip IPC support")
Signed-off-by: Klara Modin <klarasmodin@gmail.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20250617125847.23829-1-klarasmodin@gmail.com
Signed-off-by: Palmer Dabbelt <palmer@dabbelt.com>
2025-06-23 16:30:05 -07:00
..
2025-01-18 12:33:39 -08:00
2025-06-05 11:09:37 -07:00
2025-05-21 16:46:37 +02:00
2023-03-23 08:47:00 -07:00
2024-11-07 14:25:15 -08:00
2022-05-19 19:30:30 +02:00
2024-09-03 07:57:55 -07:00
2025-06-04 15:11:02 -07:00
2025-06-23 16:30:05 -07:00
2025-02-14 13:06:44 -08:00
2025-04-01 07:03:03 +00:00
2025-04-01 07:03:03 +00:00
2025-03-18 12:59:03 +00:00
2025-06-05 14:03:08 -07:00