[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130315.081659.636423702994054939.davem@davemloft.net>
Date: Fri, 15 Mar 2013 08:16:59 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: arnd@...db.de
Cc: geert@...ux-m68k.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, isdn@...ux-pingi.de,
netdev@...r.kernel.org, dhowells@...hat.com
Subject: Re: [PATCH] isdn: hisax: netjet requires VIRT_TO_BUS
From: Arnd Bergmann <arnd@...db.de>
Date: Fri, 15 Mar 2013 10:15:00 +0000
> David Howells brought up the topic of endian checks recently, noting
> that the way we define __BIG_ENDIAN and __LITTLE_ENDIAN in the kernel
> is incompatible to how do it in user space, and not much better either.
>
> A few architectures that are bi-endian (arc, arm, c6x, mips, sh) already
> have CONFIG_CPU_IS_LITTLE_ENDIAN and CONFIG_CPU_IS_BIG_ENDIAN. I guess
> it would be a good idea to provide these on all architectures.
I do not want to see us add such a Kconfig dependency knob.
Then the real tendency will exist to make new drivers little-endian
only, refuse to fix endian-broken old drivers, etc.
Which means that allmodconfig on my architecture will have build
coverage on less code, which is really the only thing that matters
for me. I want all drivers that could be effected by my changes
to be compile testable on as many platforms as possible.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists