On Tue, Oct 06 2020 at 11:11, Marc Zyngier wrote:
It appears that some HW is ugly enough that not all the interrupts
connected to a particular interrupt controller end up with the same
hierarchy repth (some of them are terminated early). This leaves
depth?
the irqchip hacker with only two choices, both equally bad:
- create discrete domain chains, one for each "hierarchy depth",
which is very hard to maintain
- create fake hierarchy levels for the shallow paths, leading
to all kind of problems (what are the safe hwirq values for these
fake levels?)
Instead, let's offer the possibility to cut short a single interrupt
s/let's offer/implement/
This is butt ugly, really. Especially the use case where the tegra PMC
domain removes itself from the hierarchy from .alloc()
That said, I don't have a better idea either. Sigh...