[RFC PATCH v1 0/3] IPI and remote TBL flush improvement

Anup Patel anup.patel at wdc.com
Thu Mar 11 16:47:09 GMT 2021


This series primarily does two things:
1. Allows RISC-V IPI provider to specificy whether IPI operations are
   suitable for remote TLB flush (PATCH1)
2. Improve remote TLB flush to use IPIs whenever possible (PATCH2)
3. Allow irqchip drivers to handle IPIs from chained IRQ handlers (PATCH3)

This series also a preparatory series for upcoming RISC-V advanced
interrupt architecture (AIA) support.

These patches can be found in riscv_ipi_imp_v1 branch at
https://github.com/avpatel/linux

Anup Patel (3):
  RISC-V: IPI provider should specify if we can use IPI for remote FENCE
  RISC-V: Use IPIs for remote TLB flush when possible
  RISC-V: Add handle_IPI_noregs() for irqchip drivers

 arch/riscv/include/asm/smp.h      | 19 +++++++++-
 arch/riscv/kernel/sbi.c           |  2 +-
 arch/riscv/kernel/smp.c           | 30 +++++++++++----
 arch/riscv/mm/cacheflush.c        |  2 +-
 arch/riscv/mm/tlbflush.c          | 62 ++++++++++++++++++++++++-------
 drivers/clocksource/timer-clint.c |  2 +-
 6 files changed, 91 insertions(+), 26 deletions(-)

-- 
2.25.1




More information about the linux-riscv mailing list