Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp656586pxa; Wed, 19 Aug 2020 11:09:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzp3jA0X7gvQip+LWvRMd5KbYMIsaIzPMPpp6VZVR4A1FZn6BLdzYr+U3kF2VH4WqB674TD X-Received: by 2002:a05:6402:1c10:: with SMTP id ck16mr25383189edb.151.1597860585550; Wed, 19 Aug 2020 11:09:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597860585; cv=none; d=google.com; s=arc-20160816; b=vo2xeA/JLMe0+niOWYy7aoHIbrudMKmxy2nS575M/vxAlipCyWtps4+ByAQko885Uj H4vT8bzIqt0q7/U2tG7VIRp+qxHqIKPB3aGftW8JIdbuAjRKznEDVr3V9OzEpg/6J9cW Q4DHQikLWl1ghei6+qYrV8JoXdUKod6k74lHQCCi9qIgaVVjtf2qTn6P7fQCKE6lpMCR GUUjMF5zofKSvqQkHMj9idBgTSCkOqjOVnwmy9zHN+aY/CfENrVo+iaVJ/Vb1W0hdPcs nCuEsjMT2gK6t7TpLqlfquq2xOKS9N/QaglkCEI8SNCq2Ki1M1Oeoo0OA6iHiGoBwb6J uuow== 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:ironport-sdr:ironport-sdr; bh=lUjFBWrmuuEpyX60n1Mj++FYMGAXo6GT/JdCR0iRGck=; b=VPL+1rb6NYOaJpGMOzxfRkUXHVjTLpVuSNNCUWTweaBP//KNy16v9YWre6wVvVqbuB wGJGtuoxD2rUorntmE7dCISz14ZRRYgKk9bv9Uu3SKlryxc3VJpnRxgWbdgFoqY3rFWc x5DNUjJcwouUbpu0CHgRrX2X9LlLHYUA9O87MayueJcuf9AwrBICTb61RuwOcsUPUzJw 9M+0twc22F0bYbeX5sRw9Azgg1IQvL+zHb+zq/WTetkTmgURgLJn1vn0wOm/6IgJR2xs KE2JKpu20CAUW6PfU79QZVDobSq1jMN6LXKJlrbhlM6KheOfXR61Kd7QwwKgxxCTnUDx TVAg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o3si15760275ejm.346.2020.08.19.11.09.14; Wed, 19 Aug 2020 11:09:45 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726609AbgHSSJL (ORCPT + 99 others); Wed, 19 Aug 2020 14:09:11 -0400 Received: from mga02.intel.com ([134.134.136.20]:41567 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726435AbgHSSJK (ORCPT ); Wed, 19 Aug 2020 14:09:10 -0400 IronPort-SDR: GgVnQtVLAsj13IvToBMjD4RrCVnLMQiRghDauxVRjEczceYFV1p+Ky/FGGhhnrP9O6qhoi+Haj yGwa56CIfpCw== X-IronPort-AV: E=McAfee;i="6000,8403,9718"; a="142991408" X-IronPort-AV: E=Sophos;i="5.76,332,1592895600"; d="scan'208";a="142991408" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Aug 2020 11:09:09 -0700 IronPort-SDR: BmpW4JVz/MmowLhjarGdOJDyLhM6/+aqrzGwN4H56xS28sZrYzGwoixReaA3vZnuUSbwUm7dO+ 6GRu61erQsjw== X-IronPort-AV: E=Sophos;i="5.76,332,1592895600"; d="scan'208";a="320571428" Received: from iweiny-desk2.sc.intel.com (HELO localhost) ([10.3.52.147]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Aug 2020 11:09:09 -0700 Date: Wed, 19 Aug 2020 11:09:09 -0700 From: Ira Weiny To: Herbert Xu , "David S. Miller" Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, Linus Walleij , Ard Biesheuvel , Megha Dey , Tim Chen Subject: Re: [PATCH 0/2] Cyrpto: Clean up kmap() use Message-ID: <20200819180908.GD3142014@iweiny-DESK2.sc.intel.com> References: <20200811004015.2800392-1-ira.weiny@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200811004015.2800392-1-ira.weiny@intel.com> User-Agent: Mutt/1.11.1 (2018-12-01) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Mon, Aug 10, 2020 at 05:40:13PM -0700, 'Ira Weiny' wrote: > From: Ira Weiny > > While going through kmap() users the following 2 issues were found via code > inspection. Any feedback on these patches? Perhaps I've not included the correct people? Adding some people to the CC list. Specifically, Linus Walleij for the ux500 work. Linus can you comment on the first patch? patch1: https://lore.kernel.org/lkml/20200811004015.2800392-2-ira.weiny@intel.com/ patch2: https://lore.kernel.org/lkml/20200811004015.2800392-3-ira.weiny@intel.com/ Thanks, Ira > > Ira Weiny (2): > crypto/ux500: Fix kmap() bug > crypto: Remove unused async iterators > > crypto/ahash.c | 41 +++------------------------ > drivers/crypto/ux500/hash/hash_core.c | 30 ++++++++++++-------- > include/crypto/internal/hash.h | 13 --------- > 3 files changed, 22 insertions(+), 62 deletions(-) > > -- > 2.28.0.rc0.12.gb6a658bd00c9 >