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: 13077511 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 938B5C4332F for ; Tue, 20 Dec 2022 05:42:01 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id CAD2E8E0002; Tue, 20 Dec 2022 00:42:00 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id C5D4D8E0001; Tue, 20 Dec 2022 00:42:00 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id AFDBC8E0002; Tue, 20 Dec 2022 00:42:00 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 9D9F78E0001 for ; Tue, 20 Dec 2022 00:42:00 -0500 (EST) Received: from smtpin23.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 73363C0276 for ; Tue, 20 Dec 2022 05:42:00 +0000 (UTC) X-FDA: 80261588400.23.CCE08B3 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf02.hostedemail.com (Postfix) with ESMTP id 0D89780003 for ; Tue, 20 Dec 2022 05:41:57 +0000 (UTC) Authentication-Results: imf02.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=dyv9hCR8; spf=pass (imf02.hostedemail.com: domain of ebiggers@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=ebiggers@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1671514918; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references:dkim-signature; bh=k3RjLjokBnmp+mv4Blb5yoGknLbtW3VkpRLeXgIzBaM=; b=IDplVAgMbdbLEW9A8dHq1GaWfo/nz1hWHiX2Q878W/mPlVB7FSPdk9xsEEmUF1V9UEVkEK 2CiwLT1Jty6fyFU/wWRCZc7xPdzlqJuYytwt1JkaWaUh6+ukZlAcbKVBzfjQHkn9c1FSOa wXDI5bsZuiaYR30dsJ60w8CeTnGTYHc= ARC-Authentication-Results: i=1; imf02.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=dyv9hCR8; spf=pass (imf02.hostedemail.com: domain of ebiggers@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=ebiggers@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1671514918; a=rsa-sha256; cv=none; b=I+lV74Db6S/4gGisp+XsTIOl2Z8NrStwzYDf+KCHY7CDY/NIpeTkdxrxriNq8bpiLMPptl iJFzPcqk7WJBda/0w2nbuaVEK1B+991LuO4mpJhwOHI4PdjeI6mOA+EFML4LKe+TEwM6j7 Fc4zHfSRZ6fi8q+gp68PTIhT2gHPpP4= 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 dfw.source.kernel.org (Postfix) with ESMTPS id D572F60DD1; Tue, 20 Dec 2022 05:41:56 +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-Stat-Signature: ozd9t1zae1yzqw9prt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aLOqcyKG4Y2ROS09p4AYYaviWDtRuHq1ucEh1ZhKBSXnL6/g2PfQb2YkMbgJrUfHsXlomjzskjM6Ye9dnx9aJVixJSw1GAuRPIQGZarqoj2WnKInB3yyJODzIJigbCnTD83/cvjeEaMM= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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