]> git.baikalelectronics.ru Git - kernel.git/commitdiff
iommu/vt-d: Add name to irq chip
authorThomas Gleixner <tglx@linutronix.de>
Mon, 19 Jun 2017 23:37:03 +0000 (01:37 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 22 Jun 2017 16:21:07 +0000 (18:21 +0200)
Add the missing name, so debugging will work proper.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Joerg Roedel <joro@8bytes.org>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Keith Busch <keith.busch@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: iommu@lists.linux-foundation.org
Cc: Christoph Hellwig <hch@lst.de>
Link: http://lkml.kernel.org/r/20170619235443.431939968@linutronix.de
drivers/iommu/intel_irq_remapping.c

index a190cbd76ef7113f850b3c09d8b513367d7eb496..ba5b5800e249209650e90f4b0f8e84b77f5867c0 100644 (file)
@@ -1205,10 +1205,11 @@ static int intel_ir_set_vcpu_affinity(struct irq_data *data, void *info)
 }
 
 static struct irq_chip intel_ir_chip = {
-       .irq_ack = ir_ack_apic_edge,
-       .irq_set_affinity = intel_ir_set_affinity,
-       .irq_compose_msi_msg = intel_ir_compose_msi_msg,
-       .irq_set_vcpu_affinity = intel_ir_set_vcpu_affinity,
+       .name                   = "INTEL-IR",
+       .irq_ack                = ir_ack_apic_edge,
+       .irq_set_affinity       = intel_ir_set_affinity,
+       .irq_compose_msi_msg    = intel_ir_compose_msi_msg,
+       .irq_set_vcpu_affinity  = intel_ir_set_vcpu_affinity,
 };
 
 static void intel_irq_remapping_prepare_irte(struct intel_ir_data *data,