All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Walmsley <paul@pwsan.com>
To: Rajendra Nayak <rnayak@ti.com>
Cc: mturquette@ti.com, linux-omap@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 00/29] Move OMAP2+ over to use COMMON clock
Date: Tue, 11 Sep 2012 06:35:26 +0000 (UTC)	[thread overview]
Message-ID: <alpine.DEB.2.00.1209110403130.23042@utopia.booyaka.com> (raw)
In-Reply-To: <1339678038-23082-1-git-send-email-rnayak@ti.com>


Hi Rajendra,

A CCF testing branch has been built here.  The base is v3.6-rc5, plus the 
most recent version of the Common Clock Framework preparation patches that 
you posted to the list, "[PATCH v4 0/3] Prepare for OMAP2+ movement to 
Common Clk", but updated to take RMK's feedback into account.  Then the 
'clk-next-omap-3.6-rc3' branch from your repo at 
'git://github.com/rrnayak/linux.git' was added.  Then some patches to drop 
the old arch/arm/mach-omap2/clock*_data.c files were added.

This branch was then run through checkpatch.pl, and all of the parenthesis
alignment warnings have been fixed.  I don't know what to do about these 
crazy DECLARE_CLK_* macros; they have so many arguments that they are 
basically impossible to read.  Mike and I discussed converting them 
into C99 structure initializers with named fields, but am not sure if it's 
a readability advantage; it's probably going to be "write-only data" 
either way.  I've reflowed many of them to save diffstat but there are 
quite a few more to go.

The branch was then built with a set of testing Kconfigs.  Here's what was 
found: (these are still being investigated)

- The OMAP4-only testconfig and rmk's OMAP4430-SDP Kconfigs failed:
  "undefined reference to `omap2_clkt_iclk_allow_idle'":

  http://www.pwsan.com/omap/testlogs/common_clk_testing_devel_3.7/20120911000742/build/omap4_testconfig/
  http://www.pwsan.com/omap/testlogs/common_clk_testing_devel_3.7/20120911000742/build/rmk_omap4430_sdp_oldconfig/

- RMK's OMAP3430-LDP Kconfig failed with a whole set of warnings:

  http://www.pwsan.com/omap/testlogs/common_clk_testing_devel_3.7/20120911000742/build/rmk_omap3430_ldp_oldconfig/


The kernel built with omap2plus_defconfig was then booted on several 
OMAP2+ boards.  Here's what was found:

- The kernel wouldn't boot on either the 3517EVM nor CM-T3517 boards.
  This turned out to be due to some missing AM35XX clkdev aliases, the 
  lack of which cause the CCF code to panic.  The patch that adds the 
  OMAP3 data has been updated to fix that bug and an HSOTGUSB clkdev
  alias bug that was found by visual inspection.

- The 3730 Beagle XM issued a warning and stack trace upon boot.  
  Debugging with Mike, this turned out to be due to a bug in the
  modified omap2_init_clksel_parent() function: it returned a register
  bitfield rather than an array index.  The patch that modifies this
  function was then updated to fix the bug.

- The 2420 N800 seems to have some kind of MMC-related problem
  that prevents it from booting.  Still looking into this:

  http://www.pwsan.com/omap/testlogs/common_clk_testing_devel_3.7/20120911000742/boot/2420n800/2420n800_log.txt


Then the branch was PM-tested to determine whether it can suspend and 
serial-resume properly, and whether dynamic idle works.  These tests 
didn't go so well:

- 3530ES3 Beagleboard here was able to enter retention-idle
  suspend, and leave it with serial wakeup, but the CORE powerdomain never 
  entered a low-power state.  Dynamic retention-idle with serial wakeup
  never resumed, and the test stopped there:

  http://www.pwsan.com/omap/testlogs/common_clk_testing_devel_3.7/20120911000742/boot/3530es3beagle/3530es3beagle_log.txt

