From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751426AbbIJW4M (ORCPT ); Thu, 10 Sep 2015 18:56:12 -0400 Received: from shards.monkeyblade.net ([149.20.54.216]:43172 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750877AbbIJW4K (ORCPT ); Thu, 10 Sep 2015 18:56:10 -0400 Date: Thu, 10 Sep 2015 15:56:06 -0700 (PDT) Message-Id: <20150910.155606.944423642222505007.davem@davemloft.net> To: tim.c.chen@linux.intel.com Cc: herbert@gondor.apana.org.au, hpa@zytor.com, sean.m.gulley@intel.com, mouli_7982@yahoo.com, vinodh.gopal@intel.com, james.guilford@intel.com, wajdi.k.feghali@intel.com, jussi.kivilinna@iki.fi, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/4] crypto: [sha] x86 SHA extension optimization of SHA1 and SHA256 From: David Miller In-Reply-To: <1441924012.4322.0.camel@schen9-desk2.jf.intel.com> References: <1441924012.4322.0.camel@schen9-desk2.jf.intel.com> X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Thu, 10 Sep 2015 15:56:09 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Tim Chen Date: Thu, 10 Sep 2015 15:26:52 -0700 > > The new x86 SHA extensions provide new hardware accelerated instructions > for computing SHA1 and SHA256 hashes. This patch series provide the > assembly routines for SHA1 and SHA256 computation using these new > instructions to the kernel crypto library. For 4K data blocks, we've > seen up to 3.6x speedup over existing SSSE3 enhanced routines in the > kernel crypto library on Broxton platform. > > Refer to SHA extension programming guide in chapter 8.2 of the > Intel Architecture Instruction Set Extensions Programming reference. > https://software.intel.com/sites/default/files/managed/07/b7/319433-023.pdf > > Pre-req patches: > [1] [PATCH] sha: Enable cpuid check for Intel SHA extensions implementations > http://marc.info/?l=linux-kernel&m=144019424304089&w=2 > [2] [Patch] x86/insn: perf tools: Add new SHA instructions > http://marc.info/?l=linux-kernel&m=144119645000679&w=2 Series looks fine to me: Acked-by: David S. Miller