Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp109969yba; Mon, 20 May 2019 05:53:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqy2drfckuUVJSFTaf0MrUt87oz89x9DshIrdvS/W9ji/tAW9yR086Md0V+0Z7aftYdhdy2G X-Received: by 2002:a62:5cc6:: with SMTP id q189mr49290396pfb.114.1558356833192; Mon, 20 May 2019 05:53:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558356833; cv=none; d=google.com; s=arc-20160816; b=CfyaGfiPgpHCbe1wFakCj2h7LtpsGGW9G33pqbAmatdG+lS7SwZ+vPa+2CrdPVML3y gLbzJfJVP5DWGm8iH30AfOPc3uwbY1TDJiXvx0VOUrMczPbBMXLHyxor6zbrZwPLDbLc dmaGAchP9nQMvXwuher/WSiRXp5AkGHFB7aA3W5oPrX6KdfXyI1/qVOX4tPXakT9s0o2 sdCOYpiJteAUaAHJWwUJuxhdc4Zya0ntz2qhaUC/bL6Dv0E7G+uPXepgfskF4vFbUXw6 rIGhZJbDdid/9PDCQbFoBdGStdIQqLcELfnBoMit9Y3Upmgu8gMNaiitEvOO2iIpWDli BP6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=5kXQ6vS4Br8b/GkN8FOpSIOl9zcEW2Y4KrZy5M2Bkl4=; b=e3JnszirZNTQRrs0/T/GMEK40W1aMyw1NaNkaafRzUr+9oI6Veq1cA3hqLA43bt8s+ 0Seuh4v3CEfvisCWasNvroZT0k4HiGg0zLHINKFsjztaEkQH1RpoBKFdDvmzB2bo4ypy XurKMRPckBCTP4P5X4rOUCwdy61pwtQgjD/eJzRcKpZB8/qEk9Zt5JhJM4sHuF0Mt6bE zpQHqMravkt+JIkqNF4Uy97rRaumXQ30KK9NW2/QpOOtOG6tCx55BtLieJdsWoyP8q/1 uV44CImbWdyhefbPdFtZcSjOKwetQXEkYO6yQqBU5+7BeUd/ay/Xf6rc6nU81apo/m9q DU2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@benyossef-com.20150623.gappssmtp.com header.s=20150623 header.b="Yx6LH/QB"; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-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 g137si8322957pfb.244.2019.05.20.05.53.33; Mon, 20 May 2019 05:53:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@benyossef-com.20150623.gappssmtp.com header.s=20150623 header.b="Yx6LH/QB"; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733119AbfETMxA (ORCPT + 99 others); Mon, 20 May 2019 08:53:00 -0400 Received: from mail-vk1-f194.google.com ([209.85.221.194]:36871 "EHLO mail-vk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733219AbfETMSC (ORCPT ); Mon, 20 May 2019 08:18:02 -0400 Received: by mail-vk1-f194.google.com with SMTP id j124so297905vkb.4 for ; Mon, 20 May 2019 05:18:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=benyossef-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=5kXQ6vS4Br8b/GkN8FOpSIOl9zcEW2Y4KrZy5M2Bkl4=; b=Yx6LH/QBl9AFZ1DfZ3Mwi+k36+t6Xj5HfRu5wUC6OlUof7wTBotOL3t1bRiVkZ1XTr kBXZTpQ/OMpZ0PkZskacBuBO2xAWvS17siok2nvGgnQD5AxPW+ZcXuad/XakbtWYtZvo T1belaPyupntkOEmLZRAwYRX7ttz5yM5rcFeASiVLucqVMNXDoWD60wcCK1JRV2Pt33l zTQckKj8Ho2tFI8GH4rgB1WREuRPozYS2ZflbTJOLmVCHoaMvQ6tA5n6eZCAc0iirkSi ObdBdoTbsVEk3SwqddZ7u53K3WRIyN+H/ew9oeBvwTVzKBwPOh4O2bJOTNJWfTDGWCms QOKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=5kXQ6vS4Br8b/GkN8FOpSIOl9zcEW2Y4KrZy5M2Bkl4=; b=kBxiEbyuELVmVjbtZ3WkiG8+7uAqI9dHM6dSfLU55Vu1pvYlkt4hZFfqIX6klYfv+Z EZhsrVvayOB5gQVhX9kWJTHFZqQRgOdpD+rRpWVlnow/9q71DrDG/9hw8HX14up5Gl4K wRKl4e2pZ89FHj2iJO9WqRUDIH4tGdMcrchkNvuGgs6BQaHCFD+VYjEQzJgKQOBLyfiK jnAAE6E3FxnqkwA3nSo/ApJ74UaICaH+H8/9amSh6Mv6I9Mkwm/+ClfhjJgZ81wnfX8H L8bu7Y6ZRttsl/NLTELkY3kPwEcOq5bxrW5H+D5Cvg8J4CYYoxzx/H+m53aQiuzKwXop bXJA== X-Gm-Message-State: APjAAAWnkScCxEjkB5WGkw6q6Fx7kOSAhwD29A9WUagKafDVXGWNZvPE 9j8zk5h6LjE+qraD1a34K6D3L+BCsmlpYNjlTOUnIw== X-Received: by 2002:a1f:2e8e:: with SMTP id u136mr6454712vku.1.1558354681339; Mon, 20 May 2019 05:18:01 -0700 (PDT) MIME-Version: 1.0 References: <20190520115025.16457-1-gilad@benyossef.com> <20190520115025.16457-2-gilad@benyossef.com> <20190520120903.GB13524@kroah.com> In-Reply-To: <20190520120903.GB13524@kroah.com> From: Gilad Ben-Yossef Date: Mon, 20 May 2019 15:17:48 +0300 Message-ID: Subject: Re: [STABLE PATCH 1/2] crypto: ccree: zap entire sg on aead request unmap To: Greg KH Cc: Herbert Xu , "David S. Miller" , stable@vger.kernel.org, Linux Crypto Mailing List , Linux kernel mailing list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Mon, May 20, 2019 at 3:09 PM Greg KH wrote: > > On Mon, May 20, 2019 at 02:50:23PM +0300, Gilad Ben-Yossef wrote: > > We were trying to be clever zapping out of the cache only the required > > length out of scatter list on AEAD request completion and getting it > > wrong. > > > > As Knuth said: "when in douby, use brute force". Zap the whole length o= f > > the scatter list. > > > > Signed-off-by: Gilad Ben-Yossef > > --- > > drivers/crypto/ccree/cc_buffer_mgr.c | 18 ++---------------- > > 1 file changed, 2 insertions(+), 16 deletions(-) > > This does not apply on top of my latest 4.19 tree with the current > pending queue applied, nor does it apply to 5.1 or 5.0. > > How about waiting a few days and resending after I do the next round of > stable updates, so you can rebase on top of them easier? Yes, will do. Thanks, Gilad --=20 Gilad Ben-Yossef Chief Coffee Drinker values of =CE=B2 will give rise to dom!