Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2910935pxj; Sun, 20 Jun 2021 04:55:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwZC/EYgL2wrpwarwRE7ExbbMSVT8UgtW7tEda6tvCZ8X/gNiM1mRRvyR2gcIk3mW4ngbfk X-Received: by 2002:a50:c907:: with SMTP id o7mr15354883edh.120.1624190121363; Sun, 20 Jun 2021 04:55:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624190121; cv=none; d=google.com; s=arc-20160816; b=R7uiRW8fErChPrLVgSw7qdfRp4A5QswLrhxR8/CdvcRnrJ/DFv2jaCJDCDdQ+yTPK8 D4ErdBs8Fd4LlAJc5rVjhX9h2v/VMxDUgordNjnqHG234vQBJjkSjjtrHoeeG9aOBp6E 50rkLgjuA+oQWw+ImnldSTmCcLRg4VZoWN7rbA2lPadrpLk6L/PQ4nFuw4G+EaVoWEKi FlXSYXr22xPWuu9ZI44w3Z+KjJgDP/y8m07LlsKDNGjD2o9ii4ZI/df9EQtUM8fB7d6u T4Uaqvrhm8Bvv8kFdKP8oPBeS/yqrhJ7gOPBf/GQpyfP3wKRFQVRK3u5IewQ0B3bI1fF 2vxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=eFRAap3A6XLUOfm73MOrqrndyXa4two+AoGJY1208Ds=; b=hnA4G0oLL5AfmI4cO+jDS8GA4BwEQ4mtb5NEPsu37zbhby2jmEeo7bI6jxT+ZDgZnN Liwqh+PL5nveUvUYiNNqq2l49G/1PmObmXCXvo9MRjpPxaxR3iXxAUaKgO3AVPJdnMwr ywYn0CUo2jDkBaKseha2NC7Fy5jLNLODeif0GJZeAKt6uPDLGVdVsYFRBQwJBTKBfWnK 5Gs/NoK8oeftQWvMvaZcfntD9KTpRVgwK25BAycT0AhAZmnMjAkCpmKyrD2UNFOjsAcR cISnb2kyCyj6teH9BYUOQ1dMHjBUYMK9iu0/lIkLhbmRViY6Nbs++eyxhXlehtdAto9c zRnA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y93si14837670edy.412.2021.06.20.04.54.27; Sun, 20 Jun 2021 04:55:21 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229608AbhFTLwZ (ORCPT + 99 others); Sun, 20 Jun 2021 07:52:25 -0400 Received: from isilmar-4.linta.de ([136.243.71.142]:36438 "EHLO isilmar-4.linta.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229593AbhFTLwZ (ORCPT ); Sun, 20 Jun 2021 07:52:25 -0400 X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES Received: from owl.dominikbrodowski.net (owl.brodo.linta [10.2.0.111]) by isilmar-4.linta.de (Postfix) with ESMTPSA id 80B532000AC; Sun, 20 Jun 2021 11:50:09 +0000 (UTC) Received: by owl.dominikbrodowski.net (Postfix, from userid 1000) id 7F28E804D5; Sun, 20 Jun 2021 13:49:55 +0200 (CEST) Date: Sun, 20 Jun 2021 13:49:55 +0200 From: Dominik Brodowski To: Andy Shevchenko Cc: Andy Shevchenko , Lee Jones , Linux Kernel Mailing List , "Krogerus, Heikki" Subject: Re: v5.13-rcX regression - NULL pointer dereference - MFD and software node API Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. > > 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 :-( Thanks, Dominik