All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH/RFC v2 0/2] treewide: fix _mmc_suspend() on PSCI
@ 2020-06-19 11:29 Yoshihiro Shimoda
  2020-06-19 11:29 ` [PATCH/RFC v2 1/2] firmware: psci: call pm_set_suspend_via_firmware() Yoshihiro Shimoda
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Yoshihiro Shimoda @ 2020-06-19 11:29 UTC (permalink / raw)
  To: mark.rutland, lorenzo.pieralisi, ulf.hansson
  Cc: linux-mmc, linux-arm-kernel, linux-renesas-soc, Yoshihiro Shimoda

We can detect whether the system is going to suspend by using
pm_suspend_via_firmware() API. So, this patch series update
both PSCI and MMC driver for my environment (r8a77951-salvator-xs).

We can apply these patches to each subsystem. I believe this is
a correct way, but I still mark RFC now...

Changes from v1:
 - Use pm_suspend_via_firmware() API instead of pm_suspend_target_state.
 - Modify the psci driver to call pm_set_suspend_via_firmware.
 https://patchwork.kernel.org/patch/11557505/

Yoshihiro Shimoda (2):
  firmware: psci: call pm_set_suspend_via_firmware()
  mmc: core: Call mmc_power_off_nofity() if pm_suspend_via_firmware()

 drivers/firmware/psci/psci.c | 8 ++++++++
 drivers/mmc/core/mmc.c       | 4 +++-
 2 files changed, 11 insertions(+), 1 deletion(-)

-- 
2.7.4


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

end of thread, other threads:[~2020-06-30  8:55 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-19 11:29 [PATCH/RFC v2 0/2] treewide: fix _mmc_suspend() on PSCI Yoshihiro Shimoda
2020-06-19 11:29 ` [PATCH/RFC v2 1/2] firmware: psci: call pm_set_suspend_via_firmware() Yoshihiro Shimoda
2020-06-29 14:33   ` Sudeep Holla
2020-06-29 14:33     ` Sudeep Holla
2020-06-30  8:53     ` Yoshihiro Shimoda
2020-06-30  8:53       ` Yoshihiro Shimoda
2020-06-19 11:29 ` [PATCH/RFC v2 2/2] mmc: core: Call mmc_power_off_nofity() if pm_suspend_via_firmware() Yoshihiro Shimoda
2020-06-19 13:41   ` Sergei Shtylyov
2020-06-19 13:41     ` Sergei Shtylyov
2020-06-22  1:46     ` Yoshihiro Shimoda
2020-06-19 14:51 ` [PATCH/RFC v2 0/2] treewide: fix _mmc_suspend() on PSCI Geert Uytterhoeven
2020-06-19 14:51   ` Geert Uytterhoeven

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.