diff options
author | William Wu <william.wu@rock-chips.com> | 2019-01-25 19:36:41 +0800 |
---|---|---|
committer | Tao Huang <huangtao@rock-chips.com> | 2019-01-29 10:34:12 +0800 |
commit | e192640666f19ac3125a085894e706ce4e792aa6 (patch) | |
tree | 974a5439be724cd9db9e954376d8ce33de7c3e18 /arch/arm64/boot/dts/rockchip/rk3399-android-6.0.dtsi | |
parent | 06165d2e65245bfb1c11e653c0ba8514021cad58 (diff) |
arm64: dts: rockchip: increase atomic coherent pool size for rk3399/rk3328
The Seagate Expansion Portable Drive HDD (ext4 file system,
idVendor=0bc2, idProduct=2321) is reported to fail to work
on the rk3399/rk3328 platforms USB 3.0 interface with the
following error message when do read/write operation by dd
command:
xhci-hcd xhci-hcd.11.auto: Ring expansion failed
It's because that xHCI use the dma_pool_alloc() to allocate
DMA buffer for segment_pool with GFP_ATOMIC flag, however,
the default 256 KiB coherent pool is too small for the USB
HDD, so increase it to 1024 KiB to make sure that devices
will be able to allocate their DMA buffers with GFP_ATOMIC
flag.
Change-Id: Ic94c9ceeeb4adabe860af46546550aa8f73f11ca
Signed-off-by: William Wu <william.wu@rock-chips.com>
Diffstat (limited to 'arch/arm64/boot/dts/rockchip/rk3399-android-6.0.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/rockchip/rk3399-android-6.0.dtsi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-android-6.0.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-android-6.0.dtsi index ede5757e0e03..54b7cabf201b 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-android-6.0.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-android-6.0.dtsi @@ -52,7 +52,7 @@ }; chosen { - bootargs = "earlycon=uart8250,mmio32,0xff1a0000 swiotlb=1"; + bootargs = "earlycon=uart8250,mmio32,0xff1a0000 swiotlb=1 coherent_pool=1m"; }; cpuinfo { |