Geert Uytterhoeven fff5d99225 swiotlb: Add swiotlb=noforce debug option
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@glider.be>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
2016-12-19 09:05:20 -05:00
..
2016-02-26 10:52:48 +09:00
2016-10-28 08:48:16 -06:00
2016-10-28 08:48:16 -06:00
2016-07-26 13:53:16 +02:00
2016-07-14 22:16:05 -07:00
2016-11-01 09:43:26 -06:00
2015-09-01 14:32:44 -07:00
2016-08-17 11:13:07 +02:00
2016-09-29 10:03:38 +02:00
2016-07-14 09:03:57 +02:00
2013-06-23 11:52:58 +02:00
2016-11-14 10:46:30 -08:00
2015-10-06 17:08:15 +02:00
2016-04-11 16:57:09 -04:00
2015-08-05 12:27:09 -07:00