Memory coherency on MPC8272
Dan Malek
dan at embeddedalley.com
Sat Jun 23 05:35:36 EST 2007
On Jun 22, 2007, at 10:28 AM, Dmitri Petchkine wrote:
> My understanding that the security hardware of MPC8272 uses DMA to
> write
> results into the memory which may cause a coherency problem.
Where did you get such an (incorrect) understanding?
I suggest you acquire your understanding from reading the
MPC8272 reference manual, since it describes the cache
and snooping options between the SEC and memory,
as well as among the SEC units.
> My exposure to such hardware issues is very limited, so I
> appreciate any
> advice on how to fix it.
The code snippet clearly shows you don't understand
the user/kernel interface, since your access to "param" isn't
correct. The SEC is complex and has subtle control
considerations, any part of this could be incorrect. I
suspect your coding errors are hidden/highlighted
by adding the code for the printing, not the actual
operation itself.
-- Dan
More information about the Linuxppc-embedded
mailing list