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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BC6D6C433FE for ; Fri, 11 Nov 2022 03:54:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=5agOPfpdCbkkF+y71u68mGgB4S/7i8K8tjzq7xbo/Q0=; b=zBxsRD0bnwSMr6 6SC9z2VaCxyS+CBnQ4OG/c7oJY5Amshk/lyiLvhMTTLTIwy4x5AUFJ3Hzy7jZluwk9YazUcr7E+/H Ylo7S+oRw9iVYj8cF0+B7lFUJGXOYhYNXD0b8KZ52kO5FOJ566owKD622ae/alA9FXKg4CdscUNuZ wWeiWeoz4eS2CjilxHj+3+PIkhm+u4nMuNmHS0uO9MI1jy/Gj7IRcaAR03pAhNkxtPXnOjdRbD6SY EhwAp6PAKwwE3raVE+GUrDD1d9g/pHCVoFbXzZYg9wA1okJ9OER24wvxiX/0VGW9pzWEpeYCQxgrR YdpAjXgPVoz/90hxsSmw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1otL6Q-00CiwH-Qd; Fri, 11 Nov 2022 03:53:14 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1otL6O-00Ciux-2i for linux-arm-kernel@lists.infradead.org; Fri, 11 Nov 2022 03:53:13 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5402261D95; Fri, 11 Nov 2022 03:53:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0342EC433D6; Fri, 11 Nov 2022 03:53:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668138790; bh=95ooF5RK0BvIj5js7FGC4kph04JH4S/VemwRpET9ZLE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OSMKMcczxB+kf4C9c1sW4ZPXRJzhqoVC0Z2F2Ubz/xNXGKTyEposzG1ZSLyQe8E8A nOjPV1JQ59N/tCSgpMd3q52FMELL2Ej114aVznVAsHqAI8F8HhlpRX/10z8U6KhgHP SvfgfPGT7RmUO1SlzSKTrzjLqSdWcP1JoL5GN/jzr4ak+oxsB0m0S0xoeiGsDHAAS/ aw4oMX9d2ZY7/fVwVmWg8cJzuU41On3kUvY3NwIQUWmftLDiPRPb0zEcwrDGV4Lchz Tj6lvxzSRh1w7Lbr0kmQKDaG3AGnp+MZOWhIFO/wFWTHmxAfpdF8avS/VXWLjTHHwd MfPt/6F+mK5lA== Date: Fri, 11 Nov 2022 11:53:04 +0800 From: Shawn Guo To: "Wang, Xiaolei" , l.stach@pengutronix.de Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] soc: imx8m: Increase the clock enable before reading the register Message-ID: <20221111035304.GL125525@dragon> References: <20221028041418.4033261-1-xiaolei.wang@windriver.com> <20221111024607.GH125525@dragon> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221110_195312_176228_30C62BFE X-CRM114-Status: GOOD ( 17.08 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Nov 11, 2022 at 11:01:15AM +0800, Wang, Xiaolei wrote: > > On 11/11/2022 10:46 AM, Shawn Guo wrote: > > CAUTION: This email comes from a non Wind River email account! > > Do not click links or open attachments unless you recognize the sender and know the content is safe. > > > > On Fri, Oct 28, 2022 at 12:14:18PM +0800, Xiaolei Wang wrote: > > > When executing kdump to start the second kernel, > > > since IMX-OCOTP has turned off the clock, the clock > > > needs to be re-enabled, otherwise the system will hang. > > > > > > Fixes: ac34de14ac30 ("Revert "soc: imx8m: change to use platform driver"") > > Are you saying this fixes a regression caused by ac34de14ac30? > > > Yes, > > Although there is a problem with commit 7d981405d0fd, it also solves the > kexec kernel hang, commit 7d981405d0fd is reverted, and the kexec kernel > hang will also be introduced, so the clock needs to be enabled when the > kexec kernel starts. Ok. Lucas, Any comments here? Shawn _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel