| From | Sent On | Attachments |
|---|---|---|
| Jeremy Fitzhardinge | Sep 18, 2009 6:19 pm | |
| Marc - A. Dahlhaus | Sep 19, 2009 3:35 am | |
| Patrick Scharrenberg | Sep 19, 2009 7:45 am | .png |
| Boris Derzhavets | Sep 19, 2009 9:07 am | .gz |
| Marc - A. Dahlhaus | Sep 20, 2009 12:29 pm | .gz, .gz |
| Patrick Scharrenberg | Sep 20, 2009 10:57 pm | |
| Pasi Kärkkäinen | Sep 20, 2009 11:22 pm | |
| Marc - A. Dahlhaus [ Administration | Westermann GmbH ] | Sep 21, 2009 1:48 am | |
| Pasi Kärkkäinen | Sep 21, 2009 2:02 am | |
| Marc - A. Dahlhaus [ Administration | Westermann GmbH ] | Sep 21, 2009 2:17 am | |
| Konrad Rzeszutek Wilk | Sep 21, 2009 7:38 am | |
| Konrad Rzeszutek Wilk | Sep 21, 2009 7:43 am | |
| Konrad Rzeszutek Wilk | Sep 21, 2009 8:06 am | |
| Pasi Kärkkäinen | Sep 21, 2009 8:20 am | |
| Pasi Kärkkäinen | Sep 21, 2009 12:24 pm | |
| Jeremy Fitzhardinge | Sep 21, 2009 12:29 pm | |
| Pasi Kärkkäinen | Sep 21, 2009 12:49 pm | |
| Jeremy Fitzhardinge | Sep 21, 2009 1:20 pm | |
| Pasi Kärkkäinen | Sep 21, 2009 1:26 pm | |
| Jeremy Fitzhardinge | Sep 21, 2009 1:29 pm | |
| Pasi Kärkkäinen | Sep 21, 2009 1:35 pm | |
| Patrick Scharrenberg | Sep 22, 2009 2:00 am | |
| Konrad Rzeszutek Wilk | Sep 22, 2009 7:08 am | |
| Patrick Scharrenberg | Sep 23, 2009 12:37 am | |
| Konrad Rzeszutek Wilk | Sep 23, 2009 5:06 am | |
| Konrad Rzeszutek Wilk | Sep 23, 2009 5:09 am | |
| Christian Tramnitz | Sep 23, 2009 6:15 am | |
| Jeremy Fitzhardinge | Sep 23, 2009 12:22 pm | |
| Konrad Rzeszutek Wilk | Sep 23, 2009 12:32 pm | |
| Jeremy Fitzhardinge | Sep 23, 2009 1:09 pm | |
| Jeremy Fitzhardinge | Sep 23, 2009 1:13 pm | |
| Jeremy Fitzhardinge | Sep 23, 2009 1:30 pm | |
| Konrad Rzeszutek Wilk | Sep 23, 2009 2:24 pm | |
| Jeremy Fitzhardinge | Sep 23, 2009 2:55 pm | |
| Qing He | Sep 23, 2009 8:10 pm | |
| Zhang, Xiantao | Sep 24, 2009 1:14 am | .patch, .patch |
| Konrad Rzeszutek Wilk | Sep 24, 2009 5:43 am | |
| Christian Tramnitz | Sep 24, 2009 6:19 am | |
| Andy Burns | Sep 24, 2009 10:46 am | |
| Jeremy Fitzhardinge | Sep 24, 2009 11:22 am | |
| Thiago Camargo Martins Cordeiro | Sep 24, 2009 11:29 am | |
| Patrick Scharrenberg | Sep 24, 2009 12:11 pm | |
| Thiago Camargo Martins Cordeiro | Sep 24, 2009 12:31 pm | |
| Jeremy Fitzhardinge | Sep 24, 2009 12:37 pm | |
| Jeremy Fitzhardinge | Sep 24, 2009 12:55 pm | |
| Jeremy Fitzhardinge | Sep 24, 2009 1:00 pm | |
| Konrad Rzeszutek Wilk | Sep 24, 2009 2:35 pm | |
| Zhang, Xiantao | Sep 24, 2009 6:43 pm | |
| Pasi Kärkkäinen | Oct 11, 2009 8:38 am | |
| Konrad Rzeszutek Wilk | Oct 12, 2009 1:02 pm | |
| Pasi Kärkkäinen | Oct 14, 2009 2:13 pm | |
| Konrad Rzeszutek Wilk | Oct 15, 2009 1:03 pm | |
| Boris Derzhavets | Oct 16, 2009 12:47 am | .gz |
| Pasi Kärkkäinen | Oct 16, 2009 2:01 am | |
| Konrad Rzeszutek Wilk | Oct 20, 2009 9:57 am | .patch |
| Pasi Kärkkäinen | Oct 21, 2009 4:53 am | |
| Konrad Rzeszutek Wilk | Oct 21, 2009 11:31 am | |
| Pasi Kärkkäinen | Oct 21, 2009 11:51 am | |
| Jeremy Fitzhardinge | Oct 21, 2009 12:49 pm | |
| Pasi Kärkkäinen | Oct 21, 2009 1:21 pm | |
| Pasi Kärkkäinen | Oct 27, 2009 8:46 am | |
| Konrad Rzeszutek Wilk | Oct 27, 2009 9:59 am | .makefile, .c |
| Pasi Kärkkäinen | Oct 27, 2009 10:29 am | |
| Konrad Rzeszutek Wilk | Oct 27, 2009 12:40 pm | |
| Pasi Kärkkäinen | Oct 27, 2009 12:45 pm | |
| Konrad Rzeszutek Wilk | Oct 27, 2009 1:12 pm | |
| Pasi Kärkkäinen | Oct 27, 2009 1:17 pm | |
| Pasi Kärkkäinen | Oct 27, 2009 1:23 pm | |
| Pasi Kärkkäinen | Oct 27, 2009 1:35 pm | |
| Jeremy Fitzhardinge | Nov 11, 2009 4:46 pm | |
| Jeremy Fitzhardinge | Nov 11, 2009 4:59 pm | |
| Jeremy Fitzhardinge | Nov 12, 2009 3:50 pm | |
| Zhang, Xiantao | Nov 12, 2009 9:26 pm | |
| Keir Fraser | Nov 12, 2009 11:24 pm | |
| Jeremy Fitzhardinge | Nov 13, 2009 3:56 pm | |
| Keir Fraser | Nov 14, 2009 12:04 am | |
| Zhang, Xiantao | Nov 16, 2009 2:37 am | .patch, .patch |
| Jeremy Fitzhardinge | Nov 16, 2009 10:37 am | |
| Zhang, Xiantao | Nov 16, 2009 7:12 pm | |
| Keir Fraser | Nov 16, 2009 7:44 pm | |
| Jeremy Fitzhardinge | Nov 16, 2009 9:12 pm | |
| Jeremy Fitzhardinge | Nov 16, 2009 9:19 pm | |
| Keir Fraser | Nov 16, 2009 9:43 pm | |
| Zhang, Xiantao | Nov 17, 2009 4:45 am | .patch |
| Keir Fraser | Nov 17, 2009 5:04 am | |
| Zhang, Xiantao | Nov 17, 2009 6:16 am | |
| Jeremy Fitzhardinge | Nov 17, 2009 10:50 am | |
| Keir Fraser | Nov 17, 2009 11:49 am | |
| Jiang, Yunhong | Nov 17, 2009 7:11 pm | |
| Zhang, Xiantao | Nov 17, 2009 7:24 pm | |
| 32 later messages | ||
| Subject: | Re: [Xen-devel] pvops: AHCI problems with SB600 | |
|---|---|---|
| From: | Jeremy Fitzhardinge (jer...@goop.org) | |
| Date: | Sep 24, 2009 11:22:36 am | |
| List: | com.xensource.lists.xen-devel | |
On 09/24/09 05:44, Konrad Rzeszutek Wilk wrote:
There was a lot of havoc - all of the PCI BARs were useless. Is the MFN (from the pfn_to_mfn on this address) suppose to have a specific value?
Not sure. pfn_to_mfn is never supposed to happen on ioremap phys addrs, because of _PAGE_IOMAP in the pte. Its probably worth checking that _PAGE_IOMAP is actually getting set.
For all of those setting, no_iommu=1 should do the trick. But in reality I need to double-check that:
diff --git a/arch/x86/xen/pci-swiotlb.c b/arch/x86/xen/pci-swiotlb.c index 00f2260..390f698 100644 --- a/arch/x86/xen/pci-swiotlb.c +++ b/arch/x86/xen/pci-swiotlb.c @@ -989,6 +989,8 @@ void __init xen_swiotlb_init(void) xen_swiotlb_init_with_default_size(64 * (1<<20)); /* default to 64MB */ dma_ops = &xen_swiotlb_dma_ops; iommu_detected = 1; + no_iommu = 1; /* Forces the other IOMMU (if they are detected) to + to quit, rather than initialize. */ #ifdef CONFIG_GART_IOMMU gart_iommu_aperture_disabled = 1; #endif
<sigh>I think I need to rethink this swiotlb-Xen part. This is starting to look like a hack.
It isn't great. We need a way to either layer or arbitrate between these different address translation mechanisms.
Another thought, could we actually use the gart iommu instead of swiotlb if it is available? I think it leads to exactly the same set of issues as extending normal swiotlb for Xen's use (ie, inserting pfn->mfn conversion into the correct places, and perhaps allocating the memory properly). Worth thinking about; it may shine light on better ways to fix up swiotlb.
Yes! That was my next step - see if it is possible to use it and if so extend it for that purpose (and without any ghastly #ifdef).
Good.
J
_______________________________________________ Xen-devel mailing list Xen-...@lists.xensource.com http://lists.xensource.com/xen-devel






.png