From mboxrd@z Thu Jan 1 00:00:00 1970 From: khilman@ti.com (Kevin Hilman) Date: Fri, 11 Feb 2011 15:31:20 -0800 Subject: [PATCH v4 0/5] ARM: omap[34]: Thumb-2 compatibility fixes In-Reply-To: <1297263683-10621-1-git-send-email-dave.martin@linaro.org> (Dave Martin's message of "Wed, 9 Feb 2011 15:01:18 +0000") References: <1297263683-10621-1-git-send-email-dave.martin@linaro.org> Message-ID: <87pqqy6tdj.fsf@ti.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Dave, Dave Martin writes: > This set of patches, along with some other patches under > discussion on alkml, should enable omap3 and omap4 kernels to be > built with CONFIG_THUMB2_KERNEL. OK, I tried some more testing with your 'dirty' branch merged with my PM branch. Compiled in ARM mode, everything worked as expected on my 3530/omap3evm, including off-mode (in suspend and idle). My 3630 (Zoom3) also can't do CORE off due to i583, but MPU, PER etc. all can hit off. To rebuild in Thumb-2 mode, I disabled OMAP2 support and added Thumb-2 mode: CONFIG_ARCH_OMAP2=n CONFIG_THUMB2_KERNEL=y then tested on 3530/omap3evm. Testing suspend/resume to retention seemed to work fine. However, enabling retention during idle[1] hung someplace (didn't debug further.) I also tried off-mode, and suspend/resume to off didn't even work. I didn't have time to debug this any further, so this is just to report raw test results. Hope that helps, Kevin [1] Here's what's needed to attempt low-power states during idle # UART timeouts: omap-serial (4th UART only on OMAP36xx and OMAP4) echo 5 > /sys/devices/platform/omap/omap_uart.0/sleep_timeout echo 5 > /sys/devices/platform/omap/omap_uart.1/sleep_timeout echo 5 > /sys/devices/platform/omap/omap_uart.2/sleep_timeout echo 5 > /sys/devices/platform/omap/omap_uart.3/sleep_timeout # enable low-power states during idle echo 1 > /debug/pm_debug/sleep_while_idle [2] to enable off-mode echo 1 > /debug/pm_debug/enable_off_mode