Thread (12 messages) 12 messages, 4 authors, 2015-02-12

Re: [Xen-devel] [PATCH] modify the IO_TLB_SEGSIZE to io_tlb_segsize configurable as flexible requirement about SW-IOMMU.

From: David Vrabel <hidden>
Date: 2015-02-10 09:46:18
Also in: lkml

On 06/02/15 00:10, Wang, Xiaoming wrote:
quoted
-----Original Message-----
From: Konrad Rzeszutek Wilk [mailto:konrad.wilk@oracle.com]
Sent: Friday, February 6, 2015 3:33 AM
To: Wang, Xiaoming
Cc: ralf@linux-mips.org; boris.ostrovsky@oracle.com;
david.vrabel@citrix.com; linux-mips@linux-mips.org; linux-
kernel@vger.kernel.org; xen-devel@lists.xenproject.org; akpm@linux-
foundation.org; linux@horizon.com; lauraa@codeaurora.org;
heiko.carstens@de.ibm.com; d.kasatkin@samsung.com;
takahiro.akashi@linaro.org; chris@chris-wilson.co.uk; pebolle@tiscali.nl; Liu,
Chuansheng; Zhang, Dongxing
Subject: Re: [PATCH] modify the IO_TLB_SEGSIZE to io_tlb_segsize
configurable as flexible requirement about SW-IOMMU.

On Fri, Feb 06, 2015 at 07:01:14AM +0800, xiaomin1 wrote:
quoted
The maximum of SW-IOMMU is limited to 2^11*128 = 256K.
While in different platform and different requirements this seems improper.
So modify the IO_TLB_SEGSIZE to io_tlb_segsize as configurable is make
sense.

More details please. What is the issue you are hitting?
Example:
If 1M bytes are requied. There has an error like.
Instead of allowing the bouncing of such large buffers, could the gadget
driver be modified to submit the buffers to the hardware in smaller chunks?

David
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help