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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C2E15C678D5 for ; Thu, 9 Mar 2023 00:50:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229932AbjCIAuH (ORCPT ); Wed, 8 Mar 2023 19:50:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229572AbjCIAuB (ORCPT ); Wed, 8 Mar 2023 19:50:01 -0500 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1AE495452 for ; Wed, 8 Mar 2023 16:49:52 -0800 (PST) Received: by mail-lj1-x229.google.com with SMTP id f16so200476ljq.10 for ; Wed, 08 Mar 2023 16:49:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678322991; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=ZdsrXQuILZVbM+PO2HnaRco8fXPvsQFyErw7V7TKswk=; b=k5FLjKREdng28mdaHh/8TYp1Ag3SD/wwiwELNoVmQiZpDdv926s54niu8N+RJezqFB NlmH7Mt6lc1vJVLpkqEqieE4fQsOHAITvfPlx5LWVXunDp02x6kUlgGrku819O7lA0Yx XgMmsLLsg0tRkiOZV2kSUwfS+4bCzU/njrpjI8lDlIhRVVArgNVPOaqIDwE6/siTCGFh KeSpfhGDSC2eSzLHOTCXg0qyU2LKNV375IKp1OmF/ZVEqNcoF0/E5vHcWofvbNabJBxv Er/3Ez7ixGFhF+in/vICjZF8OyExbF4++P0KF2C+hiIo4HNKSnO2+WKd6stM2unddMYZ LozQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678322991; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ZdsrXQuILZVbM+PO2HnaRco8fXPvsQFyErw7V7TKswk=; b=qTQM34NlFDmedt0dca7wlWT5WcF7qcplhIWL/s3Sv5+8CGiCLSknI2VGqoSbEmkpZO HSwNS5EFc4/0A/byT3NJPmVpkJs8N4V6H7P+J4Nb2i7k1JWMb9WXHH7y+c8yoclDyS0I Nb9PgfE/ED0aza8E3HMrsSusKfVKpbXinGJTe2wjeQGx1GKl68Tpfj115sJMi8Yf7ymS Rtfa3iw7Pm3MvQ3tVmb2hvSF54WbQmmfvX7GhOd6nGwPEwSuas9QgMx2I4TkxtE1P2KA ip/oCL61sGAligfGJcAz4aDMJAR2EWVcxt5mXr4+iZmXtf3JQCbMKTJxxERATpuEjsfl /I7A== X-Gm-Message-State: AO0yUKW0vo/ECKaM/W8o/WhiXMNY7rg6PimTDQ2bR0nkQ1JPoL45MFel cDECOppEGyGAHCTRlmHUz3u3sg== X-Google-Smtp-Source: AK7set8JgS6tTkWmMj1bgVFqHmlRMeMNQt1k0gmvM4fo4jvythOs74W+lFz/VqpXgWDr4YtrleBgZg== X-Received: by 2002:a2e:a0c9:0:b0:295:b417:150a with SMTP id f9-20020a2ea0c9000000b00295b417150amr5577910ljm.11.1678322990909; Wed, 08 Mar 2023 16:49:50 -0800 (PST) Received: from ?IPV6:2001:14ba:a085:4d00::8a5? (dzccz6yyyyyyyyyyybcwt-3.rev.dnainternet.fi. [2001:14ba:a085:4d00::8a5]) by smtp.gmail.com with ESMTPSA id m8-20020a2e8708000000b00295d62f0a0fsm2738145lji.122.2023.03.08.16.49.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 08 Mar 2023 16:49:50 -0800 (PST) Message-ID: Date: Thu, 9 Mar 2023 02:49:49 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH RFT v2 06/14] clk: qcom: smd-rpm: Make BI_TCXO_AO critical Content-Language: en-GB To: Konrad Dybcio , Andy Gross , Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , devicetree@vger.kernel.org References: <20230303-topic-rpmcc_sleep-v2-0-ae80a325fe94@linaro.org> <20230303-topic-rpmcc_sleep-v2-6-ae80a325fe94@linaro.org> From: Dmitry Baryshkov In-Reply-To: <20230303-topic-rpmcc_sleep-v2-6-ae80a325fe94@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/03/2023 23:35, Konrad Dybcio wrote: > We should never let go of the active-only XO vote, as otherwise the > RPM may decide that there are no online users and it can be shut down, > resulting in a total, uncontrolled system collapse. > > Guarantee this through adding the CLK_IS_CRITICAL flag. > > Signed-off-by: Konrad Dybcio > --- > drivers/clk/qcom/clk-smd-rpm.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry