summaryrefslogtreecommitdiffstats
path: root/drivers/xen
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2016-12-16 14:28:42 +0100
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2016-12-19 15:05:20 +0100
commitfff5d99225107f5f13fe4a9805adc2a1c4b5fb00 (patch)
tree0b9748236ea4580bc44f9a24ec27c215cb46ed9b /drivers/xen
parentswiotlb: Convert swiotlb_force from int to enum (diff)
downloadlinux-fff5d99225107f5f13fe4a9805adc2a1c4b5fb00.tar.xz
linux-fff5d99225107f5f13fe4a9805adc2a1c4b5fb00.zip
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>
Diffstat (limited to 'drivers/xen')
0 files changed, 0 insertions, 0 deletions