This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] Re: ATA driver failures with pvops dom0, (was: aic79xx failu

To: micah anderson <micah@xxxxxxxxxx>, Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Subject: [Xen-devel] Re: ATA driver failures with pvops dom0, (was: aic79xx failures with pvops dom0
From: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Date: Mon, 22 Nov 2010 18:35:08 -0500
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 22 Nov 2010 15:37:02 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <87y68lq7yj.fsf@xxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <87eiafzp49.fsf@xxxxxxxxxxxxxxxx> <615023213.20101120224150@xxxxxxxxxxxxxx> <87y68my4rv.fsf@xxxxxxxxxxxxxxxx> <20101122162829.GD20383@xxxxxxxxxxxx> <874ob9rpyx.fsf@xxxxxxxxxxxxxxxx> <20101122215535.GA26897@xxxxxxxxxxxx> <87y68lq7yj.fsf@xxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-06-14)
> [    0.000000] MPTABLE: OEM ID:  
> [    0.000000] MPTABLE: Product ID: Kings Canyon
> [    0.000000] MPTABLE: APIC at: 0xFEE00000

Oh, MPTtable..
.. snip ..
> [    1.560006] ACPI: Interpreter disabled.

.. and ACPI disable..
> [    1.908022] pci 0000:00:1f.0: PIIX/ICH IRQ router [8086:2480]

and using the southbridge to program the IRQs.

This looks like the old PIIX4 controller, which is what QEMU uses.

Stefano, do you remember how the IRQs are programmed in QEMU
with this? Is the OS writting in the config space of the southbridge
(IRQ router) the vector values that correspond to the IOAPIC? So instead
of poking at the IOAPIC it does it directly in the IRQ router. And it would
use the MPtable for something - thought I don't remember what.
... snip..
> [    6.117107] querying PCI -> IRQ mapping bus:3, slot:2, pin:0.
> [    6.117117] IOAPIC[1]: Set routing entry (3-4 -> 0x69 -> IRQ 28 Mode:1 
> Active:1)
> [    6.117124] aic79xx 0000:03:02.0: PCI->APIC IRQ transform: INT A -> IRQ 28

and sure enough it looks to looking in the MPtable for the pin value
and the writing in the IRQ router the vector value.

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>