|   xen-devel
RE: [Xen-devel] [PATCH 0/5] Add MSI support to XEN 
| To: | "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>,	"Espen Skoglund" <espen.skoglund@xxxxxxxxxxxxx>,	"Shan, Haitao" <haitao.shan@xxxxxxxxx> |  
| Subject: | RE: [Xen-devel] [PATCH 0/5] Add MSI support to XEN |  
| From: | "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx> |  
| Date: | Mon, 31 Mar 2008 22:25:29 +0800 |  
| Cc: | "Tian, Kevin" <kevin.tian@xxxxxxxxx>,	xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Li, Xin B" <xin.b.li@xxxxxxxxx> |  
| Delivery-date: | Mon, 31 Mar 2008 07:28:15 -0700 |  
| Envelope-to: | www-data@xxxxxxxxxxxxxxxxxx |  
| In-reply-to: | <C416B04E.1EA29%keir.fraser@xxxxxxxxxxxxx> |  
| 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/cgi-bin/mailman/listinfo/xen-devel>,	<mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |  
| List-unsubscribe: | <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>,	<mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |  
| References: | <391BF3CDD2DC0848B40ACB72FA97AD590323063E@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>	<C416B04E.1EA29%keir.fraser@xxxxxxxxxxxxx> |  
| Sender: | xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |  
| Thread-index: | AciQMO1Y+dTIVbdxTuGacqzZj4GuywARL6KAAAvIwN8AALvKIAADJmsgAAB3TPAAn7fz4AABG9/OAABJeBA= |  
| Thread-topic: | [Xen-devel] [PATCH 0/5] Add MSI support to XEN |  
| Keir Fraser <mailto:keir.fraser@xxxxxxxxxxxxx> wrote:
> On 31/3/08 14:57, "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx> wrote:
> 
>> Keir, when I try to get the ip address today, I suddenly found I
can't
>> reproduce it anymore, also orginally if I removed the code that
trigger
>> the software LSC interrupt, the NIC can still work and get IP
address,
>> but now if I remove that code, the NIC can't work anymore.
>> It is really strange to me, I did't change anything to the system.
Also
>> I don't know any changes in the lab environment that may cause this
>> change. But I do can reproduce it before each time.
>> 
>> Really frustrated to get this :-( , do you think we still need move
the
>> config space access down, now the only reasons to move this down is,
>> ack_edge_ioapic_irq() did the mask, and this mask can make HV more
>> robust.
> 
> So, if you leave the driver as it is (triggering the software LSC
> interrupt), do APIC EOI in Xen before executing the interrupt
> handler in
> dom0, and do not mask the MSI at all, then you no longer hang?
I usuually do experiement in linux kernel, and it no longer hang.
> 
> That's a weird change in behaviour if so!
> 
> I wonder whether there is a timing issue of some sort, and it
> depends if the
> NIC generates the software-triggered interrupt at a fast
> enough rate that
> the host CPU fails to make progress if it doesn't mask the
> MSI? You haven't
> changed test machine at all, or put the NIC in a different PCI slot,
or
> anything like that? 
I haven't change anything at all, the machine is on lab, which is far
away from my cub.  And I just stay at home at weekend.
> 
> -- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 | 
 
| <Prev in Thread] | Current Thread | [Next in Thread> |  | 
Re: [Xen-devel] [PATCH 0/5] Add MSI support to XEN, (continued)
Re: [Xen-devel] [PATCH 0/5] Add MSI support to XEN, Espen Skoglund
RE: [Xen-devel] [PATCH 0/5] Add MSI support to XEN, Caitlin Bestler
RE: [Xen-devel] [PATCH 0/5] Add MSI support to XEN, Jiang, Yunhong
Re: [Xen-devel] [PATCH 0/5] Add MSI support to XEN, Keir Fraser
RE: [Xen-devel] [PATCH 0/5] Add MSI support to XEN, Jiang, Yunhong
Re: [Xen-devel] [PATCH 0/5] Add MSI support to XEN, Keir Fraser
RE: [Xen-devel] [PATCH 0/5] Add MSI support to XEN, Jiang, Yunhong
RE: [Xen-devel] [PATCH 0/5] Add MSI support to XEN, Jiang, Yunhong
Re: [Xen-devel] [PATCH 0/5] Add MSI support to XEN, Keir Fraser
Re: [Xen-devel] [PATCH 0/5] Add MSI support to XEN, Keir Fraser
RE: [Xen-devel] [PATCH 0/5] Add MSI support to XEN,
Jiang, Yunhong <=
Re: [Xen-devel] [PATCH 0/5] Add MSI support to XEN, Keir Fraser
RE: [Xen-devel] [PATCH 0/5] Add MSI support to XEN, Shan, Haitao
Re: [Xen-devel] [PATCH 0/5] Add MSI support to XEN, Espen Skoglund
Re: [Xen-devel] [PATCH 0/5] Add MSI support to XEN, Keir Fraser
Re: [Xen-devel] [PATCH 0/5] Add MSI support to XEN, Espen Skoglund
Re: [Xen-devel] [PATCH 0/5] Add MSI support to XEN, Keir Fraser
 |  |  |