Endian Issue?

2 messages, 2 authors, 2005-05-02 · open the first message on its own page

Endian Issue?

From: Sanjay Bajaj <hidden>
Date: 2005-05-02 21:34:42

We have linux (lk2.4.27-pre3) running on PPC440GX processor. The =
processor is connected to the Local PCI bus and to our custom device on =
this PCI bus. When we perform the DMA (or for that matter do =
memcpy_fromio()) from PCI bus memory to processor local memory, the data =
in the processor local memory is flipped (4 bytes at a time). Has anyone =
confronted this issue? Any ideas...

Thanks,
Sanjay

Re: Endian Issue?

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2005-05-02 22:09:28

On Mon, 2005-05-02 at 17:27 -0400, Sanjay Bajaj wrote:
We have linux (lk2.4.27-pre3) running on PPC440GX processor. The processor is connected to the Local PCI bus and to our custom device on this PCI bus. When we perform the DMA (or for that matter do memcpy_fromio()) from PCI bus memory to processor local memory, the data in the processor local memory is flipped (4 bytes at a time). Has anyone confronted this issue? Any ideas...
Using your device own DMA capabilities ? could be your device beeing
bogus, or your PCI bus incorrectly wired ...

Ben.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help