From: "Bedia, Vaibhav" <vaibhav.bedia@ti.com> To: Paul Walmsley <paul@pwsan.com>, "linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>, "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org> Cc: "Cousson, Benoit" <b-cousson@ti.com> Subject: RE: [PATCH 09/12] ARM: OMAP2+: powerdomain: skip register reads for powerdomains known to be on Date: Wed, 26 Dec 2012 06:21:46 +0000 [thread overview] Message-ID: <B5906170F1614E41A8A28DE3B8D121433ECA6CF8@DBDE01.ent.ti.com> (raw) In-Reply-To: <20121209200327.3196.27686.stgit@dusk.lan> Hi Paul, On Mon, Dec 10, 2012 at 01:33:28, Paul Walmsley wrote: > There's no need to determine the current power state for powerdomains > that must be on while the kernel is running. We mark these > powerdomains with a new flag, PWRDM_ACTIVE_WITH_KERNEL. Any > powerdomain marked with that flag is reported as being in the ON power > state while the kernel is running. [...] > diff --git a/arch/arm/mach-omap2/powerdomains33xx_data.c b/arch/arm/mach-omap2/powerdomains33xx_data.c > index 869adb8..acb148a 100644 > --- a/arch/arm/mach-omap2/powerdomains33xx_data.c > +++ b/arch/arm/mach-omap2/powerdomains33xx_data.c > @@ -123,7 +123,8 @@ static struct powerdomain mpu_33xx_pwrdm = { > .pwrstst_offs = AM33XX_PM_MPU_PWRSTST_OFFSET, > .pwrsts = PWRSTS_OFF_RET_ON, > .pwrsts_logic_ret = PWRSTS_OFF_RET, > - .flags = PWRDM_HAS_LOWPOWERSTATECHANGE, > + .flags = (PWRDM_HAS_LOWPOWERSTATECHANGE | > + PWRDM_ACTIVE_WITH_KERNEL), In case of AM33xx, this flag should be set for PER and WKUP pwrdms also. EMIF, L3, L4 etc come under PER so this domain can't transition on an active system. PRCM and Control module come under WKUP, so the WKUP should the kernel should attempt to transition WKUP domain also. Regards, Vaibhav
WARNING: multiple messages have this Message-ID (diff)
From: vaibhav.bedia@ti.com (Bedia, Vaibhav) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 09/12] ARM: OMAP2+: powerdomain: skip register reads for powerdomains known to be on Date: Wed, 26 Dec 2012 06:21:46 +0000 [thread overview] Message-ID: <B5906170F1614E41A8A28DE3B8D121433ECA6CF8@DBDE01.ent.ti.com> (raw) In-Reply-To: <20121209200327.3196.27686.stgit@dusk.lan> Hi Paul, On Mon, Dec 10, 2012 at 01:33:28, Paul Walmsley wrote: > There's no need to determine the current power state for powerdomains > that must be on while the kernel is running. We mark these > powerdomains with a new flag, PWRDM_ACTIVE_WITH_KERNEL. Any > powerdomain marked with that flag is reported as being in the ON power > state while the kernel is running. [...] > diff --git a/arch/arm/mach-omap2/powerdomains33xx_data.c b/arch/arm/mach-omap2/powerdomains33xx_data.c > index 869adb8..acb148a 100644 > --- a/arch/arm/mach-omap2/powerdomains33xx_data.c > +++ b/arch/arm/mach-omap2/powerdomains33xx_data.c > @@ -123,7 +123,8 @@ static struct powerdomain mpu_33xx_pwrdm = { > .pwrstst_offs = AM33XX_PM_MPU_PWRSTST_OFFSET, > .pwrsts = PWRSTS_OFF_RET_ON, > .pwrsts_logic_ret = PWRSTS_OFF_RET, > - .flags = PWRDM_HAS_LOWPOWERSTATECHANGE, > + .flags = (PWRDM_HAS_LOWPOWERSTATECHANGE | > + PWRDM_ACTIVE_WITH_KERNEL), In case of AM33xx, this flag should be set for PER and WKUP pwrdms also. EMIF, L3, L4 etc come under PER so this domain can't transition on an active system. PRCM and Control module come under WKUP, so the WKUP should the kernel should attempt to transition WKUP domain also. Regards, Vaibhav
next prev parent reply other threads:[~2012-12-26 6:21 UTC|newest] Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-12-09 20:02 [PATCH 00/12] ARM: OMAP2+: powerdomain updates after the functional power state conversion Paul Walmsley 2012-12-09 20:02 ` Paul Walmsley 2012-12-09 20:02 ` [PATCH 01/12] ARM: OMAP2+: powerdomain: consolidate arch_pwrdm check code Paul Walmsley 2012-12-09 20:02 ` Paul Walmsley 2012-12-09 20:03 ` [PATCH 02/12] ARM: OMAP2+: PM/powerdomain: move the power state time tracking into the powerdomain code Paul Walmsley 2012-12-09 20:03 ` Paul Walmsley 2012-12-09 20:03 ` [PATCH 03/12] ARM: OMAP2+: powerdomain: split pwrdm_state_switch() Paul Walmsley 2012-12-09 20:03 ` Paul Walmsley 2012-12-09 20:03 ` [PATCH 04/12] ARM: OMAP2+: PM: clean up some debugfs functions Paul Walmsley 2012-12-09 20:03 ` Paul Walmsley 2012-12-09 20:03 ` [PATCH 05/12] ARM: OMAP2+: powerdomain: remove some redundant checks; add some notes Paul Walmsley 2012-12-09 20:03 ` [PATCH 06/12] ARM: OMAP2+: CM: use the cached copy of the clockdomain's hwsup state Paul Walmsley 2012-12-09 20:03 ` Paul Walmsley 2012-12-09 20:03 ` [PATCH 07/12] ARM: OMAP2+: powerdomain: cache the powerdomain next power state Paul Walmsley 2012-12-09 20:03 ` Paul Walmsley 2012-12-09 20:03 ` [PATCH 08/12] ARM: OMAP2+: powerdomain: cache the powerdomain's previous " Paul Walmsley 2012-12-09 20:03 ` Paul Walmsley 2012-12-09 20:03 ` [PATCH 09/12] ARM: OMAP2+: powerdomain: skip register reads for powerdomains known to be on Paul Walmsley 2012-12-09 20:03 ` Paul Walmsley 2012-12-12 10:22 ` Vaibhav Hiremath 2012-12-12 10:22 ` Vaibhav Hiremath 2012-12-19 21:09 ` Jon Hunter 2012-12-19 21:09 ` Jon Hunter 2012-12-20 17:22 ` Paul Walmsley 2012-12-20 17:22 ` Paul Walmsley 2012-12-21 6:33 ` Santosh Shilimkar 2012-12-21 6:33 ` Santosh Shilimkar 2012-12-26 6:21 ` Bedia, Vaibhav [this message] 2012-12-26 6:21 ` Bedia, Vaibhav 2012-12-26 6:31 ` Bedia, Vaibhav 2012-12-26 6:31 ` Bedia, Vaibhav 2012-12-26 20:49 ` Paul Walmsley 2012-12-26 20:49 ` Paul Walmsley 2012-12-09 20:03 ` [PATCH 10/12] ARM: OMAP2+: powerdomain: skip previous-power-state read if next_pwrst is ON Paul Walmsley 2012-12-09 20:03 ` Paul Walmsley 2012-12-09 20:03 ` [PATCH 11/12] ARM: OMAP2xxx: powerdomain: add previous power state tracking Paul Walmsley 2012-12-09 20:03 ` Paul Walmsley 2012-12-09 20:03 ` [PATCH 12/12] ARM: OMAP2xxx: PM: add pwrdm_(pre|post)_transition() calls to the 2xxx PM code Paul Walmsley 2012-12-09 20:03 ` Paul Walmsley 2013-01-04 14:26 ` [PATCH 00/12] ARM: OMAP2+: powerdomain updates after the functional power state conversion Tero Kristo 2013-01-04 14:26 ` Tero Kristo
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=B5906170F1614E41A8A28DE3B8D121433ECA6CF8@DBDE01.ent.ti.com \ --to=vaibhav.bedia@ti.com \ --cc=b-cousson@ti.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-omap@vger.kernel.org \ --cc=paul@pwsan.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: linkBe 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.