[PATCH v2] hvc_dcc : add support to armv4 and armv5 core

matthieu castet castet.matthieu at free.fr
Tue Sep 25 13:37:44 EDT 2012

Le Tue, 25 Sep 2012 15:44:57 +0000,
Arnd Bergmann <arnd at arndb.de> a écrit :

> It's not possible to build a kernel that runs on ARMv5 (or below) and
> also on ARMv6 (or above), so the effect would be exactly the same.
> While we are putting a lot of effort into making all sorts of ARMv6
> and ARMv7 based systems work with the same kernel binary, it's highly
> unlikely we would ever need the above to be runtime selected, because
> there are a lot of other differences at assembly level.
I know but Alan was not happy with the static version with ifdef [1]
[2]. That why a dynamic version was done.


> > There are no plans to ever make it possible; there are too many
> > significant differences between ARMv4, v5 architectures and
> > ARMv6,v7 architectures to warrant making this runtime selectable.  
> Then bury this crap in platform files please not in the drivers/tty
> layer code. Make it a platform driver provided callback or something.
> Alan

> > I posted a new v2 patch that make the selection dynamic.  
> Thanks - fine with that one - or with burying it in headers etc in
> the arm subdirs.

More information about the linux-arm-kernel mailing list