Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2783233rwa; Mon, 22 Aug 2022 13:49:07 -0700 (PDT) X-Google-Smtp-Source: AA6agR63jothgdQsmrDbIDCx6dZr9rYm0NEDrlERasJZ0R6ylt2oRh0ttYdbKAFeKP3bH/9x8oIa X-Received: by 2002:a17:90b:1d91:b0:1fb:4f7f:852e with SMTP id pf17-20020a17090b1d9100b001fb4f7f852emr151497pjb.126.1661201346988; Mon, 22 Aug 2022 13:49:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661201346; cv=none; d=google.com; s=arc-20160816; b=ALsjv87vBsORLPlhEM6Dh1mM0ItbwneocUz/mcUQfbngs2yhNGNNfSppRBm8k7hZ9C N3GFT768JPOs0JrSyqK0doXstDtHVRJDEPcCfUFdninT+RqvaDBxP5QHfYhLEN3cZdl6 CSa/jP41KkEMLiMPU8kX8CmM8xYTT+nUQuLkC3Ql8aWCSvmWLzbpwnsDT5LmDQcer2yk mlM1EaICDA+2y85AnUak+fmBV8JTiSsIK+MaxIMdqJ5Hew7G7obAr3YMXE1Q3gKkNPRQ 3EGxYd7WA2G0XmtU5zCPTe14G7dDO+dAR/0yF7TtVi2KfTSs70B0nHSdKStc22EzO8/1 U6Lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=azYpYNhsQdFZ4hTXixgIKWt06patLToUHV+Y876Ymo0=; b=vK5CGAkfzpGh0DAseQOXKQS5iL61Rs8wiBpErBU2ftv9Dn3NyZ1RFjC9KtuSRJ0yAc fV4vZ2/T47IiaDQPxCXcWOJDxxOrp154QlgQAD/PoE6yNuZaVPYzx8kViFu+tN0w98wi Iev+UKOFc9In5SCvDOtmkP8CotZUSQgHR5irAbTUQHduX/ch/FVwuFwSafKDI+b1vMtq 5311n7NxNzpjHXaR1EGBsGMmidirA+m5sQYXBXzba5+9iWG5bA2W49k0eRB2S1Z8coFs S0J+QRKUSxLbJ73Sz82MRGgI6NBmcMHzYMP8cQadpqvlOju23QcKHj+3G98E0U9Ky1cP Aq1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b="EvsqbE/I"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l65-20020a639144000000b0041bf780ec7asi13696022pge.474.2022.08.22.13.48.56; Mon, 22 Aug 2022 13:49:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b="EvsqbE/I"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237609AbiHVUja (ORCPT + 99 others); Mon, 22 Aug 2022 16:39:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237598AbiHVUj2 (ORCPT ); Mon, 22 Aug 2022 16:39:28 -0400 Received: from mail-yw1-x1135.google.com (mail-yw1-x1135.google.com [IPv6:2607:f8b0:4864:20::1135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D79A4457D for ; Mon, 22 Aug 2022 13:39:27 -0700 (PDT) Received: by mail-yw1-x1135.google.com with SMTP id 00721157ae682-324ec5a9e97so326725627b3.7 for ; Mon, 22 Aug 2022 13:39:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=azYpYNhsQdFZ4hTXixgIKWt06patLToUHV+Y876Ymo0=; b=EvsqbE/Il9kLi6nxChedGykxC38feEtm+cXu2oDwyfRd19JEPvBdhsxa1fKY75U3Td M2NWeIk45MM39nIpoRwg+RTGGhMsb6znDaWf2ukwE61WpsS22xac85KnlmIpkYVG76di 4NoFxOs+7/wb86ni2UVbyfg/wqnL5eIALu59olOrOFefixudrAgwaFMVJZ1wbg3xUQdr IEKFg7gm0RnUUHE8TAy3A2vrbpURpv/25BL84fIXy4CX4Kt7scZoB6yENtNrijGyg0dG Afc9Ydgm132+7M3paR7DsI40oMRizvVrXg8+zgzVONiWeqkMqt8wPjb8JYJsbNNsNxsC 4PKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=azYpYNhsQdFZ4hTXixgIKWt06patLToUHV+Y876Ymo0=; b=RhGSDMz7XPki8ldalQaguvPnHOgdIjrkcmOZ2QMf75YzydqTUfnmkOMXRRsH931KlT 4WewnpYNU6V/bVlQaplEI6L7wocuiTVlz4Z5B098mwt7wFGQaMBikcqoTUp2glPnXwyj yoSxBEj3TqLY+5f17sK2CU/Z5CIWJ2SdKOfuB68f/v+WvmiC1uuI2ZSGOl9g9OCjfBhT BArDY0G4V50xGEvxG1K8Go/GqODyzJcNyyPZ+Pm8hQwgp6pEF5sGVRkSSVoFq1uK+I6c KxJJfxYi7IpIFxdKzKJRyslAP/w9F2xOw5AeAucNvvKUFcJz/hkBdzGR2s8KEKTcBqma fZSQ== X-Gm-Message-State: ACgBeo1lHuGtMMcHUModSyzezmRRWKFEPb/rjs3VKsdm1VKF9OSSE1hi 3hdkW0uw1dMPu28LcPENvPMudBCberPifYq4fLMTAA== X-Received: by 2002:a25:ef0f:0:b0:695:b3d1:15c1 with SMTP id g15-20020a25ef0f000000b00695b3d115c1mr6357909ybd.80.1661200766338; Mon, 22 Aug 2022 13:39:26 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Saravana Kannan Date: Mon, 22 Aug 2022 13:38:50 -0700 Message-ID: Subject: Re: Unable to handle kernel NULL pointer dereference at virtual address 0000000000000008 To: Naresh Kamboju Cc: open list , lkft-triage@lists.linaro.org, regressions@lists.linux.dev, Russell King , "Russell King (Oracle)" , Wang Kefeng , Rob Herring , Jason Gunthorpe , Lu Baolu , Krzysztof Kozlowski Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 22, 2022 at 7:00 AM Naresh Kamboju wrote: > > The arm64 Qualcomm db410c device boot failed intermittently on > Linux next-20220822 and Linux mainline 6.0.0-rc1. > > Reported-by: Linux Kernel Functional Testing > > [ 0.000000] Linux version 6.0.0-rc1 (tuxmake@tuxmake) > (aarch64-linux-gnu-gcc (Debian 11.3.0-3) 11.3.0, GNU ld (GNU Binutils > for Debian) 2.38.90.20220713) #1 SMP PREEMPT @1661110347 > [ 0.000000] Machine model: Qualcomm Technologies, Inc. APQ 8016 SBC > > [ 3.609382] Loading compiled-in X.509 certificates > [ 3.702306] Unable to handle kernel NULL pointer dereference at > virtual address 0000000000000008 > [ 3.702380] Mem abort info: > [ 3.710225] ESR = 0x0000000096000004 > [ 3.711454] s3: Bringing 0uV into 375000-375000uV > [ 3.712713] EC = 0x25: DABT (current EL), IL = 32 bits > [ 3.717378] s4: Bringing 0uV into 1800000-1800000uV > [ 3.721289] SET = 0, FnV = 0 > [ 3.727634] l1: Bringing 0uV into 375000-375000uV > [ 3.731266] EA = 0, S1PTW = 0 > [ 3.731278] FSC = 0x04: level 0 translation fault > [ 3.735046] l2: Bringing 0uV into 1200000-1200000uV > [ 3.739166] Data abort info: > [ 3.742737] l4: Bringing 0uV into 1750000-1750000uV > [ 3.746980] ISV = 0, ISS = 0x00000004 > [ 3.746991] CM = 0, WnR = 0 > [ 3.752504] l5: Bringing 0uV into 1750000-1750000uV > [ 3.754966] [0000000000000008] user address but active_mm is swapper > [ 3.754981] Internal error: Oops: 96000004 [#1] PREEMPT SMP > [ 3.754991] Modules linked in: > [ 3.755002] CPU: 1 PID: 10 Comm: kworker/u8:1 Not tainted 6.0.0-rc1 #1 > [ 3.760279] l6: Bringing 0uV into 1800000-1800000uV > [ 3.763370] Hardware name: Qualcomm Technologies, Inc. APQ 8016 SBC (DT) > [ 3.763378] Workqueue: events_unbound deferred_probe_work_func > [ 3.767152] l7: Bringing 0uV into 1750000-1750000uV > [ 3.771188] pstate: 40000005 (nZcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) > [ 3.771199] pc : pl011_probe+0x30/0x154 > [ 3.778480] l8: Bringing 0uV into 1750000-1750000uV > [ 3.783073] lr : amba_probe+0x11c/0x1b0 > [ 3.783086] sp : ffff800008073b50 > [ 3.783090] x29: ffff800008073b50 x28: 0000000000000000 > [ 3.787102] l9: Bringing 0uV into 1750000-1750000uV > [ 3.792712] x27: 0000000000000000 > [ 3.792720] x26: ffff80000af7a368 x25: ffff00000341f00d x24: ffff00003fcdce60 > [ 3.798382] l10: Bringing 0uV into 1750000-1750000uV > [ 3.804432] x23: ffff80000adf0fb8 x22: 0000000000000000 x21: ffff000003c02800 > [ 3.804449] x20: ffff000003c029b0 x19: 0000000000000000 > [ 3.811003] l11: Bringing 0uV into 1750000-1750000uV > [ 3.814850] x18: ffffffffffffffff > [ 3.814858] x17: 0000000000000000 x16: ffff00003fc4d040 x15: ffff000003c6fb8a > [ 3.814874] x14: ffffffffffffffff > [ 3.822730] l12: Bringing 0uV into 1750000-1750000uV > [ 3.825611] x13: 00000000000005cf x12: 071c71c71c71c71c > [ 3.825623] x11: 00000000000005cf x10: 0000000000000c00 x9 : ffff8000088ead60 > [ 3.831391] l13: Bringing 0uV into 1750000-1750000uV > [ 3.834290] > [ 3.834293] x8 : ffff00000367ad60 x7 : ffff00003fc69ccc x6 : 0000000000000001 > [ 3.834310] x5 : ffff80000aa8f000 > [ 3.838735] l14: Bringing 0uV into 1750000-1750000uV > [ 3.842798] x4 : ffff80000aa8f2e8 x3 : 0000000000000000 > [ 3.842810] x2 : ffff80000b035380 x1 : 0000000000000000 x0 : ffff000003c02800 > [ 3.848640] l15: Bringing 0uV into 1750000-1750000uV > [ 3.851134] > [ 3.851138] Call trace: > [ 3.859837] l16: Bringing 0uV into 1750000-1750000uV > [ 3.863375] pl011_probe+0x30/0x154 > [ 3.863389] amba_probe+0x11c/0x1b0 > [ 3.863400] really_probe+0xc8/0x3e0 > [ 3.871415] l17: Bringing 0uV into 3300000-3300000uV > [ 3.875438] __driver_probe_device+0x84/0x190 > [ 3.875450] driver_probe_device+0x44/0x100 > [ 3.881633] l18: Bringing 0uV into 1750000-1750000uV > [ 3.883860] __device_attach_driver+0xa4/0x150 > [ 3.989109] bus_for_each_drv+0x84/0xe0 > [ 3.992982] __device_attach+0xb0/0x1f0 > [ 3.996714] device_initial_probe+0x20/0x30 > [ 4.000533] bus_probe_device+0xa4/0xb0 > [ 4.004699] deferred_probe_work_func+0xa8/0xfc > [ 4.008521] process_one_work+0x1dc/0x450 > [ 4.013034] worker_thread+0x2d0/0x450 > [ 4.017200] kthread+0x108/0x110 > [ 4.020844] ret_from_fork+0x10/0x20 > [ 4.024237] Code: 910e0042 d2800013 a9025bf5 aa0003f5 (f9400436) > [ 4.027801] ---[ end trace 0000000000000000 ]--- > [ 137.808813] random: crng init done > Hi Naresh, Thanks for the report! These two patches together should fix the issue: https://lore.kernel.org/lkml/20220818172852.3548-1-isaacmanjarres@google.com/ https://lore.kernel.org/lkml/20220817184026.3468620-1-isaacmanjarres@google.com/ Can you give them a shot please? Also, in general, it'd be nice if you could report issues in the original thread of the patch causing issues. It would make it easier to keep track of all the issues. Thanks, Saravana