summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-tps65218.c
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2020-10-06 11:10:20 +0200
committerMarc Zyngier <maz@kernel.org>2020-10-10 13:12:10 +0200
commit55567976629e58fde28fb70612ca73228271eef2 (patch)
treef926a199d71a6785560771ef72599570dccc8251 /drivers/gpio/gpio-tps65218.c
parentLinux 5.9-rc4 (diff)
downloadlinux-55567976629e58fde28fb70612ca73228271eef2.tar.xz
linux-55567976629e58fde28fb70612ca73228271eef2.zip
genirq/irqdomain: Allow partial trimming of irq_data hierarchy
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 depth (some of them are terminated early). This leaves 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?) Implement the ability to cut short a single interrupt hierarchy from a level marked as being disconnected by using the new irq_domain_disconnect_hierarchy() helper. The irqdomain allocation code will then perform the trimming Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'drivers/gpio/gpio-tps65218.c')
0 files changed, 0 insertions, 0 deletions