<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lwn.git/arch/arm/mach-realview/Kconfig, branch v3.10.3</title>
<subtitle>Linux kernel documentation tree maintained by Jonathan Corbet</subtitle>
<id>http://mirrors.hust.edu.cn/git/lwn.git/atom?h=v3.10.3</id>
<link rel='self' href='http://mirrors.hust.edu.cn/git/lwn.git/atom?h=v3.10.3'/>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/'/>
<updated>2013-04-09T19:30:24+00:00</updated>
<entry>
<title>ARM: Push selects for TWD/SCU into machine entries</title>
<updated>2013-04-09T19:30:24+00:00</updated>
<author>
<name>Stephen Boyd</name>
<email>sboyd@codeaurora.org</email>
</author>
<published>2013-02-27T23:28:14+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=4c3ffffdbca2e6f6f5125fa7b149d87a13f92c94'/>
<id>urn:sha1:4c3ffffdbca2e6f6f5125fa7b149d87a13f92c94</id>
<content type='text'>
The TWD and SCU configs are selected by default as long as
MSM_SCORPIONMP is false and/or MCT is false. Implementing the
logic this way certainly saves lines in the Kconfig but it
precludes those machines which select MSM_SCORPIONMP or MCT from
participating in the single zImage effort because when those
machines are combined with other SMP capable machines the TWD and
SCU are no longer selected by default.

Push the select out to the machine entries so that we can compile
these machines together and still select the appropriate configs.

Cc: Barry Song &lt;baohua.song@csr.com&gt;
Acked-by: David Brown &lt;davidb@codeaurora.org&gt;
Cc: Kukjin Kim &lt;kgene.kim@samsung.com&gt;
Cc: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Acked-by: Pawel Moll &lt;pawel.moll@arm.com&gt;
Cc: Rob Herring &lt;rob.herring@calxeda.com&gt;
Cc: Russell King &lt;linux@arm.linux.org.uk&gt;
Acked-by: Santosh Shilimkar &lt;santosh.shilimkar@ti.com&gt;
Cc: Sascha Hauer &lt;kernel@pengutronix.de&gt;
Cc: Shiraz Hashim &lt;shiraz.hashim@st.com&gt;
Acked-by: Simon Horman &lt;horms@verge.net.au&gt;
Cc: Srinidhi Kasagar &lt;srinidhi.kasagar@stericsson.com&gt;
Cc: Stephen Warren &lt;swarren@wwwdotorg.org&gt;
Cc: Tony Lindgren &lt;tony@atomide.com&gt;
Acked-by: Viresh Kumar &lt;viresh.linux@gmail.com&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
</content>
</entry>
<entry>
<title>ARM: config: sort select statements alphanumerically</title>
<updated>2012-10-13T16:11:28+00:00</updated>
<author>
<name>Russell King</name>
<email>rmk+kernel@arm.linux.org.uk</email>
</author>
<published>2012-10-06T16:12:25+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=b1b3f49ce4606452279b58b17f2bbe2ba00304b7'/>
<id>urn:sha1:b1b3f49ce4606452279b58b17f2bbe2ba00304b7</id>
<content type='text'>
As suggested by Andrew Morton:

  This is a pet peeve of mine.  Any time there's a long list of items
  (header file inclusions, kconfig entries, array initalisers, etc) and
  someone wants to add a new item, they *always* go and stick it at the
  end of the list.

  Guys, don't do this.  Either put the new item into a randomly-chosen
  position or, probably better, alphanumerically sort the list.

lets sort all our select statements alphanumerically.  This commit was
created by the following perl:

while (&lt;&gt;) {
	while (/\\\s*$/) {
		$_ .= &lt;&gt;;
	}
	undef %selects if /^\s*config\s+/;
	if (/^\s+select\s+(\w+).*/) {
		if (defined($selects{$1})) {
			if ($selects{$1} eq $_) {
				print STDERR "Warning: removing duplicated $1 entry\n";
			} else {
				print STDERR "Error: $1 differently selected\n".
					"\tOld: $selects{$1}\n".
					"\tNew: $_\n";
				exit 1;
			}
		}
		$selects{$1} = $_;
		next;
	}
	if (%selects and (/^\s*$/ or /^\s+help/ or /^\s+---help---/ or
			  /^endif/ or /^endchoice/)) {
		foreach $k (sort (keys %selects)) {
			print "$selects{$k}";
		}
		undef %selects;
	}
	print;
}
if (%selects) {
	foreach $k (sort (keys %selects)) {
		print "$selects{$k}";
	}
}

