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=-0.5 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, 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 74A7AC433E0 for ; Mon, 18 Jan 2021 21:44:21 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1F52822CB1 for ; Mon, 18 Jan 2021 21:44:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1F52822CB1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 181576E595; Mon, 18 Jan 2021 21:44:20 +0000 (UTC) Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by gabe.freedesktop.org (Postfix) with ESMTPS id D2C226E593; Mon, 18 Jan 2021 21:44:18 +0000 (UTC) Received: by mail-lj1-x234.google.com with SMTP id x23so19693454lji.7; Mon, 18 Jan 2021 13:44:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=apNm0azvZC7XNNHSP5Or6S9Z1NbfqeUMRCMfChrgFDo=; b=Bmoys4/+faU/xOC3MNW7eGoYg+OuJgL10kK0TUuLxmbjs2ugYSppQk0QycjnH8Jcae PQugeWklNUi4aV2ALkqQ+24liRIF1rbxP6oWw2b3BgGTLJefxaqFpDoGkgVOr/vWwXSy DfhT9ynvaPabVQ3NUjTAU/o7tGzRZS+lPB3aketwYnu/locr/3aYU2gy+GN3AqxooBvY wEpqwQFPvD+QIB7zeP6oW/1ubY+Kap6bzOLKKhvw3RO7RnQr0JUecTXU0FxN0OhPFlmr CIojqOkQWEU8zqsfcqyzhRnYyRtOLWsq6bj42p8sFx1Ncz1jUFrqQLBsN3cwe6fWUmaC +TjA== 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=apNm0azvZC7XNNHSP5Or6S9Z1NbfqeUMRCMfChrgFDo=; b=qMePELNG0JrsWMyFk2Nqc1fednIuW4al95N+oRm/Owg7JIJu2DEHQQ3yyZOZwcUH/J R7rnZpi69iTILUGfH16HEzi97ItDjY/FLpqssaCQQXmGylrxS1wV7Ylj7Zy2R/RU+ufH kcrCo70vhzbKcdr4VF8VXWBFH3WaMx2cjNIotEAuqd1d53Bcr5oz4f48aUXXR9WQXkE6 XvqvxgILwzYLlWpS1Q8oXvZf5zvS4XOx9bG2a1ktUAQ34lc+9/K59mT1v+0bLJkxFeUN oLr9+biP8AxXOSPrbOoSofL9SIa0CjK0rO9hl7BoOVEDi2Fhx1Bmw0ZCOtSe15jnpxzg 3wgg== X-Gm-Message-State: AOAM530Hd62mAc0wMgqN6BmEa/Y4JFdoqjlD7b3pHktwEG/B49Vfsu7A QHd3peu13dTCKJHqe1FDGj47op1vlT72Pnsjknc= X-Google-Smtp-Source: ABdhPJy7F+JA0s+3xRc9lbl8fbsyfWhdW9NCOaHeljVGBtpmJtyN2FCwOrPdINi6tq7L/Ct+koohSn9P/+B1htxB6fE= X-Received: by 2002:a2e:b556:: with SMTP id a22mr589339ljn.264.1611006257106; Mon, 18 Jan 2021 13:44:17 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Fabio Estevam Date: Mon, 18 Jan 2021 18:44:05 -0300 Message-ID: Subject: Re: Reboot crash at msm_atomic_commit_tail To: Rob Clark , Sean Paul , Jonathan Marek , Bjorn Andersson , Jordan Crouse X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "open list:DRM DRIVER FOR MSM ADRENO GPU" , DRI mailing list , Sascha Hauer Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Adding some more folks in case anyone has any suggestions to fix this reboot hang. Thanks On Tue, Jan 12, 2021 at 5:07 PM Fabio Estevam wrote: > > Hi, > > I have noticed that on an imx53-qsb, it is no longer possible to > reboot the system as it fails like this: > > Requesting system reboot > [ 23.819116] cfg80211: failed to load regulatory.db > [ 23.827569] imx-sdma 63fb0000.sdma: external firmware not found, > using ROM firmware > [ 23.956838] ci_hdrc ci_hdrc.0: remove, state 1 > [ 23.968029] usb usb1: USB disconnect, device number 1 > [ 23.976033] usb 1-1: USB disconnect, device number 2 > [ 24.234253] ci_hdrc ci_hdrc.0: USB bus 1 deregistered > [ 24.268964] 8<--- cut here --- > [ 24.274602] Unable to handle kernel NULL pointer dereference at > virtual address 00000000 > [ 24.283434] pgd = (ptrval) > [ 24.286387] [00000000] *pgd=ca212831 > [ 24.290788] Internal error: Oops: 17 [#1] SMP ARM > [ 24.295609] Modules linked in: > [ 24.298777] CPU: 0 PID: 197 Comm: init Not tainted > 5.11.0-rc2-next-20210111 #333 > [ 24.306276] Hardware name: Freescale i.MX53 (Device Tree Support) > [ 24.312442] PC is at msm_atomic_commit_tail+0x54/0xb9c > [ 24.317743] LR is at commit_tail+0xa4/0x1b0 > [ 24.322032] pc : [] lr : [] psr: 60000013 > [ 24.328374] sp : c28d1d50 ip : c23a3000 fp : 00000000 > [ 24.333670] r10: c2816780 r9 : c12d71c0 r8 : c17fb018 > [ 24.338967] r7 : c23a3000 r6 : c2816780 r5 : 00000000 r4 : 00000000 > [ 24.345572] r3 : c24c2c00 r2 : c23a3000 r1 : c0769b24 r0 : 00000000 > [ 24.352177] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none > [ 24.359407] Control: 10c5387d Table: 72858019 DAC: 00000051 > [ 24.365220] Process init (pid: 197, stack limit = 0x(ptrval)) > [ 24.371052] Stack: (0xc28d1d50 to 0xc28d2000) > [ 24.375508] 1d40: ffffffff > 00000000 9682f000 00000005 > [ 24.383794] 1d60: 3031e53d 00000000 00000dc0 c0f816d8 c23a3000 > c23a3000 00000000 c17fb018 > [ 24.392079] 1d80: c12d71c0 c2816780 00000000 c06db0b4 a5f7faba > 00000005 00000000 c2816780 > [ 24.400363] 1da0: 00000000 c23a3000 00000000 c17fb018 c12d71c0 > c24c20a0 00000000 c06dbed0 > [ 24.408647] 1dc0: 00000000 00000000 c2816780 c23a349c c2816780 > c28d1dfc c23a34a4 c06db604 > [ 24.416932] 1de0: c23a3000 00000000 c1609388 c12ba9dc c17fb018 > c06db704 c2965e80 c2965e80 > [ 24.425214] 1e00: 00000008 00000001 00000000 00000000 c175f454 > 00000000 c175f458 c1c669cc > [ 24.433498] 1e20: 00000000 c12bebb8 00000000 00000001 00000008 > 00000000 c23a32ec c23a32ec > [ 24.441783] 1e40: 00000000 433f193b c24c2014 c24c2014 c24c2010 > c17674c8 c1e68bec c07c76e8 > [ 24.450067] 1e60: 00000000 c16158d8 c1609388 fee1dead 00000000 > c28d0000 00000058 c0153730 > [ 24.458350] 1e80: 01234567 c01539d4 fffffffe 00000000 00000000 > 00000000 00000000 00000000 > [ 24.466633] 1ea0: 00000000 00000000 00000000 00000000 00000000 > ffffffff 00000000 c1609388 > [ 24.474917] 1ec0: c29663c8 00000000 00000000 c0e17954 ffffe000 > ffffffff 00000001 ffffffff > [ 24.483200] 1ee0: c1609388 c1609388 c16093d4 433f193b 00000000 > c1581584 ffffe000 1ea51000 > [ 24.491485] 1f00: 00000001 00000080 c1609388 c1609794 c29663c8 > 00000000 00000000 c0e17954 > [ 24.499769] 1f20: 00000000 ffffffff 00000000 c1609388 c1609388 > c16093d4 00000000 c1609388 > [ 24.508054] 1f40: c29663c8 c0183f24 c2965e80 c1609388 00000001 > c1609794 c2995090 c018ce7c > [ 24.516337] 1f60: 00000001 c2995080 c0136e80 c010012c 00000000 > 00000001 c158b21c c0e22334 > [ 24.524622] 1f80: c158b21c c010019c c1609794 433f193b 00000000 > beefefd4 00000001 00000058 > [ 24.532907] 1fa0: c0100264 c0100080 00000000 beefefd4 fee1dead > 28121969 01234567 00000000 > [ 24.541191] 1fc0: 00000000 beefefd4 00000001 00000058 00000000 > 00000000 b6f1ef74 00000000 > [ 24.549476] 1fe0: 000d7298 beefed40 00091a48 b6e8894c 60000010 > fee1dead 00000000 00000000 > [ 24.557742] [] (msm_atomic_commit_tail) from [] > (commit_tail+0xa4/0x1b0) > [ 24.566349] [] (commit_tail) from [] > (drm_atomic_helper_commit+0x154/0x188) > [ 24.575193] [] (drm_atomic_helper_commit) from > [] (drm_atomic_helper_disable_all+0x154/0x1c0) > [ 24.585599] [] (drm_atomic_helper_disable_all) from > [] (drm_atomic_helper_shutdown+0x94/0x12c) > [ 24.596094] [] (drm_atomic_helper_shutdown) from > [] (device_shutdown+0x118/0x250) > [ 24.605475] [] (device_shutdown) from [] > (kernel_restart+0xc/0x68) > [ 24.613574] [] (kernel_restart) from [] > (__do_sys_reboot+0x144/0x200) > [ 24.621915] [] (__do_sys_reboot) from [] > (ret_fast_syscall+0x0/0x2c) > [ 24.630160] Exception stack(0xc28d1fa8 to 0xc28d1ff0) > [ 24.635315] 1fa0: 00000000 beefefd4 fee1dead > 28121969 01234567 00000000 > [ 24.643600] 1fc0: 00000000 beefefd4 00000001 00000058 00000000 > 00000000 b6f1ef74 00000000 > [ 24.651867] 1fe0: 000d7298 beefed40 00091a48 b6e8894c > [ 24.657025] Code: 1592208c 1185521c e1530000 1afffff8 (e5942000) > [ 24.663681] ---[ end trace 9a1e129deec83f42 ]--- > [ 25.670432] Kernel panic - not syncing: Attempted to kill init! > exitcode=0x00000000 > [ 25.678331] ---[ end Kernel panic - not syncing: Attempted to kill > init! exitcode=0x00000000 ]--- > > It happens on 5.4 as well as 5.11-rc2. > > Any ideas? > > Thanks, > > Fabio Estevam _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel