ruyisdk / linux-xuantie-kernel

Other
18 stars 26 forks source link

riscv: Add ACLINT SSWI support #175

Closed guoren83 closed 1 month ago

guoren83 commented 1 month ago

The SSWI device provides supervisor-level IPI functionality for a set of HARTs on a RISC-V platform. It provides a register to set an IPI (SETSSIP) for each HART connected to the SSWI device.

The patch utilizes the feature to optimize IPI handling by avoiding Linux calls into firmware runtime, thus minimizing context switching expenses and removing the dependency on sbi-ipi.

Co-developed-by: Xiaoguang Xing xiaoguang.xing@sophgo.com