All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kevin Hilman <khilman@deeprootsystems.com>
To: y@india.ti.com
Cc: linux-omap@vger.kernel.org, Shweta Gulati <shweta.gulati@ti.com>
Subject: Re: [PATCH] OMAP3: PM: Fix for Silicon bug on Context Restore on OMAP3430
Date: Mon, 05 Oct 2009 10:04:33 -0700	[thread overview]
Message-ID: <87ljjpzs9p.fsf@deeprootsystems.com> (raw)
In-Reply-To: <1254741761-31546-1-git-send-email-y> (y.'s message of "Mon\,  5 Oct 2009 16\:52\:41 +0530")

y@india.ti.com writes:

> From: Shweta Gulati <shweta.gulati@ti.com>

Please add descriptive changelog, including Erratta number and
summary of the bug.

> Signed-off-by: Shweta Gulati <shweta.gulati@ti.com>
> ---
>  arch/arm/mach-omap2/pm34xx.c |    6 ++++++
>  1 files changed, 6 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c
> index a9eda25..38f4781 100644
> --- a/arch/arm/mach-omap2/pm34xx.c
> +++ b/arch/arm/mach-omap2/pm34xx.c
> @@ -140,6 +140,12 @@ static void omap3_core_save_context(void)
>  	omap_ctrl_readl(OMAP343X_CONTROL_PADCONF_OFF);
>  	control_padconf_off |= START_PADCONF_SAVE;
>  	omap_ctrl_writel(control_padconf_off, OMAP343X_CONTROL_PADCONF_OFF);
> +	/* Due to Silicon Bug on context restore it is found
> +	 * that the CONTROL_PAD_CONF_ETK14 register is not saved into
> +	 * scratch pad memory sometimes. To rectify it delay acess by Mpu
> +	 * for 300us for scm to finish saving task
> +	 */
> +	udelay(300);

Why 300 usecs?
Is ETK14 the only register not saved?

>  	/* wait for the save to complete */
>  	while (!omap_ctrl_readl(OMAP343X_CONTROL_GENERAL_PURPOSE_STATUS)
>  			& PADCONF_SAVE_DONE)

And please describe why this loop doesn't work.

Kevin



  parent reply	other threads:[~2009-10-05 17:05 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1254741761-31546-1-git-send-email-y>
2009-10-05 11:51 ` [PATCH] OMAP3: PM: Fix for Silicon bug on Context Restore on OMAP3430 Shilimkar, Santosh
2009-10-05 17:04 ` Kevin Hilman [this message]
2009-10-05 17:27   ` Nishanth Menon
2009-10-06  6:59     ` Gopinath, Thara
2009-10-06 11:50       ` Nishanth Menon
2009-10-06 13:17       ` Kevin Hilman
2009-10-06 13:31         ` Gopinath, Thara
2009-10-06 14:20           ` Kevin Hilman
2009-10-06 14:35             ` Gopinath, Thara
2009-10-06 14:49               ` Kevin Hilman
2009-10-06 14:54                 ` Gopinath, Thara
2009-10-06 15:05                   ` Kevin Hilman
2009-10-06 15:17                     ` Nishanth Menon
2009-10-06 15:23                       ` Gopinath, Thara
2009-10-06 15:25                         ` Nishanth Menon
2009-10-05 11:22 y

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=87ljjpzs9p.fsf@deeprootsystems.com \
    --to=khilman@deeprootsystems.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=shweta.gulati@ti.com \
    --cc=y@india.ti.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.