From: khilman@ti.com (Kevin Hilman) Date: Tue, 07 Aug 2012 15:44:47 -0700 Subject: [PATCH] Revert "ARM: OMAP3: PM: call pre/post transition per powerdomain" In-Reply-To: <1344372107-17786-1-git-send-email-khilman@ti.com> (Kevin Hilman's message of "Tue, 7 Aug 2012 13:41:47 -0700") References: <1344372107-17786-1-git-send-email-khilman@ti.com> Message-ID: <87lihqz5i8.fsf@ti.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Kevin Hilman writes: > This reverts commit 58f0829b7186150318c79515f0e0850c5e7a9c89. > > Converstion to per-pwrdm per/post transition calls was a bit > premature. Only tracking MPU, PER & CORE in the idle path means we > lose the accounting for all the other powerdomains which may also > transition in idle. On OMAP3, due to autodeps, several powerdomains > transition along with MPU (e.g. DSS, USBHOST), and the accounting for > these was lost with this patch. > > This patch should be revisited when the upcoming clkdm/pwrmdm/voltdm > use-counting seires is merged since then we can properly do accounting > without relying on a call in the idle path. > > Cc: Jean Pihet > Cc: Tero Kristo > Cc: Rajendra Nayak > Reported-by: Paul Walmsley > Signed-off-by: Kevin Hilman After some debugging with Paul, I found that the patch being reverted here was the cause of another regression: GPIO context not being properly restored after off mode. This caused the nfsroot problems in off-mode on boards with ethernet devices with GPIO IRQ lines (Overo, 37xx EVM, ...) Updating changelog, and will post v2 shortly. Kevin