From patchwork Mon Oct 17 14:54:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 3539 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp1494252wrs; Mon, 17 Oct 2022 07:58:26 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7w3BTJq+iwD0K3tn5o2xfS8ekn3gBYTFwCNKUo/ua8l44KyNFe8I73lzdgYfy6ilNVamO/ X-Received: by 2002:aa7:84c1:0:b0:563:d2c:c37c with SMTP id x1-20020aa784c1000000b005630d2cc37cmr12786851pfn.24.1666018706545; Mon, 17 Oct 2022 07:58:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666018706; cv=none; d=google.com; s=arc-20160816; b=WgurP2vvLu6jhd1TWQC/O8YQhce6uCoGPaSMKZzmGw5TuvJPNX9vXL8lIEptOX+0ip UzlKm+Dlwynuq0ImlpqSFp4AEBNI2pavPL4NrnWIliMcSWZABlMLbIQ6uw8mfCkn2kO+ BeduosYhY5N2MLy11x3dZ44XrXga5dRhI2h5r3/RgYDJrICnW220BSvwcKzesqUfB5Xg m4vRrFnwJAXoz6xP9wU6Bwa4LCj1uHVZLMkwiFlaAnIV1HoCYzzfyP5noYNQIexu0/mO FPK9U0TK1AYKkXCA25nHa/nwUe1stc+p0dZRxrKhd3lxpwg9D9E1ZXXuXekma9oN1WXP bazQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=1sfzRz4opPhORO9puPX2ktK3rriuKzKuWqkUMoDztAI=; b=JF/qzZZzW/FK/nQKEwKlVMFHNeX87KYurNMyj6BhLscWBCwZPSCfWIrKtXVDSRoceJ 8qg51qTvuCgbkHC3zbeK3GJBB3/XqWy5kFsDez/DY/4450vERrmQfCGZPhWqEI0GPuSG w5hmZQCys06L3mwzDB66afRyjnNmtJE8V2eMbFO9YxaohlV1zQtNPG15l8Ls90J8kHqE 5hWcvf1lsN9pCNV4MCIqZfJnxGnixwtethFbjxr4y5zZoMamo45idgoueO4Bwt+dM6si R+w7OU7GDg566W4fShN9t5m9I46ib6c42+L2KedbIWg1r59pJ30JJS22xGrSa5GHjWYJ w7gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="NZV/JOJz"; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l1-20020a170902f68100b00179d2e2e690si14208274plg.332.2022.10.17.07.58.12; Mon, 17 Oct 2022 07:58:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="NZV/JOJz"; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231483AbiJQO5h (ORCPT + 99 others); Mon, 17 Oct 2022 10:57:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59284 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231375AbiJQO4G (ORCPT ); Mon, 17 Oct 2022 10:56:06 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B39C217891; Mon, 17 Oct 2022 07:54:32 -0700 (PDT) Date: Mon, 17 Oct 2022 14:54:16 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1666018457; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1sfzRz4opPhORO9puPX2ktK3rriuKzKuWqkUMoDztAI=; b=NZV/JOJz0AfDtIHR6V2NobeVFGET9MjOcEXRmns05mHy2hlyjTPbhkzRu6NKsa4nNczKKR iEe7K673jgUDuO6t/ksRKvzUjvLKyq5gom7DVDUcY3ZOIDL4tgjX0Hr9q8S1Ly8+VmqRBP ARjCA6ndLSyzuYQ3X5GO/JmUtq7ZKvd44NaPHC2KlkNymxFu5zkM+U43nQNDE8hhvNtIv9 SmfePCI+y+ntldxglGasb5qdY3ZHGXqjDVyicobBZlatFYYDiIMAAyrGOiAQRUacoy/74C FAQBSKT61AGwVLdnPgEW4GTde2SpxAbMOM/5h1x9PoLViSH+D3QKNcwsry2Ddg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1666018457; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1sfzRz4opPhORO9puPX2ktK3rriuKzKuWqkUMoDztAI=; b=nITvcMEAJ9aM4vuF+FkK1BN0bBhFPunlhOjPBYPsjJrHVyUmp8+rFqeaXdUyMGes50bxIk luPSMXWPNdwCRXBA== From: "tip-bot2 for Thomas Gleixner" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/core] crypto: x86/serpent: Remove redundant alignments Cc: Thomas Gleixner , "Peter Zijlstra (Intel)" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20220915111144.558544791@infradead.org> References: <20220915111144.558544791@infradead.org> MIME-Version: 1.0 Message-ID: <166601845607.401.14987443239536693764.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1746947231373620158?= X-GMAIL-MSGID: =?utf-8?q?1746947231373620158?= The following commit has been merged into the x86/core branch of tip: Commit-ID: 8b44221671ec45d725a4558ff7aa5ea90ecfc885 Gitweb: https://git.kernel.org/tip/8b44221671ec45d725a4558ff7aa5ea90ecfc885 Author: Thomas Gleixner AuthorDate: Thu, 15 Sep 2022 13:10:55 +02:00 Committer: Peter Zijlstra CommitterDate: Mon, 17 Oct 2022 16:41:01 +02:00 crypto: x86/serpent: Remove redundant alignments SYM_FUNC_START*() and friends already imply alignment, remove custom alignment hacks to make code consistent. This prepares for future function call ABI changes. Also, with having pushed the function alignment to 16 bytes, this custom alignment is completely superfluous. Signed-off-by: Thomas Gleixner Signed-off-by: Peter Zijlstra (Intel) Link: https://lore.kernel.org/r/20220915111144.558544791@infradead.org --- arch/x86/crypto/serpent-avx-x86_64-asm_64.S | 2 -- arch/x86/crypto/serpent-avx2-asm_64.S | 2 -- 2 files changed, 4 deletions(-) diff --git a/arch/x86/crypto/serpent-avx-x86_64-asm_64.S b/arch/x86/crypto/serpent-avx-x86_64-asm_64.S index 82f2313..97e2836 100644 --- a/arch/x86/crypto/serpent-avx-x86_64-asm_64.S +++ b/arch/x86/crypto/serpent-avx-x86_64-asm_64.S @@ -550,7 +550,6 @@ #define write_blocks(x0, x1, x2, x3, t0, t1, t2) \ transpose_4x4(x0, x1, x2, x3, t0, t1, t2) -.align 8 SYM_FUNC_START_LOCAL(__serpent_enc_blk8_avx) /* input: * %rdi: ctx, CTX @@ -604,7 +603,6 @@ SYM_FUNC_START_LOCAL(__serpent_enc_blk8_avx) RET; SYM_FUNC_END(__serpent_enc_blk8_avx) -.align 8 SYM_FUNC_START_LOCAL(__serpent_dec_blk8_avx) /* input: * %rdi: ctx, CTX diff --git a/arch/x86/crypto/serpent-avx2-asm_64.S b/arch/x86/crypto/serpent-avx2-asm_64.S index 8ea34c9..6d60c50 100644 --- a/arch/x86/crypto/serpent-avx2-asm_64.S +++ b/arch/x86/crypto/serpent-avx2-asm_64.S @@ -550,7 +550,6 @@ #define write_blocks(x0, x1, x2, x3, t0, t1, t2) \ transpose_4x4(x0, x1, x2, x3, t0, t1, t2) -.align 8 SYM_FUNC_START_LOCAL(__serpent_enc_blk16) /* input: * %rdi: ctx, CTX @@ -604,7 +603,6 @@ SYM_FUNC_START_LOCAL(__serpent_enc_blk16) RET; SYM_FUNC_END(__serpent_enc_blk16) -.align 8 SYM_FUNC_START_LOCAL(__serpent_dec_blk16) /* input: * %rdi: ctx, CTX