|
|
|
|
|
|
|
|
|
|
xen-devel
RE: [Xen-devel] [VTD][PATCH] Do FLR of assigned devices with VT-d
To: |
"Guy Zana" <guy@xxxxxxxxxxxx>, "Han, Weidong" <weidong.han@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx> |
Subject: |
RE: [Xen-devel] [VTD][PATCH] Do FLR of assigned devices with VT-d |
From: |
"Li, Xin B" <xin.b.li@xxxxxxxxx> |
Date: |
Sat, 26 Jan 2008 09:59:59 +0800 |
Cc: |
"Xu, Anthony" <anthony.xu@xxxxxxxxx>, "Kay, Allen M" <allen.m.kay@xxxxxxxxx> |
Delivery-date: |
Fri, 25 Jan 2008 18:01:37 -0800 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxx |
In-reply-to: |
<9392A06CB0FDC847B3A530B3DC174E7B048B4B59@xxxxxxxxxxxxxxxxxxxxxxxxxx> |
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: |
<08DF4D958216244799FC84F3514D70F0F92EB4@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <9392A06CB0FDC847B3A530B3DC174E7B048B4B59@xxxxxxxxxxxxxxxxxxxxxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
Thread-index: |
AcheMj+WzZYuIsWFQ72XRyo60xmE4QBU40UgAA4v9KA= |
Thread-topic: |
[Xen-devel] [VTD][PATCH] Do FLR of assigned devices with VT-d |
>That's a good addition, why moving this functionality to the
>hypervisor?
Qemu code is not guaranteed to execute, like a Qemu crash.
>BTW, can you give real world example where this was needed?
On the above case, we may leave the device in an uncertain status, and
it may still generate interrupts.
-Xin
>
>> -----Original Message-----
>> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>> [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of
>> Han, Weidong
>> Sent: Thursday, January 24, 2008 4:39 AM
>> To: xen-devel@xxxxxxxxxxxxxxxxxxx
>> Cc: Xu, Anthony; Kay,Allen M
>> Subject: [Xen-devel] [VTD][PATCH] Do FLR of assigned devices
>with VT-d
>>
>> Currently there is a pdev_flr() function to do FLR before
>> device assignment in qemu, but most of devices don't have FLR
>> capability.
>> What's more, should do FLR before assignment and deassignment
>> for keeping correct device status. If the device doesn't have
>> FLR capablility, this patch implemented to enter D3hot and
>> return to D0 to do FLR. And exposed pdev_flr() in VT-d utils,
>> then it can be invoked by assignment and deassignment functions.
>>
>> Signed-off-by: Weidong Han <weidong.han@xxxxxxxxx>
>> Signed-off-by: Anthony Xu <anthony.xu@xxxxxxxxx>
>>
>
>_______________________________________________
>Xen-devel mailing list
>Xen-devel@xxxxxxxxxxxxxxxxxxx
>http://lists.xensource.com/xen-devel
>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|