lkml.org 
[lkml]   [2009]   [Jun]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 11/11] swiotlb: allow initialisation with pre-allocated bounce-buffer
From
On Mon, 1 Jun 2009 16:33:03 +0100
Ian Campbell <ian.campbell@citrix.com> wrote:

> This allows the generic swiotlb code to be used by users with unusual
> requirements for the buffer allocation by allowing them to provide
> their own swiotlb buffer.
>
> Also:
> - swiotlb_init_with_default_size is unused so collapse into
> swiotlb_init.
> - move declarations of swiotlb_late_init_with_default_size out of *.c
> into linux/swiotlb.h where they belong
> - Make io_tlb_nslabs and io_tlb_overflow non-static since callers of the
> new interface will want to access them.
>
> Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
> Cc: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
> Cc: Jeremy Fitzhardinge <jeremy@goop.org>
> Cc: Olaf Kirch <okir@suse.de>
> Cc: Greg KH <gregkh@suse.de>
> Cc: Ingo Molnar <mingo@elte.hu>
> ---
> arch/ia64/hp/common/hwsw_iommu.c | 3 --
> arch/ia64/hp/common/sba_iommu.c | 2 -
> include/linux/swiotlb.h | 14 ++++++++
> lib/swiotlb.c | 64 +++++++++++++++++++++----------------
> 4 files changed, 50 insertions(+), 33 deletions(-)

Please tell me a pointer to Xen code to use this patch. I think that
we could have more clean interfaces.


\
 
 \ /
  Last update: 2009-06-02 06:11    [W:0.131 / U:4.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site