Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2859004ybl; Sun, 2 Feb 2020 08:22:00 -0800 (PST) X-Google-Smtp-Source: APXvYqx4sEjbNyphRl+LnDbVSmKVXMu78f94A6NbsDDuE2jTnG5ydDqp6wUAluKbJKfpR4Mp4XZ+ X-Received: by 2002:aca:4f8e:: with SMTP id d136mr11829827oib.61.1580660520019; Sun, 02 Feb 2020 08:22:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580660520; cv=none; d=google.com; s=arc-20160816; b=JIbh5v2pmRP4MWPDvRzEh6PG3762hfXS1usrrZXPijAvQ7S7I3sZzxLV0u+2AwZ1sr Ac2xpN4fGqvgkjOAFdHLZzZnREFs+Tleg07aoKf+FJiMEKsHI9MdYm45PXmC81vXJ4za bYEw4VYeDVnK23NxdA32AWug8U4SsinK1BG+035Zhemc4qKUvDxjQ7EGWcDyW9mtQOkY vnwsWusCzSB8yjelbOYS/RXgpkUJA59oUuCJof6Q/md8LctsYYfT8UKYi1ayqMGlD3TM RUPEuL7cClXuKKvQfHvQHo3C6EoI4Jl8b6qaTDpBTXBknAvM1mV3bgvkPbiNQ0VnW5ve O4Bw== 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=z4vFhFVKG0YBD0XPtA9xGNCv/BDXDAEGk9Fr40UlAwQ=; b=kmwuxpOqrB9BYIsZBU6OTexNM8liGDShuChWTd3Nkrq5t5zp7GHPsYZJTyWYINrcaW STunUxYae/URXSJWAkKtO4FYRHiA5cQn/8aY8U4BDJOHdb0kL0JOa5qrAqyAx6C9nLYI ii1S1yR92+wLRftz17/DY8AJR6DWqZ5fv3M6ZE+f0KR/tzBMMVYbE0pRiQ+GULcmeTdJ k0JyY+QzDmhsbNJ7Hdkvdv6pN5/RSEtCnwJEPtUXgJJZ4NkAN7CoBR4KyNxOWuKNyIcK H+AYiuZdn1o/MqVx+P+AAnBbSpHYuHK1dowYfKE8WTfb8RU0PTPKV7fRn+TP/ZEsUUOO fBUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@benyossef-com.20150623.gappssmtp.com header.s=20150623 header.b=hBAs0OVt; 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 i5si7350281oif.211.2020.02.02.08.21.48; Sun, 02 Feb 2020 08:22:00 -0800 (PST) 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=hBAs0OVt; 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 S1726930AbgBBQVp (ORCPT + 99 others); Sun, 2 Feb 2020 11:21:45 -0500 Received: from mail-vs1-f68.google.com ([209.85.217.68]:35032 "EHLO mail-vs1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726912AbgBBQVo (ORCPT ); Sun, 2 Feb 2020 11:21:44 -0500 Received: by mail-vs1-f68.google.com with SMTP id x123so7432043vsc.2 for ; Sun, 02 Feb 2020 08:21:44 -0800 (PST) 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=z4vFhFVKG0YBD0XPtA9xGNCv/BDXDAEGk9Fr40UlAwQ=; b=hBAs0OVt/5C+i6kyW+CHbqpB9gOyPcztzdOGnLqZd5PmvPRtm4vj5Yq14SKZEQH+SY 7f889N/sdhK7bafCMvpU1y0a0FO8QTk/CF8hVEEynBHPtdRJ8YxBuRvsgDC5E4bNPBBB 7YHLBYy0Z7P5T2vrz32I0pXDit/bZvnL81pcUQQ9BfR8Sq+QCwTME+Hd298JAY0sQOVo pjZnsd8v3sulZFUUy6fQG0YkTsF4Mrp9vxPQH6cTDUZOInl4YSHDJ059G92JX9+KLByv Yy2EzaiSbRMTfMIhb+F0ZO5/7+UI/jTPldHzlIhh1+AJuBg+JRj936mzOkLRPv6qsOH3 sBkQ== 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=z4vFhFVKG0YBD0XPtA9xGNCv/BDXDAEGk9Fr40UlAwQ=; b=JtfE8turQVNpmLmp20sEPOElAxgIBhq19yEAJKItg21D/zOD2Sc17yd2xs53OT/s/z gEMDcix5ahhzpbV1HldFBTeBGSfHBOjAr1bAE/BIzvETj8e8NUEbkoU0wiLgo4acI1Sc D1RaXOMAv1Zx5yAnaL9FZ71QYEc+3jcKZwyXI4cvSgbQgi2OXL9xbCQUqCu95pZyiITp 9CFFsjMzmPRKj3LCQJI/UdB7PJp4BvvysCwFZsz7ga3JLLnLXp9g4mgNXQZ2hjEghtqI Au41/WlDPP31E0XUaVqxfazkfTRriaT6tp8lXdQ0C8G/w8Dvwl5Cy/FtGGzp9ORFy5Ni c47w== X-Gm-Message-State: APjAAAUtOXEJQmR1BKOdgNwUsvnpWauY+BWapMmRlrf4Yyva4FaXVZvP h+oX9ivTG7+/BgeOXBihW9P9d3zUECJc7dDlv29jgA== X-Received: by 2002:a67:fb14:: with SMTP id d20mr12085906vsr.136.1580660503807; Sun, 02 Feb 2020 08:21:43 -0800 (PST) MIME-Version: 1.0 References: <20200129143757.680-1-gilad@benyossef.com> <20200129143757.680-5-gilad@benyossef.com> In-Reply-To: From: Gilad Ben-Yossef Date: Sun, 2 Feb 2020 18:21:31 +0200 Message-ID: Subject: Re: [PATCH 4/4] crypto: ccree - fix AEAD blocksize registration To: Geert Uytterhoeven Cc: Herbert Xu , "David S. Miller" , Ofir Drang , 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 Sun, Feb 2, 2020 at 5:32 PM Gilad Ben-Yossef wrote= : > > On Thu, Jan 30, 2020 at 3:19 PM Geert Uytterhoeven = wrote: > > > > Hi Gilad, > > > > On Thu, Jan 30, 2020 at 12:33 PM Gilad Ben-Yossef = wrote: > > > On Wed, Jan 29, 2020 at 5:17 PM Geert Uytterhoeven wrote: > > > > On Wed, Jan 29, 2020 at 3:39 PM Gilad Ben-Yossef wrote: > > > > > Fix an error causing no block sizes to be reported during > > > > > all AEAD registrations. > > > > > > > > > > Signed-off-by: Gilad Ben-Yossef > > > > > > > > Thanks, this fixes: > > > > > > > > alg: aead: blocksize for authenc-hmac-sha1-cbc-aes-ccree (0) > > > > doesn't match generic impl (16) > > > > alg: aead: blocksize for authenc-hmac-sha256-cbc-aes-ccree (0) > > > > doesn't match generic impl (16) > > > > > > > > which you may want to mention in the commit description, so > > > > people who search for the error message will find the fix. > > > > > > > > Tested-by: Geert Uytterhoeven > > > > > > > > Note that even after applying this series, the kernel still crashes= with > > > > > > > > kernel BUG at kernel/dma/swiotlb.c:497! > > > > .... > > Thank you! > > I've managed to reproduce this here. > Looking into it now... OK, found it (I think!). Patch sent. I don't understand why this and the previous bugs is not causing problems with other configs (e.g. 32 bit ) but now I have an environment that triggers them I will add it to the usual tests cycle. Thanks again! Gilad --=20 Gilad Ben-Yossef Chief Coffee Drinker values of =CE=B2 will give rise to dom!