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.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,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 AC333C19425 for ; Wed, 9 Dec 2020 10:39:46 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 524E623B79 for ; Wed, 9 Dec 2020 10:39:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 524E623B79 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org 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=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-Id:Date:Subject: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=pOK42A5QYaG1jfTD2I0saqsld/M5n1M+tetEdcT/qFI=; b=YJCj6I5+uPjR2tCeRw6GqHefIE 0xWhLRz7eoV0U9rydv0cH6Am9YfFBRgd/J68HR05xh4EuFNU5O1eSwaQk9IbfPIei6MxGBghKpL/a +NcKXGHa0miL9ey8rvDQeCHM88oJ34DC6RPUWgHrn67zrof/s+cZ/yTyiqi0pnXOkBxm0XIqZGwHx TsFGhsShhrlWkCtLbD5Bc5NAL9NUDb84u8AuN4Q+h5KpyYfazuO65cGs62bEFMBg5O0kMvvoWjnlI rwCT+qUc6H8WvgyyPHkJpoMevt4uisQ6jlIA4Mo8nNm8hHZBdNvsN1G7v8CtDZPiyrLgV3m3x2ub/ ytfq5pkQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kmwre-0000kY-R3; Wed, 09 Dec 2020 10:38:30 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kmwrc-0000jx-Iu for linux-arm-kernel@lists.infradead.org; Wed, 09 Dec 2020 10:38:29 +0000 From: Ard Biesheuvel Authentication-Results: mail.kernel.org; dkim=permerror (bad message/signature format) To: linux@armlinux.org.uk Subject: [PATCH 0/3] ARM: assembler: clean up byte swapping macros Date: Wed, 9 Dec 2020 11:36:31 +0100 Message-Id: <20201209103634.1422-1-ardb@kernel.org> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201209_053828_697499_E5BBA583 X-CRM114-Status: UNSURE ( 7.21 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Geert Uytterhoeven , Eric Biggers , Linus Walleij , Nicolas Pitre , Ard Biesheuvel , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 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 Consolidate the byte swapping macros used in various places, and use them throughout. Patches #2 and #3 will be sent to Herbert for merging via the crypto tree once patch #1 is merged (or if Russell prefers to ack patch #1 instead, the whole series can go through the crypto tree) Cc: Geert Uytterhoeven Cc: Nicolas Pitre Cc: Eric Biggers Cc: Linus Walleij Ard Biesheuvel (3): ARM: assembler: generalize byte swapping macro into rev_32 crypto: arm/aes-scalar - switch to common rev_32/mov_l macros crypto: arm/chacha-scalar - switch to common rev_32 macro arch/arm/boot/compressed/head.S | 5 +-- arch/arm/crypto/aes-cipher-core.S | 42 +++++-------------- arch/arm/crypto/chacha-scalar-core.S | 43 ++++++-------------- arch/arm/include/asm/assembler.h | 11 +++++ 4 files changed, 35 insertions(+), 66 deletions(-) -- 2.17.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel