From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 830BBC433ED for ; Tue, 11 May 2021 16:24:13 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1CCFA6187E for ; Tue, 11 May 2021 16:24:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1CCFA6187E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=oBVQTlUBUQDNVnwUoktkJR3hFj+pAfx0XM5ju3HjV/w=; b=IvwmEamrBn/HJlQcyUJVwWJ6OD rDlYQj/Iy/CQpHAdVWBexm7XIQzeKoeNmronAjNRgqbjnPxGHh4WiANN+Ukns59wTEk25mU1JfjT2 CDCim/DCUAtupx8Ez5szR0BHZaELCiOy0cMSQ6P/GOyhicCFQ3XyViP9ojwggyXUYNbq7nI07Rh/V ryY1FcKBUKtn7o97KNi8WgKWJmFk8oZxPLumNY8FrdWc8FRbXB9BbdRBYYDWLrXPZsz5MxNrAAPST 46Xj/yXtVFWUSc5sPXYFRxp18dxnLATwSIKC1Q3IsgyB1DAvJNLBc+jIr1/4CdDvaYPi2GP0VnPPG mkTDyn4w==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lgV9I-000iew-4S; Tue, 11 May 2021 16:22:20 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lgV0F-000glP-Bn for linux-arm-kernel@desiato.infradead.org; Tue, 11 May 2021 16:12:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=rRjHh08f2II0xxupwaTtE7lqPbFbrvxHJTVgHuJxcJo=; b=aGC6+mfgSTujj/48QobT7/6ZAG pm+x5GrtVO0KEJBGrBZvAK1SZx6hv3sJNPCHg+U4gFJKlqRmxEN45jQQ5wShY6YV8855spNA4EhlM cNl5uJRIo5Q/MXdADbMOfidlRm9Xz27hps2MII0QDyfcWRy1QzIZIs9/DRKEsWcPCIQluJMvUzRC1 OReBBGy+pLZYoeqM3xtwm6VHKz9NUtDbJjFGxe6BDz8cyyRXcTFJLouBxpV1wdoD7H4ZFDR9JzE9E Rvf/wh9FOYYzrTJKGyxTqH7cewVGFRTW622IQrrtufX57QHC5awLF+SZPC8Eg+9LrPN+rmPq5BIiA MHo10XnA==; Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lgV0B-009kUV-Iy for linux-arm-kernel@lists.infradead.org; Tue, 11 May 2021 16:12:57 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id BE547D6E; Tue, 11 May 2021 09:12:43 -0700 (PDT) Received: from e110467-lin.cambridge.arm.com (e110467-lin.cambridge.arm.com [10.1.196.41]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id F1D0B3F719; Tue, 11 May 2021 09:12:42 -0700 (PDT) From: Robin Murphy To: will@kernel.org, catalin.marinas@arm.com Cc: linux-arm-kernel@lists.infradead.org, yangyingliang@huawei.com, shenkai8@huawei.com Subject: [PATCH 0/8] arm64: String function updates Date: Tue, 11 May 2021 17:12:30 +0100 Message-Id: X-Mailer: git-send-email 2.21.0.dirty MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210511_091255_691612_E9AD04DB X-CRM114-Status: GOOD ( 10.81 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi all, Since Oli's last attempt[1], the usercopy story has evolved and diverged even more, to the point where the shared template idea no longer really makes sense. While we rethink that, I've split out the straightforward library function updates so those at least don't have to wait any longer. Of course in the meantime things haven't stood still there either, with Cortex Strings being no more, so I've cosmetically refreshed the remaining original patches to match their new upstream state. I've also added some tweaks to a couple more functions that just kind of happened while I was looking at the whole area - arguably the final patch belongs with the future patches tackling usercopy, but I've thrown it in here anyway because it's already done. Robin. [1] https://lore.kernel.org/linux-arm-kernel/20200914151800.2270-1-oli.swede@arm.com/ Robin Murphy (4): arm64: Add assembly annotations for weak-PI-alias madness arm64: Import latest memcpy()/memmove() implementation arm64: Better optimised memchr() arm64: Rewrite __arch_clear_user() Sam Tebbs (4): arm64: Import latest version of Cortex Strings' memcmp arm64: Import latest version of Cortex Strings' strcmp arm64: Import updated version of Cortex Strings' strlen arm64: Import latest version of Cortex Strings' strncmp arch/arm64/include/asm/linkage.h | 8 + arch/arm64/lib/Makefile | 2 +- arch/arm64/lib/clear_user.S | 42 +-- arch/arm64/lib/memchr.S | 65 ++++- arch/arm64/lib/memcmp.S | 330 ++++++++--------------- arch/arm64/lib/memcpy.S | 272 ++++++++++++++++--- arch/arm64/lib/memmove.S | 189 -------------- arch/arm64/lib/strcmp.S | 295 +++++++++------------ arch/arm64/lib/strlen.S | 262 +++++++++++++------ arch/arm64/lib/strncmp.S | 436 ++++++++++++++----------------- 10 files changed, 922 insertions(+), 979 deletions(-) delete mode 100644 arch/arm64/lib/memmove.S -- 2.21.0.dirty _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel