[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090602130023W.fujita.tomonori@lab.ntt.co.jp>
Date: Tue, 2 Jun 2009 13:08:07 +0900
From: FUJITA Tomonori <fujita.tomonori@....ntt.co.jp>
To: ian.campbell@...rix.com
Cc: linux-kernel@...r.kernel.org, fujita.tomonori@....ntt.co.jp,
jeremy@...p.org, okir@...e.de, gregkh@...e.de, mingo@...e.hu
Subject: Re: [PATCH 11/11] swiotlb: allow initialisation with pre-allocated
bounce-buffer
On Mon, 1 Jun 2009 16:33:03 +0100
Ian Campbell <ian.campbell@...rix.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@...rix.com>
> Cc: FUJITA Tomonori <fujita.tomonori@....ntt.co.jp>
> Cc: Jeremy Fitzhardinge <jeremy@...p.org>
> Cc: Olaf Kirch <okir@...e.de>
> Cc: Greg KH <gregkh@...e.de>
> Cc: Ingo Molnar <mingo@...e.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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists