Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3087441pxj; Sun, 20 Jun 2021 09:39:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxrF7dxVPp0HRVbEijxKtCZoadnkcEkZWdJd+ir6wPkZWYRdQ1pqClknNlWxe63pcrwDq5a X-Received: by 2002:a05:6e02:4a1:: with SMTP id e1mr11677063ils.133.1624207178166; Sun, 20 Jun 2021 09:39:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624207178; cv=none; d=google.com; s=arc-20160816; b=Nyrc6NYhsSWoWyUmyQKHJjfFz2zSOTMYNlVpSQMGMNW7VL6RPnA7LmN5X94KkNMzl9 uOcckCcgO/yS9ybzvTKPbRVte1aDro3p0DMub/fYwe7m3gjjXddraiAFVVFeVg21Qvow 6tJ/gYFO5pDm4i8K9OFCqLxfsuhiGQ5cZp8FXdY82PODUBKEwcdAGNTame9LziHErDuz QfhOMCQCzoesDLsBA9SeYaBQENhORrIk5AuF5vDgPQHufFRO/DOvgOC0Ea50Gn+SkTqf Hk7yiY19LhItJM1ip3dXVaqfGibecYhOV7tUQfgGM/7rFTooZZ4+d1SPXXDy97rgm9ds Xnzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=cIkqdX5qDYRm2dY070GPvz04fF0I4MWj7fsh0bVpBSc=; b=I2u5VgpIfjsxJyELNlNs2aM1SI3+BY0pFqy5J4Aa4VLbTYOxBF8v8Qywcwq5EPcQRz nPpEgbCSjOd3oLoScKEocpSHLN8G7KoCNRPeJo/FVHbxz7JesR2xSsjuluFtovPlW4wI rOuR0atj7b0qUc72SWOXHXVXG2y6Oe2T7YaiQTMrsAeIzTNfjPz972q24ej1RnHpr3c3 pszIVi/Ov99SFnBpIV/Y27XwFsg5DnJwfPcLM+tUY+Z8GlLaNh8GHhPNvR/qPrDlUfjU PpifupXMqZeSjIHgRiT0SBvw7E66rdGh4ieqQajy2OSvzAKloRh0344l/EItRTQ/hJxd /WGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WcOdK46q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t18si6837244jan.32.2021.06.20.09.39.06; Sun, 20 Jun 2021 09:39:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=20161025 header.b=WcOdK46q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229904AbhFTQjg (ORCPT + 99 others); Sun, 20 Jun 2021 12:39:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229605AbhFTQjd (ORCPT ); Sun, 20 Jun 2021 12:39:33 -0400 Received: from mail-pg1-x52a.google.com (mail-pg1-x52a.google.com [IPv6:2607:f8b0:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89271C061574 for ; Sun, 20 Jun 2021 09:37:19 -0700 (PDT) Received: by mail-pg1-x52a.google.com with SMTP id m2so12155490pgk.7 for ; Sun, 20 Jun 2021 09:37:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=cIkqdX5qDYRm2dY070GPvz04fF0I4MWj7fsh0bVpBSc=; b=WcOdK46qlF9zh6lXvUJKZ/S8nhWyMv/TZhgk6MCUIbhPtoRhhzT5aW7gfV9tB5abx+ eTPMVYnsL5krMwN0QhdheuvcdRVAswVYK2nAu3n/8VDNfNFhX6BBg4XqtSfyo3WUd8BN 1jYL3ahMtfJvlEPFoKwPE3vUkDbxC4eK58sLPG5wGwcZdR1ClV5z5bQ1J0CtjkcZ8WPj qnIFA1AQCY1r7TeGGgRalXvo8BviZoYU6o6a8Zw1Xe3wrmR7we296Q04MLbtIewrp+mN x/VC6T1JR7QcH8cFn1xxgHMRXNRc6p8uPP47MpT6h6dzifHA9w9mFLRuYxf5lprdgqU7 EtDA== 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; bh=cIkqdX5qDYRm2dY070GPvz04fF0I4MWj7fsh0bVpBSc=; b=rRqQ0AzTEMSXfmO25u0d5YQVMOFa6ot0RLlZZkwPjX6oWf4zaUEOZ9LhB/K3DJAlwQ l6juYEWwuQQGbFm8tiqvlzLgBjL8X6AK68yHzD2i9jpjkUiku/k2DA2DA3YkmLHZ0R0K rTnUJamSuGjST4a3J9H/3bcOJHiiMPSSgqSuTLkmZuysqSk67BIfvhKgbZjIiDA8IGCq J3Wx3J1J+TwzWbIxnf2SW3sqra5xXHmtktCpDHaw1eQSoiPlY8dQireuTkbPC9xICpcS cC8haL1S5zDuz/Knvp69PdeAUxtBApOC8mX1qCCNsv2WFrS12iJqxZyNQioRWYIrINEH msBg== X-Gm-Message-State: AOAM530Iz1oam61PiuO2PIyoTxWp0ih4qTrhGW9sGUYGGe2Sn4/1kmX+ KqfEA0kCCAejZ4pGMEaAPypRSB+L6Wf+9tMRuZNB88bNgU0p/Q== X-Received: by 2002:a63:f10b:: with SMTP id f11mr19696397pgi.203.1624207038975; Sun, 20 Jun 2021 09:37:18 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Andy Shevchenko Date: Sun, 20 Jun 2021 19:36:42 +0300 Message-ID: Subject: Re: v5.13-rcX regression - NULL pointer dereference - MFD and software node API To: Dominik Brodowski Cc: Andy Shevchenko , Lee Jones , Linux Kernel Mailing List , "Krogerus, Heikki" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jun 20, 2021 at 2:50 PM Dominik Brodowski wrote: > > Am Sun, Jun 20, 2021 at 02:19:44PM +0300 schrieb Andy Shevchenko: > > On Sun, Jun 20, 2021 at 11:36 AM Dominik Brodowski > > wrote: > > > > > > Over a month ago, Andy Shevchenko reported and fixed a NULL pointer > > > dereference issue introduced by commit > > > 42e59982917a ("mfd: core: Add support for software nodes") > > > in v5.13-rc1: > > > https://lore.kernel.org/lkml/20210510141552.57045-1-andriy.shevchenko@linux.intel.com/ > > > > > > A bisect shows that it is indeed commit 42e59982917a which causes boot to > > > fail due to a NULL pointer dereference on my work laptop, > > > > Can you, please, be more specific? E.g. where may I find the ACPI dump > > of your laptop, along with other information? > > What you may prepare is (all run under root user) > > 1. `acpidump -o laptop-$MODEL.dat` (the *.dat file) > > 2. `grep -H 15 /sys/bus/acpi/devices/*/status` > > 3. `dmesg` > > 4. `cat /proc/iomem /proc/ioport` > > 5. `lspci -nk -vv` > > > > (#2 and #3 are interesting to have in working and non-working cases) > > > > Perhaps a bug on the kernel bugzilla would be a good container for all these. > > > > Also it's not clear what exactly an Oops you have (I don't believe > > it's the same). > > Thanks for taking a look at this issue. As it's actually a panic during > boot which triggers before initramfs is ready, I can only provide the data > for the "working case", i.e. with the patch causing the regression already > reverted: > > https://bugzilla.kernel.org/show_bug.cgi?id=213511 > > With commit 42e59982917a reverted, the system works just fine. Is it possible to have any traces of the panic to be logged / photoed / etc? > > > In my opinion, it is unfortunate that although it has been known for over a > > > month that commit 42e59982917a is broken, the bugfix (though probably not > > > far-reaching enough) has not yet progressed upstream. > > > > Which sounds like a narrow scope of the issue and supports the theory > > of buggy tables. It may also be possible that some driver > > ... still, it's a regression, with a clear "git bisect" result :-( I understand and I'm looking at this... -- With Best Regards, Andy Shevchenko