Re: [regression] USB power management failure to suspend / high CPU usage

2019-02-25 Thread Ivan Mironov
On Wed, 2019-02-20 at 19:28 +0200, Mathias Nyman wrote: > On 14.2.2019 20.04, Eric Blau wrote: > > On Thu, Feb 14, 2019 at 9:56 AM Mathias Nyman > > wrote: > > > > Thanks for looking into this, Mathias. Now that you point this out, on > > > > older kernels where suspend and resume works, I noticed

Re: [RFC PATCH 0/2] Fix for the internal card reader and suspend on MacBooks

2019-02-25 Thread Ivan Mironov
On Thu, 2019-02-14 at 22:32 +0500, Ivan Mironov wrote: > On Thu, 2019-02-14 at 06:40 +0500, Ivan Mironov wrote: > > Unfortunately, everything broke again after yet another suspend/resume. > > Currently I'm suspecting that my patch maybe only helps to survive the > > short

Re: [RFC PATCH 0/2] Fix for the internal card reader and suspend on MacBooks

2019-02-14 Thread Ivan Mironov
On Thu, 2019-02-14 at 06:40 +0500, Ivan Mironov wrote: > Unfortunately, everything broke again after yet another suspend/resume. > Currently I'm suspecting that my patch maybe only helps to survive the > short suspend, but not the long one. > > After this bad suspend

Re: [RFC PATCH 0/2] Fix for the internal card reader and suspend on MacBooks

2019-02-14 Thread Ivan Mironov
On Thu, 2019-02-14 at 17:03 +0200, Mathias Nyman wrote: > This card reader prevents second system suspend on latest kernels, see thread: > https://marc.info/?l=linux-usb&m=154816680816246&w=2 > > In that case the card reader fails to resume from usb3 U3 suspend state, > and ends up stuck in USB3 p

Re: [RFC PATCH 0/2] Fix for the internal card reader and suspend on MacBooks

2019-02-13 Thread Ivan Mironov
Unfortunately, everything broke again after yet another suspend/resume. Currently I'm suspecting that my patch maybe only helps to survive the short suspend, but not the long one. After this bad suspend/resume, card reader disappeared again. Debug logging was not enabled this time, so not too many

[RFC PATCH 0/2] Fix for the internal card reader and suspend on MacBooks

2019-02-13 Thread Ivan Mironov
.org/show_bug.cgi?id=111201 [2] https://bugzilla.kernel.org/show_bug.cgi?id=202509 [3] https://www.spinics.net/lists/linux-usb/msg164261.html [4] https://github.com/im-0/investigate-card-reader-suspend-problem-on-mbp11.4 Ivan Mironov (2): usb: core: Add support of disabling SS link before sys

[RFC PATCH 2/2] usb: quirks: Add quirk to fix card reader and suspend on MacBooks

2019-02-13 Thread Ivan Mironov
This enabled USB_QUIRK_DISABLE_LINK_ON_SUSPEND for the embedded SD card reader used in Apple MacBook laptops. Link: https://bugzilla.kernel.org/show_bug.cgi?id=111201 Link: https://bugzilla.kernel.org/show_bug.cgi?id=202509 Signed-off-by: Ivan Mironov --- drivers/usb/core/quirks.c | 4 1

[RFC PATCH 1/2] usb: core: Add support of disabling SS link before system suspend

2019-02-13 Thread Ivan Mironov
ow_bug.cgi?id=111201 Link: https://bugzilla.kernel.org/show_bug.cgi?id=202509 Signed-off-by: Ivan Mironov --- drivers/usb/core/driver.c | 6 +++ drivers/usb/core/hub.c | 84 -- drivers/usb/core/quirks.c | 3 ++ include/linux/usb.h| 3 ++ includ

[PATCH] USB: serial: cp210x: Add ID for Ingenico 3070

2019-02-06 Thread Ivan Mironov
usb 3-1: Manufacturer: Silicon Labs usb 3-1: SerialNumber: 0001 Apparently this is a POS terminal with embedded USB-to-Serial converter. Cc: sta...@vger.kernel.org Signed-off-by: Ivan Mironov --- drivers/usb/serial/cp210x.c | 1 + 1 file changed, 1 insertion(+) diff --git a