diff options
| author | Nick Hu <[email protected]> | 2025-10-20 14:34:10 +0800 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2025-10-28 11:28:01 +0530 |
| commit | 94f0f8465622e121d65f70d2cce6101d8d716a80 (patch) | |
| tree | e3b631f5fae202bfc771c58f1b4e0ea5852af0ce /include | |
| parent | c2d2b9140a94a482c0ea3b0327fcb6c483827c2a (diff) | |
lib: sbi: Extends sbi_ipi_raw_send() to use all available IPI devices
A platform may contain multiple IPI devices. In certain use cases,
such as power management, it may be necessary to send an IPI through a
specific device to wake up a CPU. For example, if an IMSIC is powered
down and reset, the core cannot receive IPIs from it, so the wake-up must
instead be triggered through the CLINT.
Suggested-by: Anup Patel <[email protected]>
Signed-off-by: Nick Hu <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/sbi/sbi_ipi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sbi/sbi_ipi.h b/include/sbi/sbi_ipi.h index 26d1b66b..2c231041 100644 --- a/include/sbi/sbi_ipi.h +++ b/include/sbi/sbi_ipi.h @@ -88,7 +88,7 @@ int sbi_ipi_send_halt(ulong hmask, ulong hbase); void sbi_ipi_process(void); -int sbi_ipi_raw_send(u32 hartindex); +int sbi_ipi_raw_send(u32 hartindex, bool all_devices); void sbi_ipi_raw_clear(bool all_devices); |
