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

From: matthieu castet
Date: Tue Sep 25 2012 - 13:38:33 EST


Le Tue, 25 Sep 2012 15:44:57 +0000,
Arnd Bergmann <arnd@xxxxxxxx> 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.


Matthieu


[1]
> > 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

[2]
> > 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/