WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] pvops-2.6.32 - Interrupt routing problem

To: Bastian Blank <waldi@xxxxxxxxxx>, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Subject: RE: [Xen-devel] pvops-2.6.32 - Interrupt routing problem
From: "Zhang, Xiantao" <xiantao.zhang@xxxxxxxxx>
Date: Fri, 19 Mar 2010 10:55:53 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Fraser <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Thu, 18 Mar 2010 19:57:36 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100316081832.GA20502@xxxxxxxxxxxxxxxxxxxxxxx>
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: <20100310111923.GA7087@xxxxxxxxxxxxxxxxxxxxxxx> <20100314140813.GA5309@xxxxxxxxxxxxxxxxxxxxxxx> <20100314152334.GA6483@xxxxxxxxxxxxxxxxxxxxxxx> <4B9D0726.3060304@xxxxxxxx> <20100314161750.GA7790@xxxxxxxxxxxxxxxxxxxxxxx> <EB8593BCECAB3D40A8248BE0B6400A38464169F7@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20100315101126.GA24650@xxxxxxxxxxxxxxxxxxxxxxx> <EB8593BCECAB3D40A8248BE0B6400A38464AE52E@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20100315211459.GA9314@xxxxxxxxxxxxxxxxxxxxxxx> <20100316013114.GD7622@xxxxxxxxxxxxxxxxxxx> <20100316081832.GA20502@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcrE4WWpGQnOvA+mTcC9Ll9dFiLZ3QABymBQ
Thread-topic: [Xen-devel] pvops-2.6.32 - Interrupt routing problem
Maybe we need allow dom0 to re-programme the first 15 GSIs to solve this issue. 
 And the root-cause is that the IRQ info(polarity&trigger mode) provided in MP 
table in some platforms is not always trusted, and system should re-programme 
it according to the info parsed from ACPI.  If the platform provide correct 
info in MP table, the issue should be gone.   Attached a proposed patch, could 
you have a try to see whether it can fix your issue.  
Xiantao

Bastian Blank wrote:
> On Mon, Mar 15, 2010 at 09:31:14PM -0400, Konrad Rzeszutek Wilk wrote:
>> 1) Can you boot your baremetal with these options:
>>  acpi.debug_level=0xffffffff  acpi.debug_layer=0x2 apic=debug
> 
>> IOAPIC[0]: Set routing entry (8-14 -> 0x3e -> IRQ 14 Mode:0 Active:0)
>> IOAPIC[0]: Set routing entry (8-14 -> 0x3e -> IRQ 14 Mode:1 Active:1)
> 
>> 2) And then later on your Xen with these (make SURE to _not_ have
>> apic=debug on 
>> the Linux kernel command line with Xen, it will blow):
>>   xen.gz  apic=debug apic_verbosity=debug  console_to_ring
>> sync_console loglvl=all guest_loglvl=all 
> 
>> (XEN) IOAPIC[0]: Set PCI routing entry (8-14 -> 0x88 -> IRQ 14
>> Mode:0 Active:0) (XEN) Pin 8-14 already programmed
>> (XEN) IOAPIC[0]: Set PCI routing entry (8-14 -> 0x88 -> IRQ 14
>> Mode:1 Active:1) 
> 
>> (XEN) IOAPIC[0]: Set PCI routing entry (8-5 -> 0x38 -> IRQ 5 Mode:0
>> Active:0) (XEN) Pin 8-5 already programmed
>> (XEN) IOAPIC[0]: Set PCI routing entry (8-5 -> 0x38 -> IRQ 5 Mode:1
>> Active:1) 
> 
> Still with my hack to allow 8-5 and 8-14 to be reprogrammed.
> 
> Bastian

Attachment: allow-dom0-re-programe-irq-info-for-legacy-irqs.patch
Description: allow-dom0-re-programe-irq-info-for-legacy-irqs.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel