All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cao Minh Hiep <cm-hiep@jinso.co.jp>
To: Ulf Hansson <ulf.hansson@linaro.org>
Cc: Nguyen Viet Dung <nv-dung@jinso.co.jp>,
	Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>,
	Linux-SH <linux-sh@vger.kernel.org>,
	Linux-Kernel <linux-kernel@vger.kernel.org>,
	"linux-pm@vger.kernel.org" <linux-pm@vger.kernel.org>,
	"Rafael J. Wysocki" <rafael.j.wysocki@intel.com>,
	Sakato Ryusuke <ryusuke.sakato.bx@renesas.com>
Subject: Re: PM: after suspend/resume the system,can not suspends again
Date: Tue, 17 Nov 2015 10:35:56 +0900	[thread overview]
Message-ID: <564A847C.1090406@jinso.co.jp> (raw)
In-Reply-To: <CAPDyKForCz9MjwYUvMdmR1hJD_+rA9Be09sMPyxfAZsE_HuT2g@mail.gmail.com>

Dear Ulf Hansson
Thanks for your feedback!

On 2015年11月17日 06:12, Ulf Hansson wrote:
> On 16 November 2015 at 10:13, Cao Minh Hiep <cm-hiep@jinso.co.jp> wrote:
>> Dear Ulf Hansson,
>>
>> I am Hiep from Jinzai Solution (a Japanese Company)
>> We have tested PM driver on Rcar-Gen2 (Lager, Koelsch Board) at Linux v4.3.
>>
>> I would like to contact you because we found a patch that relate to a PM bug
>> :
>>
>> After Suspend/resume system one time, we can not suspend the system again!.
>> (I attach the test log file)
>>
>> The patch is show as below:
>> a98f1b7 PM / Domains: Fix validation of latency constraints in genpd
>> governor
>>
>> Tested-by: Harunaga <nx-truong@jinso.co.jp>
>> Reported-by: Cao Minh Hiep <cm-hiep@jinso.co.jp>
>>
>> This problem disapeared if revert this patch.
>> Please review it, when you have time!
> Thanks for reporting and bisecting!
>
> I had a look and I believe have found the cause of the problem, though
> I will need a few days to post a fix for it.
>
> The problem is actually in genpd's ->runtime_suspend() callback, as it
> validates PM QoS latencies even when it's being invoked from the
> system PM path.
> I will post a fixup to genpd in the next couple of days. I would
> appreciate if you could help out in testing it.
Please let me know when you post the fixup. I will test it.


Thank you!
Jinso/Cao Minh Hiep.

> Kind regards
> Uffe
>

WARNING: multiple messages have this Message-ID (diff)
From: Cao Minh Hiep <cm-hiep@jinso.co.jp>
To: Ulf Hansson <ulf.hansson@linaro.org>
Cc: Nguyen Viet Dung <nv-dung@jinso.co.jp>,
	Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>,
	Linux-SH <linux-sh@vger.kernel.org>,
	Linux-Kernel <linux-kernel@vger.kernel.org>,
	"linux-pm@vger.kernel.org" <linux-pm@vger.kernel.org>,
	"Rafael J. Wysocki" <rafael.j.wysocki@intel.com>,
	Sakato Ryusuke <ryusuke.sakato.bx@renesas.com>
Subject: Re: PM: after suspend/resume the system,can not suspends again
Date: Tue, 17 Nov 2015 01:35:56 +0000	[thread overview]
Message-ID: <564A847C.1090406@jinso.co.jp> (raw)
In-Reply-To: <CAPDyKForCz9MjwYUvMdmR1hJD_+rA9Be09sMPyxfAZsE_HuT2g@mail.gmail.com>

Dear Ulf Hansson
Thanks for your feedback!

On 2015年11月17日 06:12, Ulf Hansson wrote:
> On 16 November 2015 at 10:13, Cao Minh Hiep <cm-hiep@jinso.co.jp> wrote:
>> Dear Ulf Hansson,
>>
>> I am Hiep from Jinzai Solution (a Japanese Company)
>> We have tested PM driver on Rcar-Gen2 (Lager, Koelsch Board) at Linux v4.3.
>>
>> I would like to contact you because we found a patch that relate to a PM bug
>> :
>>
>> After Suspend/resume system one time, we can not suspend the system again!.
>> (I attach the test log file)
>>
>> The patch is show as below:
>> a98f1b7 PM / Domains: Fix validation of latency constraints in genpd
>> governor
>>
>> Tested-by: Harunaga <nx-truong@jinso.co.jp>
>> Reported-by: Cao Minh Hiep <cm-hiep@jinso.co.jp>
>>
>> This problem disapeared if revert this patch.
>> Please review it, when you have time!
> Thanks for reporting and bisecting!
>
> I had a look and I believe have found the cause of the problem, though
> I will need a few days to post a fix for it.
>
> The problem is actually in genpd's ->runtime_suspend() callback, as it
> validates PM QoS latencies even when it's being invoked from the
> system PM path.
> I will post a fixup to genpd in the next couple of days. I would
> appreciate if you could help out in testing it.
Please let me know when you post the fixup. I will test it.


