Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp535248pxb; Wed, 27 Oct 2021 07:41:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyBSQTXwv/eF685VfBqbj5B4TxxKhZ8otO2kl5eT0g18GOTcSRLhPrzNOyeM3N31cXXmkVX X-Received: by 2002:a63:931d:: with SMTP id b29mr21912071pge.162.1635345674355; Wed, 27 Oct 2021 07:41:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635345674; cv=none; d=google.com; s=arc-20160816; b=EVcg+H4QNv1h9uyDCkge/kf7fe7dRVKA6Qm2SHENe0sR+23iQj0Nquwpfz8TMB5TCR SvW6aku86YGz7RO0FOQfNeIL3Ks1BFVxGg+CaDaFuHm47EKDZoqaLTOKBPMUvT8BO58e ++Kabw6rtmFCy7FnLwYG/RQnXrH05FCEEb02SRJSOV5iW3Z/ApGS+wB7neWzx3frJS9V Z47sMTDe6z+l4lsPRA6W5MFLOkzGZzwEIyDvzq1LwYkYNXLGhmAukrCVixt5+toEgQ9U lm8tRvskz4S7CFx3+vGISecvr1WFhC8+Qoor/j/9JIE5rDiLyl1gWcARCY7MTQv3MiUc dZYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:subject:from :references:cc:to:sender:dkim-signature; bh=O61utyFCh45BGCY/6xEqjSGoDqQCeSTBEDoOCoOpz0k=; b=lb9s/ucsD7PW5ney41OhpiDz4zjnxNi5wlej3dblvwzx15qqLXito8Ng8GoKRdHiif goqG0Y843yR2sfbMLDOcc3y7BObKfTtMK0swbUw1ha5Ha/jXHqHTS4yjoF5kT3m/oAoZ NguxuBiduxh9zIH7kMRFKZQyaIhVlk0b4RSQ9F33WMJaXUov4x7Jwddbee+/XgmmgRPU k7THpJv2Ep+V7shtcx997D/OhDt8LgN50xPlMY0fKeSsjrN+TnhJT1E4JVSjsEgiIiKe QyiT3QkhZVE7VIDMoZS4N4ooUuTAsu2OH99FcXvYvbn6UKsolTUwWsjXIE5Dsgdk++tY nlpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ZHulCIeA; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i16si31994pla.365.2021.10.27.07.40.59; Wed, 27 Oct 2021 07:41:14 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ZHulCIeA; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237894AbhJ0Duk (ORCPT + 99 others); Tue, 26 Oct 2021 23:50:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239183AbhJ0Duj (ORCPT ); Tue, 26 Oct 2021 23:50:39 -0400 Received: from mail-oi1-x230.google.com (mail-oi1-x230.google.com [IPv6:2607:f8b0:4864:20::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C36D2C061745 for ; Tue, 26 Oct 2021 20:48:13 -0700 (PDT) Received: by mail-oi1-x230.google.com with SMTP id g125so1639093oif.9 for ; Tue, 26 Oct 2021 20:48:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:to:cc:references:from:subject:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=O61utyFCh45BGCY/6xEqjSGoDqQCeSTBEDoOCoOpz0k=; b=ZHulCIeA1s5ATY5hoRB/l6wND2YDHI22/l7zkoN4IuL+BmIu7eWRj4ZIxsnqo5vCc3 bi/c+UsIgfZ7Tewd+XhUp+1/Dj4Zbso0qc/QlnKHis3vfadDPY7+LEYWj/XL8edOjj8K 8JEJN2ECkJ7QqTEH1NQ2deM0TwcurGP0RbrYfAcX35fEM214ovAP9GG0/xHBWgU4mGJg 2MXxoYwT5u3QTXF3gHcMZzDsYf7HzVQha1pmE2DktXH/O+xdouqw2KOhjN2jVpidO8Ax iGODa7/vd+zPGXDCyQ8X+eLy2tN6oXM6b1udESw/5ulMuTxssIXvf1hiwnnpW46UKQbr gjEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:to:cc:references:from:subject:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=O61utyFCh45BGCY/6xEqjSGoDqQCeSTBEDoOCoOpz0k=; b=XzwapJA2KL4U2PEFvyd9qT7XC87y1KYOJNyDB8pBC+jNvFg6Q4TqHvonYDz1tQ2O4t eE5COodE3VymEMkwpk+oCZBB4DGVTQsDIIXsBOGpYKGKKpX7++DEuwbzVCGDzDKsYT5Z OzFvMbM9NyKLjWSw8rTaZPWsBvwSgwXNe7HJjvaUhWskphpIplBzAZ3YkJ0Yd7bdyEAn /s6fDTrQY60jFb5mXR6R+wutMt7dgwkVJ8307vFVGfawlet94wCM6WtJFYBJ5m2rApqp 9OdJTqo/8U7dmAvYmiANGqX6VC4gf76zLbKSctPx5U71OgelsKjPHVc6U9ODi8Vvm8lK LwEg== X-Gm-Message-State: AOAM533E6YyGpZELAh+PJMG0WU0oz2dSuqJINmJDVWik+8tIeeXDISFg WNq4LzNoNxosEkbuuiM6OTp9wfXRJqg= X-Received: by 2002:a54:448e:: with SMTP id v14mr1999495oiv.174.1635306493181; Tue, 26 Oct 2021 20:48:13 -0700 (PDT) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id a71sm469991ooc.10.2021.10.26.20.48.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 26 Oct 2021 20:48:12 -0700 (PDT) Sender: Guenter Roeck To: Herbert Xu Cc: Linux Crypto Mailing List , Vladis Dronov , Simo Sorce , Eric Biggers References: <20210913071251.GA15235@gondor.apana.org.au> <20210917002619.GA6407@gondor.apana.org.au> <20211026163319.GA2785420@roeck-us.net> <20211027025913.GB24480@gondor.apana.org.au> From: Guenter Roeck Subject: Re: [v2 PATCH] crypto: api - Fix built-in testing dependency failures Message-ID: <7ac86f69-95c8-1059-3955-2b7fba6e7eb0@roeck-us.net> Date: Tue, 26 Oct 2021 20:48:11 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20211027025913.GB24480@gondor.apana.org.au> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On 10/26/21 7:59 PM, Herbert Xu wrote: > On Tue, Oct 26, 2021 at 09:33:19AM -0700, Guenter Roeck wrote: >> >> I can not explain it, but this patch causes a crash with one of my boot >> tests (riscv32 with riscv32 virt machine and e1000 network adapter): >> >> [ 9.948557] e1000 0000:00:01.0: enabling device (0000 -> 0003) >> [ 9.968578] Unable to handle kernel paging request at virtual address 9e000000 >> [ 9.969207] Oops [#1] >> [ 9.969325] Modules linked in: >> [ 9.969619] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.15.0-rc6-next-20211025 #1 >> [ 9.969983] Hardware name: riscv-virtio,qemu (DT) >> [ 9.970262] epc : e1000_io_write+0x10/0x1c >> [ 9.970487] ra : e1000_reset_hw+0xfa/0x312 >> [ 9.970639] epc : c07b3a44 ra : c07b5e4a sp : c258dcf0 >> [ 9.970792] gp : c1d6cfa0 tp : c25b0040 t0 : c1f05b3c >> [ 9.970941] t1 : 04d6d7d4 t2 : 00001fff s0 : c258dd00 >> [ 9.971091] s1 : c36a9990 a0 : c36a9990 a1 : 9e000000 >> [ 9.971240] a2 : 00000000 a3 : 04000000 a4 : 00000002 >> [ 9.971389] a5 : 9e000000 a6 : 00000000 a7 : 00006000 >> [ 9.971539] s2 : c101b3ec s3 : c23aceb0 s4 : 04140240 >> [ 9.971692] s5 : 00000000 s6 : c14a3550 s7 : c1d72000 >> [ 9.971872] s8 : 00000000 s9 : c36a9000 s10: 00000000 >> [ 9.972037] s11: 00000000 t3 : cb75ee6c t4 : 0000000c >> [ 9.972200] t5 : 000021cb t6 : c1f017a0 >> [ 9.972336] status: 00000120 badaddr: 9e000000 cause: 0000000f >> [ 9.972570] [] e1000_io_write+0x10/0x1c >> [ 9.973382] ---[ end trace 49388ec34793549e ]--- >> [ 9.973873] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b >> >> Bisect log is attached. Reverting this patch fixes the problem. The problem >> is always seen with this patch applied, and is never seen with this patch >> reverted. >> >> Any idea what might be going on, and how to debug the problem ? > > Could you please send me the complete boot log, as well as the > kernel config file please? > You should find everything you should need to reproduce the problem, including a full crash log, at http://server.roeck-us.net/qemu/riscv32/. Hope this helps, Guenter