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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 58294C433FE for ; Sun, 17 Apr 2022 18:15:27 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1E50A83531; Sun, 17 Apr 2022 20:15:25 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1650219325; bh=xBf+J9ONvLDdfnVGygYfZ0uuRteLom51l3MaEPzR9Tc=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=p+BqtbxZZsFQMwtC3Qf1yq+jDQ4uxtPPq7O5CzF4e7EkBhnWO/lLvtliAN9v/Y9En yQvdB9pCIkLsTgtbIn3pM8igte48ian2JPcGc4oQjY213ZcRXf8iclIGpaltXDgMp4 fK997vnOpOS0fWKb9s1Gz1MxF7W/Bm9TSauCutLoMhUAnwtkwRbEz/AWKQIhoXT83I IGi7WSwQjta55yKYXruRFo3CoPDvkTTOY0ba3+bi7wZJCDeW7Kcy2E3fC2LWr13E9i q2sFH273GBKoMLSLRU6mx5m0IiXrlUYS1fnwgr9CW2iIwG3avoeliyjo0FG7zJcJ0a WR6qA6hpAsjsA== Received: from [127.0.0.1] (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 0803B81DD6; Sun, 17 Apr 2022 20:15:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1650219323; bh=xBf+J9ONvLDdfnVGygYfZ0uuRteLom51l3MaEPzR9Tc=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=TSl8tV1ViJ93+mn1vf/jT3+OxCkfu+JyTPH6bJvAyBXbUgshW8KSCn1iKigFd549x RKkXku7K1hcDGjBse8CMOSBQjnqdj93krWJ+Dg8RDdYsjGNLyTI/lUkDNyfQ6VX0Vn sfFXvslCkecquHTq6dO2e4/AfPoYZlvFl76zjtH+3ckYsqT15sOMPlMjSaNRk1HjCY hiUUVz8zTtT+NL3WPv72zm8wmzmHVDsZoiayblhvtidtgr9YhqKsdeiW0YmNHsbG8F UfBxAa2oCuXC2allGbrciMk7c5P4gk8pJph1PROQts43DF0Oj/tj2ix9b3AzRTngDZ y82ZSLwkwZVzg== Message-ID: Date: Sun, 17 Apr 2022 20:15:22 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Subject: Re: [PATCH 3/3] imx: power-domain: Get rid of SMCCC dependency Content-Language: en-US To: Adam Ford Cc: Tim Harvey , u-boot , Fabio Estevam , Peng Fan , Stefano Babic References: <20220331030349.482922-1-marex@denx.de> <20220331030349.482922-3-marex@denx.de> <2e87142e-a9ba-9862-fa04-c959a3c1d54c@denx.de> From: Marek Vasut In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean On 4/17/22 18:37, Adam Ford wrote: [...] > When I just reverted all three of those, it still hangs. However, > when I removed CONFIG_CLK, it recovered. I'll examine which clocks > may be missing or if there is some other clock dependency. Hum, clock sounds indeed more plausible cause of the hang because the SMC calls (or the power domain driver) does not come up so early in the process. (the other possibility is that you're running of MALLOC_F space due to the extra clock). The obvious other question I have would be -- does it hang if you only enable CONFIG_CLK=y without these patches here ?