[Top] [All Lists]

Re: [PATCH 7/9] swiotlb: Make bounce buffer bounds non-static.

To: FUJITA Tomonori <>
Subject: Re: [PATCH 7/9] swiotlb: Make bounce buffer bounds non-static.
From: David Daney <>
Date: Mon, 27 Sep 2010 10:39:14 -0700
In-reply-to: <>
References: <> <> <>
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100720 Fedora/3.0.6-1.fc12 Thunderbird/3.0.6
On 09/26/2010 10:20 PM, FUJITA Tomonori wrote:
On Thu, 23 Sep 2010 15:47:31 -0700
David Daney<>  wrote:

Octeon PCI mapping has to be established to cover the bounce buffers,
so it has to have access to the bounds.

Why can't you use swiotlb_init_with_tbl() instead?

Yes, as pointed out be several people, that would be better.

The swiotlb_init_with_tbl() didn't exist in earlier kernel versions and this simplification was missed when I forward ported the patch set.

By using this function, I think the entire patch set will be MIPS specific, making it unnecessary to touch the generic swiotlb code.

David Daney

<Prev in Thread] Current Thread [Next in Thread>