Re: Yenta_socket lsPCI IRQ reads incorrect

Pavel Machek (pavel@suse.cz)
Mon, 14 Jul 2003 11:07:00 +0200


Hi!

> [mhf@mhfl2 13:40:27 mhf]$ cat /proc/interrupts
> CPU0
> 0: 1242348 XT-PIC timer
> 1: 5253 XT-PIC i8042
> 2: 0 XT-PIC cascade
> 5: 88 XT-PIC Toshiba America Info ToPIC95 PCI to Cardb, serial
> 8: 0 XT-PIC rtc
> 9: 162 XT-PIC acpi
> 10: 1003 XT-PIC eth0
> 12: 23967 XT-PIC i8042
> 14: 8698 XT-PIC ide0
> NMI: 0
> LOC: 0
> ERR: 5
> MIS: 0
>
>
> lspci shows that IRQ level: byte 3C is FF, it should be 5
>
> 00:12.0 CardBus bridge: Toshiba America Info Systems ToPIC95 PCI to Cardbus Bridge with ZV Support (rev 32)
> 00: 79 11 17 06 00 00 90 04 32 00 07 06 00 40 82 00
> 10: 00 10 00 10 80 00 80 04 00 01 04 00 00 00 00 00
> 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 30: 00 00 00 00 00 00 00 00 00 00 00 00 ff 01 00 00
> 40: 79 11 01 00 01 00 00 00 00 00 00 00 00 00 00 00
> 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>
> When this value is used by pci_restore_state, interrupt
> obviously dies.
>
> Dunno if this is hardware readback fault or driver issue.

In any case it should be easy to fixup in ToPIC95 driver...

Pavel

-- 
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/