]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: rcar-dmac: Widen DMA mask to 40 bits
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 13 Feb 2017 11:00:26 +0000 (12:00 +0100)
committerVinod Koul <vinod.koul@intel.com>
Tue, 14 Feb 2017 07:53:02 +0000 (13:23 +0530)
commit3e2930156130c20eae469f6948bb4c8c7f90d1ed
tree47bdb8a763db24ffa0007782098e7591c745db1e
parent172d9c9c13c9aea61b368ca4e591b2336699ac3b
dmaengine: rcar-dmac: Widen DMA mask to 40 bits

By default, the DMA mask covers only the low 32-bit address space, which
causes SWIOTLB on arm64 to fall back to a bounce buffer for DMA
transfers involving memory outside the 32-bit address space.

The R-Car DMA controller hardware supports a 40-bit address space, hence
widen the DMA mask to 40 bits to actually make use of this feature.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/sh/rcar-dmac.c