Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1156483ybh; Thu, 16 Jul 2020 04:55:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzG82em3EIfzEZDAbxifRAnT/J4eXLYnKl5ImfkJl2rwooFyZ9xKQq6uFC9PIP72ucW2fQC X-Received: by 2002:a50:f109:: with SMTP id w9mr3963745edl.277.1594900532268; Thu, 16 Jul 2020 04:55:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594900532; cv=none; d=google.com; s=arc-20160816; b=J1+dsgtjP/Ev0Jf1jBCCemW6M8AXlW3VI6U9SC2Hb2uxoF0uyAGx73RF/X5jZkMMCL 7RXWmMDSqK7VteZbDij0foNKq1ykcDPC+p71xOYA3iz1r0v5iPbKcBH3I4AU/8ooTljx nlRBPg8D8y/DvQpwA1u9oKrPLqDp+iLQ3VGcp7zTRMM64S2/oUFi30TCROF+NhGYAm0e XxietVmtvhL+AJ5VqYE41vCxkS+mWUjBcoH/k6/D16Y8CiaHkiU/uo/5KWdSLpJJZqPz drKKqYSHSz/qXJIbWZMGgYTIwHYeciXGq5IqbEkvqdQAYugLhYN0ydrRd6jNp7mzyonw HkNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=jsxC2Jy9lbkbA33VU4P+SiW5wkWPyubFVwc5LL9GSJw=; b=xloWqSGJClqvhvCty3ICf0zZaHoBXXfUMmNL/2kbll9YkuDBYJ5f2m03iaslQe4oO+ zLb+gOgQBs0PdWivat02hpWO2tD1AZ4tvbUKNK2d7ZN6ehmTJK4YZrGxb3u7FRLHxCE1 v8idQVCEcjkwnypvy83bGf0aEHZeV9IT0MxUrlZhVVYbyFnBj5y/+uGWy8657oVuZy66 +IKvNJ9BlN//FGsPMhhMZtqJPITa6OVwJK/UmGO2EnAVBYI9N6t+S4uCNg4wQsCUTb57 b3ObDcAB99OYS3B5QkuZWpuj+uk8nICjvj04fCzbXhluTZGRB2D9/BAAx8shpHN7LBG7 nkcA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id oq5si3069174ejb.110.2020.07.16.04.55.09; Thu, 16 Jul 2020 04:55:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728268AbgGPLyz (ORCPT + 99 others); Thu, 16 Jul 2020 07:54:55 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:40092 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727081AbgGPLyz (ORCPT ); Thu, 16 Jul 2020 07:54:55 -0400 Received: from gwarestrin.arnor.me.apana.org.au ([192.168.0.7]) by fornost.hmeau.com with smtp (Exim 4.92 #5 (Debian)) id 1jw2TR-0008Nc-DU; Thu, 16 Jul 2020 21:54:50 +1000 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Thu, 16 Jul 2020 21:54:49 +1000 Date: Thu, 16 Jul 2020 21:54:49 +1000 From: Herbert Xu To: Uros Bizjak Cc: linux-crypto@vger.kernel.org, x86@kernel.org, linux-kernel@vger.kernel.org, "David S. Miller" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" Subject: Re: [PATCH] crypto/x86: Remove include/asm/inst.h Message-ID: <20200716115449.GF31166@gondor.apana.org.au> References: <20200709150857.4304-1-ubizjak@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200709150857.4304-1-ubizjak@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Thu, Jul 09, 2020 at 05:08:57PM +0200, Uros Bizjak wrote: > Current minimum required version of binutils is 2.23, > which supports PSHUFB, PCLMULQDQ, PEXTRD, AESKEYGENASSIST, > AESIMC, AESENC, AESENCLAST, AESDEC, AESDECLAST and MOVQ > instruction mnemonics. > > Substitute macros from include/asm/inst.h with a proper > instruction mnemonics in various assmbly files from > x86/crypto directory, and remove now unneeded file. > > The patch was tested by calculating and comparing sha256sum > hashes of stripped object files before and after the patch, > to be sure that executable code didn't change. > > Signed-off-by: Uros Bizjak > CC: Herbert Xu > CC: "David S. Miller" > CC: Thomas Gleixner > CC: Ingo Molnar > CC: Borislav Petkov > CC: "H. Peter Anvin" > --- > arch/x86/crypto/aes_ctrby8_avx-x86_64.S | 1 - > arch/x86/crypto/aesni-intel_asm.S | 733 +++++++++++----------- > arch/x86/crypto/aesni-intel_avx-x86_64.S | 1 - > arch/x86/crypto/crc32-pclmul_asm.S | 47 +- > arch/x86/crypto/crc32c-pcl-intel-asm_64.S | 5 +- > arch/x86/crypto/ghash-clmulni-intel_asm.S | 17 +- > arch/x86/include/asm/inst.h | 311 --------- > 7 files changed, 399 insertions(+), 716 deletions(-) > delete mode 100644 arch/x86/include/asm/inst.h Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt