All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
To: Joseph Lo <josephl-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: Re: [PATCH V2 5/8] ARM: tegra: add LP1 suspend support for Tegra30
Date: Mon, 05 Aug 2013 11:53:37 -0600	[thread overview]
Message-ID: <51FFE6A1.5090701@wwwdotorg.org> (raw)
In-Reply-To: <1375701664-14965-6-git-send-email-josephl-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>

On 08/05/2013 05:21 AM, Joseph Lo wrote:
> The LP1 suspend mode will power off the CPU, clock gated the PLLs and put
> SDRAM to self-refresh mode. Any interrupt can wake up device from LP1. The
> sequence when LP1 suspending:

> V2:
...
> * modify tegra30_sdram_pad_save as suggestion

You should describe the change you made, not why you made the change.
Not everyone reading this new patch version will know/remember what
suggestions were made in response to v1, and that description above
therefore doesn't mean anything to them.

> diff --git a/arch/arm/mach-tegra/sleep-tegra30.S b/arch/arm/mach-tegra/sleep-tegra30.S

> +/*
> + * tegra30_lp1_reset
> + *
> + * reset vector for LP1 restore; copied into IRAM during suspend.
> + * Brings the system back up to a safe staring point (SDRAM out of
> + * self-refresh, PLLC, PLLM and PLLP reenabled, CPU running on PLLX,
> + * system clock running on the same PLL that it suspended at), and
> + * jumps to tegra_resume to restore virtual addressing.
> + * The physical address of tegra_resume expected to be stored in
> + * PMC_SCRATCH41.
> + *
> + * NOTE: THIS *MUST* BE RELOCATED TO TEGRA_IRAM_CODE_AREA AND MUST BE FIRST.

This comment still contains the confusing "AND MUST BE FIRST" that was
in v1:-(

WARNING: multiple messages have this Message-ID (diff)
From: swarren@wwwdotorg.org (Stephen Warren)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH V2 5/8] ARM: tegra: add LP1 suspend support for Tegra30
Date: Mon, 05 Aug 2013 11:53:37 -0600	[thread overview]
Message-ID: <51FFE6A1.5090701@wwwdotorg.org> (raw)
In-Reply-To: <1375701664-14965-6-git-send-email-josephl@nvidia.com>

On 08/05/2013 05:21 AM, Joseph Lo wrote:
> The LP1 suspend mode will power off the CPU, clock gated the PLLs and put
> SDRAM to self-refresh mode. Any interrupt can wake up device from LP1. The
> sequence when LP1 suspending:

> V2:
...
> * modify tegra30_sdram_pad_save as suggestion

You should describe the change you made, not why you made the change.
Not everyone reading this new patch version will know/remember what
suggestions were made in response to v1, and that description above
therefore doesn't mean anything to them.

> diff --git a/arch/arm/mach-tegra/sleep-tegra30.S b/arch/arm/mach-tegra/sleep-tegra30.S

> +/*
> + * tegra30_lp1_reset
> + *
> + * reset vector for LP1 restore; copied into IRAM during suspend.
> + * Brings the system back up to a safe staring point (SDRAM out of
> + * self-refresh, PLLC, PLLM and PLLP reenabled, CPU running on PLLX,
> + * system clock running on the same PLL that it suspended at), and
> + * jumps to tegra_resume to restore virtual addressing.
> + * The physical address of tegra_resume expected to be stored in
> + * PMC_SCRATCH41.
> + *
> + * NOTE: THIS *MUST* BE RELOCATED TO TEGRA_IRAM_CODE_AREA AND MUST BE FIRST.

This comment still contains the confusing "AND MUST BE FIRST" that was
in v1:-(

  parent reply	other threads:[~2013-08-05 17:53 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-05 11:20 [PATCH V2 0/8] ARM: tegra: support LP1 suspend mode Joseph Lo
2013-08-05 11:20 ` Joseph Lo
     [not found] ` <1375701664-14965-1-git-send-email-josephl-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-08-05 11:20   ` [PATCH V2 1/8] ARM: tegra: add common resume handling code for LP1 resuming Joseph Lo
2013-08-05 11:20     ` Joseph Lo
2013-08-05 11:20   ` [PATCH V2 2/8] ARM: tegra: config the polarity of the request of sys clock Joseph Lo
2013-08-05 11:20     ` Joseph Lo
2013-08-05 11:20   ` [PATCH V2 3/8] clk: tegra114: add LP1 suspend/resume support Joseph Lo
2013-08-05 11:20     ` Joseph Lo
2013-08-05 11:21   ` [PATCH V2 4/8] ARM: tegra: add common LP1 suspend support Joseph Lo
2013-08-05 11:21     ` Joseph Lo
     [not found]     ` <1375701664-14965-5-git-send-email-josephl-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-08-05 17:48       ` Stephen Warren
2013-08-05 17:48         ` Stephen Warren
     [not found]         ` <51FFE557.4000103-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-08-06  9:41           ` Joseph Lo
2013-08-06  9:41             ` Joseph Lo
     [not found]             ` <1375782092.2261.92.camel-yx3yKKdKkHfc7b1ADBJPm0n48jw8i0AO@public.gmane.org>
2013-08-06 18:40               ` Stephen Warren
2013-08-06 18:40                 ` Stephen Warren
2013-08-05 11:21   ` [PATCH V2 5/8] ARM: tegra: add LP1 suspend support for Tegra30 Joseph Lo
2013-08-05 11:21     ` Joseph Lo
     [not found]     ` <1375701664-14965-6-git-send-email-josephl-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-08-05 17:53       ` Stephen Warren [this message]
2013-08-05 17:53         ` Stephen Warren
     [not found]         ` <51FFE6A1.5090701-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-08-06  9:47           ` Joseph Lo
2013-08-06  9:47             ` Joseph Lo
2013-08-05 11:21   ` [PATCH V2 6/8] ARM: tegra: add LP1 suspend support for Tegra20 Joseph Lo
2013-08-05 11:21     ` Joseph Lo
2013-08-05 11:21   ` [PATCH V2 7/8] ARM: tegra: add LP1 suspend support for Tegra114 Joseph Lo
2013-08-05 11:21     ` Joseph Lo
2013-08-05 11:21   ` [PATCH V2 8/8] ARM: tegra: enable LP1 suspend mode Joseph Lo
2013-08-05 11:21     ` Joseph Lo
     [not found]     ` <1375701664-14965-9-git-send-email-josephl-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-08-05 17:56       ` Stephen Warren
2013-08-05 17:56         ` Stephen Warren
2013-08-05 17:56   ` [PATCH V2 0/8] ARM: tegra: support " Stephen Warren
2013-08-05 17:56     ` Stephen Warren
     [not found]     ` <51FFE732.10703-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-08-06  9:49       ` Joseph Lo
2013-08-06  9:49         ` Joseph Lo

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=51FFE6A1.5090701@wwwdotorg.org \
    --to=swarren-3lzwwm7+weoh9zmkesr00q@public.gmane.org \
    --cc=josephl-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.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.