Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0C5ADC6FD1C for ; Mon, 6 Mar 2023 18:13:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230164AbjCFSNT (ORCPT ); Mon, 6 Mar 2023 13:13:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230227AbjCFSM7 (ORCPT ); Mon, 6 Mar 2023 13:12:59 -0500 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 308626F60A for ; Mon, 6 Mar 2023 10:12:22 -0800 (PST) Received: by mail-ed1-x531.google.com with SMTP id ec29so11546491edb.6 for ; Mon, 06 Mar 2023 10:12:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; t=1678126339; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=pzIY86ayC91gpJX8O4HM8FSlFRgaR4tQVqiVh7znpjg=; b=IUb+Ih7gSc20L8DzGs+5daIjQD48NSGkgaEzw0pyyqogCdYnJA7ZmjSgeee8zvN7JK KuSeDNm+u5KAzT4gXQhbvaCGDm7farQubOz6unIwGatxST3SLGwBOIWRyS0E3TRCY6Eo qiYigHpx8TSnwW6qd8t2IctFG4CPHULXckf/0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678126339; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=pzIY86ayC91gpJX8O4HM8FSlFRgaR4tQVqiVh7znpjg=; b=3hccvQ5cnA+WofbD0tZ8fpYU4ZOWwzHwZ3yrWr7ee16Q5GUMtFGv/B7P2br5QeGGJT Jj7FUyg6xYUPPboBcKa9Lt7+7OJwXgESl21xw9IwNigt3/ljGExxgtiziC1B4P4Reeuc kO9jxg1RodpT7xYtf4KsguvPpEIit4qLKhuwfYoMa1p3cR5gntYPxwPEDSq1r3r3nk7O s5+CRlUb8l9kIqt0sYiMF0NX+F8cTRfUQdc3R/M/t1Szaypj9ZLzQi7euu783XF53Oo/ 1JRGivzrDh4Q/KpDQh0rCzkoDhtBr9OhF03J7V6GGeXPumHn9CNgfyvy/dif/NrR5Hjg ekcQ== X-Gm-Message-State: AO0yUKWZezRFLEe8Z/eG9GkMnefCv2nAZVF+AA8cIuu1+C9Au/Gld9Tc mdtFnWwZBrDDHgfyEXWYvEUa4SPUNj2fLshwlPCL4A== X-Google-Smtp-Source: AK7set+5ONQnO6TOZw1lOghCVnhHwhcHZCLLqtzN9MNNUGlkA67R0hEy6XshTxk8L9c6BYdnEILRpA== X-Received: by 2002:a17:907:1909:b0:8b1:304b:8e2c with SMTP id ll9-20020a170907190900b008b1304b8e2cmr12338768ejc.0.1678126339409; Mon, 06 Mar 2023 10:12:19 -0800 (PST) Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com. [209.85.208.43]) by smtp.gmail.com with ESMTPSA id d8-20020a170906040800b008bda61ff999sm4891710eja.130.2023.03.06.10.12.18 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 06 Mar 2023 10:12:18 -0800 (PST) Received: by mail-ed1-f43.google.com with SMTP id o12so42308235edb.9 for ; Mon, 06 Mar 2023 10:12:18 -0800 (PST) X-Received: by 2002:a17:906:2bc2:b0:8f1:4cc5:f14c with SMTP id n2-20020a1709062bc200b008f14cc5f14cmr5706607ejg.0.1678126338388; Mon, 06 Mar 2023 10:12:18 -0800 (PST) MIME-Version: 1.0 References: <481b19b5-83a0-4793-b4fd-194ad7b978c3@roeck-us.net> In-Reply-To: <481b19b5-83a0-4793-b4fd-194ad7b978c3@roeck-us.net> From: Linus Torvalds Date: Mon, 6 Mar 2023 10:12:01 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Linux 6.3-rc1 To: Guenter Roeck Cc: Linux Kernel Mailing List Content-Type: multipart/mixed; boundary="00000000000049f32505f63f3c08" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --00000000000049f32505f63f3c08 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Mar 6, 2023 at 8:52=E2=80=AFAM Guenter Roeck w= rote: > > Various crashes, affecting several architectures. > > [ 11.664666] BUG: unable to handle page fault for address: 000000000002= d3db > [ 11.667043] lock_acquire+0xcb/0x330 > [ 11.667163] _raw_spin_lock+0x2b/0x40 > [ 11.667255] add_timer_on+0x92/0x150 > [ 11.667302] try_to_generate_entropy+0x256/0x280 Ok, this seems to be due to the issue discussed here https://lore.kernel.org/all/CAHk-=3DwitXXeQuP9fgs4dDL2Ex0meXQiHJs+3JEfNd= aPwngMVEg@mail.gmail.com/ and I think the fix is as per the appended patch (that particular crash is due to the random.c part, but I did the others that 'git grep' picked out too). Can you run your test-runs on this patch? Linus --00000000000049f32505f63f3c08 Content-Type: text/x-patch; charset="US-ASCII"; name="patch.diff" Content-Disposition: attachment; filename="patch.diff" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_lex52qfd0 IGFyY2gvcG93ZXJwYy94bW9uL3htb24uYyAgICAgICAgIHwgIDIgKy0KIGRyaXZlcnMvY2hhci9y YW5kb20uYyAgICAgICAgICAgIHwgIDIgKy0KIGRyaXZlcnMvbmV0L3dpcmVndWFyZC9xdWV1ZWlu Zy5oIHwgIDIgKy0KIGRyaXZlcnMvc2NzaS9scGZjL2xwZmNfaW5pdC5jICAgIHwgMTQgKysrKysr Ky0tLS0tLS0KIDQgZmlsZXMgY2hhbmdlZCwgMTAgaW5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