Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp1082266pxa; Fri, 28 Aug 2020 03:12:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwelWV078UN2Gv5PWwCb9IRjK+cEoWkO7TNa0Kwnn4nIx2Uu64OnHYCnwkJmMYgX98zNAmJ X-Received: by 2002:a05:6402:888:: with SMTP id e8mr1051042edy.248.1598609576017; Fri, 28 Aug 2020 03:12:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598609576; cv=none; d=google.com; s=arc-20160816; b=N4rRpnpU06MtUJ21wtE/+68Z6dvacj/3iD4CeNYztFf0mH906ni6bzFP3otGaNZIsU DnDGBmHB+qkHnPe4z+lOxUB2yRA/TGLhJJb5cN8n7wYI7d2g2ouHMkbZYJHFWR5XeraA OonlLn20KtXXh1JqyKUEmyskog2U3IH39w/Ovm/M3YlyCW0TN7icfeyZGL5yt5Qc8xs/ NZ7t0gJVNH9W9Pn3KduNbUyU/8gsGeRY9rc2VqteGBwAXEabWB4NiSuU0/eRKa6HdGUV BcecIFdX1TtsxTmoM+K9r4w9qILxelFPmXRHqr98zOb3i18fBVEe/aR2kwUkCXE035C9 AotA== 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=YuUZC5yykdxlzV9TZ9jygIZUaAZV3AvDbw/Md6MDSbk=; b=Yrw+qNlBrgnG9SA6z4Gt/VEvdNOp4pAL9f1oZG1y2kw1SAoB3UUcPPQEAhbIwdLwDS GwJ1MM+S/rOlvoTXiqacPIcBgCQH5q+RutWFLHV3NdFTYAuYT6t15m3lI+TWqWXBgaqR HJBJEpy8qq99fxY+T3oUaUx2zlUR+6/eJZ/xfwCHWPosh2+beNd8LPOJZXpUSHLDiH6E v69RE9Fb1ZszIQHf3LHSxPtT7fV0ezIvtJYAEQyYjkysvPyciZ7yeh6+igKSmIy2YAiS YHBbPIjLlwy51u+CnhPi8GebLIiq0pq2q8/Z6q+wpvLfuTCJMgftJpyrpxfWLkm8GVEm QpMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CZyvI4mE; 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 bs1si315327edb.79.2020.08.28.03.12.33; Fri, 28 Aug 2020 03:12:56 -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=CZyvI4mE; 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 S1729063AbgH1KJB (ORCPT + 99 others); Fri, 28 Aug 2020 06:09:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729053AbgH1KIs (ORCPT ); Fri, 28 Aug 2020 06:08:48 -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 A013BC061233 for ; Fri, 28 Aug 2020 03:08:48 -0700 (PDT) Received: by mail-ua1-x942.google.com with SMTP id c25so193590uas.13 for ; Fri, 28 Aug 2020 03:08:48 -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=YuUZC5yykdxlzV9TZ9jygIZUaAZV3AvDbw/Md6MDSbk=; b=CZyvI4mE5e6GC31FhNtjJu4hgn/6iN7+1V4C5ulyqQvdp/AkkHHa9duZvoDIUje0iQ 13aWi+vlxmpSwceKGI1Anf3Byyh4SWXLKs3jeJ2nnbUFWCEYFRbhuGFkEsY9mwkVfh5g XQ1as2Rl9K2S8AjjSi9TqOjxKgqyQC4RAPaNlfnpEL5bV9hKEXDYJ9bVe+7JTBdTWyOH YeBAr+lgKzo7JflY+R63AZ8Y8c1qTk6XxDXT+WH/ksJYiC7WjqC5dszMUwfVwr4JFqG8 b6B/uhfMQaV9bmR25nehSmrMuQzH5bpZNHzGyUS68pJ+ypT42I9akYEysVHy4sbJqEc8 Fv+Q== 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=YuUZC5yykdxlzV9TZ9jygIZUaAZV3AvDbw/Md6MDSbk=; b=Rcn3D4xQaJXDe9m+GhDnz1GSBAykV9er8CT/uwrudWdzc86izspoxgJqxdWcrhzw+N cdTKIBCr4JqYiPXBPGG8m9cxwNbkpDpeTB9c+Q1NG3BfcrownT/6+huWuCGMJR7DPnGC Rcc4ODj4CwWIHUFtV1rTBW02uED2JxI6IEZYerVyp26fdg9dAHSyWE7TX1wy3URqq2Pl VQy4G34aeJxF0nQQbFz84mrDdNpmjK2Jsaosnh8LejVO4X+qwwdfM3n0WREtKnJRiQRz Dv3KZI5SwOox92PkUa+B0JZI3WJ2x7QFPfzF/GyEubaZVHKA3ZO4soakdvszDEFIBahE Wmkg== X-Gm-Message-State: AOAM530soGxKiwgDPQumvIChJ4PaIFqEziXElFvXpFy296oudL5IFKnM Cj0ZvlGRpHfE//J1QkK8U6QkNrj14xTV6/7Mh/lp3w== X-Received: by 2002:a9f:35d0:: with SMTP id u16mr384896uad.113.1598609327689; Fri, 28 Aug 2020 03:08:47 -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 15:38:36 +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: Ulf Hansson 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 15:05, 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. I have applied The v2 patch series on top of linux next-20200824. and tested again the reported kernel panic still there on db410c [1] https://lkft.validation.linaro.org/scheduler/job/1717611#L1874 - Naresh