linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [01/10] usb: xhci-mtk: resume USB3 roothub first
@ 2018-09-13 12:23 Mathias Nyman
  0 siblings, 0 replies; 4+ messages in thread
From: Mathias Nyman @ 2018-09-13 12:23 UTC (permalink / raw)
  To: gregkh; +Cc: linux-usb, Chunfeng Yun, Mathias Nyman

From: Chunfeng Yun <chunfeng.yun@mediatek.com>

Give USB3 devices a better chance to enumerate at USB3 speeds if
they are connected to a suspended host.
Porting from "671ffdff5b13 xhci: resume USB 3 roothub first"

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
---
 drivers/usb/host/xhci-mtk.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/usb/host/xhci-mtk.c b/drivers/usb/host/xhci-mtk.c
index 7334da9..71d0d33 100644
--- a/drivers/usb/host/xhci-mtk.c
+++ b/drivers/usb/host/xhci-mtk.c
@@ -642,10 +642,10 @@ static int __maybe_unused xhci_mtk_resume(struct device *dev)
 	xhci_mtk_host_enable(mtk);
 
 	xhci_dbg(xhci, "%s: restart port polling\n", __func__);
-	set_bit(HCD_FLAG_POLL_RH, &hcd->flags);
-	usb_hcd_poll_rh_status(hcd);
 	set_bit(HCD_FLAG_POLL_RH, &xhci->shared_hcd->flags);
 	usb_hcd_poll_rh_status(xhci->shared_hcd);
+	set_bit(HCD_FLAG_POLL_RH, &hcd->flags);
+	usb_hcd_poll_rh_status(hcd);
 	return 0;
 }
 

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [01/10] usb: xhci-mtk: resume USB3 roothub first
@ 2018-09-14 13:27 Greg Kroah-Hartman
  0 siblings, 0 replies; 4+ messages in thread
From: Greg Kroah-Hartman @ 2018-09-14 13:27 UTC (permalink / raw)
  To: Mathias Nyman; +Cc: linux-usb, Chunfeng Yun

On Thu, Sep 13, 2018 at 03:23:54PM +0300, Mathias Nyman wrote:
> From: Chunfeng Yun <chunfeng.yun@mediatek.com>
> 
> Give USB3 devices a better chance to enumerate at USB3 speeds if
> they are connected to a suspended host.
> Porting from "671ffdff5b13 xhci: resume USB 3 roothub first"
> 
> Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
> ---
>  drivers/usb/host/xhci-mtk.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Isn't this a bugfix for 4.19-final?  And maybe for stable?

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [01/10] usb: xhci-mtk: resume USB3 roothub first
@ 2018-09-17  7:35 Mathias Nyman
  0 siblings, 0 replies; 4+ messages in thread
From: Mathias Nyman @ 2018-09-17  7:35 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-usb, Chunfeng Yun

On 14.09.2018 16:27, Greg KH wrote:
> On Thu, Sep 13, 2018 at 03:23:54PM +0300, Mathias Nyman wrote:
>> From: Chunfeng Yun <chunfeng.yun@mediatek.com>
>>
>> Give USB3 devices a better chance to enumerate at USB3 speeds if
>> they are connected to a suspended host.
>> Porting from "671ffdff5b13 xhci: resume USB 3 roothub first"
>>
>> Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
>> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
>> ---
>>   drivers/usb/host/xhci-mtk.c | 4 ++--
>>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> Isn't this a bugfix for 4.19-final?  And maybe for stable?
> 

This was part of a 6 patch series that mostly contained mediatek
bandwidth scheduling improvements.

But I agree, this first one could go to 4.19 with stable flag.

-Mathias

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [01/10] usb: xhci-mtk: resume USB3 roothub first
@ 2018-09-20 10:36 Greg Kroah-Hartman
  0 siblings, 0 replies; 4+ messages in thread
From: Greg Kroah-Hartman @ 2018-09-20 10:36 UTC (permalink / raw)
  To: Mathias Nyman; +Cc: linux-usb, Chunfeng Yun

On Mon, Sep 17, 2018 at 10:35:46AM +0300, Mathias Nyman wrote:
> On 14.09.2018 16:27, Greg KH wrote:
> > On Thu, Sep 13, 2018 at 03:23:54PM +0300, Mathias Nyman wrote:
> > > From: Chunfeng Yun <chunfeng.yun@mediatek.com>
> > > 
> > > Give USB3 devices a better chance to enumerate at USB3 speeds if
> > > they are connected to a suspended host.
> > > Porting from "671ffdff5b13 xhci: resume USB 3 roothub first"
> > > 
> > > Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
> > > Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
> > > ---
> > >   drivers/usb/host/xhci-mtk.c | 4 ++--
> > >   1 file changed, 2 insertions(+), 2 deletions(-)
> > 
> > Isn't this a bugfix for 4.19-final?  And maybe for stable?
> > 
> 
> This was part of a 6 patch series that mostly contained mediatek
> bandwidth scheduling improvements.
> 
> But I agree, this first one could go to 4.19 with stable flag.

Ok, can you redo this whole series, and the 4.19-final series, so we get
these all straightened out as to which patch goes where, and resend?

I've dropped all of your pending patches from my queue now.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-09-20 10:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-20 10:36 [01/10] usb: xhci-mtk: resume USB3 roothub first Greg Kroah-Hartman
  -- strict thread matches above, loose matches on Subject: below --
2018-09-17  7:35 Mathias Nyman
2018-09-14 13:27 Greg Kroah-Hartman
2018-09-13 12:23 Mathias Nyman

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).