For the moment the linux-qoriq 32b architecture do not have hardware support for NUMA. Also the NUMA configuration seems available only for 64b architecture. For ensuring a complete NUMA setup and split of the memory/CPU between nodes a commandline argument should also be added: numa=fake=2.
Signed-off-by: Alexandru.Vaduva <[email protected]> --- meta-cgl-common/recipes-kernel/linux/cgl-common.inc | 1 + meta-cgl-common/recipes-kernel/linux/files/cfg/00029-numa.cfg | 2 ++ meta-cgl-fsl-ppc/recipes-kernel/linux/linux-qoriq-cgl-prt_3.12.bb | 3 ++- 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 meta-cgl-common/recipes-kernel/linux/files/cfg/00029-numa.cfg diff --git a/meta-cgl-common/recipes-kernel/linux/cgl-common.inc b/meta-cgl-common/recipes-kernel/linux/cgl-common.inc index 52cf773..acdcc8d 100644 --- a/meta-cgl-common/recipes-kernel/linux/cgl-common.inc +++ b/meta-cgl-common/recipes-kernel/linux/cgl-common.inc @@ -26,5 +26,6 @@ SRC_URI += "file://cfg/00001-systemtap.cfg \ file://cfg/00026-lm-sensors.cfg \ file://cfg/00027-dmidecode.cfg \ file://cfg/00028-bonding.cfg \ + file://cfg/00029-numa.cfg \ " diff --git a/meta-cgl-common/recipes-kernel/linux/files/cfg/00029-numa.cfg b/meta-cgl-common/recipes-kernel/linux/files/cfg/00029-numa.cfg new file mode 100644 index 0000000..5289362 --- /dev/null +++ b/meta-cgl-common/recipes-kernel/linux/files/cfg/00029-numa.cfg @@ -0,0 +1,2 @@ +CONFIG_NUMA=y +CONFIG_NODES_SHIFT=1 diff --git a/meta-cgl-fsl-ppc/recipes-kernel/linux/linux-qoriq-cgl-prt_3.12.bb b/meta-cgl-fsl-ppc/recipes-kernel/linux/linux-qoriq-cgl-prt_3.12.bb index 33c51e2..f68fd09 100644 --- a/meta-cgl-fsl-ppc/recipes-kernel/linux/linux-qoriq-cgl-prt_3.12.bb +++ b/meta-cgl-fsl-ppc/recipes-kernel/linux/linux-qoriq-cgl-prt_3.12.bb @@ -23,7 +23,7 @@ DELTA_KERNEL_DEFCONFIG += "cfg/00001-systemtap.cfg \ cfg/00016-dynamic-probe-insertion-kprobe.cfg \ cfg/00018-ipsec.cfg \ cfg/00019-raid-0.cfg \ - cfg/00020-kexec.cfg \ + cfg/00020-kexec.cfg \ cfg/00021-sctp.cfg \ cfg/00022-coredump.cfg \ cfg/00023-open-scsi.cfg \ @@ -32,5 +32,6 @@ DELTA_KERNEL_DEFCONFIG += "cfg/00001-systemtap.cfg \ cfg/00026-lm-sensors.cfg \ cfg/00027-dmidecode.cfg \ cfg/00028-bonding.cfg \ + cfg/00029-numa.cfg \ " -- 1.9.1 -- _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
