All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shawn Guo <shawnguo@kernel.org>
To: Peter Chen <peter.chen@nxp.com>
Cc: Leonard Crestez <leonard.crestez@nxp.com>,
	Sascha Hauer <kernel@pengutronix.de>,
	Anson Huang <anson.huang@nxp.com>,
	Robin Gong <yibin.gong@nxp.com>,
	"linux-pm@vger.kernel.org" <linux-pm@vger.kernel.org>,
	Viresh Kumar <viresh.kumar@linaro.org>,
	"Rafael J. Wysocki" <rjw@rjwysocki.net>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Fabio Estevam <fabio.estevam@nxp.com>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH] ARM: dts: imx6sx-sdb: Remove cpufreq OPP override
Date: Thu, 4 May 2017 19:43:45 +0800	[thread overview]
Message-ID: <20170504114343.GN18578@dragon> (raw)
In-Reply-To: <HE1PR04MB1450DA079FC35180FBE305388B100@HE1PR04MB1450.eurprd04.prod.outlook.com>

On Thu, Apr 27, 2017 at 01:17:12AM +0000, Peter Chen wrote:
>  
> >
> >The board file for imx6sx-dbg overrides cpufreq operating points to use higher
> >voltages. This is done because the board has a shared rail for VDD_ARM_IN and
> >VDD_SOC_IN and when using LDO bypass the shared voltage needs to be a value
> >suitable for both ARM and SOC.
> >
> >This was introduced in:
> >
> >commit 54183bd7f766 ("ARM: imx6sx-sdb: add revb board and make it default")
> >
> >This only only applies to LDO bypass mode, a feature not present in upstream. When
> >LDOs are enabled the effect is to use higher voltages than necesarry for no good
> >reason.
> >
> >Setting these higher voltages can make some boards fail to boot with ugly semi-
> >random crashes, reminiscent of memory corruption. These failures happen the first
> >time the lowest idle state is used. Remove the OPP override in order to fix those
> >crashes.
> >
> 
> Add Anson and Robin
> 
> This code has existed more than 2 years, it is strange why the bug has not reported both
> for internal user and external user. I run upstream kernel using imx6sx-sdb revB very often
> at recent years, but not meet this issue. How to trigger this unstable issue, anything needs
> to change at u-boot?

Per comments from Henri and Leonard, it sounds like the issue only
happens on RevC board?

Shawn

WARNING: multiple messages have this Message-ID (diff)
From: shawnguo@kernel.org (Shawn Guo)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: dts: imx6sx-sdb: Remove cpufreq OPP override
Date: Thu, 4 May 2017 19:43:45 +0800	[thread overview]
Message-ID: <20170504114343.GN18578@dragon> (raw)
In-Reply-To: <HE1PR04MB1450DA079FC35180FBE305388B100@HE1PR04MB1450.eurprd04.prod.outlook.com>

On Thu, Apr 27, 2017 at 01:17:12AM +0000, Peter Chen wrote:
>  
> >
> >The board file for imx6sx-dbg overrides cpufreq operating points to use higher
> >voltages. This is done because the board has a shared rail for VDD_ARM_IN and
> >VDD_SOC_IN and when using LDO bypass the shared voltage needs to be a value
> >suitable for both ARM and SOC.
> >
> >This was introduced in:
> >
> >commit 54183bd7f766 ("ARM: imx6sx-sdb: add revb board and make it default")
> >
> >This only only applies to LDO bypass mode, a feature not present in upstream. When
> >LDOs are enabled the effect is to use higher voltages than necesarry for no good
> >reason.
> >
> >Setting these higher voltages can make some boards fail to boot with ugly semi-
> >random crashes, reminiscent of memory corruption. These failures happen the first
> >time the lowest idle state is used. Remove the OPP override in order to fix those
> >crashes.
> >
> 
> Add Anson and Robin
> 
> This code has existed more than 2 years, it is strange why the bug has not reported both
> for internal user and external user. I run upstream kernel using imx6sx-sdb revB very often
> at recent years, but not meet this issue. How to trigger this unstable issue, anything needs
> to change at u-boot?

