| To: | "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | [Xen-devel][PATCH][VT-d] Dis-allow PCI device assignment if PoD is enabled |
| From: | "Xu, Dongxiao" <dongxiao.xu@xxxxxxxxx> |
| Date: | 2010年1月21日 20:28:13 +0800 |
| Accept-language: | en-US |
| Acceptlanguage: | en-US |
| Cc: | "George.Dunlap@xxxxxxxxxxxxx" <George.Dunlap@xxxxxxxxxxxxx>, "Han, Weidong" <weidong.han@xxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, "Cui, Dexuan" <dexuan.cui@xxxxxxxxx> |
| Delivery-date: | 2010年1月21日 04:28:49 -0800 |
| Envelope-to: | www-data@xxxxxxxxxxxxxxxxxxx |
| 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> |
| Sender: | xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
| Thread-index: | AcqalTMGInWtKPuPQEOEkTDQWlOtuQ== |
| Thread-topic: | [Xen-devel][PATCH][VT-d] Dis-allow PCI device assignment if PoD is enabled |
It seems that currently we don't have any code to handle the coexistence of VT-d and PoD. VT-d engine needs to set up the entire page table for the domain. However if PoD is enabled, un-populated memory is marked as populate_on_demand, and VT-d engine won't set up page tables for them. Therefore any DMA towards those memory may cause DMA fault. So for safety concern, its better to dis-allow PCI device assignment if PoD is enabled. Best Regards, -- Dongxiao
Attachment:
pod_disable_dev_assign.patch
Description: pod_disable_dev_assign.patch
_______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [Xen-devel] [PATCH] VT-d: improve RMRR validity checking , Noboru Iwamatsu |
|---|---|
| Next by Date: | Re: [Xen-devel] Tagging Xen 4.0.0 first release candidate / pygrub dom0 caching bug , Pasi Kärkkäinen |
| Previous by Thread: | [Xen-devel] [PATCH] linux/privcmd: mmapbatch-v2 fixes , Jan Beulich |
| Next by Thread: | Re: [Xen-devel][PATCH][VT-d] Dis-allow PCI device assignment if PoD is enabled , George Dunlap |
| Indexes: | [Date] [Thread] [Top] [All Lists] |