public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] irqchip/riscv-imsic: IRQ handling optimizations
@ 2025-10-15 19:55 Samuel Holland
  2025-10-15 19:55 ` [PATCH 1/4] irqchip/riscv-imsic: Remove redundant irq_data lookups Samuel Holland
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Samuel Holland @ 2025-10-15 19:55 UTC (permalink / raw)
  To: Anup Patel, Thomas Gleixner
  Cc: Palmer Dabbelt, linux-kernel, Alexandre Ghiti, linux-riscv,
	Paul Walmsley, Samuel Holland, Albert Ou

This series includes a small cleanup to imsic_irq_set_affinity() and a
series of optimizations to the IMSIC IRQ handling hot path.

Benchmarks on a SiFive P470-based board (95% confidence interval):
  perf bench sched messaging: 5.20% to  7.08% improvement
  perf bench sched pipe     : 8.47% to 13.85% improvement


Samuel Holland (4):
  irqchip/riscv-imsic: Remove redundant irq_data lookups
  irqchip/riscv-imsic: Embed the vector array in lpriv
  irqchip/riscv-imsic: Inline imsic_vector_from_local_id()
  irqchip/riscv-imsic: Remove irq_desc lookup from hot path

 drivers/irqchip/irq-riscv-imsic-early.c    | 11 +++-----
 drivers/irqchip/irq-riscv-imsic-platform.c | 11 ++++----
 drivers/irqchip/irq-riscv-imsic-state.c    | 30 +++++-----------------
 drivers/irqchip/irq-riscv-imsic-state.h    |  8 +++---
 4 files changed, 19 insertions(+), 41 deletions(-)

-- 
2.47.2

base-commit: 9b332cece987ee1790b2ed4c989e28162fa47860
branch: up/imsic-opt

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2025-10-16 19:01 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-15 19:55 [PATCH 0/4] irqchip/riscv-imsic: IRQ handling optimizations Samuel Holland
2025-10-15 19:55 ` [PATCH 1/4] irqchip/riscv-imsic: Remove redundant irq_data lookups Samuel Holland
2025-10-16 12:55   ` [tip: irq/drivers] " tip-bot2 for Samuel Holland
2025-10-16 15:46   ` tip-bot2 for Samuel Holland
2025-10-16 19:01   ` tip-bot2 for Samuel Holland
2025-10-15 19:55 ` [PATCH 2/4] irqchip/riscv-imsic: Embed the vector array in lpriv Samuel Holland
2025-10-16 12:55   ` [tip: irq/drivers] " tip-bot2 for Samuel Holland
2025-10-16 15:46   ` tip-bot2 for Samuel Holland
2025-10-16 19:01   ` tip-bot2 for Samuel Holland
2025-10-15 19:55 ` [PATCH 3/4] irqchip/riscv-imsic: Inline imsic_vector_from_local_id() Samuel Holland
2025-10-16 12:55   ` [tip: irq/drivers] " tip-bot2 for Samuel Holland
2025-10-16 15:46   ` tip-bot2 for Samuel Holland
2025-10-16 19:01   ` tip-bot2 for Samuel Holland
2025-10-15 19:55 ` [PATCH 4/4] irqchip/riscv-imsic: Remove irq_desc lookup from hot path Samuel Holland
2025-10-16 10:01   ` Thomas Gleixner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox