xen-devel
RE: [Xen-devel] Dom0 hypercall for adding and removing PCI devices
To: |
"Han, Weidong" <weidong.han@xxxxxxxxx> |
Subject: |
RE: [Xen-devel] Dom0 hypercall for adding and removing PCI devices |
From: |
Espen Skoglund <espen.skoglund@xxxxxxxxxxxxx> |
Date: |
Thu, 24 Jul 2008 15:16:51 +0100 |
Cc: |
"Tian, Kevin" <kevin.tian@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>, Espen Skoglund <espen.skoglund@xxxxxxxxxxxxx>, "Li, Xin B" <xin.b.li@xxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, joshua.levasseur@xxxxxxxxxxxxx |
Delivery-date: |
Thu, 24 Jul 2008 07:17:26 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxxx |
In-reply-to: |
<0122C7C995D32147B66BF4F440D30163016B6CB9@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> |
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: |
<D470B4E54465E3469E2ABBC5AFAC390F024D95D6@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <C4AE001B.1B835%keir.fraser@xxxxxxxxxxxxx> <0122C7C995D32147B66BF4F440D30163016B6CB9@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
Except, the RMRR mappings should be the same in both the old and the
new VT-d tables. The fields in the page tables would not change ---
only the context entry (and the location of the VT-d page tables).
I haven't got the VT-d spec in front of me, but the quote below seems
to suggest that one can not directly reassign a device to another
domain. One would first have to mark it as non present in the context
table before reassigning it. Can someone from Intel confirm whether
this is the case or not?
eSk
[Weidong Han]
> VT-d spec says: Software must not modify fields other than the
> Present (P) field of currently present root-entries or
> context-entries. If modifications to other fields are required,
> software must first make these entries not-present (P=0), which
> requires serial invalidation of context-cache and IOTLB, and then
> transition them to present (P=1) state along with the modifications.
>
> So your suggestion is not feasible.
>
> Randy (Weidong)
>
> Keir Fraser wrote:
>> Exactly my thought.
>>
>> K.
>>
>> On 24/7/08 09:43, "Tian, Kevin" <kevin.tian@xxxxxxxxx> wrote:
>>
>>> Isn't enough to first switch VT-d page table, and then flush IOTLB?
>>> As long as RMRRs are kept same in two VT-d tables, and in any
>>> time a valid entry (either in IOTLB or by walking) can be found,
>>> above sequence seems complete.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: [Xen-devel] Dom0 hypercall for adding and removing PCI devices, (continued)
- Re: [Xen-devel] Dom0 hypercall for adding and removing PCI devices, Keir Fraser
- Re: [Xen-devel] Dom0 hypercall for adding and removing PCI devices, Espen Skoglund
- Message not available
- RE: [Xen-devel] Dom0 hypercall for adding and removing PCI devices, Han, Weidong
- Re: [Xen-devel] Dom0 hypercall for adding and removing PCI devices, Keir Fraser
- RE: [Xen-devel] Dom0 hypercall for adding and removing PCI devices, Han, Weidong
- Re: [Xen-devel] Dom0 hypercall for adding and removing PCI devices, Keir Fraser
- RE: [Xen-devel] Dom0 hypercall for adding and removing PCI devices, Tian, Kevin
- Re: [Xen-devel] Dom0 hypercall for adding and removing PCI devices, Keir Fraser
- RE: [Xen-devel] Dom0 hypercall for adding and removing PCI devices, Han, Weidong
- Re: [Xen-devel] Dom0 hypercall for adding and removing PCI devices, Keir Fraser
- RE: [Xen-devel] Dom0 hypercall for adding and removing PCI devices,
Espen Skoglund <=
- RE: [Xen-devel] Dom0 hypercall for adding and removing PCI devices, Tian, Kevin
|
|
|