Re: [PATCH v5 0/4] usb: xhci: Add support for Renesas USB controllers
From: Greg Kroah-Hartman
Date: Wed Jan 08 2020 - 13:29:11 EST
On Wed, Jan 08, 2020 at 06:00:48PM +0200, Mathias Nyman wrote:
> On 8.1.2020 8.24, Greg Kroah-Hartman wrote:
> > On Wed, Jan 08, 2020 at 09:37:07AM +0530, Vinod Koul wrote:
> > > Hi John,
> > >
> > > On 07-01-20, 11:51, John Stultz wrote:
> > > > On Wed, Nov 6, 2019 at 12:40 AM Vinod Koul <vkoul@xxxxxxxxxx> wrote:
> > > > >
> > > > > This series add support for Renesas USB controllers uPD720201 and uPD720202.
> > > > > These require firmware to be loaded and in case devices have ROM those can
> > > > > also be programmed if empty. If ROM is programmed, it runs from ROM as well.
> > > > >
> > > > > This includes two patches from Christian which supported these controllers
> > > > > w/o ROM and later my patches for ROM support and multiple firmware versions.
> > > > >
> > > >
> > > > Hey Vinod!
> > > > In pushing this series to one of the Android trees for the db845c,
> > > > there was some concern raised that this series is adding a lot of
> > > > renesas specific logic to the more generic xhci-pci driver. There was
> > > > some question if instead that logic should be added to its own
> > > > file/module? Do you have any thoughts on this?
> > >
> > > TBH I have not thought about that and in previous post neither Greg or
> > > Mathias gave a feedback that this was not acceptable...
> > >
> > > We can think about splitting but apart from firmware load there is not
> > > much extra functionality that we need to add, the controller behaviour
> > > as a standard xhci-pci. So i am not sure if we gain much by splitting.
> > >
> > > > Also, It seems there hasn't been much feedback on this for a few
> > > > months now. Is there a newer version of the patchset I should sync
> > > > with? Do you have plans to resubmit soon?
> > >
> > > Well am still waiting for feedback :( I dont have any update on top of
> > > this, I can repost but I dont think that really serves a purpose.
> > >
> > > I would really like to hear from Greg if this series is acceptable and
> > > if not what would he like to see changed.
> >
> > Greg is not the xhci maintainer :)
> >
>
> Reviewing this always got bumped down on my todo list as other urgent issues
> came up.
>
> I think the concern about adding this amount of renesas specific code to
> xhci-pci.c is valid. This series adds over 900 lines of Renesas FW loading
> code to a 600 line xhci-pci.c
Yeah, that's not good, should be simple to split it into a separate file
that's only build if that hardware is selected.
thanks,
greg k-h