issue about CONFIG_PPC_MMU and CONFIG_SMP define
Hi guys,
I want to simulate compile mutli-core using sequoia(IBM/AMCC 44x processor) source code under kernel arch/powerpc directory.I want to define CONFIG_SMP, I sould define CONFIG_STD_MMU at first,but AMCC 44x don't need to config CONFIG_STD_MMU.Is CONFIG_STD_MMU just for freescale chip? How can I do next? Thanks ahead for your help,
Best regards
Jie Han
---------------------------------
Never miss a thing. Make Yahoo your homepage.
Quoted 3 lines · jie han
Hi guys,
I want to simulate compile mutli-core using sequoia(IBM/AMCC 44x processor) source code under kernel
arch/powerpcdirectory.I want to defineCONFIG_SMP, I sould defineCONFIG_STD_MMUat first,but AMCC 44x don't need to config CONFIG_STD_MMU.IsCONFIG_STD_MMUjust for freescale chip? How can I do next? Thanks ahead for your help,
STD_MMU is for all powerpc cpus with a non-BookE MMU. That includes all the 64-bit parts from IBM to date, pasemi's parts, and 32-bit parts from IBM & Freescale like the 6xx, 7xx, 7xxx, e600 e300, etc. You cannot set this for 44x, because it is a BookE part.
BTW, there's no real relationship between STD_MMU and SMP. It was just a convenient way to restrict the SMP config option in the kernel, since all the Linux configs that currently support SMP are STD_MMU. We will have BookE configs in the future that do support SMP, at which point arch/powerpc/platforms/Kconfig.cputype will be changed to allow SMP to be set for those configs.
You can't enable SMP on 44x right now. It's not supported.
Cheers,
B