- 37xx EVM and 3730 Beagle XM fared better; they made it through the whole 
  test program, but the CORE powerdomain also never entered a low-power
  state:

  http://www.pwsan.com/omap/testlogs/common_clk_testing_devel_3.7/20120911000742/boot/37xxevm/37xxevm_log.txt
  http://www.pwsan.com/omap/testlogs/common_clk_testing_devel_3.7/20120911000742/boot/3730beaglexm/3730beaglexm_log.txt

- 4430ES2 Panda never made past the first retention-idle suspend:

  http://www.pwsan.com/omap/testlogs/common_clk_testing_devel_3.7/20120911000742/boot/4430es2panda/4430es2panda_log.txt


Could you please take a look and see if you can identify why the patches 
aren't passing the tests?  I can't send these upstream until they pass the 
PM tests.

This testing branch can be found at the branch named 
"common_clk_testing_devel_3.7" of git://git.pwsan.com/linux-2.6

The testbed reports from this branch can be found here:
  
   http://www.pwsan.com/omap/testlogs/common_clk_testing_devel_3.7/20120911000742/

And the baseline test reports from v3.6-rc5 can be found here:

   http://www.pwsan.com/omap/testlogs/test_v3.6-rc5/20120908202511/



- Paul

WARNING: multiple messages have this Message-ID (diff)
From: paul@pwsan.com (Paul Walmsley)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 00/29] Move OMAP2+ over to use COMMON clock
Date: Tue, 11 Sep 2012 06:35:26 +0000 (UTC)	[thread overview]
Message-ID: <alpine.DEB.2.00.1209110403130.23042@utopia.booyaka.com> (raw)
In-Reply-To: <1339678038-23082-1-git-send-email-rnayak@ti.com>


Hi Rajendra,

A CCF testing branch has been built here.  The base is v3.6-rc5, plus the 
most recent version of the Common Clock Framework preparation patches that 
you posted to the list, "[PATCH v4 0/3] Prepare for OMAP2+ movement to 
Common Clk", but updated to take RMK's feedback into account.  Then the 
'clk-next-omap-3.6-rc3' branch from your repo at 
'git://github.com/rrnayak/linux.git' was added.  Then some patches to drop 
the old arch/arm/mach-omap2/clock*_data.c files were added.

This branch was then run through checkpatch.pl, and all of the parenthesis
alignment warnings have been fixed.  I don't know what to do about these 
crazy DECLARE_CLK_* macros; they have so many arguments that they are 
basically impossible to read.  Mike and I discussed converting them 
into C99 structure initializers with named fields, but am not sure if it's 
a readability advantage; it's probably going to be "write-only data" 
either way.  I've reflowed many of them to save diffstat but there are 
quite a few more to go.

The branch was then built with a set of testing Kconfigs.  Here's what was 
found: (these are still being investigated)

- The OMAP4-only testconfig and rmk's OMAP4430-SDP Kconfigs failed:
  "undefined reference to `omap2_clkt_iclk_allow_idle'":

  http://www.pwsan.com/omap/testlogs/common_clk_testing_devel_3.7/20120911000742/build/omap4_testconfig/
  http://www.pwsan.com/omap/testlogs/common_clk_testing_devel_3.7/20120911000742/build/rmk_omap4430_sdp_oldconfig/

- RMK's OMAP3430-LDP Kconfig failed with a whole set of warnings:

  http://www.pwsan.com/omap/testlogs/common_clk_testing_devel_3.7/20120911000742/build/rmk_omap3430_ldp_oldconfig/


The kernel built with omap2plus_defconfig was then booted on several 
OMAP2+ boards.  Here's what was found:

- The kernel wouldn't boot on either the 3517EVM nor CM-T3517 boards.
  This turned out to be due to some missing AM35XX clkdev aliases, the 
  lack of which cause the CCF code to panic.  The patch that adds the 
  OMAP3 data has been updated to fix that bug and an HSOTGUSB clkdev
  alias bug that was found by visual inspection.

