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 D1B5CC00140 for ; Sun, 21 Aug 2022 13:36:44 +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=QfopqmsL2U9crUQILjPWeM7P20HL2yIxl7pKmFFZJY4=; b=YxAnBjzD7bRXzs SixJ4MwTAm3Yc03uR4BkqbKO0dSbHXpZw7I1GiuZn+7q8JhfM/p+OYMrkbUQ2bmKjrqOxhjH/kyLG RLR8IDbCPEqReSowLGqgIl8YsVZXNkUiqx0oTzn0m3mAevutE3y6yNzXROUkZmNcysa2uS6pzGDU5 kn28jZ2mb9NUUUVtgxpgkWqrfJQFWacSMR+lvM0YQ7RoE/ohwfljeVMcaXUOeAkKaDtN8xNLmEVCD 9mvQzuy3QXEDyP9ZkwWlsX3HpuEeP5lxjFEtvplI/q3QlfRSZ/P1LU3g03ZCwrzmgO/XR1bx3rofu JQO1Fi6CPP8SVU0lt59g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oPl76-00AkeV-Js; Sun, 21 Aug 2022 13:35:40 +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 1oPl72-00Akak-S0 for linux-arm-kernel@lists.infradead.org; Sun, 21 Aug 2022 13:35:38 +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 4F74160EA6; Sun, 21 Aug 2022 13:35:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6FC1DC433D6; Sun, 21 Aug 2022 13:35:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661088933; bh=4freRq1ZTu7Rx3hlZzfInhw3tM4VhfVPwo4ccevKbdg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Mh7H1HytG807vPn1Q5DeXut6v3bGs4ziXGaDY+kdjt1z96vJ7mx1vbkvTVmVfs1q4 OgCPT7YV0s+BnNJyNmPkThjBn4DSImqb52ChbqhpT41r81r24uiEN8ns3gP7lH480H x/hersxoZgrfFAE55wmVMGK/F+FM3sR5r+FipaBX/k6fWz6nCcwyBWmn29we/EnafA PWIE/U/pPOVh3aUwu5eDMImv1vi+rIDDbc3em1MI+NrdyDgqGq1QW2lvnXPk1HiPw9 ocGqTeQDIwFcYhffHC+LBT5FJ447b2WE5hGPx9dXye94cLCzEXKzPfzA8PEwHPzLGE MzXzgbUbOLK2g== Date: Sun, 21 Aug 2022 21:35:28 +0800 From: Shawn Guo To: Marek Vasut Cc: linux-arm-kernel@lists.infradead.org, Fabio Estevam , Frieder Schrempf , Lucas Stach , NXP Linux Team , Peng Fan Subject: Re: [PATCH v3] soc: imx: gpcv2: Assert reset before ungating clock Message-ID: <20220821133528.GB149610@dragon> References: <20220812170802.205244-1-marex@denx.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220812170802.205244-1-marex@denx.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220821_063537_121874_96B83EDE X-CRM114-Status: GOOD ( 10.93 ) 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, Aug 12, 2022 at 07:08:02PM +0200, Marek Vasut wrote: > In case the power domain clock are ungated before the reset is asserted, > the system might freeze completely. This is likely due to a device is an > undefined state being attached to bus, which sporadically leads to a bus > hang. Assert the reset before the clock are enabled to assure the device > is in defined state before being attached to bus. > > Fixes: fe58c887fb8ca ("soc: imx: gpcv2: add support for optional resets") > Signed-off-by: Marek Vasut Applied, thanks! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel