Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1990280pxb; Mon, 23 Aug 2021 09:20:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwAkoD40eiyccxXXlScLFGmxHo+CEH5hkPplDcG4hXcp8XY0V41cIJRD97telJ6vBlfCWHG X-Received: by 2002:a5d:91d2:: with SMTP id k18mr27431137ior.20.1629735652005; Mon, 23 Aug 2021 09:20:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629735651; cv=none; d=google.com; s=arc-20160816; b=0/l/yKVuL+WU7twNfuGAz7Y3zjy2DSiuglgQLBEHmLt+f7U6ToZW+IXb/5k97bA/i5 Kn8LWzJihNHVs4CyrnfXywvmEVe77DwynNyKLFXEM6qRGiVLCQ6TUophB61bzXcdeQ1B xtnCNGkLAPWCL7hQwSqSpY7O9KK2OMzv7OIdBzkwvyFNvmiYWj8kPie4CfRH96zyOVMn qSUV5WZixZkw1Nr2lNcOttQvdj57Tx+hPb/ZU1Eqz164drrx1WcMYLsHw/EVn8j5M4x1 MNZTrzrt+E06uULxOOX5teWnQkF4mvvQNDd+cZrR95fuDBOOOBH0gJLWzU81jrT1xG20 ONMQ== 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=FsdWWS5i8+Mrzr5FVS8GQ0BaF3qwXImZiY/O4K6ZXGw=; b=HnVF48OVTMAPQ4/Xu1FUdjRfGwPb8CiH4g8IoVpPF/5PefbHphWuI1fQNI4NR2Qde+ dKfwzKqZ5oD6jpgbtcVYnsOVty8PU+lM+FeUWEx7defJ3Q3PVW+5dgA7ftageU8griPv SXDmE9KZR2lGO1rWLntSWNZptYkrOfnjsdlM7iVS7DHEk348iMyVOklyn7snv1ELVxqy Pdj1fqnbN45nPYWNkkq31WNogur8lu+vhLPpAs9RuZmgC8RSE6LNDdyb0oRkl8nZnLc+ 7fB6tJ9uBCpgApwapCYavqEYj6zaDtG5DxQnR0dVDHTsTjTygoMtGuyz8lyVchKP5N5Y pVFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=fpQNQ5zb; 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 e15si14667747ilu.153.2021.08.23.09.20.40; Mon, 23 Aug 2021 09:20:51 -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=fpQNQ5zb; 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 S229868AbhHWQUR (ORCPT + 99 others); Mon, 23 Aug 2021 12:20:17 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:53177 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229774AbhHWQUR (ORCPT ); Mon, 23 Aug 2021 12:20:17 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1629735574; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=FsdWWS5i8+Mrzr5FVS8GQ0BaF3qwXImZiY/O4K6ZXGw=; b=fpQNQ5zbis8uX+aqfNEcg2z5Lr9uJz0BvYh7dUVEmECdeQCK+qaJaLyKCPv3RbI9sHgeIDvW QC7Jdv71tZZeIQUUOaNR4G7NxgP4jvmgjoEgB5nGQcsgG5AOiLNohwsMasliWzCFJDeHTxlY Af0EVTIQXnisZpXv+pxo/KCEhaY= 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-n01.prod.us-west-2.postgun.com with SMTP id 6123ca7df588e42af1f37ab2 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Mon, 23 Aug 2021 16:19:09 GMT Sender: sibis=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id EAD8CC43617; Mon, 23 Aug 2021 16:19:08 +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 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 41F01C4338F; Mon, 23 Aug 2021 16:19:08 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 23 Aug 2021 21:49:08 +0530 From: Sibi Sankar To: Stephen Boyd Cc: bjorn.andersson@linaro.org, mka@chromium.org, robh+dt@kernel.org, ulf.hansson@linaro.org, rjw@rjwysocki.net, agross@kernel.org, ohad@wizery.com, mathieu.poirier@linaro.org, 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 v5 02/13] dt-bindings: remoteproc: qcom: pas: Add QMP property In-Reply-To: References: <1629342136-3667-1-git-send-email-sibis@codeaurora.org> <1629342136-3667-3-git-send-email-sibis@codeaurora.org> Message-ID: <5848670f513187734d7625f242bbf67b@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-08-21 23:47, Stephen Boyd wrote: > Quoting Sibi Sankar (2021-08-20 07:24:02) >> On 2021-08-20 00:25, Stephen Boyd wrote: >> > Quoting Sibi Sankar (2021-08-18 20:02:05) >> >> The load state power-domain, used by the co-processors to notify the >> >> Always on Subsystem (AOSS) that a particular co-processor is up/down, >> >> suffers from the side-effect of changing states during suspend/resume. >> >> However the co-processors enter low-power modes independent to that of >> >> the application processor and their states are expected to remain >> >> unaltered across system suspend/resume cycles. To achieve this >> >> behavior >> >> let's drop the load state power-domain and replace them with the qmp >> >> property for all SoCs supporting low power mode signalling. >> >> >> > >> > How do we drop the load state property without breaking existing DTBs? >> > Maybe we need to leave it there and then somehow make it optional? Or >> > do >> > we not care about this problem as the driver will start ignoring it? >> >> We can afford to break the bindings >> because of the following reason: >> >> * Load state in mainline is currently >> broken i.e. it doesn't serve its >> main purpose of signalling AOP of >> the correct state of Q6 during >> system suspend/resume. Thus we >> can maintain current functionality >> even without the load state votes >> i.e. when a new kernel with load >> state removed is used with an older >> dtb the remoteproc functionality >> will remain the same. >> > > Alright. Is that reflected somewhere in the commit text? I must have > missed it. Can you please add it? Commit message throughout the series mention that the current load state implementation is broken but it is never mentioned explicitly that it is the reason why bindings can be broken. I'll wait for a couple of days to see if I get any more comments and will re-word it in the next re-spin. -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project.