Messages in this thread | | | Date | Tue, 2 Jun 2009 13:08:07 +0900 | Subject | Re: [PATCH 11/11] swiotlb: allow initialisation with pre-allocated bounce-buffer | From | FUJITA Tomonori <> |
| |
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.
| |