- The 3730 Beagle XM issued a warning and stack trace upon boot.  
  Debugging with Mike, this turned out to be due to a bug in the
  modified omap2_init_clksel_parent() function: it returned a register
  bitfield rather than an array index.  The patch that modifies this
  function was then updated to fix the bug.

- The 2420 N800 seems to have some kind of MMC-related problem
  that prevents it from booting.  Still looking into this:

  http://www.pwsan.com/omap/testlogs/common_clk_testing_devel_3.7/20120911000742/boot/2420n800/2420n800_log.txt


Then the branch was PM-tested to determine whether it can suspend and 
serial-resume properly, and whether dynamic idle works.  These tests 
didn't go so well:

- 3530ES3 Beagleboard here was able to enter retention-idle
  suspend, and leave it with serial wakeup, but the CORE powerdomain never 
  entered a low-power state.  Dynamic retention-idle with serial wakeup
  never resumed, and the test stopped there:

  http://www.pwsan.com/omap/testlogs/common_clk_testing_devel_3.7/20120911000742/boot/3530es3beagle/3530es3beagle_log.txt

- 37xx EVM and 3730 Beagle XM fared better; they made it through the whole 
  test program, but the CORE powerdomain also never entered a low-power
  state:

  http://www.pwsan.com/omap/testlogs/common_clk_testing_devel_3.7/20120911000742/boot/37xxevm/37xxevm_log.txt
  http://www.pwsan.com/omap/testlogs/common_clk_testing_devel_3.7/20120911000742/boot/3730beaglexm/3730beaglexm_log.txt

- 4430ES2 Panda never made past the first retention-idle suspend:

  http://www.pwsan.com/omap/testlogs/common_clk_testing_devel_3.7/20120911000742/boot/4430es2panda/4430es2panda_log.txt


Could you please take a look and see if you can identify why the patches 
aren't passing the tests?  I can't send these upstream until they pass the 
PM tests.

This testing branch can be found at the branch named 
"common_clk_testing_devel_3.7" of git://git.pwsan.com/linux-2.6

The testbed reports from this branch can be found here:
  
   http://www.pwsan.com/omap/testlogs/common_clk_testing_devel_3.7/20120911000742/

And the baseline test reports from v3.6-rc5 can be found here:

   http://www.pwsan.com/omap/testlogs/test_v3.6-rc5/20120908202511/



- Paul

  parent reply	other threads:[~2012-09-11  6:35 UTC|newest]

