From: Andreas Herrmann <herrmann.der.user@googlemail.com>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: Andreas Herrmann <andreas.herrmann@caviumnetworks.com>,
David Daney <david.daney@cavium.com>,
Alex Smith <alex.smith@imgtec.com>,
Linux-MIPS <linux-mips@linux-mips.org>,
linux-usb <linux-usb@vger.kernel.org>
Subject: Re: [PATCH 0/3] USB: host: Misc patches to remove hard-coded octeon platform information
Date: Fri, 14 Nov 2014 12:47:14 +0100 [thread overview]
Message-ID: <20141114114714.GA16123@alberich> (raw)
In-Reply-To: <Pine.LNX.4.44L0.1411131712201.4266-100000@iolanthe.rowland.org>
On Thu, Nov 13, 2014 at 05:13:36PM -0500, Alan Stern wrote:
> On Thu, 13 Nov 2014, Andreas Herrmann wrote:
>
> > Hi Alan,
> >
> > With following patches I want to base octeon ehci/ohci device
> > configuration on device tree information.
> >
> > I picked up patches that were submitted in May. See
> > http://marc.info/?l=linux-usb&m=140135823325811&w=2
> > and http://marc.info/?l=linux-mips&m=140139694721623&w=2
> >
> > Patch #1 is your "untested preliminary pass" to remove
> > [oe]hci-octeon drivers.
> > Patch #2 is the removal of hard-coded platform information (but now
> > rebased on your patch)
> > Patch #3 adapts dma_mask for ehci (as used in ehci-octeon)
> >
> > Overall diffstat is
> >
> > arch/mips/cavium-octeon/octeon-platform.c | 380 +++++++++++++++++++++++------
> > arch/mips/configs/cavium_octeon_defconfig | 3 +
> > drivers/usb/host/Kconfig | 18 +-
> > drivers/usb/host/Makefile | 1 -
> > drivers/usb/host/ehci-hcd.c | 5 -
> > drivers/usb/host/ehci-octeon.c | 188 --------------
> > drivers/usb/host/ehci-platform.c | 4 +-
> > drivers/usb/host/octeon2-common.c | 200 ---------------
> > drivers/usb/host/ohci-hcd.c | 5 -
> > drivers/usb/host/ohci-octeon.c | 202 ---------------
> > drivers/usb/host/ohci-platform.c | 1 +
> > include/linux/usb/ehci_pdriver.h | 1 +
> > 12 files changed, 330 insertions(+), 678 deletions(-)
> >
> > Patches are based on v3.18-rc4-65-g2c54396
> >
> > Comments welcome.
>
> At a very quick first glance, it looks great. Have you tested it
> thoroughly?
[sorry have to use another mail account, so far your mail didn't show
up at my caviumnetworks account]
I've tested it only on an EdgeRouterPro (Octeon II system, which I
have on-site).
octeon_ehci_device_init and octeon_ohci_device_init run way before
ehci-platform and ohci-platform probe for devices. So everything
should be initialized orderly.
With current mainline (w/o these patches) USB doesn't work on my
EdgeRouterPro due to an (inappropriate) OCTEON_IS_MODEL check.
I'd say having the patches in linux-next for awhile wouldn't hurt.
Andreas
next prev parent reply other threads:[~2014-11-14 11:47 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-13 21:36 [PATCH 0/3] USB: host: Misc patches to remove hard-coded octeon platform information Andreas Herrmann
2014-11-13 21:36 ` [PATCH 1/3] USB: host: Remove ehci-octeon and ohci-octeon drivers Andreas Herrmann
2014-11-14 9:31 ` Ralf Baechle
2014-11-14 9:58 ` Andreas Herrmann
2014-11-25 1:21 ` Greg KH
2014-11-25 10:23 ` Andreas Herrmann
2014-11-25 11:28 ` [PATCH 1/3 v2] " Andreas Herrmann
2014-11-25 17:19 ` Greg KH
2014-11-13 21:36 ` [PATCH 2/3] USB: host: Remove hard-coded octeon platform information for ehci/ohci Andreas Herrmann
2014-11-14 9:33 ` Ralf Baechle
2014-11-13 21:36 ` [PATCH 3/3] USB: host: Introduce flag to enable use of 64-bit dma_mask for ehci-platform Andreas Herrmann
2014-11-14 4:44 ` Florian Fainelli
2014-11-14 8:51 ` Andreas Herrmann
2014-11-14 15:23 ` Alan Stern
2014-11-14 17:34 ` Florian Fainelli
2014-11-13 22:13 ` [PATCH 0/3] USB: host: Misc patches to remove hard-coded octeon platform information Alan Stern
2014-11-14 11:47 ` Andreas Herrmann [this message]
2014-11-14 20:32 ` Aaro Koskinen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141114114714.GA16123@alberich \
--to=herrmann.der.user@googlemail.com \
--cc=alex.smith@imgtec.com \
--cc=andreas.herrmann@caviumnetworks.com \
--cc=david.daney@cavium.com \
--cc=linux-mips@linux-mips.org \
--cc=linux-usb@vger.kernel.org \
--cc=stern@rowland.harvard.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox