little endian page mapping on PQ3

Joyeau Sylvain Sylvain.Joyeau at thomson.net
Fri Aug 24 21:40:31 EST 2007


Jose,

You are right, PQ3 supports endianess choice on a per page basis. 
Without any hook in Linux, you can remap physical address range (but RAM), by calling __ioremap() with the "_PAGE_ENDIAN" bit set in the flags.

--
sj

> -----Original Message-----
> From: 
> linuxppc-embedded-bounces+sylvain.joyeau=thomson.net at ozlabs.or
> g 
> [mailto:linuxppc-embedded-bounces+sylvain.joyeau=thomson.net at o
> zlabs.org] On Behalf Of Jose Almeida
> Sent: vendredi 24 août 2007 09:59
> To: Linuxppc-embedded at ozlabs.org
> Subject: little endian page mapping on PQ3
> 
> Hi all,
> 
> Looking at PQ3 documentation, it looks like there is a way to select
> on a page basis if we would like to map one particular page in BIG or
> LITTLE endian.
> This is a very nice feature when you need to exchange some data
> between a PC and a PQ3 target.
> 
> I am wondering if someone have already tryed this PQ3 feature ?
> I guess this would require some kind of hook in the kernel ...
> 
> Any clue ?
> 
> Thanks -  Jose
> 
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded at ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
> 


More information about the Linuxppc-embedded mailing list