All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Cc: NeilBrown <neil@brown.name>, driverdev-devel@linuxdriverproject.org
Subject: Re: [PATCH v2 0/7] staging: mt7621-pci: some fixes after test previous series
Date: Mon, 26 Nov 2018 16:28:32 +0100	[thread overview]
Message-ID: <20181126152832.GA10679@kroah.com> (raw)
In-Reply-To: <CAMhs-H8AAOw8JoFvAioufic_ikZiDk73G1XfJZa2+fSxghQ5Jg@mail.gmail.com>

On Sun, Nov 25, 2018 at 07:59:48AM +0100, Sergio Paracuellos wrote:
> On Sat, Nov 24, 2018 at 9:05 PM NeilBrown <neil@brown.name> wrote:
> >
> > On Sat, Nov 24 2018, Sergio Paracuellos wrote:
> >
> > > Previous cleanup series was added to the staging tree without any
> > > testing. After get testing feedback some issues appear and this patch
> > > series should make the driver works properly again.
> > >
> > > Previous series are here:
> > > * http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-November/128200.html
> > >
> > > Feedback after testing from Neil Brown is here:
> > > * http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-November/129031.html
> > >
> > > There is one issue with chip revision and reset lines where those
> > > are inverted. I achieve this including some wrappers for checking
> > > the version in driver code and use proper reset_control_* functions.
> > > I checked the 'arch/mips/ralink/reset.c' and think a good way to add
> > > a quirk there but I ended up handling those inside the driver.
> > >
> > > Changes in v2:
> > >     - PATCH 7: In commit message: 's/mt7621-pcie/mt7621-pci/g'
> > >
> > > Hope this helps.
> > >
> > > Best regards,
> > >     Sergio Paracuellos
> > >
> > > Sergio Paracuellos (7):
> > >   staging: mt7621-pci: avoid mapping sysctls registers
> > >   staging: mt7621-dts: remove sysctl registers from pcie bindings
> > >   staging: mt7621-pci: dt-bindings: update bindings doc removing sysctls
> > >     registers
> > >   staging: mt7621-pci: fix reset lines for each pcie port
> > >   staging: mt7621-pci: avoid using clk_* operations
> >
> > all above:
> >    Tested-by: NeilBrown <neil@brown.name>
> >
> > Thanks!
> >
> > >   staging: mt7621-dts: remove clocks for pcie bindings
> > >   staging: mt7621-pci: dt-bindings: update bindings doc removing clocks
> >
> > I don't think we really want these - at least, not yet.
> > The clock numbers do appear in the driver as
> >
> > #define PCIE_PORT_CLK_EN(x)             BIT(24 + (x))
> >
> > and
> >                 rt_sysc_m32(PCIE_PORT_CLK_EN(slot), 0, RALINK_CLKCFG1);
> > Maybe that can be made generic...
> >
> > It is odd that the driver disables the clock, but never enables it.
> > There is other clock-related code in the pci driver.  Maybe it should
> > just stay there, maybe it should go to a clock driver.  I don't really
> > know.  But this dts stuff "looks" right, so I'd rather leave it until we
> > know that it will be useless.
> 
> Ok! I understand your point. Because those are the last two in the series, I
> think there is no need to send v3 of this series without them. Greg, let me know
> if you prefer me to send v3 without last two patches.

I'll just drop the last two from my queue, no need to resend.

thanks,

greg k-h

  reply	other threads:[~2018-11-26 15:28 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-24 17:54 [PATCH v2 0/7] staging: mt7621-pci: some fixes after test previous series Sergio Paracuellos
2018-11-24 17:54 ` [PATCH v2 1/7] staging: mt7621-pci: avoid mapping sysctls registers Sergio Paracuellos
2018-11-24 17:54 ` [PATCH v2 2/7] staging: mt7621-dts: remove sysctl registers from pcie bindings Sergio Paracuellos
2018-11-24 17:54 ` [PATCH v2 3/7] staging: mt7621-pci: dt-bindings: update bindings doc removing sysctls registers Sergio Paracuellos
2018-11-24 17:54 ` [PATCH v2 4/7] staging: mt7621-pci: fix reset lines for each pcie port Sergio Paracuellos
2018-11-26  9:57   ` Dan Carpenter
2018-11-26 19:57     ` Sergio Paracuellos
2018-11-27  1:20       ` Dan Carpenter
2018-11-27  2:12         ` NeilBrown
2018-11-27  6:24           ` Dan Carpenter
2018-11-24 17:54 ` [PATCH v2 5/7] staging: mt7621-pci: avoid using clk_* operations Sergio Paracuellos
2018-11-26 10:01   ` Dan Carpenter
2018-11-26 19:48     ` Sergio Paracuellos
2018-11-24 17:54 ` [PATCH v2 6/7] staging: mt7621-dts: remove clocks for pcie bindings Sergio Paracuellos
2018-11-24 17:54 ` [PATCH v2 7/7] staging: mt7621-pci: dt-bindings: update bindings doc removing clocks Sergio Paracuellos
2018-11-24 20:05 ` [PATCH v2 0/7] staging: mt7621-pci: some fixes after test previous series NeilBrown
2018-11-25  6:59   ` Sergio Paracuellos
2018-11-26 15:28     ` Greg KH [this message]
2018-11-26 19:46       ` Sergio Paracuellos
2018-11-26 19:58         ` Greg KH
2018-11-26 20:04           ` Sergio Paracuellos

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=20181126152832.GA10679@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=driverdev-devel@linuxdriverproject.org \
    --cc=neil@brown.name \
    --cc=sergio.paracuellos@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.