From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: ATA driver failures with pvops dom0, (was: aic79xx failures with pvops dom0 2.6.32.25) Date: Mon, 22 Nov 2010 18:35:08 -0500 Message-ID: <20101122233508.GA18665@dumpdata.com> References: <87eiafzp49.fsf@algae.riseup.net> <615023213.20101120224150@eikelenboom.it> <87y68my4rv.fsf@algae.riseup.net> <20101122162829.GD20383@dumpdata.com> <874ob9rpyx.fsf@algae.riseup.net> <20101122215535.GA26897@dumpdata.com> <87y68lq7yj.fsf@algae.riseup.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <87y68lq7yj.fsf@algae.riseup.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: micah anderson , Stefano Stabellini Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org > [ 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.