Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2181283imm; Mon, 3 Sep 2018 22:24:23 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYBJaKC47DzslkGnYen6RxQT61jVEsDIMDE3mrHoVwahaooyg5KRnQQF3RR035ZcIkbUmKN X-Received: by 2002:a63:1f55:: with SMTP id q21-v6mr8705983pgm.88.1536038663737; Mon, 03 Sep 2018 22:24:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536038663; cv=none; d=google.com; s=arc-20160816; b=b66atNbMqtvJYusj25icQASKs2up3cEc5xEE92zqdjLvrg9XyMlpJQWLC0Gl3eXJv5 3cRKgSfnRRppyYcd9Al15p/Ka7uurpUX6Kc0mR1xmyK07jpTzHr86xrYZzNfJTXG6QOP kEn/eSPdms+IBvp6kbiLqRHTHwlEWKk8Zquu8hNfS2B5sYoZA+Mj4T0VZ4xNaRJZYZI5 nRj2VbtorUOJPAOrYbSvvEkhI2/Jl/UOMWQnTrBeeofoSUKnc2zkiYS4d/YHU9BSMB32 E5n6DJG/OG64GnU6Ny3RgETsRkfUJGxc/HDL5HBP8gxCR8fWYogp46MWA2szw0vt1Qlg Bv6g== 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:arc-authentication-results; bh=EdAWV1M5q1iIbTPOTXDBuUxg0gCYlGBvWgLhB9bsFww=; b=sCGuL3sLDyXkHy56rA3ZV0txK4Hua5fDdXCaqEh9iIRpubEM8YTtFJYpcMhD70A4N2 vAZ9yqlJx63Zve5el7NSJgiCamfmZStoB53Vh5krfGpPYQLPf7gxWu914Isn2msBXXw+ +t9W3XDRam+x1KHDuoDKclObicuey/q4b5VdT2mCmijg5JH2EkGzY52+8qP20x+9uGC6 Vg+TcnaSWLNK+bJuDwutrnA45EoKsyIKya/i4B5A9x5bQGCRRCjvJvPfDtnNUkeZljVQ cXGSD/i+CNasMBXZqPGMY5BF/iGIilxMFt7NIWmNtybwLnC6khCXOYWBm0nuf+56JULV xh+Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k6-v6si19274566plt.111.2018.09.03.22.24.08; Mon, 03 Sep 2018 22:24:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727572AbeIDJp1 (ORCPT + 99 others); Tue, 4 Sep 2018 05:45:27 -0400 Received: from orcrist.hmeau.com ([104.223.48.154]:38918 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726312AbeIDJp1 (ORCPT ); Tue, 4 Sep 2018 05:45:27 -0400 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtps (Exim 4.89 #2 (Debian)) id 1fx3mh-0000Fv-PH; Tue, 04 Sep 2018 13:21:51 +0800 Received: from herbert by gondobar with local (Exim 4.89) (envelope-from ) id 1fx3mh-0003Lr-Ii; Tue, 04 Sep 2018 13:21:51 +0800 Date: Tue, 4 Sep 2018 13:21:51 +0800 From: Herbert Xu To: "Martin K. Petersen" Cc: Jeff.Lien@wdc.com, ard.biesheuvel@linaro.org, david.darrington@wdc.com, hch@infradead.org, jeff.furlong@wdc.com, linux-block@vger.kernel.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, tim.c.chen@linux.intel.com Subject: Re: [PATCH v2 1/3] crypto: Introduce notifier for new crypto algorithms Message-ID: <20180904052151.ys2mtoixeax6jj5w@gondor.apana.org.au> References: <20180827060918.tfz7ljufqhlej4kq@gondor.apana.org.au> <20180830150016.15661-1-martin.petersen@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180830150016.15661-1-martin.petersen@oracle.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 30, 2018 at 11:00:14AM -0400, Martin K. Petersen wrote: > Introduce a facility that can be used to receive a notification > callback when a new algorithm becomes available. This can be used by > existing crypto registrations to trigger a switch from a software-only > algorithm to a hardware-accelerated version. > > A new CRYPTO_MSG_ALG_LOADED state is introduced to the existing crypto > notification chain, and the register/unregister functions are exported > so they can be called by subsystems outside of crypto. > > Signed-off-by: Martin K. Petersen > Suggested-by: Herbert Xu > --- > crypto/algapi.c | 2 ++ > crypto/algboss.c | 2 ++ > crypto/internal.h | 8 -------- > include/crypto/algapi.h | 10 ++++++++++ > 4 files changed, 14 insertions(+), 8 deletions(-) All applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt