From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752412AbbCXXEz (ORCPT ); Tue, 24 Mar 2015 19:04:55 -0400 Received: from mail-bl2on0108.outbound.protection.outlook.com ([65.55.169.108]:4544 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751803AbbCXXEx (ORCPT ); Tue, 24 Mar 2015 19:04:53 -0400 X-Greylist: delayed 915 seconds by postgrey-1.27 at vger.kernel.org; Tue, 24 Mar 2015 19:04:53 EDT Date: Tue, 24 Mar 2015 17:44:11 -0500 From: Kim Phillips To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Scott Wood , Joel Stanley , Anton Blanchard , Paul Bolle , Jiri Kosina , Ulrich Weigand , "Alexander Graf" , Stewart Smith , "Kyle Moffett" CC: , Subject: [PATCH 1/3] powerpc/e6500: set FTR_VMX_COPY Message-ID: <20150324174411.9f084e8d41707de42533572a@freescale.com> Organization: Freescale Semiconductor, Inc. X-Mailer: Sylpheed 3.2.0 (GTK+ 2.24.13; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=kim.phillips@freescale.com; vger.kernel.org; dkim=none (message not signed) header.d=none; X-Forefront-Antispam-Report: CIP:192.88.168.50;CTRY:US;IPV:NLI;EFV:NLI;BMV:1;SFV:NSPM;SFS:(10019020)(6009001)(339900001)(199003)(189002)(77156002)(85426001)(46406003)(50226001)(47776003)(62966003)(77096005)(46102003)(92566002)(100306002)(106466001)(23726002)(36756003)(50986999)(33646002)(86362001)(87936001)(19580405001)(19580395003)(229853001)(50466002)(7059030)(921003)(1121003);DIR:OUT;SFP:1102;SCL:1;SRVR:CY1PR03MB1488;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;MLV:sfv;A:1;MX:1;LANG:en; X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR03MB1488; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(5002010)(5005006);SRVR:CY1PR03MB1488;BCL:0;PCL:0;RULEID:;SRVR:CY1PR03MB1488; X-Forefront-PRVS: 0525BB0ADF X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Mar 2015 22:49:33.7850 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d;Ip=[192.88.168.50];Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR03MB1488 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This enables the VMX/ALTIVEC optimised copy-to/from-user code in arch/powerpc/lib/copyuser_power7.S. The e6500 does, and the e5500 does not, have ALTIVEC. Signed-off-by: Kim Phillips --- arch/powerpc/include/asm/cputable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/include/asm/cputable.h b/arch/powerpc/include/asm/cputable.h index 5cf5a6d..66ca94a 100644 --- a/arch/powerpc/include/asm/cputable.h +++ b/arch/powerpc/include/asm/cputable.h @@ -391,7 +391,7 @@ extern const char *powerpc_base_platform; CPU_FTR_L2CSR | CPU_FTR_LWSYNC | CPU_FTR_NOEXECUTE | \ CPU_FTR_DBELL | CPU_FTR_POPCNTB | CPU_FTR_POPCNTD | \ CPU_FTR_DEBUG_LVL_EXC | CPU_FTR_EMB_HV | CPU_FTR_ALTIVEC_COMP | \ - CPU_FTR_CELL_TB_BUG | CPU_FTR_SMT) + CPU_FTR_CELL_TB_BUG | CPU_FTR_SMT | CPU_FTR_VMX_COPY) #define CPU_FTRS_GENERIC_32 (CPU_FTR_COMMON | CPU_FTR_NODSISRALIGN) /* 64-bit CPUs */ -- 2.3.3