From patchwork Mon Oct 17 14:54:19 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: 3540 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp1494273wrs; Mon, 17 Oct 2022 07:58:29 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6HOyOfdp4HR+JXz9vGTVx4N8DRJDuiajrwNB+4c9UsdX0FqdpBhvjs+Yug/J/DKx+gSggU X-Received: by 2002:a17:902:eb83:b0:185:46b7:7de3 with SMTP id q3-20020a170902eb8300b0018546b77de3mr12346017plg.19.1666018709540; Mon, 17 Oct 2022 07:58:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666018709; cv=none; d=google.com; s=arc-20160816; b=mJRKk56VImHpQTHFdJzW5LZBlymUPSjZx6InfkCNH2jpC/0Il+KXjweWyNsCPz7Q64 WK4QI6Z6eNfbFVzRfrVYgXhu2kHqnJKu6PXDYhEZUwDsOsA13XU39MR45/8b17hBs7Nr G9cJCp3k5pB0yp8mEEcFa6ALQf3PkLcV10n0k0UvNcw3fD/r/sN3dR52joYbZbRlXXum CXxRe7V1mXZnO/FqfnTtEuTv7M2ovoezy2qdoO9BkC0YdYcEQ/lgUl/IAUGQQklMguzW /RVLKDj5/oL8KRhoqdZctLsHQKxo9wcxa6JSjmqPIun2yGxArFwcgo0gvuPLhW3FnCqj mxoA== 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=1S3KQsZZZy43K2a1MBAWHSIQ761Il4T/bdB8brQLNgA=; b=otpYtgDcZQdv1cPqbjbicPzfnQC0nRTLDn10zZ7qyvxuoVRVqFMo4/ceo0cgM375Pe B1338Rhbxy8VrPFixECyIITligmoiRGAIZB3QN5tVARw6swzoMnQeEpRTGrmzYKspiML BMvdl1PvntKpDV376+CBV8ZmrCUrrUwtqo7cDyJ5NLlFtG88x0q+sqK1PAzgHYuy1ugA pp7fC7Qf/jbgVTWoFtsbxRMgEfr0RLFDoby2Z8czlGHX6ruDpvdUSIu/pTJ8wxIEEdVv L7Wjf4b46XBGztii+DVbIpis5gll3JgvYDHTm2LUm61QxXzsZb6VitXTKJBkYfdZfXpv JPfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Juj4G5uE; 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 b10-20020a170902d40a00b0017847b1528dsi10586372ple.125.2022.10.17.07.58.16; Mon, 17 Oct 2022 07:58:29 -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=Juj4G5uE; 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 S231514AbiJQO5s (ORCPT + 99 others); Mon, 17 Oct 2022 10:57:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231263AbiJQO4e (ORCPT ); Mon, 17 Oct 2022 10:56:34 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8BECF42D7F; Mon, 17 Oct 2022 07:54:48 -0700 (PDT) Date: Mon, 17 Oct 2022 14:54:19 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1666018460; 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=1S3KQsZZZy43K2a1MBAWHSIQ761Il4T/bdB8brQLNgA=; b=Juj4G5uE3BRmEPlqcf+EBc+DRTeQJjIAf9hGcNAH9v9egIKzRlQthtTg1j13WebtEBKvBZ yQo4ohJUmUiod2dN4okVZFMDtmiIK5EYJk2lzCawRmuKeJDazKniSfLy5xORvizvyYpOzi 35A/JCkb4stAs+CeinADEqOE1McFm0Tne62/+Ubt5dI29y+3UyyAU+NX0yYTMpP/0UbmaX fZnDIoI54zqMe/W++GztnS3A3ADM/1phTkf10lRIwRxi6Y32Kor3N1bx49o97IIDWMqtQs +a3GJfActNxMneV/xJK5QXll/NQoezgUgjnR04jzn0SnQnu26lW/4gvxT5P9kA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1666018460; 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=1S3KQsZZZy43K2a1MBAWHSIQ761Il4T/bdB8brQLNgA=; b=PeRYpFqmybyxIniPJxXRtebPECmwBCWb6acHcWKeP62sAi+CC9RCGT8lWjqYXNbPF/KRDx 38ueZ2TlfXpQlSAw== 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/camellia: Remove redundant alignments Cc: Thomas Gleixner , "Peter Zijlstra (Intel)" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20220915111144.248229966@infradead.org> References: <20220915111144.248229966@infradead.org> MIME-Version: 1.0 Message-ID: <166601845925.401.4434058050849518729.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?1746947234843967087?= X-GMAIL-MSGID: =?utf-8?q?1746947234843967087?= The following commit has been merged into the x86/core branch of tip: Commit-ID: f6dabc817e1f0da8f4088734ad0b9814adad0bce Gitweb: https://git.kernel.org/tip/f6dabc817e1f0da8f4088734ad0b9814adad0bce Author: Thomas Gleixner AuthorDate: Thu, 15 Sep 2022 13:10:52 +02:00 Committer: Peter Zijlstra CommitterDate: Mon, 17 Oct 2022 16:41:00 +02:00 crypto: x86/camellia: 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.248229966@infradead.org --- arch/x86/crypto/camellia-aesni-avx-asm_64.S | 2 -- arch/x86/crypto/camellia-aesni-avx2-asm_64.S | 4 ---- 2 files changed, 6 deletions(-) diff --git a/arch/x86/crypto/camellia-aesni-avx-asm_64.S b/arch/x86/crypto/camellia-aesni-avx-asm_64.S index 2e1658d..4a30618 100644 --- a/arch/x86/crypto/camellia-aesni-avx-asm_64.S +++ b/arch/x86/crypto/camellia-aesni-avx-asm_64.S @@ -712,7 +712,6 @@ SYM_FUNC_END(roundsm16_x4_x5_x6_x7_x0_x1_x2_x3_y4_y5_y6_y7_y0_y1_y2_y3_ab) .text -.align 8 SYM_FUNC_START_LOCAL(__camellia_enc_blk16) /* input: * %rdi: ctx, CTX @@ -799,7 +798,6 @@ SYM_FUNC_START_LOCAL(__camellia_enc_blk16) jmp .Lenc_done; SYM_FUNC_END(__camellia_enc_blk16) -.align 8 SYM_FUNC_START_LOCAL(__camellia_dec_blk16) /* input: * %rdi: ctx, CTX diff --git a/arch/x86/crypto/camellia-aesni-avx2-asm_64.S b/arch/x86/crypto/camellia-aesni-avx2-asm_64.S index 0e4e9ab..deaf62a 100644 --- a/arch/x86/crypto/camellia-aesni-avx2-asm_64.S +++ b/arch/x86/crypto/camellia-aesni-avx2-asm_64.S @@ -221,7 +221,6 @@ * Size optimization... with inlined roundsm32 binary would be over 5 times * larger and would only marginally faster. */ -.align 8 SYM_FUNC_START_LOCAL(roundsm32_x0_x1_x2_x3_x4_x5_x6_x7_y0_y1_y2_y3_y4_y5_y6_y7_cd) roundsm32(%ymm0, %ymm1, %ymm2, %ymm3, %ymm4, %ymm5, %ymm6, %ymm7, %ymm8, %ymm9, %ymm10, %ymm11, %ymm12, %ymm13, %ymm14, %ymm15, @@ -229,7 +228,6 @@ SYM_FUNC_START_LOCAL(roundsm32_x0_x1_x2_x3_x4_x5_x6_x7_y0_y1_y2_y3_y4_y5_y6_y7_c RET; SYM_FUNC_END(roundsm32_x0_x1_x2_x3_x4_x5_x6_x7_y0_y1_y2_y3_y4_y5_y6_y7_cd) -.align 8 SYM_FUNC_START_LOCAL(roundsm32_x4_x5_x6_x7_x0_x1_x2_x3_y4_y5_y6_y7_y0_y1_y2_y3_ab) roundsm32(%ymm4, %ymm5, %ymm6, %ymm7, %ymm0, %ymm1, %ymm2, %ymm3, %ymm12, %ymm13, %ymm14, %ymm15, %ymm8, %ymm9, %ymm10, %ymm11, @@ -748,7 +746,6 @@ SYM_FUNC_END(roundsm32_x4_x5_x6_x7_x0_x1_x2_x3_y4_y5_y6_y7_y0_y1_y2_y3_ab) .text -.align 8 SYM_FUNC_START_LOCAL(__camellia_enc_blk32) /* input: * %rdi: ctx, CTX @@ -835,7 +832,6 @@ SYM_FUNC_START_LOCAL(__camellia_enc_blk32) jmp .Lenc_done; SYM_FUNC_END(__camellia_enc_blk32) -.align 8 SYM_FUNC_START_LOCAL(__camellia_dec_blk32) /* input: * %rdi: ctx, CTX