Skip to content

Commit b2425b5

Browse files
Marc ZyngierKAGA-KOKO
authored andcommitted
irqchip/gic-v3: Mark the base irq domain as DOMAIN_BUS_WIRED
As we're about to introduce MSI domains based on top of the GICv3 domain, we must make sure nothing the new domains do not alias with the core domain. So let's tag that core domain with the DOMAIN_BUS_WIRED attribute, ensuring it gets picked up by other drivers that use irq_find_host(). Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Rob Herring <robh@kernel.org> Cc: Jason Cooper <jason@lakedaemon.net> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Cc: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lkml.kernel.org/r/20180508121438.11301-7-marc.zyngier@arm.com
1 parent 6461934 commit b2425b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/irqchip/irq-gic-v3.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1099,6 +1099,7 @@ static int __init gic_init_bases(void __iomem *dist_base,
10991099

11001100
gic_data.domain = irq_domain_create_tree(handle, &gic_irq_domain_ops,
11011101
&gic_data);
1102+
irq_domain_update_bus_token(gic_data.domain, DOMAIN_BUS_WIRED);
11021103
gic_data.rdists.rdist = alloc_percpu(typeof(*gic_data.rdists.rdist));
11031104
gic_data.rdists.has_vlpis = true;
11041105
gic_data.rdists.has_direct_lpi = true;

0 commit comments

Comments
 (0)