[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100225155242F.fujita.tomonori@lab.ntt.co.jp>
Date: Thu, 25 Feb 2010 15:53:20 +0900
From: FUJITA Tomonori <fujita.tomonori@....ntt.co.jp>
To: konrad.wilk@...cle.com
Cc: linux-kernel@...r.kernel.org, fujita.tomonori@....ntt.co.jp,
chrisw@...s-sol.org, iommu@...ts.linux-foundation.org,
dwmw2@...radead.org, alex.williamson@...com, jeremy@...p.org,
Ian.Campbell@...citrix.com
Subject: Re: [PATCH 02/10] swiotlb: Make 'setup_io_tlb_npages' accept new
'swiotlb=' syntax.
On Thu, 18 Feb 2010 11:26:58 -0500
Konrad Rzeszutek Wilk <konrad.wilk@...cle.com> wrote:
> The old syntax for 'swiotlb' is still in effect, and we extend it
> now to include the overflow buffer size. The syntax is now:
>
> swiotlb=[force,][nslabs=<pages>,][overflow=<size>] or more
> commonly know as:
>
> swiotlb=[force]
> swiotlb=[nslabs=<pages>]
> swiotlb=[overflow=<size>]
>
> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>
> ---
> Documentation/x86/x86_64/boot-options.txt | 6 ++++-
> lib/swiotlb.c | 36 +++++++++++++++++++++++++---
> 2 files changed, 37 insertions(+), 5 deletions(-)
'overflow' is a workaround for broken drivers (that ignores DMA
mapping errors). We have fixed such drivers and other hardware IOMMU
implementations don't have such workaround. So please don't extend
it. We should remove it instead.
--
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