It found two duplicates:

Warning: removing duplicated S5P_SETUP_MIPIPHY entry
Warning: removing duplicated HARDIRQS_SW_RESEND entry

and they are identical duplicates, hence the shrinkage in the diffstat
of two lines.

We have four testers reporting success of this change (Tony, Stephen,
Linus and Sekhar.)

Acked-by: Jason Cooper &lt;jason@lakedaemon.net&gt;
Acked-by: Tony Lindgren &lt;tony@atomide.com&gt;
Acked-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Acked-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Acked-by: Sekhar Nori &lt;nsekhar@ti.com&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>ARM: SMP: Refactor Kconfig to be more maintainable</title>
<updated>2011-12-19T13:47:39+00:00</updated>
<author>
<name>Dave Martin</name>
<email>dave.martin@linaro.org</email>
</author>
<published>2011-12-07T15:38:04+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=3b55658aefbf82646a246f3c8a14b9b8a24198a9'/>
<id>urn:sha1:3b55658aefbf82646a246f3c8a14b9b8a24198a9</id>
<content type='text'>
Making SMP depend on (huge list of MACH_ and ARCH_ configs) is
bothersome to maintain and likely to lead to merge conflicts.

This patch moves the knowledge of which platforms are SMP-capable
to the individual machines.  To enable this, a new HAVE_SMP config
option is introduced to allow machines to indicate that they can
run in a SMP configuration.

Signed-off-by: Dave Martin &lt;dave.martin@linaro.org&gt;
Acked-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
        (for nomadik, ux500)
Acked-by: Tony Lindgren &lt;tony@atomide.com&gt;
        (for omap)
Acked-by: Kukjin Kim &lt;kgene.kim@samsung.com&gt;
        (for exynos)
Acked-by: Sascha Hauer &lt;s.hauer@pengutronix.de&gt;
        (for imx)
Acked-by: Olof Johansson &lt;olof@lixom.net&gt;
        (for tegra)
</content>
</entry>
<entry>
<title>ARM: l2x0/pl310: Refactor Kconfig to be more maintainable</title>
<updated>2011-12-19T13:46:11+00:00</updated>
<author>
<name>Dave Martin</name>
<email>dave.martin@linaro.org</email>
</author>
<published>2011-11-29T15:56:19+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=ce5ea9f3767e8589521319cae2eb6e05c52bd056'/>
<id>urn:sha1:ce5ea9f3767e8589521319cae2eb6e05c52bd056</id>
<content type='text'>
Making CACHE_L2X0 depend on (huge list of MACH_ and ARCH_ configs)
is bothersome to maintain and likely to lead to merge conflicts.

This patch moves the knowledge of which platforms have a L2x0 or
PL310 cache controller to the individual machines.  To enable this,
a new MIGHT_HAVE_CACHE_L2X0 config option is introduced to allow
machines to indicate that they may have such a cache controller
independently of each other.

Boards/SoCs which cannot reliably operate without the L2 cache
controller support will need to select CACHE_L2X0 directly from
their own Kconfigs instead.  This applies to some TrustZone-enabled
boards where Linux runs in the Normal World, for example.

Signed-off-by: Dave Martin &lt;dave.martin@linaro.org&gt;
Acked-by: Anton Vorontsov &lt;cbouatmailru@gmail.com&gt;
        (for cns3xxx)
Acked-by: Tony Lindgren &lt;tony@atomide.com&gt;
        (for omap)
Acked-by: Shawn Guo &lt;shawn.guo@linaro.org&gt;
        (for imx)
Acked-by: Kukjin Kim &lt;kgene.kim@samsung.com&gt;
        (for exynos)
Acked-by: Sascha Hauer &lt;s.hauer@pengutronix.de&gt;
        (for imx)
Acked-by: Olof Johansson &lt;olof@lixom.net&gt;
        (for tegra)
</content>
</entry>
<entry>
<title>ARM: 6986/1: mach-realview: add TCM support for PB1176</title>
<updated>2011-07-06T19:49:45+00:00</updated>
<author>
<name>Linus Walleij</name>
<email>linus.walleij@linaro.org</email>
</author>
<published>2011-07-01T07:24:09+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=f022e4e41bb339a8bded1063e718d463904ec716'/>
<id>urn:sha1:f022e4e41bb339a8bded1063e718d463904ec716</id>
<content type='text'>
Enable TCM support on the RealView PB1176 - we have now taken
the precautions necessary to support even multi-board builds of
RealView systems with TCM enabled.

Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>ARM: v6k: Realview EB 11MPCore and PB11MPCore use V6K architecture CPUs</title>
<updated>2011-02-02T21:23:27+00:00</updated>
<author>
<name>Russell King</name>
<email>rmk+kernel@arm.linux.org.uk</email>
</author>
<published>2011-01-17T18:23:31+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=74200e6421882bfb53677d63a134d89a919815c1'/>
<id>urn:sha1:74200e6421882bfb53677d63a134d89a919815c1</id>
<content type='text'>
Make Realview EB ARM11MPCore and PB11MPCore select the new V6K CPU
option.

