stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH stable 4.19 v2 0/4] MMC timeout back ports
@ 2022-05-19 18:45 Florian Fainelli
  2022-05-19 18:45 ` [PATCH stable 4.19 v2 1/4] mmc: core: Cleanup BKOPS support Florian Fainelli
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Florian Fainelli @ 2022-05-19 18:45 UTC (permalink / raw)
  To: stable
  Cc: Florian Fainelli, Ulf Hansson, Adrian Hunter, Greg Kroah-Hartman,
	Avri Altman, Bean Huo, Nishad Kamdar, Christian Löhle,
	open list:MULTIMEDIA CARD (MMC), SECURE DIGITAL (SD) AND...,
	open list, alcooperx, kdasu.kdev

These 4 commits from upstream allow us to have more fine grained control
over the MMC command timeouts and this solves the following timeouts
that we have seen on our systems across suspend/resume cycles:

[   14.907496] usb usb2: root hub lost power or was reset
[   15.216232] usb 1-1: reset high-speed USB device number 2 using
xhci-hcd
[   15.485812] bcmgenet 8f00000.ethernet eth0: Link is Down
[   15.525328] mmc1: error -110 doing runtime resume
[   15.531864] OOM killer enabled.

Thanks!

Changes in v2:

- back port "mmc: core: Cleanup BKOPS support" to remove the unused
  timeout variable in mmc_run_bkops

Ulf Hansson (4):
  mmc: core: Cleanup BKOPS support
  mmc: core: Specify timeouts for BKOPS and CACHE_FLUSH for eMMC
  mmc: block: Use generic_cmd6_time when modifying
    INAND_CMD38_ARG_EXT_CSD
  mmc: core: Default to generic_cmd6_time as timeout in __mmc_switch()

 drivers/mmc/core/block.c   |   8 +--
 drivers/mmc/core/card.h    |   6 +-
 drivers/mmc/core/mmc.c     |   6 --
 drivers/mmc/core/mmc_ops.c | 110 ++++++++++---------------------------
 drivers/mmc/core/mmc_ops.h |   3 +-
 5 files changed, 36 insertions(+), 97 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2022-05-19 18:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-19 18:45 [PATCH stable 4.19 v2 0/4] MMC timeout back ports Florian Fainelli
2022-05-19 18:45 ` [PATCH stable 4.19 v2 1/4] mmc: core: Cleanup BKOPS support Florian Fainelli
2022-05-19 18:45 ` [PATCH stable 4.19 v2 2/4] mmc: core: Specify timeouts for BKOPS and CACHE_FLUSH for eMMC Florian Fainelli
2022-05-19 18:45 ` [PATCH stable 4.19 v2 3/4] mmc: block: Use generic_cmd6_time when modifying INAND_CMD38_ARG_EXT_CSD Florian Fainelli
2022-05-19 18:45 ` [PATCH stable 4.19 v2 4/4] mmc: core: Default to generic_cmd6_time as timeout in __mmc_switch() Florian Fainelli

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