From patchwork Tue Dec 20 05:40:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Biggers X-Patchwork-Id: 3135 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp2788683wrn; Mon, 19 Dec 2022 21:45:29 -0800 (PST) X-Google-Smtp-Source: AMrXdXtSlyBtHSrZ2kATGUNJBBGIYzCaeDhE8Q3nDZoVwoWWdfhEs+oJRvh/qAo/Nn2IK4CIWDj4 X-Received: by 2002:a62:31c3:0:b0:573:487d:e852 with SMTP id x186-20020a6231c3000000b00573487de852mr12313464pfx.4.1671515129016; Mon, 19 Dec 2022 21:45:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671515128; cv=none; d=google.com; s=arc-20160816; b=ofwb0WgLl9QqmjiKVZMeYmslsJkaUC3ugtYkjH9HGWkizRRX8JQbI1QMSGwYdd4rI7 aTBC46E7Z4HMZBLHHeHL+8dSJrIIwdufEYnVzhlh5ggbkCmGv52iF0dBhuYyO2ccqqd9 86aiEvcFIT2BwFGnFoKEjCAJMVY7hFmTzD5HQX1yYP6DLQ/PiDxli1C76SFf2P7JRkSR LeZnZZ5NfPf1Cpzpdhy+wLE7Hi9FO9hQ3/IEcIp7SWkaZkOYhUoNq3sB9tFRNLHgBUEn VYQNVYAyOIAQXGHHM0wEEkAvswYYHsxcOlDv9s823DhkvjhzY/G6vHrr8+QIQfeBDqEq FSEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=k3RjLjokBnmp+mv4Blb5yoGknLbtW3VkpRLeXgIzBaM=; b=hmuOppQplyQfy7f1wHNpvVwu5242Kk/+gn25Tv2rHNsXL2gMILJuho2AytGHYg+3pY vvTwy/iwrDVscwL56qCvev5kdOGZXdTH1wfVenMfZYfdX5nL5HsFdTF2/DUvjZU5lTN9 uO8lugaz1o/yZxYCidictwp8jGj4nrzZxr9CLMv9hbPYSG42v9wqH36+FuWG0w2zFf5j eAnvoGG9WIQDrDjDzrjRAWBaMZWvbUK8b257+J0TPLK7Y/OAX1w3Il48gq4DNbXNCrAC vSH6oFGXEh4KccQqwM335cm5rldSoMKopOe5YUjQchOjkzjc79KIG3ww32w6DGB/aDdl Xyrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dyv9hCR8; 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=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c8-20020aa78c08000000b0056242234478si11832192pfd.164.2022.12.19.21.45.16; Mon, 19 Dec 2022 21:45:28 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=dyv9hCR8; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232958AbiLTFmD (ORCPT + 99 others); Tue, 20 Dec 2022 00:42:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229500AbiLTFl7 (ORCPT ); Tue, 20 Dec 2022 00:41:59 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4F7C95BC; Mon, 19 Dec 2022 21:41:58 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 8724AB80B4A; Tue, 20 Dec 2022 05:41:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 03933C433D2; Tue, 20 Dec 2022 05:41:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1671514916; bh=aobfGfEvD4AGl4vRZJIYk0SEFsUj+YmTUfc3k7PaaFE=; h=From:To:Cc:Subject:Date:From; b=dyv9hCR8Y5cKQ80uJ7AOscEh/kDAsDsF/psMVIGEwc0LkdOg5NUaH5C0HkfiCuFW8 APy2e/R0Sv2c/yUAuAtJCbtRZ2YpFw+9nNcCAAIhNvWkiCmFo9Ni48HLJ8f6owdZz9 bvaGPQwFQJy8ILpQHBlW733ozfua0bPZIqY1z8QoB67C+m86a2FImqFuVLu8uNHKmM zdPiDDH9x/QnQYik3ctlDWzw+wmZQEc1cHg9bs3J66Nb5NHUxPLb/IsfXd98KFi1Ou 7LJMOzENRw1+SpzJX8XSSYpYhuu4B2HkJHZUDT6gZsEnrpvnLuzKE9H0GScTlzcIAS 1DDhFajrzTg3w== From: Eric Biggers To: linux-crypto@vger.kernel.org Cc: Peter Zijlstra , corbet@lwn.net, will@kernel.org, boqun.feng@gmail.com, mark.rutland@arm.com, catalin.marinas@arm.com, dennis@kernel.org, tj@kernel.org, cl@linux.com, hca@linux.ibm.com, gor@linux.ibm.com, agordeev@linux.ibm.com, borntraeger@linux.ibm.com, svens@linux.ibm.com, Herbert Xu , davem@davemloft.net, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, joro@8bytes.org, suravee.suthikulpanit@amd.com, robin.murphy@arm.com, dwmw2@infradead.org, baolu.lu@linux.intel.com, Arnd Bergmann , penberg@kernel.org, rientjes@google.com, iamjoonsoo.kim@lge.com, Andrew Morton , vbabka@suse.cz, roman.gushchin@linux.dev, 42.hyeyoo@gmail.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-s390@vger.kernel.org, iommu@lists.linux.dev, linux-arch@vger.kernel.org Subject: [PATCH 0/3] crypto: x86/ghash cleanups Date: Mon, 19 Dec 2022 21:40:39 -0800 Message-Id: <20221220054042.188537-1-ebiggers@kernel.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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?1752710647798304060?= X-GMAIL-MSGID: =?utf-8?q?1752710647798304060?= These patches are a replacement for Peter Zijlstra's patch "[RFC][PATCH 02/12] crypto/ghash-clmulni: Use (struct) be128" (https://lore.kernel.org/r/20221219154118.955831880@infradead.org). Eric Biggers (3): crypto: x86/ghash - fix unaligned access in ghash_setkey() crypto: x86/ghash - use le128 instead of u128 crypto: x86/ghash - add comment and fix broken link arch/x86/crypto/ghash-clmulni-intel_asm.S | 6 +-- arch/x86/crypto/ghash-clmulni-intel_glue.c | 45 +++++++++++++++------- 2 files changed, 35 insertions(+), 16 deletions(-) base-commit: 6feb57c2fd7c787aecf2846a535248899e7b70fa