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: Sean MacLennan <smaclennan@...>
Cc: Karsten Keil <kkeil@...>, Benjamin Herrenschmidt <benh@...>, Andreas.Eversberg <Andreas.Eversberg@...>, <isdn4linux@...>, <linux-kernel@...>
Date: Tuesday, August 5, 2008 - 5:37 pm

On Tue, 5 Aug 2008, Sean MacLennan wrote:

Umm. Then you can't run a generic driver that can do either. That's the 
worst choice of all.

As to where in the stack to do the choice - I suspect it's easier if it's 
done at the lowest level, but that can cause performance issues (ie 
testing that flag over and over again). The mmio code avoids some of the 
performance issues exactly by doing the "repeat" versions - so for some 
cases you can do the check once at the top, and then just repeat.

		Linus
--
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, Linus Torvalds, (Tue Aug 5, 5:37 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)