This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ARM SMP Linux not recognizing all cores on a  RealView PB with ARM11MPCORE

Note: This was originally posted on 8th March 2010 at http://forums.arm.com

I have  RealView Platform Base Board along with RealView Core Tile both having one ARM11MPCores on each.
Since each ARM11MPCore has 4 cores, there are 8 cores in total.
I am trying to bring up ARM SMP Linux on this using the instructions given at
[url="http://www.arm.com/community/software-enablement/linux.php?tab=Linux+OS+Downloads"]http://www.arm.com/community/software-enab...ux+OS+Downloads[/url]
I am able to run SMP Linux on this system using the binaries provided at this site.
However, if I enumerate the cpuinfo, I see only 4 cores. It does't show the cores belonging to the core tile cpu.
I also tried to build the SMP linux from source along with "CONFIG_NR_CPUS=8" configuration. But no success.
I can see all 8 cores in the scan chain using the Realview ICE JTAG.
I really appreciate any help to resolve this issue.
Thanks
  • Note: This was originally posted on 12th March 2010 at http://forums.arm.com

    Thanks a lot Sim.. That was really helpful....
    Looks like more challenge on the way !!


    The four ARM11 CPUs within each cluster are hardware coherent and therefore able to exchange data freely, however, the two independent clusters (one on each site) are not coherent, and would therefore require additional software driven cache maintainance, or execution with the caches disabled, in order to be able to exchange data.

    I don't believe this is something that SMP Linux is designed to deal with, and would likely require significant porting effort in order to make it usefully identify and utilise all eight CPUs. One option might be to effectively create a very fast network between the two clusters and investigate porting something like LinuxPMI - [url="http://en.wikipedia.org/wiki/LinuxPMI"]en.wikipedia.org/.../url]

    hth
    s.
  • Note: This was originally posted on 8th March 2010 at http://forums.arm.com

    The four ARM11 CPUs within each cluster are hardware coherent and therefore able to exchange data freely, however, the two independent clusters (one on each site) are not coherent, and would therefore require additional software driven cache maintainance, or execution with the caches disabled, in order to be able to exchange data.

    I don't believe this is something that SMP Linux is designed to deal with, and would likely require significant porting effort in order to make it usefully identify and utilise all eight CPUs. One option might be to effectively create a very fast network between the two clusters and investigate porting something like LinuxPMI - [url="http://en.wikipedia.org/wiki/LinuxPMI"]http://en.wikipedia.org/wiki/LinuxPMI[/url]

    hth
    s.