Received: by 10.192.165.148 with SMTP id m20csp802501imm; Fri, 27 Apr 2018 07:45:54 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqrfUUz0L+hXtKUN0k/r5PSPg40KroAgfKk5pyxvAt4C2aaD82UWDq4QgccxlEdRA4YEP8F X-Received: by 2002:a17:902:5329:: with SMTP id b38-v6mr2626507pli.326.1524840354003; Fri, 27 Apr 2018 07:45:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524840353; cv=none; d=google.com; s=arc-20160816; b=wNVz4yMDJuI0FjesK4BOPoxN7eTC3Z4jHjMa2LWvNYNXEoJBzIGzsLJIFa7G58fm1R 1N/lch74VnCCL7HQVrtq82u1Xow8b17cB80Cp9loX5X+i5d9I1TH5h7CKll4tim6E00x R+NhtB563q3O1gMwHTuXU1/jPQEegNTi84Yu7dsSnjKCr04yZaIQVrtWg0vC7zQmlVaB rd9DnCP5c3ytGffy4eLdfqtL59IHZNnrjrJBrjJiJC2FFm42ea9q+Nkgxm9yKqsp57xL cW52EUER8+CWx5n9VRaQDUzRid5nRsqlfqfNXv5/bnEogDOxFdGTzhaTjVcu80duI4sd c4Ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from:dmarc-filter :arc-authentication-results; bh=L2qk19awW6h0P3DQfk9t+1WuqqGfNlX5lfe8n289KyM=; b=w2u9vAi8IxwIu1+t+VYqsYDqCBwWLUBvUdUqzmCOYPTaYPn2Pa5DPHCdNbr4+7MfRX lKFkaA3amlJf2n/2SCNI2l5c+25+tZlxg4FeJ/cRjRJk5q19PaqRGrDdtwl9RY4x/hxQ so4qTa+RO6sFJ1lDXzUO6TxNjy0SM3G0oEd7JiG9+YaIUACBTmNN/hyzetJU5Ug5H5R4 L3xC5h0W3ufKQ3L5C66jpg8BK0vB/kVPJgO7iO7s+tHzmmgKxVHJzmkM5sUd81Kvp6CZ x9biIdkC5O77Xb3Q6cxzOEyReHDsIYIn5AykIz5Zt4s7a0HtYkd2EJ3s2CMSfd38zNN8 kjuA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e12-v6si1341075pgn.339.2018.04.27.07.45.40; Fri, 27 Apr 2018 07:45:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934600AbeD0Oof (ORCPT + 99 others); Fri, 27 Apr 2018 10:44:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:53962 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934473AbeD0OIW (ORCPT ); Fri, 27 Apr 2018 10:08:22 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1117221892; Fri, 27 Apr 2018 14:08:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1117221892 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: mail.kernel.org; spf=fail smtp.mailfrom=gregkh@linuxfoundation.org From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, kbuild test robot , Michal Simek , Arnd Bergmann Subject: [PATCH 4.14 61/80] microblaze: Setup dependencies for ASM optimized lib functions Date: Fri, 27 Apr 2018 15:58:54 +0200 Message-Id: <20180427135736.043358702@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180427135732.928644313@linuxfoundation.org> References: <20180427135732.928644313@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Michal Simek commit 18ffc0cce4ff947a2acc9b2e06ae5309a6e6fb43 upstream. The patch: "microblaze: Setup proper dependency for optimized lib functions" (sha1: 7b6ce52be3f86520524711a6f33f3866f9339694) didn't setup all dependencies properly. Optimized lib functions in C are also present for little endian and optimized library functions in assembler are implemented only for big endian version. Reported-by: kbuild test robot Signed-off-by: Michal Simek Cc: Arnd Bergmann Signed-off-by: Greg Kroah-Hartman --- arch/microblaze/Kconfig.platform | 1 + arch/microblaze/lib/fastcopy.S | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) --- a/arch/microblaze/Kconfig.platform +++ b/arch/microblaze/Kconfig.platform @@ -20,6 +20,7 @@ config OPT_LIB_FUNCTION config OPT_LIB_ASM bool "Optimalized lib function ASM" depends on OPT_LIB_FUNCTION && (XILINX_MICROBLAZE0_USE_BARREL = 1) + depends on CPU_BIG_ENDIAN default n help Allows turn on optimalized library function (memcpy and memmove). --- a/arch/microblaze/lib/fastcopy.S +++ b/arch/microblaze/lib/fastcopy.S @@ -29,10 +29,6 @@ * between mem locations with size of xfer spec'd in bytes */ -#ifdef __MICROBLAZEEL__ -#error Microblaze LE not support ASM optimized lib func. Disable OPT_LIB_ASM. -#endif - #include .text .globl memcpy