Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp665502rdb; Tue, 5 Dec 2023 16:57:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IFjXIlU3qHBmgtskTm81BSZz65Tk9FFd7/KQORqLoMpuQjS8WHdiKh3Lz3WbvwPe1t7OQ2A X-Received: by 2002:a05:6a00:4396:b0:6cd:fd83:7a1d with SMTP id bt22-20020a056a00439600b006cdfd837a1dmr58217pfb.8.1701824261502; Tue, 05 Dec 2023 16:57:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701824261; cv=none; d=google.com; s=arc-20160816; b=BHtTFFy3Jdt1KcNvXcqZo0MD+Wjhrv/3yWXtkdjs/1AFZYpppOfIQeTPRzqEpySp9z nncjTogoVY6W+lA0RWTuWo6bFdfIZ79ppCcmA+sLzux4VVuFl1CCMIRBMciWUcUPd5sp m69LKf0MtGpCFD4SlNzf6mhyGjqpBwMITsZZXw8UYNQ+2dbvN7ZLbxu4FYU5Oh1YGg4i D5EO7mQyp0D1K6e8H6q3ZYLeZzS9rcEA0jiP04WX18Dx1y6/x3iaZ4GCSnWD0DceBWNv AiwnXosjEKdLbiDwGjghyFyRSrTg6YEcV9IApUy6qgASv5u9qdW3sRltvB1eWFuFO/K+ XhWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=j7mfNPnoh+78JQw5/5CKK3uxJkAcEFnXRpHNFz5g0tc=; fh=oWAWJVcqYmStFi0UjNHzX8DNCiHw64cLK28u0EHGFkw=; b=ZkGdy7F3+ZJaKcczpJ2CsQi1Sv4HR+PynakLT+NZYBUYJ6u731rPWoN3W3XZBkJzEH IDVBRbi/Kh7WZa3MclZZ9Q54kXccL7C1NnMzsQOpPvYQPncvj0mh2tfqfAqAJ0U/yw7Y zEh2g6qIdfaGYCKk0SYuord1niXunliOHIDR/vPqQ5vDpL7qerILSYJZYxe2Tj7kiosV df7mOCWLoFIzoHGOJ0GiyJnOyG+bmiIO81qARy2JChlI/v8wmiifHQ9FnSk/8x0D9OHP lTVXwyKTAyzBslAxkeodapvtf/Q34EfF0n5GbpHKNK5VewVfQRHlHfUJ9+2Cj47X2Bve sYqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IwL7Y27M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id q22-20020a056a00151600b006ce921fc8f6si125631pfu.187.2023.12.05.16.57.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 16:57:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IwL7Y27M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id B1CAC804C553; Tue, 5 Dec 2023 16:57:38 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232402AbjLFA5I (ORCPT + 99 others); Tue, 5 Dec 2023 19:57:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229802AbjLFA5E (ORCPT ); Tue, 5 Dec 2023 19:57:04 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B25AE181 for ; Tue, 5 Dec 2023 16:57:10 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C5B1DC433C8; Wed, 6 Dec 2023 00:57:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701824230; bh=FulCScgGUlz7vGN5w8rjh+EHnbhrdoBbyFWfMX8lZL4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IwL7Y27Mk96BIqr4hQ4RtCykz11lDw3NRt3dTEf3vlkNVl5F9pF7HYHPx1jOCrlVq Q7c1Gt8eFmRM5jjqXNAv/g2vWCcr1LhiBeVyifhEf49NACVlNB7UqD9CIyKxEAGUyr YCkREqdgbw/QRL6+Vq7uIotTqwmeUt9tmNjb1qDkS75DeGgqb6eHAC1gsCm5FYBlNM 2P4F6IwltpBE9L6urSNpgNuMftnttkJPBwIgQzOJ2ff/q4guHo7DOEhFL9/s4sDDqQ kbIdWX1pqWv+takddRESftDVv7eFn3me83wvqCeEl27m4Uu7Y5UO5lWAEfY8HFXCeX Nw6eZezFMKMAQ== Date: Wed, 6 Dec 2023 08:57:04 +0800 From: Shawn Guo To: Xiaolei Wang Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, Frank.Li@nxp.com, marcel.ziswiler@toradex.com, qiangqing.zhang@nxp.com, s.hauer@pengutronix.de, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64: dts: imx8qm: Add imx8qm's own pm to avoid panic during startup Message-ID: <20231206005704.GL236001@dragon> References: <20231110072531.1957891-1-xiaolei.wang@windriver.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231110072531.1957891-1-xiaolei.wang@windriver.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Tue, 05 Dec 2023 16:57:39 -0800 (PST) On Fri, Nov 10, 2023 at 03:25:31PM +0800, Xiaolei Wang wrote: > Add imx8qm's own pm, otherwise the following panic will > occur during the startup process: > > Kernel panic - not syncing: Asynchronous SError Interrupt > Hardware name: Freescale i.MX8QM MEK (DT) > Workqueue: events_unbound deferred_probe_work_func > Call trace: > dump_backtrace+0x98/0xf0 > show_stack+0x18/0x24 > dump_stack_lvl+0x60/0xac > dump_stack+0x18/0x24 > panic+0x340/0x3a0 > nmi_panic+0x8c/0x90 > arm64_serror_panic+0x6c/0x78 > do_serror+0x3c/0x78 > el1h_64_error_handler+0x38/0x50 > el1h_64_error+0x64/0x68 > fsl_edma_chan_mux+0x98/0xdc > fsl_edma_probe+0x278/0x898 > platform_probe+0x68/0xd8 > really_probe+0x110/0x27c > __driver_probe_device+0x78/0x12c > driver_probe_device+0x3c/0x118 > __device_attach_driver+0xb8/0xf8 > bus_for_each_drv+0x84/0xe4 > __device_attach+0xfc/0x18c > device_initial_probe+0x14/0x20 > > Fixes: e4d7a330fb7a ("arm64: dts: imx8: add edma[0..3]") > Signed-off-by: Xiaolei Wang Applied, thanks!