This patchset adds support for irq_work via self IPI and context tracking.
It is tested in qemu-system-riscv64 and SiFive HiFive Unleashed board based
on v5.8-rc2.
---
Changes in v2
- Fix the compiling warning
Greentime Hu (2):
riscv: Support irq_work via self IPIs
riscv: Enable context tracking
arch/riscv/Kconfig | 1 +
arch/riscv/include/asm/irq_work.h | 10 ++++++++++
arch/riscv/kernel/entry.S | 23 +++++++++++++++++++++++
arch/riscv/kernel/smp.c | 15 +++++++++++++++
4 files changed, 49 insertions(+)
create mode 100644 arch/riscv/include/asm/irq_work.h