diff options
author | Anup Patel <apatel@ventanamicro.com> | 2025-07-16 18:07:45 +0530 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2025-07-18 16:46:09 +0200 |
commit | ea92b6046d352740c15f35e703c1b13a47dd99b0 (patch) | |
tree | da73b1590bd4e5a3bbbe8a816100c3c72d2a8156 /scripts/lib/kdoc/kdoc_parser.py | |
parent | 97c03ec2c0e0621bbd7a56f5be19bd2de552e6f4 (diff) |
irqchip/riscv-imsic: Add kernel parameter to disable IPIs
When injecting IPIs to a set of harts, the IMSIC IPI support will do a
separate MMIO write to the SETIPNUM_LE register of each target hart. This
means on a platform where IMSIC is trap-n-emulated, there will be N MMIO
traps when injecting IPI to N target harts hence IMSIC IPIs will be slow on
such platforms compared to the SBI IPI extension.
Unfortunately, there is no DT, ACPI, or any other way of discovering
whether the underlying IMSIC is trap-n-emulated. Using MMIO write to the
SETIPNUM_LE register for injecting IPI is purely a software choice in the
IMSIC driver hence add a kernel parameter to allow users to disable IMSIC
IPIs on platforms with trap-n-emulated IMSIC.
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250716123745.557585-1-apatel@ventanamicro.com
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions