* Re: Bug#918800: PROBLEM: USB 3.0 NIC operates only at USB 2.0 speed on Odroid HC1
[not found] ` <d720bae86ab67d2387c32444c835cd52b2408e6e.camel@posteo.de>
@ 2019-04-24 11:25 ` Steinar H. Gunderson
2019-04-27 13:12 ` Steinar H. Gunderson
0 siblings, 1 reply; 3+ messages in thread
From: Steinar H. Gunderson @ 2019-04-24 11:25 UTC (permalink / raw)
To: Benjamin Drung, 918800; +Cc: Mathias Nyman, Greg Kroah-Hartman, linux-usb
On Sat, Feb 02, 2019 at 01:39:06PM +0100, Benjamin Drung wrote:
> The Odroid HC1 ARM board contains a JMicron JMS578 USB 3.0 to SATA
> Bridge and a Realtek Gbps Ethernet device connected to an USB 3.0 host.
> The SATA bridge works correctly at USB 3.0 speed, but the Ethernet
> controller operates only at USB 2.0 speed. I tracked this behaviour down
> to the CONFIG_USB_XHCI_PLATFORM kernel configuration.
I have the same problem with the ODROID XU4, which also includes a dwc3 and
an 8152 (it's probably dwc3-specific; the driver has been problematic
before). I haven't checked whether CONFIG_USB_XHCI_PLATFORM=y helps, though.
Linux liadroid 4.19.0-4-armmp-lpae #1 SMP Debian 4.19.28-2 (2019-03-15) armv7l GNU/Linux
/: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=r8152, 480M
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 5000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 480M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=exynos-ehci/3p, 480M
/* Steinar */
--
Homepage: https://www.sesse.net/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Bug#918800: PROBLEM: USB 3.0 NIC operates only at USB 2.0 speed on Odroid HC1
2019-04-24 11:25 ` Bug#918800: PROBLEM: USB 3.0 NIC operates only at USB 2.0 speed on Odroid HC1 Steinar H. Gunderson
@ 2019-04-27 13:12 ` Steinar H. Gunderson
2019-04-27 19:10 ` Steinar H. Gunderson
0 siblings, 1 reply; 3+ messages in thread
From: Steinar H. Gunderson @ 2019-04-27 13:12 UTC (permalink / raw)
To: Benjamin Drung, 918800; +Cc: Mathias Nyman, Greg Kroah-Hartman, linux-usb
On Wed, Apr 24, 2019 at 01:25:54PM +0200, Steinar H. Gunderson wrote:
> I have the same problem with the ODROID XU4, which also includes a dwc3 and
> an 8152 (it's probably dwc3-specific; the driver has been problematic
> before). I haven't checked whether CONFIG_USB_XHCI_PLATFORM=y helps, though.
Now I have; I rebuilt the Debian kernel with
USB=y
USB_XHCI_HCD=y
CONFIG_USB_XHCI_PLATFORM=y
and the NIC still comes up at 480M. So, no go.
/* Steinar */
--
Homepage: https://www.sesse.net/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Bug#918800: PROBLEM: USB 3.0 NIC operates only at USB 2.0 speed on Odroid HC1
2019-04-27 13:12 ` Steinar H. Gunderson
@ 2019-04-27 19:10 ` Steinar H. Gunderson
0 siblings, 0 replies; 3+ messages in thread
From: Steinar H. Gunderson @ 2019-04-27 19:10 UTC (permalink / raw)
To: Benjamin Drung, 918800
Cc: Mathias Nyman, Greg Kroah-Hartman, linux-usb, control
merge 925167 918800
thanks
On Sat, Apr 27, 2019 at 03:12:35PM +0200, Steinar H. Gunderson wrote:
> Now I have; I rebuilt the Debian kernel with
>
> USB=y
> USB_XHCI_HCD=y
> CONFIG_USB_XHCI_PLATFORM=y
>
> and the NIC still comes up at 480M. So, no go.
Correction: After a hard reset, it works.
Even better, this patch makes it work also with everything as modules:
https://marc.info/?l=linux-usb&m=155321315512949&w=2
and there's already a Debian bug for that, so merging. I've verified
that this patch works for me (after a hard reset).
Debian maintainers: This is a tiny little patch; would you be willing to
accept it for buster, so that ODROID users can get unhampered speeds?
(There's some big.LITTLE stuff that still keeps it back in some scenarios,
but this gets my iperf on XU4 to 620 Mbit/sec output and 920 Mbit/sec input.)
/* Steinar */
--
Homepage: https://www.sesse.net/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-04-27 19:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <154704226118.1322.1006713485599467999.reportbug@odroid.bdrung.de>
[not found] ` <d720bae86ab67d2387c32444c835cd52b2408e6e.camel@posteo.de>
2019-04-24 11:25 ` Bug#918800: PROBLEM: USB 3.0 NIC operates only at USB 2.0 speed on Odroid HC1 Steinar H. Gunderson
2019-04-27 13:12 ` Steinar H. Gunderson
2019-04-27 19:10 ` Steinar H. Gunderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).