Re: [PATCH 2/2] swiotlb: Add swiotlb=nobounce debug option

2016-11-07 Thread Konrad Rzeszutek Wilk
On Mon, Nov 07, 2016 at 07:57:11PM +0100, Geert Uytterhoeven wrote: > Hi Konrad, > > On Mon, Oct 31, 2016 at 6:52 PM, Konrad Rzeszutek Wilk > wrote: > > On Mon, Oct 31, 2016 at 04:45:04PM +0100, Geert Uytterhoeven wrote: > >> On architectures like arm64, swiotlb is tied

Re: [PATCH 2/2] swiotlb: Add swiotlb=nobounce debug option

2016-11-07 Thread Geert Uytterhoeven
Hi Konrad, On Mon, Oct 31, 2016 at 6:52 PM, Konrad Rzeszutek Wilk wrote: > On Mon, Oct 31, 2016 at 04:45:04PM +0100, Geert Uytterhoeven wrote: >> On architectures like arm64, swiotlb is tied intimately to the core >> architecture DMA support. In addition, ZONE_DMA cannot

Re: [PATCH 2/2] swiotlb: Add swiotlb=nobounce debug option

2016-11-07 Thread Robin Murphy
Hi Geert, On 07/11/16 15:41, Geert Uytterhoeven wrote: > Hi Robin, > > On Tue, Nov 1, 2016 at 12:46 PM, Robin Murphy wrote: > To aid debugging and catch devices not supporting DMA to memory outside > the 32-bit address space, add a kernel command line option >

Re: [PATCH 2/2] swiotlb: Add swiotlb=nobounce debug option

2016-11-07 Thread Geert Uytterhoeven
Hi Robin, On Tue, Nov 1, 2016 at 12:46 PM, Robin Murphy wrote: To aid debugging and catch devices not supporting DMA to memory outside the 32-bit address space, add a kernel command line option "swiotlb=nobounce", which disables the use of bounce buffers.

Re: [PATCH 2/2] swiotlb: Add swiotlb=nobounce debug option

2016-11-01 Thread Robin Murphy
On 31/10/16 18:20, Geert Uytterhoeven wrote: > Hi Robin, > > On Mon, Oct 31, 2016 at 6:41 PM, Robin Murphy wrote: >> On 31/10/16 15:45, Geert Uytterhoeven wrote: >>> On architectures like arm64, swiotlb is tied intimately to the core >>> architecture DMA support. In

Re: [PATCH 2/2] swiotlb: Add swiotlb=nobounce debug option

2016-10-31 Thread Geert Uytterhoeven
Hi Robin, On Mon, Oct 31, 2016 at 6:41 PM, Robin Murphy wrote: > On 31/10/16 15:45, 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 be fair, that

Re: [PATCH 2/2] swiotlb: Add swiotlb=nobounce debug option

2016-10-31 Thread Konrad Rzeszutek Wilk
On Mon, Oct 31, 2016 at 04:45:04PM +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

Re: [PATCH 2/2] swiotlb: Add swiotlb=nobounce debug option

2016-10-31 Thread Robin Murphy
Hi Geert, On 31/10/16 15:45, 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 be fair, that only takes a single-character change in arch/arm64/Kconfig - in fact, I'm amused to

[PATCH 2/2] swiotlb: Add swiotlb=nobounce debug option

2016-10-31 Thread Geert Uytterhoeven
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=nobounce", which