First  |  Prev |  Next  |  Last
Pages: 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936
[PATCH 19/19] x86: Detect whether we should use Xen SWIOTLB.
It is paramount that we call pci_xen_swiotlb_detect before pci_swiotlb_detect as both implementations use the 'swiotlb' and 'swiotlb_force' flags. The pci-xen_swiotlb_detect inhibits the swiotlb_force and swiotlb flag so that the native SWIOTLB implementation is not enabled when running under Xen. Signed-off-by:... 22 Jun 2010 16:02
[PATCH 12/19] swiotlb-xen: Make 'xen_swiotlb_map_sg_attrs' work.
Refer to "swiotlb-xen: Make 'xen_swiotlb_[map|unmap]_page' work." for details why we want to use our own address translation mechanism. Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk(a)oracle.com> --- lib/swiotlb-xen.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/swiotlb-x... 22 Jun 2010 16:02
[PATCH 16/19] swiotlb-xen: Removing the 'struct device' in the address translation routines.
We don't use it at all. Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk(a)oracle.com> --- lib/swiotlb-xen.c | 25 ++++++++++++------------- 1 files changed, 12 insertions(+), 13 deletions(-) diff --git a/lib/swiotlb-xen.c b/lib/swiotlb-xen.c index 6bba1a5..12e9dcd 100644 --- a/lib/swiotlb-xen.c +++ b/lib... 22 Jun 2010 16:02
[PATCH 15/19] swiotlb-xen: Put 'swiotlb-xen.c' function declarations in the header.
We also remove the temporary scaffolding required to compile swiotlb-xen.c file. Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk(a)oracle.com> --- include/linux/swiotlb-xen.h | 65 +++++++++++++++++++++++++++++++++++++++++++ lib/swiotlb-xen.c | 7 +---- 2 files changed, 66 insertions(+), 6 delet... 22 Jun 2010 16:02
[PATCH 08/19] swiotlb-xen: Don't allocate DMA-memory beyond 4GB in 32-bit mode.
From: Ronny.Hegewald(a)online.de <Ronny.Hegewald(a)online.de> When running in 32-bit PV environment various drivers try to allocate a coherent DMA memory and the Xen SWIOTLB would return memory beyond 4GB. On bare-metal the coherent DMA-memory using the native SWIOTLB would always allocate memory inside the 32-bit ... 22 Jun 2010 16:02
[PATCH 10/19] swiotlb-xen: Make 'xen_swiotlb_[map|unmap]_page' work.
We utilize the SWIOTLB proper book-keeping functions and compared to bare-metal SWIOTLB, we use a different virt->bus address translation. This is necessary as under Xen, the PFN is a pseudo-number that is not necessarily the true MFN. Because of that, successive pages might not physically contiguous, meaning mfn++... 22 Jun 2010 16:02
[PATCH 09/19] swiotlb-xen: Make 'xen_swiotlb_free_coherent' work.
See "swiotlb-xen: Make 'xen_swiotlb_free_coherent' work." for detailed description. Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk(a)oracle.com> --- lib/swiotlb-xen.c | 15 +++++++-------- 1 files changed, 7 insertions(+), 8 deletions(-) diff --git a/lib/swiotlb-xen.c b/lib/swiotlb-xen.c index 2ebfcbd..2... 22 Jun 2010 16:02
[PATCH 02/19] xen: Allow unprivileged Xen domains to create iomap pages
From: Alex Nixon <alex.nixon(a)citrix.com> PV DomU domains are allowed to map hardware MFNs for PCI passthrough, but are not generally allowed to map raw machine pages. In particular, various pieces of code try to map DMI and ACPI tables in the ISA ROM range. We disallow _PAGE_IOMAP for those mappings, so that th... 22 Jun 2010 16:02
[PATCH 17/19] swiotlb-xen: Coalesce usage of xen_swiotlb_map.
We don't use the 'struct device' anymore, and the xen_swiotlb_map ended up just passing on the values and recomputing the same value (start_dma_addr) every time - so now we do it only once. Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk(a)oracle.com> --- lib/swiotlb-xen.c | 23 +++++++++++------------ 1 fil... 22 Jun 2010 16:02
[PATCH 13/19] swiotlb-xen: Remove io_tlb_overflow usage.
We are sheding the usage of the overflow buffer and returning the value of zero (DMA_ERROR_CODE), following the lead of the Intel and AMD IOMMU code. Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk(a)oracle.com> --- lib/swiotlb-xen.c | 13 ++++--------- 1 files changed, 4 insertions(+), 9 deletions(-) dif... 22 Jun 2010 16:02
First  |  Prev |  Next  |  Last
Pages: 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936