Tested-by: Will Deacon &lt;will.deacon@arm.com&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>ARM: realview: name configuration options after actual board names</title>
<updated>2011-01-25T15:08:01+00:00</updated>
<author>
<name>Russell King</name>
<email>rmk+kernel@arm.linux.org.uk</email>
</author>
<published>2011-01-24T10:58:24+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=d2a1c9ad785897850db0d46f4ba02364d89386b5'/>
<id>urn:sha1:d2a1c9ad785897850db0d46f4ba02364d89386b5</id>
<content type='text'>
As no one seems to really know which configuration options tie up with
which boards, I thought I'd do some investigation and try to work it
out.  After discussion with some folk in linaro, I think I have this
nailed.

The names are updated to use the name on the front of the appropriate
board user guide for the various baseboards, which I've taken to be
the official name for each board.

I haven't significantly updated the descriptions for the tiles as that
is even less clear - as far as I can see on ARMs website, there is no
Cortex-A9 tile for Realview EB - only ARM11MPCore, ARM1156T2F-S,
ARM1176TZF-S and Cortex-R4F.  So exactly what this 'Multicore Cortex-A9
Tile' is...

Acked-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>ARM: 6201/1: RealView: Do not use outer_sync() on ARM11MPCore boards with L220</title>
<updated>2010-07-02T09:10:09+00:00</updated>
<author>
<name>Catalin Marinas</name>
<email>catalin.marinas@arm.com</email>
</author>
<published>2010-07-01T12:21:47+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=2503a5ecd86c002506001eba432c524ea009fe7f'/>
<id>urn:sha1:2503a5ecd86c002506001eba432c524ea009fe7f</id>
<content type='text'>
RealView boards with certain revisions of the L220 cache controller (ARM11*
processors only) may have issues (hardware deadlock) with the recent changes to
the mb() barrier implementation (DSB followed by an L2 cache sync). The patch
redefines the RealView ARM11MPCore mandatory barriers without the outer_sync()
call.

Cc: &lt;stable@kernel.org&gt;
Tested-by: Linus Walleij &lt;linus.walleij@stericsson.com&gt;
Signed-off-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>ARM: RealView: Fix typo in the RealView/PBX Kconfig entry</title>
<updated>2009-12-09T13:19:42+00:00</updated>
<author>
<name>Catalin Marinas</name>
<email>catalin.marinas@arm.com</email>
</author>
<published>2009-12-09T10:02:19+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=c52854018ad123c9ef83867462457b75bb56d452'/>
<id>urn:sha1:c52854018ad123c9ef83867462457b75bb56d452</id>
<content type='text'>
A previous patch was introducing a SPARSEMEM dependency on
!HIGH_PHYS_OFFSET but it should actually be !REALVIEW_HIGH_PHYS_OFFSET.

Signed-off-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt;
</content>
</entry>
<entry>
<title>RealView: Add sparsemem support for the RealView PBX platform</title>
<updated>2009-11-05T10:10:36+00:00</updated>
<author>
<name>Catalin Marinas</name>
<email>catalin.marinas@arm.com</email>
</author>
<published>2009-11-04T12:19:05+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=c97c5aa83c41a532bc67da356d77da929bc41b9c'/>
<id>urn:sha1:c97c5aa83c41a532bc67da356d77da929bc41b9c</id>
<content type='text'>
The RealView PBX board has two 512MB blocks of memory - one at
0x70000000 (with 256MB mirror at 0) and another at 0x20000000. Only the
block at 0x70000000 (or the mirror at 0) may be used for DMA (e.g.
framebuffer). This patch adds the sparsemem definitions to allow the use
of all the memory split as follows:

  256MB @ 0x00000000 (ZONE_DMA)
  512MB @ 0x20000000 (ZONE_NORMAL)
  256MB @ 0x80000000 (ZONE_NORMAL)

Signed-off-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt;
</content>
</entry>
</feed>
