Skip to content

Commit 5976852

Browse files
eaugerwildea01
authored andcommitted
irqchip/gicv3-its: Sets IRQ_DOMAIN_FLAG_MSI_REMAP
The GICv3 ITS is MSI remapping capable. Let's advertise this property so that VFIO passthrough can assess IRQ safety. Signed-off-by: Eric Auger <eric.auger@redhat.com> Reviewed-by: Marc Zyngier <marc.zyngier@arm.com> Reviewed-by: Tomasz Nowicki <tomasz.nowicki@caviumnetworks.com> Tested-by: Tomasz Nowicki <tomasz.nowicki@caviumnetworks.com> Tested-by: Bharat Bhushan <bharat.bhushan@nxp.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
1 parent c7b41f0 commit 5976852

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/irqchip/irq-gic-v3-its.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1642,6 +1642,7 @@ static int its_init_domain(struct fwnode_handle *handle, struct its_node *its)
16421642

16431643
inner_domain->parent = its_parent;
16441644
inner_domain->bus_token = DOMAIN_BUS_NEXUS;
1645+
inner_domain->flags |= IRQ_DOMAIN_FLAG_MSI_REMAP;
16451646
info->ops = &its_msi_domain_ops;
16461647
info->data = its;
16471648
inner_domain->host_data = info;

0 commit comments

Comments
 (0)