android_kernel_xiaomi_sm8450/arch/riscv/include
Samuel Holland d2f3acde3d riscv: Fix irq_work when SMP is disabled
commit 2273272823db6f67d57761df8116ae32e7f05bed upstream.

irq_work is triggered via an IPI, but the IPI infrastructure is not
included in uniprocessor kernels. As a result, irq_work never runs.
Fall back to the tick-based irq_work implementation on uniprocessor
configurations.

Fixes: 298447928b ("riscv: Support irq_work via self IPIs")
Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20220430030025.58405-1-samuel@sholland.org
Cc: stable@vger.kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-06-09 10:20:48 +02:00
..
asm riscv: Fix irq_work when SMP is disabled 2022-06-09 10:20:48 +02:00
uapi/asm RISC-V: Include clone3() on rv32 2021-10-13 10:04:29 +02:00