linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Use arm64's scheme for registering first-level IRQ handlers on RISC-V
@ 2018-01-18 15:40 Palmer Dabbelt
  2018-01-18 15:40 ` [PATCH 1/2] asm-generic: Add a generic set_handle_irq Palmer Dabbelt
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Palmer Dabbelt @ 2018-01-18 15:40 UTC (permalink / raw)
  To: Arnd Bergmann, Christoph Hellwig, linux-kernel; +Cc: patches

This patch set has been sitting around for a while, but it got a bit lost in
the shuffle.  In RISC-V land we currently couple do_IRQ (the C entry point for
interrupt handling) to our first-level interrupt controller.  While this isn't
completely crazy (as the first-level interrupt controller is specified by the
ISA), it is a bit awkward.

This patch set decouples our trap handler from our first-level IRQ chip driver
by copying what a handful of other architectures are doing.  This does add an
additional load to the interrupt handling path, but there's a handful of
performance problems in there that I've been meaning to look at so I don't mind
adding another one for now.  The advantage is that our irqchip driver is
decoupled from our arch port, at least at compile time.

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

end of thread, other threads:[~2018-01-25  3:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-18 15:40 Use arm64's scheme for registering first-level IRQ handlers on RISC-V Palmer Dabbelt
2018-01-18 15:40 ` [PATCH 1/2] asm-generic: Add a generic set_handle_irq Palmer Dabbelt
2018-01-18 15:45   ` Christoph Hellwig
2018-01-25  3:08     ` [patches] " Palmer Dabbelt
2018-01-18 15:40 ` [PATCH 2/2] RISC-V: Move to the new asm-generic IRQ handler Palmer Dabbelt
2018-01-18 16:43 ` Use arm64's scheme for registering first-level IRQ handlers on RISC-V Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).