Skip to content

Commit 290be19

Browse files
committed
iommu/amd: Add name to irq chip
Add the missing name, so debugging will work proper. Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: Joerg Roedel <[email protected]> Cc: Jens Axboe <[email protected]> Cc: Marc Zyngier <[email protected]> Cc: Michael Ellerman <[email protected]> Cc: Keith Busch <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: [email protected] Cc: Christoph Hellwig <[email protected]> Link: http://lkml.kernel.org/r/[email protected]
1 parent 8947dfb commit 290be19

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

drivers/iommu/amd_iommu.c

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4386,10 +4386,11 @@ static void ir_compose_msi_msg(struct irq_data *irq_data, struct msi_msg *msg)
43864386
}
43874387

43884388
static struct irq_chip amd_ir_chip = {
4389-
.irq_ack = ir_ack_apic_edge,
4390-
.irq_set_affinity = amd_ir_set_affinity,
4391-
.irq_set_vcpu_affinity = amd_ir_set_vcpu_affinity,
4392-
.irq_compose_msi_msg = ir_compose_msi_msg,
4389+
.name = "AMD-IR",
4390+
.irq_ack = ir_ack_apic_edge,
4391+
.irq_set_affinity = amd_ir_set_affinity,
4392+
.irq_set_vcpu_affinity = amd_ir_set_vcpu_affinity,
4393+
.irq_compose_msi_msg = ir_compose_msi_msg,
43934394
};
43944395

43954396
int amd_iommu_create_irq_domain(struct amd_iommu *iommu)

0 commit comments

Comments
 (0)