APPLIED[B/C]/cmnt: [PATCH 00/12][SRU][B][C][D][OEM-B] To reduce the Realtek USB cardreader power consumption

Kleber Souza kleber.souza at canonical.com
Fri Jan 11 11:45:37 UTC 2019


On 1/11/19 9:30 AM, AceLan Kao wrote:
> BugLink: https://bugs.launchpad.net/bugs/1811337
>
> [Impact]
> Realtek USB cardreader consumes more than 1 Watt during long idle if
> it's not suspended. And it's runtime PM functions are available after
> v4.20.
>
> [Fix]
> To avoid conflicts, have to backport some patches for mmc core.
>
> [Test]
> Note: Inside () are the previous value (non-patch)
> Sort idle: 7.76W (7.88)
> Long idle: 4.658W (5.79)
> S3: 0.5W (0.5)
> S5: 0.20W (0.208)
>
> [Regression Potential]
> Low, most commits are for rtsx_usb_{sdmmc,ms} and are all small changes.
>
> Kai-Heng Feng (5):
>   memstick: rtsx_usb_ms: Add missing pm_runtime_disable() in probe
>     function
>   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
>
> Kishon Vijay Abraham I (1):
>   mmc: sdhci: Disable 1.8v modes (HS200/HS400/UHS) if controller can't
>     support 1.8v
>
> Ulf Hansson (6):
>   mmc: core: Introduce MMC_CAP_SYNC_RUNTIME_PM
>   mmc: rtsx_usb_sdmmc: Don't runtime resume the device while changing
>     led
>   mmc: rtsx_usb: Use MMC_CAP2_NO_SDIO
>   mmc: rtsx_usb: Enable MMC_CAP_ERASE to allow erase/discard/trim
>     requests
>   mmc: rtsx_usb_sdmmc: Re-work runtime PM support
>   mmc: rtsx_usb_sdmmc: Re-work card detection/removal support
>
>  drivers/memstick/core/memstick.c    |   3 +
>  drivers/memstick/host/rtsx_usb_ms.c | 170 +++++++++++++++++-----------
>  drivers/misc/cardreader/rtsx_usb.c  |   8 ++
>  drivers/mmc/core/core.c             |   5 +-
>  drivers/mmc/host/rtsx_usb_sdmmc.c   |  59 ++++++----
>  drivers/mmc/host/sdhci.c            |  10 ++
>  include/linux/mmc/host.h            |   6 +-
>  7 files changed, 172 insertions(+), 89 deletions(-)
>
Applied to bionic/master-next and cosmic/master-next branches.

The following commits were skipped on Cosmic because there were already
present on v4.18 (and will be skipped for D as well):

mmc: sdhci: Disable 1.8v modes (HS200/HS400/UHS) if controller can't
support 1.8v
mmc: rtsx_usb: Use MMC_CAP2_NO_SDIO
mmc: rtsx_usb: Enable MMC_CAP_ERASE to allow erase/discard/trim requests

Please tag a patch for multiple series *only* if it can be applied to
all of them without any intervention, it makes our job really easier if
they are tagged only for the relevant series.


Thanks,
Kleber





More information about the kernel-team mailing list