Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp1091939pxa; Fri, 28 Aug 2020 03:32:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwxTu2Xpv2kK9xmbWzKbSCoPNbOKuDvtm6WOcynQgNM1WeMNzCNisH4SIPXW7xLhvHgxTgV X-Received: by 2002:a17:906:2408:: with SMTP id z8mr1023806eja.421.1598610766942; Fri, 28 Aug 2020 03:32:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598610766; cv=none; d=google.com; s=arc-20160816; b=j6qmF55dnS4V8Ef0GcE1xr43RCHNaOZEjv4ZxZsZ7ro6Iph2lunKT2WCY8d4L3tu8q hi1UGLeZWcVi67k/dlNxlrhT9utR6ftXKK9nh4rlDN9h4p2CGcIQbRIAo26FXrWN3NK4 FCc9ApvVlrm22wlQCRXuY9Bt5YbxTDimgSCGQyh21hBcpF6WVUJTwqvJybqmzrme94MC NTykh1T0AtunFsdaOFoUluegiPZpMatVGY64JSTP9xb9ixHO5qtIJtsm1uh1wV3kW0r2 OumSoG89NQiVCEW2IrZdj2njvGVyFzBaR4T7jos1e793g1NbGJPQwmcxqo+v/QAHbCWR YH2w== 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=QVZYq2PBPO60+hzu+DH/FiN1wZH0KS7M3eptGgjOhVE=; b=mBovMPwKiwPJaBnafnPiGOITa7WPguGiT6oWVQSSDfsV1PyHQgJd6Lx4QKT9TnW+H+ ClpRS0jt+PTy4HGaGS6HYrSYjKKstvg/EsZaE0FLvClzxxSFvz99S/SGguU0Z1Rp7Mnu k31OcSSXvY0+PgkR2pMaGUoE5M30Vl/jBOu2n0sMLX+qido3A5bw9AkQUyDXBstUEVLm fkhCqMRKTZUqYnbvLLeTBNM4P7jQNb+DyJbE5Y86woZossReQJg3c9nJuSUlQCCam3NS Vuob2wdiGwVFQBWgyPxM029WoPlrt3+ykF7+4RCndIVDq0VQAj8FNEC0wy/Cd2nUt95h 1LDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=COZoZdwm; 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 c1si303369edq.576.2020.08.28.03.32.23; Fri, 28 Aug 2020 03:32:46 -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=COZoZdwm; 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 S1729090AbgH1K3q (ORCPT + 99 others); Fri, 28 Aug 2020 06:29:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729094AbgH1K3f (ORCPT ); Fri, 28 Aug 2020 06:29:35 -0400 Received: from mail-lf1-x144.google.com (mail-lf1-x144.google.com [IPv6:2a00:1450:4864:20::144]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93737C061233 for ; Fri, 28 Aug 2020 03:29:34 -0700 (PDT) Received: by mail-lf1-x144.google.com with SMTP id v12so435191lfo.13 for ; Fri, 28 Aug 2020 03:29:34 -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=QVZYq2PBPO60+hzu+DH/FiN1wZH0KS7M3eptGgjOhVE=; b=COZoZdwmI7PziLKiORCTiWJDGnCuoz7Y3bWHJ2oAICLzYBX2r0BR8efZez4ilASG1W kaYUjOIqVzFdQRCfzuQOH6fo3FlcWH2L1WW8wrUCtoSXi4L8H75fgRt9SgIwy0u0sHyg jE5+7xEi52Qf7F6bYe2vYA/sfnrl/iTTe16xU1v8qkv6ji0lXChDS9fqWadnRxJg5Wwx PvND1ssAKs/wDsIp3Kb+krUb5LvrIpMfKX7O3xyfFrFYv54LFh1IUsawP9sk1gXbsKDW IbK90giBWIXG0N+/DsisILRpLosibuaxOR10V5YHH6QlODOfxldsZKWTguOEG0DSIirV qr2Q== 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=QVZYq2PBPO60+hzu+DH/FiN1wZH0KS7M3eptGgjOhVE=; b=AEmYhvNblcwqu3ZNbpxu4dHMOnGZTh4PuVez7ZSFYKmHPUVgknWewPIlUfRqiq2gxh TDSwfbvzM16hkK7deNHoJ6v0iWgxH+0vgHUGvr6DsaiyvHckrJ1aN7MUNq4ibjwavvsa k8L082D6Bl8xuF7YDR/hiMWEFh7MCN7m7LO1bUvt+BAtzVeG8nZzvw8MigL9qig6yPCa ETCH62oYcE/sAHyo3omkI0KggFMhgRnG1MdlCnlr3E9syFt/9qIKeqaiyzrgqk+/q5wT IlxiPRyZEqOCgNwKMVf8GdFmlWb8WolhWEZYG4aUrfQpNeiBu8H4rA33L6WwbNr67NxV hhmw== X-Gm-Message-State: AOAM530a6G1uEsgoQ5u8iQyhk31hLuYYt/za+YhQHdzep0obzvVj3rWI tFf9HmVWsu8cyPymjYDjnaSC9ZBK7lqMGa9hxZq/uA== X-Received: by 2002:ac2:58c6:: with SMTP id u6mr481701lfo.105.1598610571828; Fri, 28 Aug 2020 03:29:31 -0700 (PDT) MIME-Version: 1.0 References: <20200827090813.fjugeqbb47fachy7@vireshk-i7> <20200827101231.smqrhqu5da6jlz6i@vireshk-i7> In-Reply-To: From: Anders Roxell Date: Fri, 28 Aug 2020 12:29:20 +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: Ulf Hansson 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 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]. Cheers, Anders [1] https://lkft.validation.linaro.org/scheduler/job/1717770#L1912