RE: [PATCH v4 2/4] usb: dwc2: add compatible data for rockchip soc

From: Paul Zimmerman
Date: Thu Aug 07 2014 - 14:27:30 EST


> From: Kever Yang [mailto:kever.yang@xxxxxxxxx] On Behalf Of Kever Yang
> Sent: Thursday, August 07, 2014 2:35 AM
>
> This patch add compatible data for dwc2 controller found on
> rk3066, rk3188 and rk3288 processors from rockchip.
>
> Signed-off-by: Kever Yang <kever.yang@xxxxxxxxxxxxxx>
> Acked-by: Paul Zimmerman <paulz@xxxxxxxxxxxx>
> ---
>
> Changes in v4:
> - max_transfer_size change to 65536, this should be enough
> for most transfer, the hardware auto-detect will set this
> to 0x7ffff which may make dma_alloc_coherent fail when
> non-dword aligned buf from driver like usbnet happen.

Hi Kever,

Did you test this change thoroughly? I have vague memories of any
value above 65535 causing problems, at least on my hardware. And I
see it is set to 65535 in both pci.c and platform.c. I could be
wrong, but I thought I should mention it.

--
Paul

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/