Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4619672rdb; Fri, 15 Sep 2023 07:37:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFM1VqjQwBRKEqrtIc0xmJ+u83I1Qmk0NkiJThmLYxi9Ym/qazFQ12oxqPKMHM7Yoloypix X-Received: by 2002:a05:6a20:978a:b0:159:fe1d:2f32 with SMTP id hx10-20020a056a20978a00b00159fe1d2f32mr1868513pzc.42.1694788623453; Fri, 15 Sep 2023 07:37:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694788623; cv=none; d=google.com; s=arc-20160816; b=ZWDzEJtbcLBfUqS8LU/ZkAROMpXg/pLlkDvx/PFNP/b3r3dBXMTKMWdCW2L12T4nyP 1rSL61//FdTXUh6gJMtkYTdeVWukqFNDYEcRm3tyrPWRBzH7IJgtGkpjNV9cobDQhDTz tLZqkami2p8xasHNNc91DP1IbQhRvnttcePEL54cHbO97x5d4ig+I5mTnDUpIJDd/zUv 18JsecXCqrf4yaF9sl57cRYqQjjHEYpVwpLwz54hfyYiZDJq7jlf/OaiCMlz8jScEad+ l5NrWFtnTfYCxFjv5yn5lFYPU5TpmKptjXb5KbrPGKtERLxPHti4vRAc0/ZDpALXvR5b GuSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=lXjvd3TJSQ6cqva6/5eqdL2+87WjyD9vjXEISda8nlY=; fh=zSdUlvSxPyFLToIekewavXMSrKarTu6RX39MMXAd1CE=; b=OUfSLFzU1chivaDpi43pRDpZg6y1eD6gfNCt/53it7A3z8wJodr3PoKLQQb+FKGTc/ /+nI1tIcvq3wIcXTibCVZKnXdpNKQvII+5vMUW6KFnS8ESLAuKtE2Vbti9gommOe6r66 CXXRVx/hI/+NnRpkbLZxINdn7ehVQnO1ywgqmn91I60EVZZkSWknpjJNNIEIxznGGst4 Hy5cgX/Dcz/c6mjo1Uhiyfl5w5t4Hm4tIoosg+4cjA/mQVdV5epvSLaGcWc2JXDc4cQU nd79qeIfYExlEi9OrT3AHoANBILpRK/Yda3URTaplvDNGAhT2rgFWH+i4X/ZvqJx3pCj Natw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=qScOy0tO; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id z66-20020a633345000000b00577b70e2a50si3333570pgz.823.2023.09.15.07.37.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 07:37:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=qScOy0tO; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 79EC683B425A; Fri, 15 Sep 2023 06:29:49 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235229AbjION3w (ORCPT + 99 others); Fri, 15 Sep 2023 09:29:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235281AbjION3w (ORCPT ); Fri, 15 Sep 2023 09:29:52 -0400 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1038718D; Fri, 15 Sep 2023 06:29:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ellerman.id.au; s=201909; t=1694784578; bh=lXjvd3TJSQ6cqva6/5eqdL2+87WjyD9vjXEISda8nlY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=qScOy0tOOQA6fnha+GtlosxQosWFpa5yzcf4gN/iBxpHFGLtceVHASAO5f8N/A246 EJF4P1xx5SfWr9sFNEVugnBpmH8/r7dVMPze1lFIHaFYTwADXAG6BpX4iyvYoYSkRG oZMXwT0cTcFYnEbbINP7WafKHzB482xLt+zmv2tfk2iAKrPxFogFcN4AwbCFslCS2/ 4iMwrYwffQ/6DzrxZjr5O/AGw4rv7/U7CFa9b4/od9odeGx9ZIkZgf2Hxu1W1YA7Y5 ry7p9r+oQ8Bl14KOojwwKhVIFYfcyqeyTAbDSM/dOP8psV7P3y8qw5vy2CKuo85pyR w3eIK9le5FNyA== Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4RnFR62VCtz4wxd; Fri, 15 Sep 2023 23:29:38 +1000 (AEST) From: Michael Ellerman To: Danny Tsen , linux-crypto@vger.kernel.org Cc: herbert@gondor.apana.org.au, leitao@debian.org, nayna@linux.ibm.com, appro@cryptogams.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, ltcgcw@linux.vnet.ibm.com, dtsen@us.ibm.com, Danny Tsen Subject: Re: [PATCH v2] crypto: vmx: Improved AES/XTS performance of 6-way unrolling for ppc. In-Reply-To: <20230830134911.179765-1-dtsen@linux.ibm.com> References: <20230830134911.179765-1-dtsen@linux.ibm.com> Date: Fri, 15 Sep 2023 23:29:33 +1000 Message-ID: <8734zf7ef6.fsf@mail.lhotse> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, 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 fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Fri, 15 Sep 2023 06:29:49 -0700 (PDT) Danny Tsen writes: > Improve AES/XTS performance of 6-way unrolling for PowerPC up > to 17% with tcrypt. This is done by using one instruction, > vpermxor, to replace xor and vsldoi. > > The same changes were applied to OpenSSL code and a pull request was > submitted. https://github.com/openssl/openssl/pull/21812 Still unmerged as of today. cheers