From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Bastian Blank <waldi@debian.org>
Cc: xen-devel@lists.xensource.com, Keir Fraser <keir.fraser@eu.citrix.com>
Subject: Re: pvops-2.6.32 - Interrupt routing problem
Date: Sun, 14 Mar 2010 08:56:22 -0700 [thread overview]
Message-ID: <4B9D0726.3060304@goop.org> (raw)
In-Reply-To: <20100314152334.GA6483@wavehammer.waldi.eu.org>
On 03/14/2010 08:23 AM, Bastian Blank wrote:
> On Sun, Mar 14, 2010 at 03:08:14PM +0100, Bastian Blank wrote:
>
>> On Wed, Mar 10, 2010 at 12:19:23PM +0100, Bastian Blank wrote:
>>
>>> I was able to test Xen 3.4.3-rc3 and the current 2.6.32 tree on a
>>> HP DL385 G6.
>>>
>> It also happens with Xen 4.0.0-rc6.
>>
> Oops, I'm blind:
>
> -IOAPIC[0]: apic_id 8, version 17, address 0xfec00000, GSI 0-15
> +IOAPIC[0]: apic_id 8, version 0, address 0xfec00000, GSI 0-0
> ACPI: IOAPIC (id[0x09] address[0xfec01000] gsi_base[16])
> -IOAPIC[1]: apic_id 9, version 17, address 0xfec01000, GSI 16-31
> +IOAPIC[1]: apic_id 9, version 0, address 0xfec01000, GSI 16-16
> ACPI: IOAPIC (id[0x0a] address[0xfec02000] gsi_base[32])
> -IOAPIC[2]: apic_id 10, version 17, address 0xfec02000, GSI 32-47
> +IOAPIC[2]: apic_id 10, version 0, address 0xfec02000, GSI 32-32
> +ERROR: Unable to locate IOAPIC for GSI 2
> ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
> -ACPI: IRQ0 used by override.
> -ACPI: IRQ2 used by override.
> -ACPI: IRQ9 used by override.
> +ERROR: Unable to locate IOAPIC for GSI 9
>
> The kernel running on Xen does not even detect the version and GSI
> ranges correctly.
>
That's not necessarily a problem. The normal native IOAPIC code will
try to probe for IOAPICs, but they won't be detected because Xen owns
them all. In the Xen case, it still depends on ACPI to get the proper
device pin->gsi mapping, but then it just does a hypercall to bind the
gsi to an event channel.
> However something caught my attention.
>
>
>> > | 5: xen-pirq-ioapic-edge ehci_hcd:usb1, ohci_hcd:usb2, ohci_hcd:usb4
>> > [ 1.626062] ehci_hcd 0000:00:07.2: PCI INT A -> Link[IUSB] -> GSI 5 (level, low) -> IRQ 5
>>
>> > | 14: xen-pirq-ioapic-edge sata_svw
>> > [ 1.718903] sata_svw 0000:01:0e.0: PCI INT A -> Link[ISF0] -> GSI 14 (level, low) -> IRQ 14
>>
> The interrupts are enabled as edge driven, but are reported by ACPI as
> level triggered.
>
>
Yep, that's going to be a problem. I guess there's some typo in there
which is mixing up level and edge in some circumstance (it can't be
global because otherwise nothing would work). It's interesting your
devices both have GSIs in the "legacy ISA" range (< 16); I wonder if
something somewhere is misdescribing the interrupts.
Could you post full boot logs for the kernel booting both native and
under Xen to see how they differ?
Thanks,
J
next prev parent reply other threads:[~2010-03-14 15:56 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-10 11:19 pvops-2.6.32 - Interrupt routing problem Bastian Blank
2010-03-10 16:08 ` Ian Campbell
2010-03-10 16:19 ` Bastian Blank
2010-03-10 18:17 ` Jeremy Fitzhardinge
2010-03-10 20:32 ` Bastian Blank
2010-03-10 19:40 ` Ian Campbell
2010-03-10 20:00 ` Konrad Rzeszutek Wilk
2010-03-14 14:08 ` Bastian Blank
2010-03-14 15:23 ` Bastian Blank
2010-03-14 15:56 ` Jeremy Fitzhardinge [this message]
2010-03-14 16:17 ` Bastian Blank
2010-03-15 4:30 ` Zhang, Xiantao
2010-03-15 10:11 ` Bastian Blank
2010-03-15 10:36 ` Bastian Blank
2010-03-15 13:48 ` Zhang, Xiantao
2010-03-15 14:18 ` Bastian Blank
2010-03-15 14:38 ` Zhang, Xiantao
2010-03-15 21:15 ` Bastian Blank
2010-03-16 1:31 ` Konrad Rzeszutek Wilk
2010-03-16 8:18 ` Bastian Blank
2010-03-16 15:32 ` Konrad Rzeszutek Wilk
2010-03-16 18:20 ` Bastian Blank
2010-03-17 2:05 ` Konrad Rzeszutek Wilk
2010-03-19 11:39 ` Bastian Blank
2010-03-19 12:13 ` Bastian Blank
2010-03-21 21:47 ` Bastian Blank
2010-03-22 6:24 ` Jeremy Fitzhardinge
2010-03-23 11:37 ` Jan Beulich
2010-03-23 12:37 ` Bastian Blank
2010-03-23 14:04 ` Jan Beulich
2010-03-23 15:49 ` Bastian Blank
2010-03-19 14:15 ` Zhang, Xiantao
2010-03-19 14:36 ` Bastian Blank
2010-03-19 2:55 ` Zhang, Xiantao
2010-03-19 11:06 ` Bastian Blank
2010-03-14 16:41 ` Bastian Blank
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B9D0726.3060304@goop.org \
--to=jeremy@goop.org \
--cc=keir.fraser@eu.citrix.com \
--cc=waldi@debian.org \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.