linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 REPOST 0/5] Refactor common Kconfigs for easier maintenance
@ 2011-12-16 16:35 Dave Martin
  2011-12-16 16:35 ` [PATCH v5 REPOST 1/5] ARM: l2x0/pl310: Refactor Kconfig to be more maintainable Dave Martin
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Dave Martin @ 2011-12-16 16:35 UTC (permalink / raw)
  To: linux-arm-kernel

[Expanding the CC list again so that affected people get a final
chance to comment -- David Brown pointed out that a few people/
ists were still missing.  This is otherwise a repost of v5 with
no changes.  Apologies to anyone who has already read this series.]

Common Kconfig options which depend on a long list of board- and
SoC- specific Kconfigs can be cumbersome to maintain, leading to
annoying merge conflicts (although rather trivial ones).

This series factors out the dependencies of CACHE_L2X0 and SMP so
that the knowledge about when these can be enabled is moved to the
relevant board/SoC Kconfig files instead.  New
MIGHT_HAVE_CACHE_L2X0 and HAVE_SMP options are defined to mediate
the dependencies.

This series has been substantially reworked compared with the
previous post, and is now in two parts:

  * The first two patches simply refactor the way the Kconfig
    options for CACHE_L2X0 and SMP are implemented, without
    making any other changes.

  * The final three patches apply functional changes suggested by
    the contributors to this series, to make the config
    dependencies more correct for some specific boards.


Thanks to Rob Herring, Shawn Guo and Russell King for their
contributions to this series.  Thanks also to David Brown for
pointing out the lack of a comprehensive CC list.


I have briefly build-tested on some of the affected boards, but any
further reviews or Tested-Bys would be much appreciated.


Dave Martin (5):
  ARM: l2x0/pl310: Refactor Kconfig to be more maintainable
  ARM: SMP: Refactor Kconfig to be more maintainable
  omap4: Unconditionally require l2x0 L2 cache controller support
  highbank: Unconditionally require l2x0 L2 cache controller support
  imx6q: Remove unconditional dependency on l2x0 L2 cache support

 arch/arm/Kconfig               |   26 ++++++++++++++++++++++----
 arch/arm/mach-exynos/Kconfig   |    2 ++
 arch/arm/mach-imx/Kconfig      |    2 +-
 arch/arm/mach-msm/Kconfig      |    1 +
 arch/arm/mach-omap2/Kconfig    |    2 ++
 arch/arm/mach-realview/Kconfig |    9 +++++++++
 arch/arm/mach-vexpress/Kconfig |    2 ++
 arch/arm/mm/Kconfig            |   23 ++++++++++++++++-------
 arch/arm/plat-mxc/Kconfig      |    1 +
 9 files changed, 56 insertions(+), 12 deletions(-)

-- 
1.7.4.1

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2012-01-01 13:44 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-16 16:35 [PATCH v5 REPOST 0/5] Refactor common Kconfigs for easier maintenance Dave Martin
2011-12-16 16:35 ` [PATCH v5 REPOST 1/5] ARM: l2x0/pl310: Refactor Kconfig to be more maintainable Dave Martin
2011-12-18 15:57   ` Kukjin Kim
2011-12-19 10:13   ` Sascha Hauer
2011-12-27 12:40   ` Barry Song
2012-01-01 13:44   ` Linus Walleij
2011-12-16 16:35 ` [PATCH v5 REPOST 2/5] ARM: SMP: " Dave Martin
2011-12-18 15:57   ` Kukjin Kim
2011-12-19 10:14   ` Sascha Hauer
2011-12-16 16:35 ` [PATCH v5 REPOST 3/5] omap4: Unconditionally require l2x0 L2 cache controller support Dave Martin
2011-12-16 16:35 ` [PATCH v5 REPOST 4/5] highbank: " Dave Martin
2011-12-16 16:35 ` [PATCH v5 REPOST 5/5] imx6q: Remove unconditional dependency on l2x0 L2 cache support Dave Martin
2011-12-19 10:14   ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).