RE: [PATCH v8 05/33] x86/traps: add external_interrupt() to dispatch external interrupts

From: Li, Xin3
Date: Mon Jun 19 2023 - 20:16:48 EST


> That's not the point. Your changelog says:
>
> If an external interrupt is a system interrupt...
>
> It's either an external interrupt which goes through common_interrupt()
> or it is a system interrupt which goes through it's very own handler,
> no?

Ah, then it looks more of a problem in the way how I described it.

What I wanted to describe is the dispatch logic _inside_ the new function
external_interrupt(), what about:

external_interrupt() dispatches all external interrupts: it checks if an
external interrupt is a system interrupt, if yes it dipatches it through
the system_interrupt_handlers table, otherwise to dispatch_common_interrupt().

Thanks!
Xin