Linux Power Management development
 help / color / mirror / Atom feed
From: Wolfram Sang <wsa+renesas@sang-engineering.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: "Niklas Söderlund" <niklas.soderlund+renesas@ragnatech.se>,
	"Masahiro Yamada" <yamada.masahiro@socionext.com>,
	"Ulf Hansson" <ulf.hansson@linaro.org>,
	linux-mmc@vger.kernel.org, linux-pm@vger.kernel.org,
	linux-renesas-soc@vger.kernel.org
Subject: Re: [PATCH 1/2] mmc: tmio: undo PM autosuspend when removing the host
Date: Thu, 7 May 2020 13:16:10 +0200	[thread overview]
Message-ID: <20200507111610.GA1598@ninjato> (raw)
In-Reply-To: <alpine.DEB.2.21.2004291630090.4052@ramsan.of.borg>

[-- Attachment #1: Type: text/plain, Size: 648 bytes --]


> When unbinding the sdhi driver on e.g. Koelsch or Salvator-XS:
> 
>     echo ee100000.sd > /sys/bus/platform/drivers/sh_mobile_sdhi/unbind
>     echo ee100000.sd > /sys/bus/platform/drivers/renesas_sdhi_internal_dmac/unbind

Confirmed. Happens on my Lager and M3-N Salvator-XS, too.

> Removing the call to pm_runtime_dont_use_autosuspend() fixes that
> symptom.  But that is definitely not the right fix, as doing so causes
> genpd_stop_dev() to no longer being called on unbind.

Yes. So, we agree that this commit seems correct but it just makes
another problem visisble?

I'll have a look. Thanks for the initial pointers!


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2020-05-07 11:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20190109223452.11184-1-niklas.soderlund+renesas@ragnatech.se>
     [not found] ` <20190109223452.11184-2-niklas.soderlund+renesas@ragnatech.se>
2020-04-29 17:15   ` [PATCH 1/2] mmc: tmio: undo PM autosuspend when removing the host Geert Uytterhoeven
2020-05-07 11:16     ` Wolfram Sang [this message]
2020-05-07 11:49       ` Geert Uytterhoeven

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=20200507111610.GA1598@ninjato \
    --to=wsa+renesas@sang-engineering.com \
    --cc=geert@linux-m68k.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=niklas.soderlund+renesas@ragnatech.se \
    --cc=ulf.hansson@linaro.org \
    --cc=yamada.masahiro@socionext.com \
    /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