Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp4238910pxy; Mon, 26 Apr 2021 23:28:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyz5e6nQZyUJNB0d7YN5LEmskQY5TD7+ohl7NZblUoYgHf3g0B/rlr0CdkN7BuiclVIuErq X-Received: by 2002:a05:6402:781:: with SMTP id d1mr2596984edy.32.1619504902850; Mon, 26 Apr 2021 23:28:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619504902; cv=none; d=google.com; s=arc-20160816; b=U50/3ORz4s48CjDNixZpnsOcCGoCKFna/AUFfPZoV4LPZQEeiLMmrvjCnmw5HeiVEQ xwkkpcua431mtrIRqHaAmpoxnjbLYLcBRG9UsHcs68qpec+/JF36doXEP636Nu3eG6jm XiTKZOvX9bvVxNe/t8+AvBxo889ionve/rD52BRBnXdktTN6cTivY3TwDMGoCSd2FWWj dTyFZJOaDdd4LFZk55/HljRYPKA861P2pumPVt5m3kEiWGWj63NU998/7dsMmbZnWbHj yB0E7DBdu9fNolhjXQ/fYwWgXKwXTxu/MlhUhuOh3ES/jMqJKPsH6c4qxmFofSdgcU0F eiWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version :sender:dkim-signature; bh=/5CO6kyKiMLSUDsUJcNBx75sAEKt3Nx/B9KxXAfbB5c=; b=npyb4gruxnwkYA0VblqHNdmqrfHLmR0y7QGTUTQSsvN2J1D1AaCh0caaV/IFOT477j a2GhtQPFws5vBSCM49PCtJ3twvESSYEIVCRjCZl7t+RyEqvfOTvWoH8feyw3CEhjDrkq MoZFBoCHQeN2x6eRryE3tl+ioSNL8KXKGBO3fTP/4yHc+kPD6coloo84eqN71RaBMBzS Av5imy6oqYuR7aZQAqSPmfxWyWgHOm1cmocQu2iGP2Sv8QNAXPb6xmW8uG7l8tLMG2Ou uxNRw0uBjqR1cqZjkt+/B1JJAVjH5Wa4faMlGOHtyPu+xPAKpYCXSah7JqYtcyHx86t5 pA0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=cm4Qu794; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l23si16481694ejb.573.2021.04.26.23.27.59; Mon, 26 Apr 2021 23:28:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=cm4Qu794; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229578AbhD0G03 (ORCPT + 99 others); Tue, 27 Apr 2021 02:26:29 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:52110 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229978AbhD0G02 (ORCPT ); Tue, 27 Apr 2021 02:26:28 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1619504746; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=/5CO6kyKiMLSUDsUJcNBx75sAEKt3Nx/B9KxXAfbB5c=; b=cm4Qu794K+njHdVxj7f/6+zjPBuW1b9ANeeFRt6B02lf21XZuw97baUf8nlRonCehqkcOOGx o/OAo+Mgg4GbpcGbx8d5qAL0qYA1KEsSboOC20UHbCMXT5tFdEy+fJ1WINoSLycFaCqQLJzZ 1QOvpE4nHSD0RTWzBkPn8xXhVQQ= X-Mailgun-Sending-Ip: 69.72.43.7 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n05.prod.us-west-2.postgun.com with SMTP id 6087ae6afebcffa80f4922c4 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Tue, 27 Apr 2021 06:25:46 GMT Sender: sibis=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 0181DC43217; Tue, 27 Apr 2021 06:25:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: sibis) by smtp.codeaurora.org (Postfix) with ESMTPSA id 1E859C433D3; Tue, 27 Apr 2021 06:25:45 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 27 Apr 2021 11:55:45 +0530 From: Sibi Sankar To: Stephen Boyd Cc: bjorn.andersson@linaro.org, mathieu.poirier@linaro.org, robh+dt@kernel.org, ulf.hansson@linaro.org, rjw@rjwysocki.net, agross@kernel.org, ohad@wizery.com, linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dianders@chromium.org, rishabhb@codeaurora.org, sidgup@codeaurora.org Subject: Re: [PATCH 02/12] soc: qcom: aoss: Drop power domain support In-Reply-To: <161871128938.46595.8658084266884500136@swboyd.mtv.corp.google.com> References: <1618574638-5117-1-git-send-email-sibis@codeaurora.org> <1618574638-5117-3-git-send-email-sibis@codeaurora.org> <161871128938.46595.8658084266884500136@swboyd.mtv.corp.google.com> Message-ID: <7adff8e58784bb85ea844ad338bfb19c@codeaurora.org> X-Sender: sibis@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021-04-18 07:31, Stephen Boyd wrote: > Quoting Sibi Sankar (2021-04-16 05:03:48) >> The load state resources are expected to follow the life cycle of the >> remote processor it tracks. However, modeling load state resources as >> power-domains result in them getting turned off during system suspend >> and thereby falling out of sync with the remote processors that are >> still >> on. Fix this by replacing load state resource control through the >> generic >> qmp message send interface instead. >> >> Signed-off-by: Sibi Sankar >> --- > > Is it possible to keep this code around for a cycle so that there isn't > the chance that someone is using the deprecated DT bindings with a new > kernel? I worry that ripping the code out will cause them angst. deprecated bindings with a newer kernel shouldn't cause any problems since it is the driver changes that make AOSS PD mandatory or not. So the newer kernel will just use qmp_send and leave the PD unused. > Certainly we have to keep the code in place until DT is updated, so > this > patch should come last? sure I don't mind, as long as it simplifies the merge process. -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project.