Re: [PATCH 3/4] Fix remaining big endian issue of hfcmulti

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Karsten Keil <kkeil@...>
Cc: Sean MacLennan <smaclennan@...>, Linus Torvalds <torvalds@...>, Andreas.Eversberg <Andreas.Eversberg@...>, <isdn4linux@...>, <linux-kernel@...>
Date: Tuesday, August 5, 2008 - 8:33 pm

On Wed, 2008-08-06 at 02:18 +0200, Karsten Keil wrote:

That's probably the best way. On powerpc, we have done a lot of work
to make it possible to have kernels support multiple platforms
even in the embedded space. You don't have to do it, but we found it
important to allow for it.

It forces to keep the code cleaner, but also makes it possible for
somebody release a range of products based on different designs to
support/release single binary images for the entire product range
(at least provided it's the same CPU core "family", we don't currently
support single binaries mixing for example 44x and 8xx processor
support). What to actually do at runtime being decided based on the
content of a "device-tree" passed to the kernel by the firmware or the
boot wrapper.

Thus, I find it a good idea to allow the option even for embedded
drivers to be built with runtime detection of access method.

Cheers,
Ben.


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 3/4] Fix remaining big endian issue of hfcmulti, Karsten Keil, (Sat Aug 2, 10:35 am)
Re: [PATCH 3/4] Fix remaining big endian issue of hfcmulti, Benjamin Herrenschmidt, (Tue Aug 5, 12:29 am)
Re: [PATCH 3/4] Fix remaining big endian issue of hfcmulti, Benjamin Herrenschmidt, (Tue Aug 5, 9:04 am)
Re: [PATCH 3/4] Fix remaining big endian issue of hfcmulti, Benjamin Herrenschmidt, (Tue Aug 5, 5:43 pm)
Re: [PATCH 3/4] Fix remaining big endian issue of hfcmulti, Benjamin Herrenschmidt, (Tue Aug 5, 5:45 pm)
Re: [PATCH 3/4] Fix remaining big endian issue of hfcmulti, Benjamin Herrenschmidt, (Tue Aug 5, 5:46 pm)
Re: [PATCH 3/4] Fix remaining big endian issue of hfcmulti, Benjamin Herrenschmidt, (Tue Aug 5, 8:33 pm)
Re: [PATCH 3/4] Fix remaining big endian issue of hfcmulti, Benjamin Herrenschmidt, (Tue Aug 5, 7:04 pm)
Re: [PATCH 3/4] Fix remaining big endian issue of hfcmulti, David Woodhouse, (Mon Aug 4, 8:03 am)