x86/ioapic: Print the IRTE's index field correctly when enabling INTR
authorraymond pang <raymondpangxd@gmail.com>
Tue, 22 Aug 2017 15:44:47 +0000 (23:44 +0800)
committerIngo Molnar <mingo@kernel.org>
Wed, 23 Aug 2017 08:17:17 +0000 (10:17 +0200)
commitadfaf18334cbf16c563e4ebc67e968ea1b17ec51
tree2d869cf559c5e45efec4fe796800aea7b642b035
parent14ccee78fc82f5512908f4424f541549a5705b89
x86/ioapic: Print the IRTE's index field correctly when enabling INTR

When enabling interrupt remap, IOAPIC's RTE contains the interrupt_index
field of IRTE. This field is composed of the ->index and the ->index2 members
of 'struct IR_IO_APIC_route_entry' - but what we print out currently only
uses ->index.

Fix it.

Signed-off-by: Raymond Pang <raymondpangxd@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: joro@8bytes.org
Cc: linux-arch@vger.kernel.org
Link: http://lkml.kernel.org/r/CAHG4imNDzpDyOVi7MByVrLQ%3DQFuOVqpzJ5F-Xs5z6OZphubj-Q@mail.gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/apic/io_apic.c