Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id B6ACEE008CC; Thu, 13 Nov 2014 19:55:35 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from smtp.webfaction.com (mail6.webfaction.com [74.55.86.74]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 65B6CE00837 for ; Thu, 13 Nov 2014 19:55:28 -0800 (PST) Received: from localhost.localdomain (unknown [68.38.40.177]) by smtp.webfaction.com (Postfix) with ESMTP id 9516F20798ED for ; Fri, 14 Nov 2014 03:55:26 +0000 (UTC) From: Bob Cochran To: meta-freescale@yoctoproject.org Date: Thu, 13 Nov 2014 22:55:23 -0500 Message-Id: <1415937323-12498-1-git-send-email-yocto@mindchasers.com> X-Mailer: git-send-email 1.7.9.5 Subject: [meta-fsl-ppc][PATCH V2] linux-qoriq: Remove Altivec from T1040 64-bit defconfig X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Nov 2014 03:55:35 -0000 T1040 uses an E5500 processor, and E5500 doesn't have an Altivec unit This was tested on a t1040rdb Signed-off-by: Bob Cochran --- ...emove-Altivec-from-T1040-64-bit-defconfig.patch | 27 ++++++++++++++++++++ recipes-kernel/linux/linux-qoriq_3.12.bb | 1 + 2 files changed, 28 insertions(+) create mode 100644 recipes-kernel/linux/files/remove-Altivec-from-T1040-64-bit-defconfig.patch diff --git a/recipes-kernel/linux/files/remove-Altivec-from-T1040-64-bit-defconfig.patch b/recipes-kernel/linux/files/remove-Altivec-from-T1040-64-bit-defconfig.patch new file mode 100644 index 0000000..e6cc881 --- /dev/null +++ b/recipes-kernel/linux/files/remove-Altivec-from-T1040-64-bit-defconfig.patch @@ -0,0 +1,27 @@ +From e018761d719e41e3bf108cafafcb5138527752e2 Mon Sep 17 00:00:00 2001 +From: Bob Cochran +Date: Fri, 31 Oct 2014 16:49:57 -0400 +Subject: [meta-fsl-ppc][PATCH] linux-qoriq: Remove Altivec from T1040 64-bit defconfig + +T1040 uses an E5500 processor, and E5500 doesn't have an Altivec unit + +Signed-off-by: Bob Cochran +--- + arch/powerpc/configs/t1040_64bit_smp_defconfig | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/arch/powerpc/configs/t1040_64bit_smp_defconfig b/arch/powerpc/configs/t1040_64bit_smp_defconfig +index 1b987d9..c2005f2 100644 +--- a/arch/powerpc/configs/t1040_64bit_smp_defconfig ++++ b/arch/powerpc/configs/t1040_64bit_smp_defconfig +@@ -1,6 +1,6 @@ + CONFIG_PPC64=y + CONFIG_PPC_BOOK3E_64=y +-CONFIG_ALTIVEC=y ++# CONFIG_ALTIVEC is not set + CONFIG_SMP=y + CONFIG_NR_CPUS=24 + CONFIG_SYSVIPC=y +-- +1.7.9.5 + diff --git a/recipes-kernel/linux/linux-qoriq_3.12.bb b/recipes-kernel/linux/linux-qoriq_3.12.bb index 39270d4..a9f7fa7 100644 --- a/recipes-kernel/linux/linux-qoriq_3.12.bb +++ b/recipes-kernel/linux/linux-qoriq_3.12.bb @@ -5,6 +5,7 @@ SRC_URI = "git://git.freescale.com/ppc/sdk/linux.git;nobranch=1 \ file://Fix-for-CVE-2014-5045-fs-umount-on-symlink-leak.patch \ file://Fix-CVE-2014-5077-sctp-inherit-auth-capable-on-INIT-collisions.patch \ file://Fix-CVE-2014-5471_CVE-2014-5472.patch \ + file://remove-Altivec-from-T1040-64-bit-defconfig.patch \ " SRCREV = "c29fe1a733308cbe592b3af054a97be1b91cf2dd" -- 1.7.9.5