Thank you!
Jinso/Cao Minh Hiep.

> Kind regards
> Uffe
>


  reply	other threads:[~2015-11-17  1:35 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87h9kulkfg.wl%kuninori.morimoto.gx@renesas.com>
2015-11-10  2:11 ` [PATCH 0/2] thermal: rcar_thermal: tidyup rebind issue Kuninori Morimoto
2015-11-10  2:11   ` Kuninori Morimoto
2015-11-10  2:12   ` [PATCH 1/2] thermal: rcar_thermal: remove redundant operation Kuninori Morimoto
2015-11-10  2:12     ` Kuninori Morimoto
2015-11-13 14:50     ` Ulf Hansson
2015-11-13 14:50       ` Ulf Hansson
2015-11-16 18:42     ` Eduardo Valentin
2015-11-16 18:42       ` Eduardo Valentin
2015-11-10  2:12   ` [PATCH 2/2] thermal: rcar_thermal: use pm_runtime_put_sync() Kuninori Morimoto
2015-11-10  2:12     ` Kuninori Morimoto
2015-11-10  8:18     ` Geert Uytterhoeven
2015-11-10  8:18       ` Geert Uytterhoeven
2015-11-10  9:57       ` Ulf Hansson
2015-11-10  9:57         ` Ulf Hansson
2015-11-10 10:10         ` Geert Uytterhoeven
2015-11-10 10:10           ` Geert Uytterhoeven
2015-11-10 13:00           ` Ulf Hansson
2015-11-10 13:00             ` Ulf Hansson
2015-11-10 18:30             ` Eduardo Valentin
2015-11-10 18:30               ` Eduardo Valentin
2015-11-10 23:42               ` Rafael J. Wysocki
2015-11-11  0:11                 ` Rafael J. Wysocki
2015-11-10 23:57             ` Rafael J. Wysocki
2015-11-10 23:57               ` Rafael J. Wysocki
2015-11-11 11:03               ` Ulf Hansson
2015-11-11 11:03                 ` Ulf Hansson
2015-11-12  0:37                 ` Rafael J. Wysocki
2015-11-12  1:06                   ` Rafael J. Wysocki
2015-11-12  8:04                   ` Ulf Hansson
2015-11-12  8:04                     ` Ulf Hansson
2015-11-12 18:43                     ` Eduardo Valentin
2015-11-12 18:43                       ` Eduardo Valentin
2015-11-13 15:06                       ` Ulf Hansson
2015-11-13 15:06                         ` Ulf Hansson
2015-11-11  2:41       ` Kuninori Morimoto
2015-11-10  2:18   ` [PATCH 0/2] thermal: rcar_thermal: tidyup rebind issue Kuninori Morimoto
2015-11-10  2:18     ` Kuninori Morimoto
2015-11-10  2:27     ` Nguyen Viet Dung
2015-11-10  2:27       ` Nguyen Viet Dung
2015-11-10  5:15   ` Nguyen Viet Dung
2015-11-10  5:15     ` Nguyen Viet Dung
     [not found]     ` <56499E53.2050905@jinso.co.jp>
2015-11-16 21:12       ` PM: after suspend/resume the system,can not suspends again Ulf Hansson
2015-11-16 21:12         ` Ulf Hansson
2015-11-17  1:35         ` Cao Minh Hiep [this message]
2015-11-17  1:35           ` Cao Minh Hiep

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=564A847C.1090406@jinso.co.jp \
    --to=cm-hiep@jinso.co.jp \
    --cc=kuninori.morimoto.gx@renesas.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=linux-sh@vger.kernel.org \
    --cc=nv-dung@jinso.co.jp \
    --cc=rafael.j.wysocki@intel.com \
    --cc=ryusuke.sakato.bx@renesas.com \
    --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 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.