Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1460675rwi; Thu, 27 Oct 2022 16:26:37 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4XVgZi8kt2u+EjG8E65tBfwARae8paBTmWKK6Wzzmg5DwR8ZtBoLaMBkpTCZeHibtcn6ef X-Received: by 2002:a17:902:6a81:b0:186:7df2:340 with SMTP id n1-20020a1709026a8100b001867df20340mr35171329plk.120.1666913197533; Thu, 27 Oct 2022 16:26:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666913197; cv=none; d=google.com; s=arc-20160816; b=n2Fi7GjuVD44127eposgjB0CbrxkQ421MsBvsLMbfcLsdY5nZ1vkjsFD91/GkrxK5O 1vP+z7EBBD7LRGNFBQ+QosOINio+IUa5QC3+JkpcP0JbOJlmy7u8enHuy913GUReSndY hmF4lRW3WzZ3McRNZ2hTmNv7qT7kM9z7BMJv9V0YJeAWXEs3+CpCOWmHANbnhWwVv3Hx YXlV13cibCvtjTn7LEnwoK2lrnDM19ZefCqNB+7BeyX/pcc1Rh2IHLGG9osfWeYjAa3R Hmjdlp/mHelbsM9f4894DqRdUGZEg83HQyCKAJ1wS8QRIJzfSIx22/1MVtFc0JIih61/ IXAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=W0HoQhZOBrI3cpDkvyP4ROWHYfQ/V+I/E7DfMaManlE=; b=VSHIm96vuiSf5AgXwwLo1o85FYlYddAqdxEf1pYs2zZaWNSFRsiKXfXqnbm35fNJnB COFrJQS0ZqO6JcFDcizCqOyqGrApdAvs/QlwRlFSB5w1RP3IQNJ30xRTbE1TuEbwEzpl PA95GBykr8zlEoxd9J4IP3df3PAIYhsggWkmwLFoyolCb6/eQTkjXwsY/d86uVJJDs0C sRlGgA79ldQfoWnMGa5DMJFOC1UKvz4xzc+mfZywWXT4s0cyJVwzBWofFLh6MCQssZBU qFD3zGDJa1okU791GXuyF2snQwzGIfFKW4FU6BHsuq6qGbQddUbRQErB7lozMfuR6o3O Q3Fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pQYR3IBI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z25-20020a630a59000000b00439cc644c03si3562734pgk.228.2022.10.27.16.26.26; Thu, 27 Oct 2022 16:26:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pQYR3IBI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235652AbiJ0XJO (ORCPT + 99 others); Thu, 27 Oct 2022 19:09:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234803AbiJ0XJM (ORCPT ); Thu, 27 Oct 2022 19:09:12 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B224900C1; Thu, 27 Oct 2022 16:09:11 -0700 (PDT) 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 EDD2162591; Thu, 27 Oct 2022 23:09:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4AF58C43470; Thu, 27 Oct 2022 23:09:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666912150; bh=hkVd0MHbdzv+0Fr8xN0jWV93AyTqcsDg/4xXphAOWoY=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=pQYR3IBIYxC2QnaF5LND3DsXVVjn40xDYIyLCoihxWofX3ZqgAAbOJXAoN5nGPzos BP2ceaLG0LYEVVnTQC+ausc84DRwddiqM6pORsTRgVEmFl+HCo71CG0KCyCVyTPup0 7hta12meYHD6jgaMM6prV62LyaEAeYslaERDhUL1BYTmvDuJctdYvK3apQw9A0YRud r5QETThHHgd7sXa0+pgIxoqz2ywZU/h19H3zY6gzpRRkfFeOXLguiLUr0deb1l+1io Md0rj7W6MN6D+3cXAkxHi2pszbD8TyEyoMqKPLWvldCSgbUwGT/7T2sXflpmfCYXWK WrXm5LTs2svTg== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20221027101159.942843-6-peng.fan@oss.nxp.com> References: <20221027101159.942843-1-peng.fan@oss.nxp.com> <20221027101159.942843-6-peng.fan@oss.nxp.com> Subject: Re: [PATCH 5/6] clk: imx: keep hsio bus clock always on From: Stephen Boyd Cc: linux-imx@nxp.com, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Jacky Bai , Peng Fan To: Peng Fan (OSS) , abel.vesa@linaro.org, abelvesa@kernel.org, festevam@gmail.com, kernel@pengutronix.de, krzysztof.kozlowski+dt@linaro.org, mturquette@baylibre.com, robh+dt@kernel.org, s.hauer@pengutronix.de, shawnguo@kernel.org Date: Thu, 27 Oct 2022 16:09:08 -0700 User-Agent: alot/0.10 Message-Id: <20221027230910.4AF58C43470@smtp.kernel.org> X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Peng Fan (OSS) (2022-10-27 03:11:58) > From: Jacky Bai >=20 > During Linux System suspend/resume stress test after System Sleep > enabled, system will stuck sometimes. It is because NICMIX is powered > down, which HSIOMIX(always on) is not powered down. When NICMIX > powering down, HSIOMIX will get a hardware handshake, without HSIO ROOT > clk, the handshake will lose. Then after NICMIX power on when system > resume, the access to HSIOMIX through NICMIX would be broken. So keep HSIO > ROOT always on. >=20 > Reviewed-by: Peng Fan > Signed-off-by: Jacky Bai > [Peng Fan] rewrite commit message > Signed-off-by: Peng Fan > --- > drivers/clk/imx/clk-imx93.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/drivers/clk/imx/clk-imx93.c b/drivers/clk/imx/clk-imx93.c > index 422ad3c89845..74e8d810db7f 100644 > --- a/drivers/clk/imx/clk-imx93.c > +++ b/drivers/clk/imx/clk-imx93.c > @@ -109,7 +109,7 @@ static const struct imx93_clk_root { > { IMX93_CLK_CCM_CKO2, "ccm_cko2_root", 0x1d00, C= KO2_SEL, }, > { IMX93_CLK_CCM_CKO3, "ccm_cko3_root", 0x1d80, C= KO1_SEL, }, > { IMX93_CLK_CCM_CKO4, "ccm_cko4_root", 0x1e00, C= KO2_SEL, }, > - { IMX93_CLK_HSIO, "hsio_root", 0x1e80, L= OW_SPEED_IO_SEL, }, > + { IMX93_CLK_HSIO, "hsio_root", 0x1e80, L= OW_SPEED_IO_SEL, CLK_IS_CRITICAL}, Similarly add a comment for critical flag please.