Can't write value into memory ?(E500 V2)

Scott Wood scottwood at freescale.com
Fri Aug 28 01:59:07 EST 2009


wilbur.chan wrote:
> I am using a SMP E500 v2, and I want CPU0 to write some value to a 
> physical address, and  wait for CPU1 to read from it.

Is this under Linux (it is a Linux mailing list...)?  If so, there are 
better ways of communicating that don't involve clobbering random memory 
and overlapping userspace TLB mappings.

> However, it seemed failed to communicate between CPUs by DRAM..  CPU1 
> can not read
>  
> the correct value from the address where CPU1 wrote to.

Do both cores have a mapping with the M bit (memory coherence required) set?

-Scott


More information about the Linuxppc-dev mailing list