Thread (27 messages) flat view 27 messages, 4 authors, 2011-02-09
STALE5654d

[PATCH v2] ARM: Define wfi() macro for v6 processors

From: Dave Martin <hidden>
Date: 2011-02-08 16:31:02
Also in: linux-omap

On Tue, Feb 8, 2011 at 4:25 PM, Russell King - ARM Linux
[off-list ref] wrote:
On Tue, Feb 08, 2011 at 04:15:15PM +0100, Arnd Bergmann wrote:
quoted
But that doesn't work if you build a combined v5/v6/v7 kernel, because
v5 supports neither form, right? I think to do that, it needs the
same kind of abstraction that we have for a number of other things
like cache management in arch/arm/mm/.
The options are kernels which support v3-v5 or v6-v7. ?There's too big
a change between v5 and v6 to combine those into one kernel.
Indeed... wfi() is a good example of where being generic gets hard...
some v5 processors (typically those with caches) implement the same
MCR supported by v6, but it's not universal.  Typically v4 processors
have no WFI capability.

---Dave
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help