Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp1064979pxa; Fri, 28 Aug 2020 02:38:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz7sbXC6GlW8lyHzaqZ42FkzC0MCoQMKXPgaK6yV15AfTh2wAmUk718gZythVSmRtI3QcLo X-Received: by 2002:a17:906:6415:: with SMTP id d21mr935518ejm.550.1598607520000; Fri, 28 Aug 2020 02:38:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598607519; cv=none; d=google.com; s=arc-20160816; b=JUfPFGtmof9mDhRxzCLmP1cvV6oqyPJbXBirvFlHpJ3FkoHrPfUtFufnx6Cm/2BBFB pY6DtEnA78ZMo/aoP1lATUxYBdkcY5nU//b9iWAmMgVwTSIESJnG4Oyd6HGHgTjs+jy0 vmdeQjwpqFBavj3iZHP4fBxmu0vUurIggkSEzQKCwiL5yK8DNmV29VUnylsn6vL44tV4 puXgDDtDB5p9bSz9Gr2nM9StMlhPLJxZ0i6DzRu76zAZmdb8KHZhO6TISgxfULkz9egp kFHfqzvIeaY+NpTqDSQKairCqC5gC7vQ7WG8RS2uLCfQbNvsBxWpi4TM4pVFOOgTiqcC WHKw== 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=/mdittT6+6EzCIerCsP+eMrYewGCwnIzPurZ3euQ7cw=; b=DpAUUpX1KLO2PlbKQH9c43Tn3BsGxE9q+P8Ei7CJNPpCi2vl+BbZ5yzmfcFgmEjKu0 lvLi8RH/h39+msex7G50pXKQaIvGt9hzuiBsC+jZzevpw+Uk3PVajPqqnS4sazNMiPyW wn2mUoGJICll9fFAjAFsqjgIpjbCP++X8Mmt2emhDxHt6lSjg9Y2KZ/4Z0KfesrPwR/T Nnyac/suIVjQdAG6ZRFgqmb5vpq6zeWipZggX2aLOIsxqFvxwgy1AVLwMomAtHDupoiW n0KEYAQbwIm8NDGB24+YcaUDju3Znn38KtUZWyDnLVDk0ud5DVGQZFS0MN0DiPObKF9d zEeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xrmlci1X; 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 z20si259865ejm.732.2020.08.28.02.38.16; Fri, 28 Aug 2020 02:38:39 -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=xrmlci1X; 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 S1728709AbgH1Jff (ORCPT + 99 others); Fri, 28 Aug 2020 05:35:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728532AbgH1JfZ (ORCPT ); Fri, 28 Aug 2020 05:35:25 -0400 Received: from mail-ua1-x941.google.com (mail-ua1-x941.google.com [IPv6:2607:f8b0:4864:20::941]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 606DFC061232 for ; Fri, 28 Aug 2020 02:35:25 -0700 (PDT) Received: by mail-ua1-x941.google.com with SMTP id v24so175336uaj.7 for ; Fri, 28 Aug 2020 02:35:25 -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=/mdittT6+6EzCIerCsP+eMrYewGCwnIzPurZ3euQ7cw=; b=xrmlci1XQklPdv8VwdCziv8Ar/UxceOi05ImtRTPFIMg7t76W0VOXgbBWgcSxJjQkG 7OJJGmztUHDLhPlStrGS21cIy5G6Pdq52sx8L7JibwmnsKieNyqGFvCapPJ8yi2BDPDJ CgTRJM8yNZAoZXqD+jmroylm/y1t+0HhlTzN1rbouTe7W23Peslwhhfnh4ywe1FFVZic O/JgK5vKgaqEaa9wlPsvOpPgYkM9103S/GERZ5qOGtuZhDMhq6PMFsYao4NsTuvl/BK4 lSouNSllEvVZ6zGY0cl/i5I6yOn8sKy4YCKbn5aOCd8rM+cQQDHY1BfGR/48IyyGYfg5 QugA== 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=/mdittT6+6EzCIerCsP+eMrYewGCwnIzPurZ3euQ7cw=; b=Co5OXjVI7DEw2w38eBxc9MzattPdQQVbm3SPL9CMJvqBhCDg/ATwbEfQEiuD1DCVp1 mcYaNIYRny4Ejd/eB0n5LD8LtrxLEg/xrlISGpG4oxOsSLscBmVkKLIVkrH53V5AIOeL iJMnh8LLYzlYA1wtqqg1Z4ReXrhcRKlIrH81jK+6+s5gremrzvGi2DNAc73+Clwch2PX de9UIk4BK+SXvDjbzta/vLwe7D+RjTEI8jVx1rCtYpyFRB06ePSJs4EbA2jIlHKxKFbt E3CKzWZAJuoorcEkTn/KywAimgO7nItGWn4SJTEmip14HzhQyUuzVZG+ZNqeVFHSQHDX kHww== X-Gm-Message-State: AOAM533AyFUHQSCHqP/9zx5n0Ezqq1MULATyu+fJZT4EKgKS4gaf3iLf fzLla9kzCW3Wr3edzDl6MtZKd4LPW686/7ZovZtZ8Q== X-Received: by 2002:ab0:3114:: with SMTP id e20mr380470ual.104.1598607324469; Fri, 28 Aug 2020 02:35:24 -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 11:34:47 +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: Naresh Kamboju Cc: 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, Anders Roxell 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 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. Kind regards Uffe [1] https://lkml.org/lkml/2020/8/28/43