Per comments from Henri and Leonard, it sounds like the issue only
happens on RevC board?

Shawn

  reply	other threads:[~2017-05-04 11:43 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-25 16:57 [PATCH] ARM: dts: imx6sx-sdb: Remove cpufreq OPP override Leonard Crestez
2017-04-25 16:57 ` Leonard Crestez
2017-04-25 16:57 ` Leonard Crestez
2017-04-25 17:02 ` Fabio Estevam
2017-04-25 17:02   ` Fabio Estevam
2017-04-25 17:02   ` Fabio Estevam
2017-04-25 17:02     ` Fabio Estevam
2017-04-25 17:23     ` Leonard Crestez
2017-04-25 17:23       ` Leonard Crestez
2017-04-25 17:26       ` Fabio Estevam
2017-04-25 17:26         ` Fabio Estevam
2017-04-25 17:28       ` Marek Vasut
2017-04-25 17:28         ` Marek Vasut
2017-04-25 17:28         ` Marek Vasut
2017-05-03 13:57         ` Shawn Guo
2017-05-03 13:57           ` Shawn Guo
2017-05-03 14:26           ` Marek Vasut
2017-05-03 14:26             ` Marek Vasut
2017-05-03 14:32             ` Marek Vasut
2017-05-03 14:32               ` Marek Vasut
2017-05-03 14:41               ` Shawn Guo
2017-05-03 14:41                 ` Shawn Guo
2017-05-03 14:51                 ` Marek Vasut
2017-05-03 14:51                   ` Marek Vasut
2017-05-03 14:58             ` Leonard Crestez
2017-05-03 14:58               ` Leonard Crestez
2017-05-03 15:59               ` Marek Vasut
2017-05-03 15:59                 ` Marek Vasut
2017-05-03 17:58                 ` Leonard Crestez
2017-05-03 17:58                   ` Leonard Crestez
2017-05-03 19:33                   ` Marek Vasut
2017-05-03 19:33                     ` Marek Vasut
2017-05-04  9:42                     ` Leonard Crestez
2017-05-04  9:42                       ` Leonard Crestez
2017-05-04 10:06                       ` Marek Vasut
2017-05-04 10:06                         ` Marek Vasut
2017-05-04 12:44                         ` Shawn Guo
2017-05-04 12:44                           ` Shawn Guo
2017-05-04 13:08                           ` Marek Vasut
2017-05-04 13:08                             ` Marek Vasut
2017-05-04 13:41                             ` Shawn Guo
2017-05-04 13:41                               ` Shawn Guo
2017-05-04 14:34                               ` Marek Vasut
2017-05-04 14:34                                 ` Marek Vasut
2017-05-04 14:34                                 ` Marek Vasut
2017-05-05  1:18                                 ` Shawn Guo
2017-05-05  1:18                                   ` Shawn Guo
2017-05-05 10:11                                   ` Leonard Crestez
2017-05-05 10:11                                     ` Leonard Crestez
2017-04-27  1:17 ` Peter Chen
2017-04-27  1:17   ` Peter Chen
2017-04-27  1:17   ` Peter Chen
2017-05-04 11:43   ` Shawn Guo [this message]
2017-05-04 11:43     ` Shawn Guo
2017-05-04 11:46     ` Fabio Estevam
2017-05-04 11:46       ` Fabio Estevam
2017-05-04 12:50 ` Shawn Guo
2017-05-04 12:50   ` Shawn Guo

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=20170504114343.GN18578@dragon \
    --to=shawnguo@kernel.org \
    --cc=anson.huang@nxp.com \
    --cc=fabio.estevam@nxp.com \
    --cc=kernel@pengutronix.de \
    --cc=leonard.crestez@nxp.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=peter.chen@nxp.com \
    --cc=rjw@rjwysocki.net \
    --cc=viresh.kumar@linaro.org \
    --cc=yibin.gong@nxp.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 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.