Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp1156077pxa; Fri, 28 Aug 2020 05:27:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxYzNbZeRxwsjxyf5n7j1WsxLkucyHFX/jTEaYwFP5BHFlMHAtZUIMPGgZH5+vd200+zZ5O X-Received: by 2002:a17:906:8614:: with SMTP id o20mr1535855ejx.308.1598617625892; Fri, 28 Aug 2020 05:27:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598617625; cv=none; d=google.com; s=arc-20160816; b=VjSm8lQTicsiEr+Vj0hEAoxHDC4naFvbSpUWyytCnmTYWAl28Uqe703PB1mQ1OJTfV fbw50brqQ2F0wa19GKcHK3ZF5GPOJauhJDeGWqO9rodEWatdA9ZT86sn8lDo9YVFTVnn pka5bJzegBT1J4RhKvJ8aZJvaftYC6a2osNmOMeID7EBhWkOwkqB8wWlubtKgPsIlVs2 v/esLKRNVjy+iWWEWpQyuO+db/oBjd25ck9aFdCnvZnhUspj4p8TtHE5+Gse8FjwIqJw LcvMuAjtsUfW+mXKBOCSJU8FHG7xyVYjx8b+361vS/XsQBQGI+M/N7YLg6GJfKcSxtaP GAvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=l+h+5XJ+em1JYNkK91WZyfQCnc3U3ITRWLKDQcz7Tz8=; b=dhESoGdenYwVlExFztUtY56q2ST1VqgBGc9UW8i9ccU1A4aalSNeEf8LP9/AI208gl kgdVgg3ggqct9PwCZGPwr1Yn3IIGea2sTROXpveTT3hbDKLZ6ddCXq0LnzjpaXuuALyw fKoEyqkmsPe/Fy2gimaKTttRPIz3KbdPw/BTW1GI4x9kO+GZ4Sfw1IMbzp4Gy1U2NxnT 2z2r3eNsmyi+/R2h5xpwzUBfyM75k5lX1sDkrxPMJm6DWx1EBfZHkbQBYPxMgslapcPd BYvv+tA7feWbRvzba2RTmoaWrB/xegjCg3BOLNgqag62+buNTnZ+odoPOd8RtbnWtc6Z 1oVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Nk2iyxnX; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j11si512633edk.11.2020.08.28.05.26.41; Fri, 28 Aug 2020 05:27:05 -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=@linaro.org header.s=google header.b=Nk2iyxnX; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729326AbgH1MXr (ORCPT + 99 others); Fri, 28 Aug 2020 08:23:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729195AbgH1MXm (ORCPT ); Fri, 28 Aug 2020 08:23:42 -0400 Received: from mail-vs1-xe41.google.com (mail-vs1-xe41.google.com [IPv6:2607:f8b0:4864:20::e41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E6B4C061232 for ; Fri, 28 Aug 2020 05:23:40 -0700 (PDT) Received: by mail-vs1-xe41.google.com with SMTP id e14so460075vsa.9 for ; Fri, 28 Aug 2020 05:23:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=l+h+5XJ+em1JYNkK91WZyfQCnc3U3ITRWLKDQcz7Tz8=; b=Nk2iyxnX3VcxNGcUkNfIcs/0gqMCwNoJycWt9IuI72hQw1RDzGqQYv7T/Oci9THJPg YsMMWXtr8YQ7KsKBT36Oi7lM1LgchA/VZvPxFTBcCFQtxVh/gw0x3onsqlTtfi5PhfKv R+V/gIIDTMO/xIcnZfV3eS5Zd+KV+JAc0VjP+eOxgIGsySwx3cEJgIu5Thcl/c/sOacK UY9ynuhxom0XR3cLW31i2OeeFecjBDmU67bQbmlGl9u5FY6LzL14w5AAFFlROCh6GuNz sqk41UtOVvJrfnbDIcYXZ+ta3tieXLtw4292FTBf+++492g/DGSMpiVeowZXfWh0OGId Q6lg== 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=l+h+5XJ+em1JYNkK91WZyfQCnc3U3ITRWLKDQcz7Tz8=; b=OIKqn8c03AvV9cwiLBwi2qQ6lv20eGiDGXX78+Hy6Va/JjNOLl1/p6MFkaBTcY0E6d i8bWAOIii7Ocyy0kr4U3gdG8FHWZMZUjlFx0eckkRXDVLPm8SCmBSpc/QCiee3Xnhunf 6fkbNrQrPwPQ3RRF9REwwuz74HCvY393eFYr7ZoI6LJigR6j4yt95h3xgrOXD+W6LFQd RQxU0VWKhCBKMvIry70hzWbSQ3RzgB+P8Ds4Im+d/ZYvt77S34THi7GCv8EhAC0PcbO2 eAMORstoM/r7NaKrm6/L+ie4ptKFpIS8bvNjkP2d2pces4efky6jLvS41Txb2zn8ZTAK aYBQ== X-Gm-Message-State: AOAM532Zk94a/MyjEn+asD/lbQcf8nznl6baZLvgHBQwYeaXXYq6QaXf yccymVRdnueS+1wnQa8h2FGKsmBns71zqCv5FYqWgQ== X-Received: by 2002:a67:f8ce:: with SMTP id c14mr634530vsp.14.1598617419004; Fri, 28 Aug 2020 05:23:39 -0700 (PDT) MIME-Version: 1.0 References: <20200827090813.fjugeqbb47fachy7@vireshk-i7> <20200827101231.smqrhqu5da6jlz6i@vireshk-i7> In-Reply-To: From: Ulf Hansson Date: Fri, 28 Aug 2020 14:23:02 +0200 Message-ID: Subject: Re: Kernel panic : Unable to handle kernel paging request at virtual address - dead address between user and kernel address ranges To: Anders Roxell Cc: Naresh Kamboju , Viresh Kumar , Stephen Rothwell , Arnd Bergmann , Rajendra Nayak , open list , Linux-Next Mailing List , linux-clk , linux-mmc , lkft-triage@lists.linaro.org, John Stultz , Daniel Lezcano , Michael Turquette , Stephen Boyd , Lars Povlsen , madhuparnabhowmik10@gmail.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 28 Aug 2020 at 12:29, Anders Roxell wrote: > > On Fri, 28 Aug 2020 at 11:35, Ulf Hansson wrote: > > > > On Fri, 28 Aug 2020 at 11:22, Naresh Kamboju wrote: > > > > > > On Thu, 27 Aug 2020 at 17:06, Naresh Kamboju wrote: > > > > > > > > On Thu, 27 Aug 2020 at 15:42, Viresh Kumar wrote: > > > > > > > > > > On 27-08-20, 11:48, Arnd Bergmann wrote: > > > > > > > > [ 3.680477] dev_pm_opp_put_clkname+0x30/0x58 > > > > > > > > [ 3.683431] sdhci_msm_probe+0x284/0x9a0 > > > > > > > > > > > > dev_pm_opp_put_clkname() is part of the error handling in the > > > > > > probe function, so I would deduct there are two problems: > > > > > > > > > > > > - something failed during the probe and the driver is trying > > > > > > to unwind > > > > > > - the error handling it self is buggy and tries to undo something > > > > > > again that has already been undone. > > > > > > > > > > Right. > > > > > > > > > > > This points to Viresh's > > > > > > d05a7238fe1c mmc: sdhci-msm: Unconditionally call dev_pm_opp_of_remove_table() > > > > > > > > > > I completely forgot that Ulf already pushed this patch and I was > > > > > wondering on which of the OPP core changes I wrote have done this :( > > > > > > > > > > > Most likely this is not the entire problem but it uncovered a preexisting > > > > > > bug. > > > > > > > > > > I think this is. > > > > > > > > > > Naresh: Can you please test with this diff ? > > > > > > > > I have applied your patch and tested but still see the reported problem. > > > > > > The git bisect shows that the first bad commit is, > > > d05a7238fe1c mmc: sdhci-msm: Unconditionally call dev_pm_opp_of_remove_table() > > > > > > Reported-by: Naresh Kamboju > > > Reported-by: Anders Roxell > > > > I am not sure what version of the patch you tested. However, I have > > dropped Viresh's v1 and replaced it with v2 [1]. It's available for > > testing at: > > > > https://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git next > > > > Can you please check if it still causes problems, then I will drop it, again. > > I tried to run with a kernel from your tree and I could see the same > kernel panic on db410c [1]. Anders, Naresh - thanks for testing and reporting. I am dropping the patch from my tree. Viresh, I suggest to keep Anders/Naresh in the cc, for the next version. Then I can wait for their tested-by tag before I apply again. Kind regards Uffe