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 1BDEFC19F2D for ; Sat, 13 Aug 2022 11:39:56 +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-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-ID:References:In-Reply-To:Subject:Cc:To:From :Date:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=er/Y2ZVed4TOqsjzdfweIHV/pNI9wWDVC6H62uM8Oig=; b=DaDBIMeUPWwFJmmhsfjS+iDu2v t4OYiliEYz8afY2SMc6SBZUMgJkWuIXzw05ZU4n/zR2TTb7QfJtWVWVkLqGtKLj0UWToZM+pwyic2 JRE4EaNg/mDgAezvvSeCMLFzlmaGo/g5gAn5EGbdY/a6gR0Rqk46ZmxKL/tQRwWitEd94KT8YOv9o K6hCofBMtgVwDyUhrrULfZTUEnBSGWauY+9BlcMoip81sXUXmDTSK5bUybGvHzVvhAc/sNZaFDEyF LpZVogM4E7k2LHjfkILxph8rAoYp4LolATEXAsOIBtybCsUwXi6/Kn5jhdRdeW+APuN7C12vhhdHC i3z0qpmQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oMpTT-00EFdc-56; Sat, 13 Aug 2022 11:38:39 +0000 Received: from phobos.denx.de ([2a01:238:438b:c500:173d:9f52:ddab:ee01]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oMpTP-00EFc8-Jj for linux-arm-kernel@lists.infradead.org; Sat, 13 Aug 2022 11:38:37 +0000 Received: from mail.denx.de (unknown [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: festevam@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 27B4384522; Sat, 13 Aug 2022 13:38:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1660390710; bh=w4F+g91NE31/sgM3kXcHS9ki/LA4lF6cRw2i9Ik5YSs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=y/90vdMiNeoT12oQ9+a5z7xdPt/4AEoYAZMGCqow8dR1Y2X1viaoscbe5AUzWysik +PL15wk/gh5idYjV/GrFkV4pXbtZpvSw5NQyXFKEfB6YhrK3+cS1+eUPydGus76SO5 qTwTYKPA7fggiDoWtRzhTpEvQIgorR5eCMoWmAe8nRdbJduJHF4BzbtbFVh+NXDb3y Qu1JrZ4Re9cYn5QyvcmrW6ODv04pOl4bFMyB/HzBJxzC3ratHHVFXHttElVHk87q1e CVJsgi2rr1mHH4TLRSfXjwSXbnWZcFmETcoJen4i0B+DFnti/KWvyYzULMykbjWxjh NsFgYIY6SrWIw== MIME-Version: 1.0 Date: Sat, 13 Aug 2022 08:38:30 -0300 From: Fabio Estevam To: Marek Vasut Cc: linux-arm-kernel@lists.infradead.org, Frieder Schrempf , Lucas Stach , NXP Linux Team , Peng Fan , Shawn Guo Subject: Re: [PATCH v3] soc: imx: gpcv2: Assert reset before ungating clock In-Reply-To: <20220812170802.205244-1-marex@denx.de> References: <20220812170802.205244-1-marex@denx.de> Message-ID: X-Sender: festevam@denx.de User-Agent: Roundcube Webmail/1.3.6 X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220813_043835_941767_CFD68004 X-CRM114-Status: UNSURE ( 7.51 ) X-CRM114-Notice: Please train this message. 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Marek, On 12/08/2022 14:08, 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 Reviewed-by: Fabio Estevam _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel