From: Paul Walmsley <paul@pwsan.com> To: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 00/12] ARM: OMAP2+: hwmod: remove link arrays Date: Wed, 07 Mar 2012 19:38:21 -0700 [thread overview] Message-ID: <20120308023614.8205.78768.stgit@dusk> (raw) The hwmod code and data format was originally designed to minimize boot time and for autogenerated data files. Compactness was traded for precomputation. Now that the emphasis is on reducing the number of lines in the OMAP source tree, this trade can be reversed. This series removes the precomputed "link arrays" from the hwmod data, and converts the code to register IP blocks by their interconnects, rather than directly. This results in a significant reduction in lines of source, at the cost of some additional boot time. The change also makes it easier to share more IP block data across SoCs. This series has a dependency on the 'hwmod_data_cleanup_3.4' branch posted earlier. This series is also available via git://git.pwsan.com/linux-2.6 in the "hwmod_remove_link_arrays_cleanup_3.4" branch. Boot-tested on N800. Boot and suspend-tested on OMAP35xx Beagleboard and OMAP44xx Pandaboard. - Paul --- hwmod_remove_link_arrays_cleanup_3.4 text data bss dec hex filename 3831449 297100 5382832 9511381 9121d5 vmlinux.omap2plus_defconfig.orig 3832257 297708 5382864 9512829 91277d vmlinux.omap2plus_defconfig Paul Walmsley (12): ARM: OMAP2+: hwmod: add _find_mpu_rt_port() ARM: OMAP2+: hwmod: add function to iterate over struct omap_hwmod_ocp_if ARM: OMAP2+: hwmod: consolidate finding the MPU port index and storing it ARM: OMAP2+: hwmod: add support for link registration ARM: OMAP2+: hwmod data: convert to link registration ARM: OMAP: hwmod: remove code support for direct hwmod registration ARM: OMAP2+: hwmod data: remove forward declarations, reorganize ARM: OMAP2xxx: hwmod data: share common hwmods between OMAP2420 and OMAP2430 ARM: OMAP2xxx: hwmod data: share common interface data ARM: OMAP3: hwmod data: fix IVA interface clock ARM: OMAP3: hwmod data: add IVA hard reset lines, main clock, clockdomain ARM: OMAP2xxx: hwmod data: start to fix the IVA1, IVA2 and DSP arch/arm/mach-omap2/omap_hwmod.c | 410 +- arch/arm/mach-omap2/omap_hwmod_2420_data.c | 1563 +----- arch/arm/mach-omap2/omap_hwmod_2430_data.c | 2316 ++------- .../mach-omap2/omap_hwmod_2xxx_interconnect_data.c | 266 + arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c | 562 ++ arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 5047 +++++++++----------- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 4882 ++++++++----------- arch/arm/mach-omap2/omap_hwmod_common_data.h | 71 arch/arm/plat-omap/include/plat/omap_hwmod.h | 31 9 files changed, 6324 insertions(+), 8824 deletions(-)
WARNING: multiple messages have this Message-ID (diff)
From: paul@pwsan.com (Paul Walmsley) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 00/12] ARM: OMAP2+: hwmod: remove link arrays Date: Wed, 07 Mar 2012 19:38:21 -0700 [thread overview] Message-ID: <20120308023614.8205.78768.stgit@dusk> (raw) The hwmod code and data format was originally designed to minimize boot time and for autogenerated data files. Compactness was traded for precomputation. Now that the emphasis is on reducing the number of lines in the OMAP source tree, this trade can be reversed. This series removes the precomputed "link arrays" from the hwmod data, and converts the code to register IP blocks by their interconnects, rather than directly. This results in a significant reduction in lines of source, at the cost of some additional boot time. The change also makes it easier to share more IP block data across SoCs. This series has a dependency on the 'hwmod_data_cleanup_3.4' branch posted earlier. This series is also available via git://git.pwsan.com/linux-2.6 in the "hwmod_remove_link_arrays_cleanup_3.4" branch. Boot-tested on N800. Boot and suspend-tested on OMAP35xx Beagleboard and OMAP44xx Pandaboard. - Paul --- hwmod_remove_link_arrays_cleanup_3.4 text data bss dec hex filename 3831449 297100 5382832 9511381 9121d5 vmlinux.omap2plus_defconfig.orig 3832257 297708 5382864 9512829 91277d vmlinux.omap2plus_defconfig Paul Walmsley (12): ARM: OMAP2+: hwmod: add _find_mpu_rt_port() ARM: OMAP2+: hwmod: add function to iterate over struct omap_hwmod_ocp_if ARM: OMAP2+: hwmod: consolidate finding the MPU port index and storing it ARM: OMAP2+: hwmod: add support for link registration ARM: OMAP2+: hwmod data: convert to link registration ARM: OMAP: hwmod: remove code support for direct hwmod registration ARM: OMAP2+: hwmod data: remove forward declarations, reorganize ARM: OMAP2xxx: hwmod data: share common hwmods between OMAP2420 and OMAP2430 ARM: OMAP2xxx: hwmod data: share common interface data ARM: OMAP3: hwmod data: fix IVA interface clock ARM: OMAP3: hwmod data: add IVA hard reset lines, main clock, clockdomain ARM: OMAP2xxx: hwmod data: start to fix the IVA1, IVA2 and DSP arch/arm/mach-omap2/omap_hwmod.c | 410 +- arch/arm/mach-omap2/omap_hwmod_2420_data.c | 1563 +----- arch/arm/mach-omap2/omap_hwmod_2430_data.c | 2316 ++------- .../mach-omap2/omap_hwmod_2xxx_interconnect_data.c | 266 + arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c | 562 ++ arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 5047 +++++++++----------- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 4882 ++++++++----------- arch/arm/mach-omap2/omap_hwmod_common_data.h | 71 arch/arm/plat-omap/include/plat/omap_hwmod.h | 31 9 files changed, 6324 insertions(+), 8824 deletions(-)
next reply other threads:[~2012-03-08 2:42 UTC|newest] Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-03-08 2:38 Paul Walmsley [this message] 2012-03-08 2:38 ` [PATCH 00/12] ARM: OMAP2+: hwmod: remove link arrays Paul Walmsley 2012-03-08 2:38 ` [PATCH 01/12] ARM: OMAP2+: hwmod: add _find_mpu_rt_port() Paul Walmsley 2012-03-08 2:38 ` Paul Walmsley 2012-03-08 2:38 ` [PATCH 02/12] ARM: OMAP2+: hwmod: add function to iterate over struct omap_hwmod_ocp_if Paul Walmsley 2012-03-08 2:38 ` Paul Walmsley 2012-03-08 2:38 ` [PATCH 03/12] ARM: OMAP2+: hwmod: consolidate finding the MPU port index and storing it Paul Walmsley 2012-03-08 2:38 ` Paul Walmsley 2012-03-08 2:38 ` [PATCH 04/12] ARM: OMAP2+: hwmod: add support for link registration Paul Walmsley 2012-03-08 2:38 ` Paul Walmsley 2012-03-08 2:38 ` [PATCH 06/12] ARM: OMAP: hwmod: remove code support for direct hwmod registration Paul Walmsley 2012-03-08 2:38 ` Paul Walmsley 2012-03-08 2:38 ` [PATCH 08/12] ARM: OMAP2xxx: hwmod data: share common hwmods between OMAP2420 and OMAP2430 Paul Walmsley 2012-03-08 2:38 ` Paul Walmsley 2012-03-08 2:38 ` [PATCH 10/12] ARM: OMAP3: hwmod data: fix IVA interface clock Paul Walmsley 2012-03-08 2:38 ` Paul Walmsley 2012-03-08 2:38 ` [PATCH 09/12] ARM: OMAP2xxx: hwmod data: share common interface data Paul Walmsley 2012-03-08 2:38 ` Paul Walmsley 2012-03-08 2:38 ` [PATCH 11/12] ARM: OMAP3: hwmod data: add IVA hard reset lines, main clock, clockdomain Paul Walmsley 2012-03-08 2:38 ` Paul Walmsley 2012-03-08 2:38 ` [PATCH 12/12] ARM: OMAP2xxx: hwmod data: start to fix the IVA1, IVA2 and DSP Paul Walmsley 2012-03-08 2:38 ` Paul Walmsley 2012-04-19 9:18 ` Paul Walmsley 2012-04-19 9:18 ` Paul Walmsley 2012-04-19 9:28 ` Russell King - ARM Linux 2012-04-19 9:28 ` Russell King - ARM Linux 2012-04-19 9:33 ` Paul Walmsley 2012-04-19 9:33 ` Paul Walmsley 2012-04-19 9:38 ` Paul Walmsley 2012-04-19 9:38 ` Paul Walmsley 2012-03-08 2:55 ` [PATCH 00/12] ARM: OMAP2+: hwmod: remove link arrays Paul Walmsley 2012-03-08 2:55 ` Paul Walmsley 2012-03-09 4:27 ` Paul Walmsley 2012-03-09 4:27 ` 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=20120308023614.8205.78768.stgit@dusk \ --to=paul@pwsan.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-omap@vger.kernel.org \ /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.