Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp2155604pxb; Mon, 23 Aug 2021 13:21:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw0yYFwP5Tyrgp1QzjvcTe30AjNiWTOPlanSVYrz1+LJ981DWBklatD+e3lU7E5bt59IZUA X-Received: by 2002:a05:6602:1493:: with SMTP id a19mr27495316iow.55.1629750083714; Mon, 23 Aug 2021 13:21:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629750083; cv=none; d=google.com; s=arc-20160816; b=yl7PDW/qFYwV3s4pVbNcnTc+nlvSOF8PZ/zODs0Mbrx6ezJuFGs8h6eYFAViTh0FYd DA+T3RPDk2IGHvIKyZK2czvwRb2vX7txIGCapQ6lUfLWmAttZcAeOxg8SXPCSen5QD/F TVS/oFspIU5Kax/XIS157fu29a3Bt290xvlaOJzyziKnLUwx8Bjzom9xBpyPVD1bNY1r VNbhlCeM2guNVRs/amtxiJWIcompifphsIo3vq5ykcwPKiq0sNhh3n5TSmSkpfDuTqfj aijbRgopt+sSc2n+vvQnIy3eOZMbj0gEs3TvKdkHCVeaxlsEm0tTfSSjP4t8+cioT/dc kWXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:user-agent:from :references:in-reply-to:mime-version:dkim-signature; bh=e+9/i7ql0JBP0axXyyLhXNf4AItySuPk82qcEXlXd5g=; b=H2HkBFRZFXti12bD/170Y7dFjiaGk+K2kJ82m2zDWweZOXColwuNG2XlLMR5aB+0/t 6J6Qbh2Non8EPndgdsgROmnBCZaVqwRmngL4lTp+WDOWDOPiaMOVeVNCahRvMu4vcP42 r/YCoYcqnMg20ARBOtKq2Rr2m7btyuPyXH5fablTss4/BQNabudg8NDHLf6LmgkP3i8m g2q64Un9qQMlwIt7cHt5F/E/b+syjVG+wfvJzD7cm352gelWvLYrubFLXQN89hmLhs8K hnbzyHBw4gCbA7uhzQ6MVylzdIE4hqWeRR70nqubZz11dwBeehY2nWcPyShY6le/NxTb il/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=fQrasVro; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b4si14859432iln.32.2021.08.23.13.21.10; Mon, 23 Aug 2021 13:21:23 -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=@chromium.org header.s=google header.b=fQrasVro; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232343AbhHWUTB (ORCPT + 99 others); Mon, 23 Aug 2021 16:19:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54622 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231716AbhHWUTB (ORCPT ); Mon, 23 Aug 2021 16:19:01 -0400 Received: from mail-ot1-x32d.google.com (mail-ot1-x32d.google.com [IPv6:2607:f8b0:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E004C061757 for ; Mon, 23 Aug 2021 13:18:18 -0700 (PDT) Received: by mail-ot1-x32d.google.com with SMTP id l7-20020a0568302b0700b0051c0181deebso7958462otv.12 for ; Mon, 23 Aug 2021 13:18:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:user-agent:date:message-id :subject:to:cc; bh=e+9/i7ql0JBP0axXyyLhXNf4AItySuPk82qcEXlXd5g=; b=fQrasVro5N3cZEnqPgBuX2YdB8zrxp3HHRfMlva8FJEkdLOEbBQirnmkqa04Oe+dnX IS8z5u8Wjdsu2ToHGuX11ef42nmkeC+KkgzGKhdb9HCwVkztQRVqJWXcW+L0OV1+6XsN FV/0Xckk73dNW8LW7WsYqjP2iP7Lw1YCKD++A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from :user-agent:date:message-id:subject:to:cc; bh=e+9/i7ql0JBP0axXyyLhXNf4AItySuPk82qcEXlXd5g=; b=rlLuvMb2Hn5CDiToNKx38zjs9uJRGFoH7btg+xnzPf4cBZ1kd+bSp5SsDglKcgLWoh mLEKplF6GkFXt4MyqoXBSgzFyg4qxS7cl1KUpLImf6ZIcbZFehD5PWdqJt1i6Ik8F11y edJTUvLyGWjaZyrITj24YXhIVfo/NSLKXwBUmB0cRujbKCKn8L8PMcZNbEFYbuDcs/VP BB+O7I5o33SLvjn8mpnR6Y1GzlRWHtHKUYPzGda8krwY+ItTYsAMLR0kYy2v0sNEzGgX ny/HaUedomcng4isjAO0hxm2+ViZV/GgcpKS4tuGVD9SUjl52ghM0kqqV/ncKZB029VP pV4w== X-Gm-Message-State: AOAM532x4u8kbYkB+cNSzmdd4gaAiTuSQ4UKnIQOeYx7IvJhE4LNj69B P4weq+ZCi6nmifCtUH1hIyH+xvCItiQdo9OKeYVlAw== X-Received: by 2002:a05:6830:88:: with SMTP id a8mr29462620oto.233.1629749897488; Mon, 23 Aug 2021 13:18:17 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 23 Aug 2021 15:18:17 -0500 MIME-Version: 1.0 In-Reply-To: <5848670f513187734d7625f242bbf67b@codeaurora.org> References: <1629342136-3667-1-git-send-email-sibis@codeaurora.org> <1629342136-3667-3-git-send-email-sibis@codeaurora.org> <5848670f513187734d7625f242bbf67b@codeaurora.org> From: Stephen Boyd User-Agent: alot/0.9.1 Date: Mon, 23 Aug 2021 15:18:16 -0500 Message-ID: Subject: Re: [PATCH v5 02/13] dt-bindings: remoteproc: qcom: pas: Add QMP property To: Sibi Sankar 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 Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Sibi Sankar (2021-08-23 09:19:08) > 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. > Ok. You can add my Reviewed-by tag with that text updated.