1
0
Fork 0
alistair23-linux/arch/x86/kernel/apic
Yinghai Lu 3a61d7feca x86, ioapic: Print out irte with right ioapic index
While checking irte dump in dmesg, the print out is confusing
ioapic index with real io apic id:

IOAPIC[0]: Set routing entry (1-1 -> 0x31 -> IRQ 1 Mode:0
Active:0 Dest:1) IOAPIC[1]: Set IRTE entry (P:1 FPD:0 Dst_Mode:1
Redir_hint:1 Trig_Mode:0 Dlvry_Mode:1 Avail:0 Vector:31
Dest:00000001 SID:00FF SQ:0 SVT:1) IOAPIC[0]: Set routing entry
(1-2 -> 0x30 -> IRQ 0 Mode:0 Active:0 Dest:1) IOAPIC[1]: Set IRTE entry (P:1 FPD:0 Dst_Mode:1 Redir_hint:1 Trig_Mode:0 Dlvry_Mode:1 Avail:0 Vector:30 Dest:00000001 SID:00FF SQ:0 SVT:1)

The system's first ioapic id is 1.

This commit:

| commit 3040db92ee
| Author: Naga Chumbalkar <nagananda.chumbalkar@hp.com>
| Date:   Tue Jul 12 21:17:41 2011 +0000
|
|    x86, ioapic: Print IRTE when IR is enabled

Confused apic_id with the ioapic ID - fix it.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Cc: Naga Chumbalkar <nagananda.chumbalkar@hp.com>
Cc: Suresh Siddha <suresh.b.siddha@intel.com>
Link: http://lkml.kernel.org/r/4E9542C8.8040209@oracle.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2011-10-12 09:55:21 +02:00
..
Makefile x86, apic: Introduce .apicdrivers section to find the list of apic drivers 2011-05-22 11:48:03 +02:00
apic.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
apic_flat_64.c x86, apic: Include module.h header in apic_flat_64.c 2011-05-23 21:27:35 +02:00
apic_noop.c x86-32, NUMA: Make apic->x86_32_numa_cpu_node() optional 2011-05-02 14:18:52 +02:00
bigsmp_32.c apic, i386/bigsmp: Fix false warnings regarding logical APIC ID mismatches 2011-09-28 19:01:53 +02:00
es7000_32.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
hw_nmi.c watchdog: Change the default timeout and configure nmi watchdog period based on watchdog_thresh 2011-05-23 11:58:59 +02:00
io_apic.c x86, ioapic: Print out irte with right ioapic index 2011-10-12 09:55:21 +02:00
ipi.c x86: Always use x86_cpu_to_logical_apicid for cpu -> logical apic id 2011-01-28 14:54:05 +01:00
numaq_32.c x86, apic: Make apic drivers static 2011-05-22 11:48:04 +02:00
probe_32.c apic, i386/bigsmp: Fix false warnings regarding logical APIC ID mismatches 2011-09-28 19:01:53 +02:00
probe_64.c x86, apic: Make apic drivers static 2011-05-22 11:48:04 +02:00
summit_32.c x86, apic: Make apic drivers static 2011-05-22 11:48:04 +02:00
x2apic_cluster.c x86, apic: Make apic drivers static 2011-05-22 11:48:04 +02:00
x2apic_phys.c x86, apic: Make apic drivers static 2011-05-22 11:48:04 +02:00
x2apic_uv_x.c x86, UV: Remove UV delay in starting slave cpus 2011-08-05 23:48:34 +02:00