public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@rjwysocki.net>
To: Fabio Estevam <festevam@gmail.com>
Cc: viresh kumar <viresh.kumar@linaro.org>,
	Sascha Hauer <kernel@pengutronix.de>,
	Shawn Guo <shawnguo@kernel.org>,
	"linux-pm@vger.kernel.org" <linux-pm@vger.kernel.org>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>
Subject: Re: Touchscreen failure with CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND
Date: Fri, 21 Apr 2017 23:33:01 +0200	[thread overview]
Message-ID: <1593358.0FdoGjUNcl@aspire.rjw.lan> (raw)
In-Reply-To: <CAOMZO5C776E3AqnhPPJSTF=atuOHi5Mok7F7yocBhRsJ6Ror2A@mail.gmail.com>

On Friday, April 21, 2017 06:37:31 PM Fabio Estevam wrote:
> On Fri, Apr 21, 2017 at 6:28 PM, Rafael J. Wysocki <rjw@rjwysocki.net> wrote:
> > On Friday, April 21, 2017 01:11:52 PM Fabio Estevam wrote:
> >> Hi,
> >>
> >> Running 4.11-rc7 on a imx6q-sabresd board I notice that egalax
> >> touchscreen stops generating evtest events after a random period of
> >> time.
> >>
> >> This problem can be avoided if I unselect CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND:
> >>
> >> --- a/arch/arm/configs/imx_v6_v7_defconfig
> >> +++ b/arch/arm/configs/imx_v6_v7_defconfig
> >> @@ -54,7 +54,6 @@ CONFIG_CMA=y
> >>  CONFIG_CMDLINE="noinitrd console=ttymxc0,115200"
> >>  CONFIG_KEXEC=y
> >>  CONFIG_CPU_FREQ=y
> >> -CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
> >>  CONFIG_ARM_IMX6Q_CPUFREQ=y
> >>  CONFIG_CPU_IDLE=y
> >>  CONFIG_VFP=y
> >>
> >> With this change evtest always capture all touchscreen events. No
> >> single failure is seen.
> >>
> >> I could see the same behavior with all mainline kernels I tested (4.9 and 4.10).
> >>
> >> Any ideas as to how fix this bug when CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y?
> >
> > And which governor is the default otherwise?
> 
> When CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y is removed then the
> 'performance' governor is the default.

There you go.  Apparently, using frequencies below the max causes problems to
happen in the SoC.

Thanks,
Rafael

  reply	other threads:[~2017-04-21 21:39 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-21 16:11 Touchscreen failure with CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND Fabio Estevam
2017-04-21 21:28 ` Rafael J. Wysocki
2017-04-21 21:37   ` Fabio Estevam
2017-04-21 21:33     ` Rafael J. Wysocki [this message]
2017-04-24  4:07 ` Viresh Kumar
2017-04-24 11:20   ` Fabio Estevam
2017-04-24 11:29     ` Viresh Kumar
2017-04-24 11:37       ` Fabio Estevam
2017-04-24 11:43         ` Viresh Kumar
2017-04-24 11:51           ` Fabio Estevam
2017-04-25  5:06             ` Viresh Kumar
2017-04-25 11:09               ` Fabio Estevam
2017-04-25 11:13                 ` Viresh Kumar
     [not found]                   ` <CAHCN7xJVicKuAc0dDbzBg4h2d1UUP66iKkSsWN_f=rPd4mOZSw@mail.gmail.com>
2017-04-25 13:43                     ` Fabio Estevam
2017-04-25 14:35                       ` Adam Ford
2017-04-25 15:24                         ` Fabio Estevam
2017-04-26  4:18                           ` Viresh Kumar
2017-04-27  0:57                           ` Adam Ford
2017-04-27  1:50                             ` Fabio Estevam
2017-04-27  2:01                               ` Adam Ford
2017-04-27  2:20                                 ` Fabio Estevam

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=1593358.0FdoGjUNcl@aspire.rjw.lan \
    --to=rjw@rjwysocki.net \
    --cc=festevam@gmail.com \
    --cc=kernel@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=shawnguo@kernel.org \
    --cc=viresh.kumar@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox