From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5FFBBC433E6 for ; Fri, 28 Aug 2020 09:22:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3F8AB208CA for ; Fri, 28 Aug 2020 09:22:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Yw5Y94hL" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728532AbgH1JWz (ORCPT ); Fri, 28 Aug 2020 05:22:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728785AbgH1JWu (ORCPT ); Fri, 28 Aug 2020 05:22:50 -0400 Received: from mail-ua1-x942.google.com (mail-ua1-x942.google.com [IPv6:2607:f8b0:4864:20::942]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC164C061234 for ; Fri, 28 Aug 2020 02:22:49 -0700 (PDT) Received: by mail-ua1-x942.google.com with SMTP id g20so166309uap.8 for ; Fri, 28 Aug 2020 02:22:49 -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=+h9ZmfHl6gD6OPpN/SlVWioXyrTiMAhgaOR2eUM9lrs=; b=Yw5Y94hLnxuDQc0xMuJ3wJ0zdgZ5TprcSHRASqRPnFiahEe7Jsrt1CJdobZrJZZuVu pKBbKeRpUXw5iAK+LJuHCKgKNyb9VYPWO+O2N9iyV+R7ZnBZQyfgmeo5pOWKWzuIwVl+ fGx4lWMXvwCfhSKDJ/Y5BzMivxP0K4t1RbiqXmsncmXuWJrllCE1gs8deO3ML2EUaPjE tj5Ab5rOzBDdvxSxqEE0uNP/KfRRugqhQawuXjH2/BrKM+tfPomu3Vuo+xls34YG4128 MR98sjAjeqAL5LSR1wPQT6djpvD3rN6T888qiuFx30am718+PJsJefUh+1ZRx8PQFYgO D0+g== 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=+h9ZmfHl6gD6OPpN/SlVWioXyrTiMAhgaOR2eUM9lrs=; b=RnI8GG81RjIIjeoJ9EP3RUs/Te8Hv/6WVag/dp+0KHK7zdqMH7R9sNBP6t7i8FBGOV Il/BYphNU54fMqlrf7FA6bweQaDzie5V+ETCqGDMU45FKULMEPU7y2EXbwYGHVNW/nvH j8P2EW4lYuN8ETY/QdMos1Loap5AxrRRFFRq4XDDlAlbPLnUQr3i45SC6D1TbQ8MZLbA OGfeDERW5q+5wnOOS3OzqL2uH1m2GhN6r1u0YEsr/WmswFFaEmAy9byrSdtbYtNDeH5h nc7CPzHnD0EaR/gOx7d6bHvfu4aoCyza1ZiR4rZ9tDGQpgHGE5aa3C7nWEvW5ywHAAJK Dhcg== X-Gm-Message-State: AOAM5317QOVEccYabk2jrcvfsYdH/6zZ3LKEp1dZkd9klgOY7g9In+yI WNGguKzAfAZh645JJVcKyuj4lMrDHATgG103GQC0Ng== X-Google-Smtp-Source: ABdhPJxy4rF0dUrJQq4+r6O19pPIHqxVxrAFH3xWa3DmfMA4EagdwmwABlFGcsGn23M3lc2uXFNy1Q0PgUxY25Tr2zA= X-Received: by 2002:ab0:3443:: with SMTP id a3mr372138uaq.6.1598606568733; Fri, 28 Aug 2020 02:22:48 -0700 (PDT) MIME-Version: 1.0 References: <20200827090813.fjugeqbb47fachy7@vireshk-i7> <20200827101231.smqrhqu5da6jlz6i@vireshk-i7> In-Reply-To: From: Naresh Kamboju Date: Fri, 28 Aug 2020 14:52:37 +0530 Message-ID: Subject: Re: Kernel panic : Unable to handle kernel paging request at virtual address - dead address between user and kernel address ranges To: Viresh Kumar , Stephen Rothwell , Ulf Hansson Cc: 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, Anders Roxell Content-Type: text/plain; charset="UTF-8" Sender: linux-next-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-next@vger.kernel.org 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 > > - Naresh