Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp686498ybv; Thu, 13 Feb 2020 07:46:04 -0800 (PST) X-Google-Smtp-Source: APXvYqzRWFcp+iDgYlM6MwUbR+32DKwd685iT4PJGYOSXfCIOE0qvSJVTlvHQo0oYvqTvPmZjsk+ X-Received: by 2002:aca:1913:: with SMTP id l19mr3157895oii.47.1581608763950; Thu, 13 Feb 2020 07:46:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581608763; cv=none; d=google.com; s=arc-20160816; b=tyqDLRTYrL5kj5mdYYXkq0htK+ycrpGzq2V+6M/4HvJK1/9sMaTI4x67rTqvbhaxq8 jsP1nKW7C1D2B4M12qlQbc0KleiX7MTH+cC6twJMAcDkRR+6iEsrQcFGhl49T5EQn+rt PpCOtWfuL6Wfjwaskw1KnlSK8Du/sX15IfwN5dd2ArHA8D3OhL4P9Kr2yo/AWvTtTUCM XdvkrFjMoE2Y6Aqv3D6O+sk7X4gYQjKtHpr2Ab2cNnadJvEZtAT/xnc7tR2sAeC7Kwvs 18AFE8G08tQ+vYrAOd1rOdndSOy6PYXLkrEXSDpvDb2EYsNKN5rYOWHlHaXQPmFL8KXj 875g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=xYkRL7qxScx60PbPftW2IbgAFvBPscHnLElBkYNB2ww=; b=SCp008pd16SeEuxuu9VB7/fTSbrrEwoLBYqbGmfrU7q2cc8E2Fo73SG2YrgSTErghO yKHY13H01qJtZyaZDt5xMf1kysv+chuVOXpaj8t8Fo46EMKy7FMTkgRSsMUtavy13cTX VG57+qe3ELXP4CFYT+VqcZ+8icDR0XJxEV7Uuh/0OKkSZCWgHVKsE21x3SQjuzIyXgN9 8X+skXCtkvFz3+qURlsSGarqroxbJYKUxcN7R70G90jSMYE9zLiL1wRFkDxXimgsLpsI yYBk+iLJkXgZqrPBy8kAGmQNIewjEiVxjxwf2LEQPCXVHsCNw8O6FfmjlQ3+eUWVlUdx lCnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=h+pw4i7n; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x2si1319433oie.56.2020.02.13.07.45.51; Thu, 13 Feb 2020 07:46:03 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=h+pw4i7n; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729955AbgBMPpp (ORCPT + 99 others); Thu, 13 Feb 2020 10:45:45 -0500 Received: from mail.kernel.org ([198.145.29.99]:50364 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387439AbgBMP1Z (ORCPT ); Thu, 13 Feb 2020 10:27:25 -0500 Received: from localhost (unknown [104.132.1.104]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 529432468D; Thu, 13 Feb 2020 15:27:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1581607644; bh=8o5e555fo6HVVk33P4Q8tLT7prYOfmlPR4EsrzZIo9g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=h+pw4i7nRZlG8EZRPrcrLPvPOdEyQJXO9XCt6fRQPZkK+eMpA1iq2dACRB+Rq4DY+ RPQdw+muETkY2StTG2X8IGU2Y6BSUIiF+icUbQY7Xud3rzwBL1HFUCeB4baQq6wvTV /0QvNRuZJilUOt2IWFa8zTTk+tO6EchrXQFYMKZk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Rajendra Nayak , Stephen Boyd , Douglas Anderson , Bjorn Andersson Subject: [PATCH 5.4 52/96] soc: qcom: rpmhpd: Set active_only for active only power domains Date: Thu, 13 Feb 2020 07:20:59 -0800 Message-Id: <20200213151859.509408868@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200213151839.156309910@linuxfoundation.org> References: <20200213151839.156309910@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Douglas Anderson commit 5d0d4d42bed0090d3139e7c5ca1587d76d48add6 upstream. The 'active_only' attribute was accidentally never set to true for any power domains meaning that all the code handling this attribute was dead. NOTE that the RPM power domain code (as opposed to the RPMh one) gets this right. Acked-by: Rajendra Nayak Reviewed-by: Stephen Boyd Fixes: 279b7e8a62cc ("soc: qcom: rpmhpd: Add RPMh power domain driver") Signed-off-by: Douglas Anderson Link: https://lore.kernel.org/r/20190214173633.211000-1-dianders@chromium.org Signed-off-by: Bjorn Andersson Signed-off-by: Greg Kroah-Hartman --- drivers/soc/qcom/rpmhpd.c | 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/soc/qcom/rpmhpd.c +++ b/drivers/soc/qcom/rpmhpd.c @@ -93,6 +93,7 @@ static struct rpmhpd sdm845_mx = { static struct rpmhpd sdm845_mx_ao = { .pd = { .name = "mx_ao", }, + .active_only = true, .peer = &sdm845_mx, .res_name = "mx.lvl", }; @@ -107,6 +108,7 @@ static struct rpmhpd sdm845_cx = { static struct rpmhpd sdm845_cx_ao = { .pd = { .name = "cx_ao", }, + .active_only = true, .peer = &sdm845_cx, .parent = &sdm845_mx_ao.pd, .res_name = "cx.lvl",