mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Oleksandr Natalenko <oleksandr@natalenko.name>
To: kai.heng.feng@canonical.com
Cc: arnd@arndb.de, bauer.chen@realtek.com,
	gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org,
	linux-usb@vger.kernel.org, ricky_wu@realtek.com,
	stern@rowland.harvard.edu, ulf.hansson@linaro.org
Subject: Re: [PATCH 0/5 v4] Keep rtsx_usb suspended when there's no card
Date: Tue, 31 Jul 2018 20:34:31 +0200	[thread overview]
Message-ID: <17ae77968909919de05cdfb7d53ced3f@natalenko.name> (raw)
In-Reply-To: <<20180731061721.15831-1-kai.heng.feng@canonical.com>>

Hi.

> Hi,
> 
> This is based on Ulf's work [1] [2].
> 
> This patch series can keep rtsx_usb suspended, to save ~0.5W on Intel
> platforms and ~1.5W on AMD platforms.
> 
> [1] https://patchwork.kernel.org/patch/10440583/
> [2] https://patchwork.kernel.org/patch/10445725/
> 
> Kai-Heng Feng (5):
>   misc: rtsx_usb: Use USB remote wakeup signaling for card insertion
>     detection
>   memstick: Prevent memstick host from getting runtime suspended during
>     card detection
>   memstick: rtsx_usb_ms: Use ms_dev() helper
>   memstick: rtsx_usb_ms: Support runtime power management
>   misc: rtsx_usb: / memstick: rtsx_usb_ms: Avoid long delay before
>     system suspend
> 
> v4: Use pm_runtime_put() in memstick_check().
> 
> v3: Skip parent device check in rtsx_usb_resume_child().
>     Remove dev_dbg() if it only prints function name.
>     Use ms_dev() helper at more places.
>     Remove const qualifier for UNIVERSAL_DEV_PM_OPS.
> 
> v2: Resend to linux-usb and LKML.
> 
> ---
> 
> Kai-Heng Feng (5):
>   misc: rtsx_usb: Use USB remote wakeup signaling for card insertion
>     detection
>   memstick: Prevent memstick host from getting runtime suspended during
>     card detection
>   memstick: rtsx_usb_ms: Use ms_dev() helper
>   memstick: rtsx_usb_ms: Support runtime power management
>   misc: rtsx_usb: / memstick: rtsx_usb_ms: Avoid long delay before
>     system suspend
> 
>  drivers/memstick/core/memstick.c    |   4 +
>  drivers/memstick/host/rtsx_usb_ms.c | 148 +++++++++++++++-------------
>  drivers/misc/cardreader/rtsx_usb.c  |   9 ++
>  3 files changed, 91 insertions(+), 70 deletions(-)
> 
> --
> 2.17.1

For the following device:

$ lsusb | grep Realtek
Bus 001 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 
Card Reader Controller

Tested-by: Oleksandr Natalenko <oleksandr@natalenko.name>

No smoke.

Thanks.

-- 
   Oleksandr Natalenko (post-factum)

       reply	other threads:[~2018-07-31 18:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <<20180731061721.15831-1-kai.heng.feng@canonical.com>
2018-07-31 18:34 ` Oleksandr Natalenko [this message]
2018-07-31  6:17 Kai-Heng Feng

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=17ae77968909919de05cdfb7d53ced3f@natalenko.name \
    --to=oleksandr@natalenko.name \
    --cc=arnd@arndb.de \
    --cc=bauer.chen@realtek.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=kai.heng.feng@canonical.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=ricky_wu@realtek.com \
    --cc=stern@rowland.harvard.edu \
    --cc=ulf.hansson@linaro.org \
    /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

all inboxes | Powered by JetHome®