Re: [PATCH v2 3/3] swiotlb: Add swiotlb=noforce debug option

From: Konrad Rzeszutek Wilk
Date: Mon Dec 19 2016 - 08:38:26 EST


On Fri, Dec 16, 2016 at 02:28:42PM +0100, Geert Uytterhoeven wrote:
> On architectures like arm64, swiotlb is tied intimately to the core
> architecture DMA support. In addition, ZONE_DMA cannot be disabled.
>
> To aid debugging and catch devices not supporting DMA to memory outside
> the 32-bit address space, add a kernel command line option
> "swiotlb=noforce", which disables the use of bounce buffers.
> If specified, trying to map memory that cannot be used with DMA will
> fail, and a rate-limited warning will be printed.
>
> Note that io_tlb_nslabs is set to 1, which is the minimal supported
> value.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>

What is this based on? I can't apply it on my latest that I had
sent to Linus?

Could you rebase this one please on:

git://git.kernel.org/pub/scm/linux/kernel/git/konrad/swiotlb.git stable/for-linus-4.9

Thanks?

Or if alternatively that does not - then please rebase it on
b5cab0da75c292ffa0fbd68dd2c820066b2842de

Thanks!