| To: | Yuji Shimada <shimada-yxb@xxxxxxxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | RE: [Xen-devel] [PATCH] dom0 linux: Reassign memory resources to device for pci passthrough. |
| From: | "Zhao, Yu" <yu.zhao@xxxxxxxxx> |
| Date: | Thu, 9 Oct 2008 11:21:22 +0800 |
| Accept-language: | en-US |
| Acceptlanguage: | en-US |
| Cc: | |
| Delivery-date: | 2008年10月08日 20:22:34 -0700 |
| Envelope-to: | www-data@xxxxxxxxxxxxxxxxxxx |
| In-reply-to: | <20081009083706.BF13.SHIMADA-YXB@xxxxxxxxxxxxxxx> |
| 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: | <20081009083706.BF13.SHIMADA-YXB@xxxxxxxxxxxxxxx> |
| Sender: | xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
| Thread-index: | Ackpn+pDUxCXy51NQkiGGv1inwh9FAAGuZJg |
| Thread-topic: | [Xen-devel] [PATCH] dom0 linux: Reassign memory resources to device for pci passthrough. |
On Thursday, October 09, 2008 7:44 AM, Yuji Shimada wrote: >There is a similar function enabled by pci-mem-align boot >parameter. Currently it is kept. But if many people agree with me, I'd >like to remove it from dom0 linux, because there are two problems. > > - pci-mem-align reassigns all devices' memory resources if they are > not page-aligned. This is not safe, because some devices are > used by firmware. > - pci-mem-align can't expand resource window of PCI-PCI bridge. Why the resource windows can't be expended? I think the pci_bus_size_bridges takes care of this. So it shouldn't be a problem and your pci_update_bridge appears unnecessary. Regarding the first problem you mentioned, it could be easily fixed by merging your "rassigndev=" parameter to quirk_align_mem_resources so the function can selective twist the devices. Thanks, Yu _______________________________________________ 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] Re: [Xen-ia64-devel] [PATCH 0/3] IA64: add cpufreq support , Isaku Yamahata |
|---|---|
| Next by Date: | RE: [Xen-devel] Re: [Xen-ia64-devel] [PATCH 0/3] IA64: add cpufreq support , Yu, Ke |
| Previous by Thread: | Re: [Xen-devel] [PATCH] dom0 linux: Reassign memory resources to device for pci passthrough. , Yuji Shimada |
| Next by Thread: | Re: [Xen-devel] [PATCH] dom0 linux: Reassign memory resources to device for pci passthrough. , Yuji Shimada |
| Indexes: | [Date] [Thread] [Top] [All Lists] |