From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gary Thomas Subject: Re: PM related performance degradation on OMAP3 Date: Wed, 11 Apr 2012 12:20:41 -0600 Message-ID: <4F85CB79.9070703@mlbassoc.com> References: <4F859C5D.3090400@mlbassoc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from hermes.mlbassoc.com ([64.234.241.98]:36345 "EHLO mail.chez-thomas.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756911Ab2DKSUx (ORCPT ); Wed, 11 Apr 2012 14:20:53 -0400 In-Reply-To: Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Grazvydas Ignotas Cc: linux-omap@vger.kernel.org, Kevin Hilman , Paul Walmsley On 2012-04-11 11:23, Grazvydas Ignotas wrote: > On Wed, Apr 11, 2012 at 5:59 PM, Gary Thomas wrote: >> I'd like to try building without CONFIG_PM, but when I disabled this, my >> kernel fails to come up. Can someone point me to the magic to build without >> CONFIG_PM, or possibly send me a working config file? > > You probably need this patch: > http://marc.info/?l=linux-omap&m=133374930011086&w=2 > If it still won't boot, you'll need to enable earlyprintk both in > .config and as kernel argument to see where it dies. That does help, but there are lots of tracebacks like these: [ 0.588500] ------------[ cut here ]------------ [ 0.588531] WARNING: at drivers/video/omap2/dss/dispc.c:404 dss_driver_probe+0x44/0xd8() [ 0.588562] Modules linked in: [ 0.588592] [] (unwind_backtrace+0x0/0xf8) from [] (warn_slowpath_common+0x4c/0x64) [ 0.588623] [] (warn_slowpath_common+0x4c/0x64) from [] (warn_slowpath_null+0x1c/0x24) [ 0.588623] [] (warn_slowpath_null+0x1c/0x24) from [] (dss_driver_probe+0x44/0xd8) [ 0.588653] [] (dss_driver_probe+0x44/0xd8) from [] (driver_probe_device+0x70/0x1e4) [ 0.588684] [] (driver_probe_device+0x70/0x1e4) from [] (__driver_attach+0x94/0x98) [ 0.588714] [] (__driver_attach+0x94/0x98) from [] (bus_for_each_dev+0x50/0x7c) [ 0.588745] [] (bus_for_each_dev+0x50/0x7c) from [] (bus_add_driver+0x184/0x244) [ 0.588775] [] (bus_add_driver+0x184/0x244) from [] (driver_register+0x78/0x12c) [ 0.588775] [] (driver_register+0x78/0x12c) from [] (do_one_initcall+0x34/0x178) [ 0.588806] [] (do_one_initcall+0x34/0x178) from [] (kernel_init+0x78/0x114) [ 0.588836] [] (kernel_init+0x78/0x114) from [] (kernel_thread_exit+0x0/0x8) [ 0.588867] ---[ end trace 1b75b31a2719ed24 ]--- I also had to disable the watchdog to get it up. That said, with CONFIG_PM disabled, my network performance is back to what it was in 3.0 :-) Note: I also had CONFIG_PM disabled in that kernel build, so I don't know for sure what the performance might be with that version if it were enabled. -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------