diff options
Diffstat (limited to 'recipes-kernel/linux/linux-qoriq/modify-defconfig-t1040-nr-cpus.patch')
| -rw-r--r-- | recipes-kernel/linux/linux-qoriq/modify-defconfig-t1040-nr-cpus.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/recipes-kernel/linux/linux-qoriq/modify-defconfig-t1040-nr-cpus.patch b/recipes-kernel/linux/linux-qoriq/modify-defconfig-t1040-nr-cpus.patch deleted file mode 100644 index 7d109edb5..000000000 --- a/recipes-kernel/linux/linux-qoriq/modify-defconfig-t1040-nr-cpus.patch +++ /dev/null | |||
| @@ -1,33 +0,0 @@ | |||
| 1 | From 8545129540a5862b22aad03badb2a9f93bf29117 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Bob Cochran <yocto@mindchasers.com> | ||
| 3 | Date: Mon, 3 Nov 2014 22:45:35 -0500 | ||
| 4 | Subject: [meta-fsl-ppc][PATCH] linux-qoriq: Change defconfig for T1040 to | ||
| 5 | match number of CPUS | ||
| 6 | |||
| 7 | Having a number higher than necessary for NR_CPUS wastes memory by | ||
| 8 | instantiating unnecessary structures in RAM. An example is in the DPAA where | ||
| 9 | DPAA_ETH_TX_QUEUES is defined based on NR_CPUS and used to create | ||
| 10 | dozens of extra qman_fq structures. Using the prior value of 24, which was | ||
| 11 | left over from the T4240 created an additonal 60 frame queue structures alone. | ||
| 12 | |||
| 13 | This has been tested on t1040rdb-64b. . | ||
| 14 | |||
| 15 | Signed-off-by: Bob Cochran <yocto@mindchasers.com> | ||
| 16 | --- | ||
| 17 | arch/powerpc/configs/corenet32_fmanv3l_smp_defconfig | 2 +- | ||
| 18 | 1 files changed, 1 insertions(+), 1 deletions(-) | ||
| 19 | |||
| 20 | diff --git a/arch/powerpc/configs/corenet32_fmanv3l_smp_defconfig b/arch/powerpc/configs/corenet32_fmanv3l_smp_defconfig | ||
| 21 | index a401e7c..5542248 100644 | ||
| 22 | --- a/arch/powerpc/configs/corenet32_fmanv3l_smp_defconfig | ||
| 23 | +++ b/arch/powerpc/configs/corenet32_fmanv3l_smp_defconfig | ||
| 24 | @@ -1,6 +1,6 @@ | ||
| 25 | CONFIG_PPC_85xx=y | ||
| 26 | CONFIG_SMP=y | ||
| 27 | -CONFIG_NR_CPUS=8 | ||
| 28 | +CONFIG_NR_CPUS=4 | ||
| 29 | CONFIG_EXPERIMENTAL=y | ||
| 30 | CONFIG_SYSVIPC=y | ||
| 31 | CONFIG_POSIX_MQUEUE=y | ||
| 32 | -- | ||
| 33 | 1.7.9.5 | ||
