atom feed122 messages in com.xensource.lists.xen-develRE: [Xen-devel] Re: APIC rework
FromSent OnAttachments
39 earlier messages
Jeremy FitzhardingeSep 24, 2009 11:22 am 
Thiago Camargo Martins CordeiroSep 24, 2009 11:29 am 
Patrick ScharrenbergSep 24, 2009 12:11 pm 
Thiago Camargo Martins CordeiroSep 24, 2009 12:31 pm 
Jeremy FitzhardingeSep 24, 2009 12:37 pm 
Jeremy FitzhardingeSep 24, 2009 12:55 pm 
Jeremy FitzhardingeSep 24, 2009 1:00 pm 
Konrad Rzeszutek WilkSep 24, 2009 2:35 pm 
Zhang, XiantaoSep 24, 2009 6:43 pm 
Pasi KärkkäinenOct 11, 2009 8:38 am 
Konrad Rzeszutek WilkOct 12, 2009 1:02 pm 
Pasi KärkkäinenOct 14, 2009 2:13 pm 
Konrad Rzeszutek WilkOct 15, 2009 1:03 pm 
Boris DerzhavetsOct 16, 2009 12:47 am.gz
Pasi KärkkäinenOct 16, 2009 2:01 am 
Konrad Rzeszutek WilkOct 20, 2009 9:57 am.patch
Pasi KärkkäinenOct 21, 2009 4:53 am 
Konrad Rzeszutek WilkOct 21, 2009 11:31 am 
Pasi KärkkäinenOct 21, 2009 11:51 am 
Jeremy FitzhardingeOct 21, 2009 12:49 pm 
Pasi KärkkäinenOct 21, 2009 1:21 pm 
Pasi KärkkäinenOct 27, 2009 8:46 am 
Konrad Rzeszutek WilkOct 27, 2009 9:59 am.makefile, .c
Pasi KärkkäinenOct 27, 2009 10:29 am 
Konrad Rzeszutek WilkOct 27, 2009 12:40 pm 
Pasi KärkkäinenOct 27, 2009 12:45 pm 
Konrad Rzeszutek WilkOct 27, 2009 1:12 pm 
Pasi KärkkäinenOct 27, 2009 1:17 pm 
Pasi KärkkäinenOct 27, 2009 1:23 pm 
Pasi KärkkäinenOct 27, 2009 1:35 pm 
Jeremy FitzhardingeNov 11, 2009 4:46 pm 
Jeremy FitzhardingeNov 11, 2009 4:59 pm 
Jeremy FitzhardingeNov 12, 2009 3:50 pm 
Zhang, XiantaoNov 12, 2009 9:26 pm 
Keir FraserNov 12, 2009 11:24 pm 
Jeremy FitzhardingeNov 13, 2009 3:56 pm 
Keir FraserNov 14, 2009 12:04 am 
Zhang, XiantaoNov 16, 2009 2:37 am.patch, .patch
Jeremy FitzhardingeNov 16, 2009 10:37 am 
Zhang, XiantaoNov 16, 2009 7:12 pm 
Keir FraserNov 16, 2009 7:44 pm 
Jeremy FitzhardingeNov 16, 2009 9:12 pm 
Jeremy FitzhardingeNov 16, 2009 9:19 pm 
Keir FraserNov 16, 2009 9:43 pm 
Zhang, XiantaoNov 17, 2009 4:45 am.patch
Keir FraserNov 17, 2009 5:04 am 
Zhang, XiantaoNov 17, 2009 6:16 am 
Jeremy FitzhardingeNov 17, 2009 10:50 am 
Keir FraserNov 17, 2009 11:49 am 
Jiang, YunhongNov 17, 2009 7:11 pm 
Zhang, XiantaoNov 17, 2009 7:24 pm 
Zhang, XiantaoNov 17, 2009 7:37 pm 
Keir FraserNov 18, 2009 1:36 am 
Konrad Rzeszutek WilkNov 18, 2009 6:14 am 
Konrad Rzeszutek WilkNov 18, 2009 6:29 am 
Zhang, XiantaoNov 19, 2009 5:45 pm 
Zhang, XiantaoNov 19, 2009 5:47 pm 
Zhang, XiantaoNov 24, 2009 2:04 am.patch, .patch
Jeremy FitzhardingeNov 24, 2009 11:25 am 
Konrad Rzeszutek WilkNov 24, 2009 11:43 am 
Jeremy FitzhardingeNov 24, 2009 3:34 pm 
Zhang, XiantaoNov 24, 2009 5:41 pm 
Zhang, XiantaoNov 24, 2009 6:43 pm 
Konrad Rzeszutek WilkNov 25, 2009 5:41 am 
Konrad Rzeszutek WilkNov 25, 2009 6:09 am 
Zhang, XiantaoNov 25, 2009 7:21 am 
Konrad Rzeszutek WilkNov 25, 2009 10:00 am 
Jeremy FitzhardingeNov 25, 2009 10:58 am 
Jeremy FitzhardingeNov 25, 2009 11:13 am 
Zhang, XiantaoNov 25, 2009 5:11 pm 
Zhang, XiantaoNov 26, 2009 3:52 am 
Konrad Rzeszutek WilkNov 30, 2009 6:26 am 
Konrad Rzeszutek WilkNov 30, 2009 6:33 am 
Zhang, XiantaoDec 2, 2009 6:13 pm 
Konrad Rzeszutek WilkDec 3, 2009 6:37 am 
Stefan KuhneDec 4, 2009 8:07 am 
Pasi KärkkäinenDec 4, 2009 10:57 am 
Jeremy FitzhardingeDec 4, 2009 11:26 am 
Pasi KärkkäinenJan 1, 2010 9:20 am 
Konrad Rzeszutek WilkJan 4, 2010 5:37 am 
Pasi KärkkäinenJan 4, 2010 11:41 am 
Konrad Rzeszutek WilkJan 14, 2010 12:05 pm 
Pasi KärkkäinenJan 14, 2010 11:18 pm 
Subject:RE: [Xen-devel] Re: APIC rework
From:Jiang, Yunhong (yunh@intel.com)
Date:Nov 17, 2009 7:11:39 pm
List:com.xensource.lists.xen-devel

And if we remove ioapic logic from dom0, we need to find new way how to setup GSI irq. And this patch comes out under this situation.

Why does this need to be done under dom0 control? All GSIs are parseable by Xen by itself aren't they, from MPBIOS tables or ACPI MADT? So at least Xen should be able to work out for itself APIC pin -> GSI mappings, and pol/trig settings.

My 2 cents for this topic, although I'm still trying to figure out the whole
picture of the patch and discussion thread.

The ACPI MADT table gives the relationship between IOAPIC and gsi, while DSDT
table's _PRT gives the relationship between PCI devices and GSI.

Two way provided in ACPI _PRT table. If the source filed in _PRT entry does not
refert to any device, it means a GSI. I didn't find any hint in ACPI spec on the
polarity/level should be configured. Currently kernel assume the polarity/level
is fixed as low/level, which I suspect is according to PCI spec.

If the _PRT table present the interrupt as PCI Interrupt Link Device, that means
the interrupt attribute is configurable, OSPM need figure out the polarity/level
information through _CRS/_PRS method in these objectes.

For method 1 (i.e. source filed does not refer to device), maybe we can assume
the attribute is fixed and Keir's suggestion will work, while I suspect if Xen
can do anyting for second type.

Quickly check Xiantao's patch, I suspect if it will work for 2nd situation.

BTW, I don't know know any system which use 2nd type when working in APIC mode.

--jyh