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

Alan Cox alan at lxorguk.ukuu.org.uk
Fri Aug 31 06:59:39 EDT 2012


On Fri, 31 Aug 2012 11:33:51 +0100
Russell King - ARM Linux <linux at arm.linux.org.uk> wrote:

> On Fri, Aug 31, 2012 at 12:29:04PM +0200, Matthieu CASTET wrote:
> > Alan Cox a écrit :
> > > On Fri, 31 Aug 2012 11:21:56 +0200
> > > Matthieu CASTET <castet.matthieu at free.fr> wrote:
> > > 
> > >> Signed-off-by: Matthieu Castet <matthieu.castet at parrot.com>
> > >> ---
> > >>  drivers/tty/hvc/hvc_dcc.c |   34 ++++++++++++++++++++++++++++++++++
> > >>  1 file changed, 34 insertions(+)
> > > 
> > > This is a step in the wrong direction. This should all be runtime handled
> > > 
> > > NAK.
> > > 
> > 
> > AFAIK you can't build a arm kernel that support arm6/armv7 and armv5.
> > And I am not sure it will be possible one day.
> 
> 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



More information about the linux-arm-kernel mailing list