Thread overview: 114+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-14 12:46 [PATCH 00/29] Move OMAP2+ over to use COMMON clock Rajendra Nayak
2012-06-14 12:46 ` Rajendra Nayak
2012-06-14 12:46 ` [PATCH 01/29] clk: Add support for rate table based dividers Rajendra Nayak
2012-06-14 12:46   ` Rajendra Nayak
2012-06-18 20:04   ` Mike Turquette
2012-06-18 20:04     ` Mike Turquette
2012-06-19  5:22     ` Rajendra Nayak
2012-06-19  5:22       ` Rajendra Nayak
2012-06-14 12:46 ` [PATCH 02/29] clk: Add CLK_IS_BASIC flag to identify basic clocks Rajendra Nayak
2012-06-14 12:46   ` Rajendra Nayak
2012-07-03 12:34   ` Rajendra Nayak
2012-07-03 12:34     ` Rajendra Nayak
2012-07-04  6:18     ` Turquette, Mike
2012-07-04  6:18       ` Turquette, Mike
2012-07-04  6:39       ` Rajendra Nayak
2012-07-04  6:39         ` Rajendra Nayak
2012-06-14 12:46 ` [PATCH 03/29] ARM: omap4: cm: add bitfield width values Rajendra Nayak
2012-06-14 12:46   ` Rajendra Nayak
2012-06-14 12:46 ` [PATCH 04/29] ARM: omap: clk: use clk_prepare_enable and clk_disable_unprepare Rajendra Nayak
2012-06-14 12:46   ` Rajendra Nayak
2012-06-14 19:11   ` Mike Turquette
2012-06-14 19:11     ` Mike Turquette
2012-06-15  4:56     ` Rajendra Nayak
2012-06-15  4:56       ` Rajendra Nayak
2012-06-20 11:41       ` Tony Lindgren
2012-06-20 11:41         ` Tony Lindgren
2012-06-21  5:36         ` Rajendra Nayak
2012-06-21  5:36           ` Rajendra Nayak
2012-06-21  5:43           ` Paul Walmsley
2012-06-21  5:43             ` Paul Walmsley
2012-06-21  5:49             ` Rajendra Nayak
2012-06-21  5:49               ` Rajendra Nayak
2012-06-14 12:46 ` [PATCH 05/29] mmc: omap_hsmmc: " Rajendra Nayak
2012-06-14 12:46   ` Rajendra Nayak
2012-06-14 12:46 ` [PATCH 06/29] hwrng: omap: " Rajendra Nayak
2012-06-14 12:46   ` Rajendra Nayak
2012-06-14 12:46 ` [PATCH 07/29] mfd: omap-usb: " Rajendra Nayak
2012-06-14 12:46   ` Rajendra Nayak
2012-07-02 11:18   ` Samuel Ortiz
2012-07-02 11:18     ` Samuel Ortiz
2012-07-02 11:16     ` Rajendra Nayak
2012-07-02 11:16       ` Rajendra Nayak
2012-07-02 15:23       ` Samuel Ortiz
2012-07-02 15:23         ` Samuel Ortiz
2012-06-14 12:46 ` [PATCH 08/29] ARM: omap: hwmod: get rid of all omap_clk_get_by_name usage Rajendra Nayak
2012-06-14 12:46   ` Rajendra Nayak
2012-06-14 12:46 ` [PATCH 09/29] ARM: omap: clk: Nuke plat/clock.c & reuse struct clk as clk_hw_omap Rajendra Nayak
2012-06-14 12:46   ` Rajendra Nayak
2012-06-19  1:38   ` Mike Turquette
2012-06-19  1:38     ` Mike Turquette
2012-06-14 12:46 ` [PATCH 10/29] ARM: omap: clk: Remove all direct dereferncing of struct clk Rajendra Nayak
2012-06-14 12:46   ` Rajendra Nayak
2012-06-14 12:47 ` [PATCH 11/29] ARM: omap: hwmod: Fix up hwmod based clkdm accesses Rajendra Nayak
2012-06-14 12:47   ` Rajendra Nayak
2012-06-14 12:47 ` [PATCH 12/29] ARM: omap4: clk: Convert to common clk Rajendra Nayak
2012-06-14 12:47   ` Rajendra Nayak
2012-06-14 12:47 ` [PATCH 13/29] ARM: omap3: " Rajendra Nayak
2012-06-14 12:47   ` Rajendra Nayak
2012-06-14 12:47 ` [PATCH 14/29] ARM: omap2: " Rajendra Nayak
2012-06-14 12:47   ` Rajendra Nayak
2012-06-14 12:47 ` [PATCH 15/29] ARM: omap: clk: list all clk_hw_omap clks to enable/disable autoidle Rajendra Nayak
2012-06-14 12:47   ` Rajendra Nayak
2012-06-14 12:47 ` [PATCH 16/29] ARM: omap: clk: Define a function to enable clocks at init Rajendra Nayak
2012-06-14 12:47   ` Rajendra Nayak
2012-06-14 12:47 ` [PATCH 17/29] ARM: omap: clock: Get rid of unwanted clkdm assocations within clks Rajendra Nayak
2012-06-14 12:47   ` Rajendra Nayak
2012-06-14 12:47 ` [PATCH 18/29] ARM: omap4: clk: Add 44xx data using common struct clk Rajendra Nayak
2012-06-14 12:47   ` Rajendra Nayak
2012-06-14 12:47 ` [PATCH 19/29] ARM: omap3: clk: Add 3xxx " Rajendra Nayak
2012-06-14 12:47   ` Rajendra Nayak
2012-06-14 12:47 ` [PATCH 20/29] ARM: omap2: clk: Add 24xx " Rajendra Nayak
2012-06-14 12:47   ` Rajendra Nayak
2012-06-14 12:47 ` [PATCH 21/29] ARM: omap: clk: Switch to COMMON clk Rajendra Nayak
2012-06-14 12:47   ` Rajendra Nayak
2012-06-14 12:47 ` [PATCH 22/29] ARM: omap: clk: Use plat/clock.c only for OMAP1 Rajendra Nayak
2012-06-14 12:47   ` Rajendra Nayak
2012-06-14 12:47 ` [PATCH 23/29] ARM: omap: hwmod: Cleanup !CONFIG_COMMON_CLK parts Rajendra Nayak
2012-06-14 12:47   ` Rajendra Nayak
2012-06-14 12:47 ` [PATCH 24/29] ARM: omap4: clk: " Rajendra Nayak
2012-06-14 12:47   ` Rajendra Nayak
2012-06-14 12:47 ` [PATCH 25/29] ARM: omap3: " Rajendra Nayak
2012-06-14 12:47   ` Rajendra Nayak
2012-06-14 12:47 ` [PATCH 26/29] ARM: omap2: " Rajendra Nayak
2012-06-14 12:47   ` Rajendra Nayak
2012-06-14 12:47 ` [PATCH 27/29] ARM: omap4: clk: Delete old OMAP clock data Rajendra Nayak
2012-06-14 12:47   ` Rajendra Nayak
2012-06-14 12:47 ` [PATCH 28/29] ARM: omap3: " Rajendra Nayak
2012-06-14 12:47   ` Rajendra Nayak
2012-06-14 12:47 ` [PATCH 29/29] ARM: omap2: " Rajendra Nayak
2012-06-14 12:47   ` Rajendra Nayak
2012-06-18  4:27 ` [PATCH 00/29] Move OMAP2+ over to use COMMON clock Paul Walmsley
2012-06-18  4:27   ` Paul Walmsley
2012-06-18 11:03   ` Rajendra Nayak
2012-06-18 11:03     ` Rajendra Nayak
2012-09-11  6:35 ` Paul Walmsley [this message]
2012-09-11  6:35   ` Paul Walmsley
2012-09-11  9:46   ` Vaibhav Hiremath
2012-09-11  9:46     ` Vaibhav Hiremath
2012-09-11 23:10     ` Paul Walmsley
2012-09-11 23:10       ` Paul Walmsley
2012-09-12  3:53       ` Hiremath, Vaibhav
2012-09-12  3:53         ` Hiremath, Vaibhav
2012-09-11 20:09   ` Paul Walmsley
2012-09-11 20:09     ` Paul Walmsley
2012-09-15  5:32   ` Paul Walmsley
2012-09-15  5:32     ` Paul Walmsley
2012-09-15  5:49     ` Paul Walmsley
2012-09-15  5:49       ` Paul Walmsley
2012-09-16 20:36   ` Paul Walmsley
2012-09-16 20:36     ` Paul Walmsley
2012-09-17 21:26     ` Tony Lindgren
2012-09-17 21:26       ` Tony Lindgren
2012-09-17 22:12       ` Paul Walmsley
2012-09-17 22:12         ` Paul Walmsley

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=alpine.DEB.2.00.1209110403130.23042@utopia.booyaka.com \
    --to=paul@pwsan.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=mturquette@ti.com \
    --cc=rnayak@ti.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: 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.