Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp841723ybl; Tue, 13 Aug 2019 03:33:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqxn9pSzzEjHSHFdkQEtrU+rhJ2XAjwGOoHHCbGMfCT3S925VcucB5mUlhGi+jJ2PByrT86x X-Received: by 2002:a65:610a:: with SMTP id z10mr11598237pgu.178.1565692380282; Tue, 13 Aug 2019 03:33:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565692380; cv=none; d=google.com; s=arc-20160816; b=KN5vOQzXxgXitwWNX8vUdG+1OBLm7nEoA606BOd7ameBbcaBNQz6cbCm88drOgPdrq OUEU8VEkTpZU6fwmCNjvRfSRXTwYUSleMGIv9KKFc7ad1JyijaprQVHAWr0UUzH3KsZC Tu8vI7Gy3WU42BLf0Pj/WoDJOJzZGHV08yEIf4wuAO0OFrz4PdFtHZuaa/ZWgWnwcJmz brAaMM29z2SsUtezYexNjtkMXeowCF/iLAV3MDyNW85A+Hem0g5iRonz3uW9s+0ZpiB5 ksG57gJOZoYeKCiRF05vM+EM8K92DCi8HKlvOxf98W9uCnOlt5qR6WA6A/uAtRgdxZEW +U1w== 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 :message-id:date:subject:cc:to:from:dmarc-filter:dkim-signature :dkim-signature; bh=NNWQNDg73ZudWm28CiBq0JY9Sq9FDqzqOYNONdcmHvg=; b=o5zgeQakpayY/UbhWPvCpPMpF2Ii9BCdc+VhSuwiw93k0vLsmrOb2rhLN0p8IyJWZ3 F4YYHX96ALdA8N8DN6B9DvrfDuu+hEaRAp4+M6/CSafi4ekT0ADerctrgoB+5Nlt3nPG CRnxPdxmVD5rGRG8Pt6H7cED9p5evAGy1z4818n+UgJK5Mc68mtmuaK1TJXtOqFbSuNM wo08t46AjOFFNhiwTO/i3nEFpFK0QhZ7G8JDA6doB9S8b7zytPXovigBwi1fCS1IDaOF c/qwQ3s956AWa9Yg/fb3iRM5MGD7rI/nsvHVfq2xRP9YFv4AVXZmyUa2WMB3298iegAi Fgag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=F+3YgV5i; dkim=pass header.i=@codeaurora.org header.s=default header.b=F+3YgV5i; 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 x4si708756pjn.93.2019.08.13.03.32.43; Tue, 13 Aug 2019 03:33:00 -0700 (PDT) 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=@codeaurora.org header.s=default header.b=F+3YgV5i; dkim=pass header.i=@codeaurora.org header.s=default header.b=F+3YgV5i; 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 S1728019AbfHMIZm (ORCPT + 99 others); Tue, 13 Aug 2019 04:25:42 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:48640 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727029AbfHMIZl (ORCPT ); Tue, 13 Aug 2019 04:25:41 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id DB61A607DE; Tue, 13 Aug 2019 08:25:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1565684740; bh=POHCskCBMH1ZdCeQ/s1wr7SV0EammuFdxrlrI4KWC7Y=; h=From:To:Cc:Subject:Date:From; b=F+3YgV5ieTKv1XlDc+0RfiorOfMs9Jmdg7l83A8gMSn9U/WiSNBOcj/08RHoIwMI9 x6bBh7wpmImdlVlVllKNJ7cTvvmX7F8UvetSCNhPlL02lKBJpya1Zeudj2rXZ2IQFf On8BcVpcvGxB/ncL6TaPV22Qi1ffuFVocCqISdg0= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED,SPF_NONE autolearn=no autolearn_force=no version=3.4.0 Received: from mkshah-linux.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mkshah@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id A3F4E60709; Tue, 13 Aug 2019 08:25:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1565684740; bh=POHCskCBMH1ZdCeQ/s1wr7SV0EammuFdxrlrI4KWC7Y=; h=From:To:Cc:Subject:Date:From; b=F+3YgV5ieTKv1XlDc+0RfiorOfMs9Jmdg7l83A8gMSn9U/WiSNBOcj/08RHoIwMI9 x6bBh7wpmImdlVlVllKNJ7cTvvmX7F8UvetSCNhPlL02lKBJpya1Zeudj2rXZ2IQFf On8BcVpcvGxB/ncL6TaPV22Qi1ffuFVocCqISdg0= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org A3F4E60709 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=mkshah@codeaurora.org From: Maulik Shah To: agross@kernel.org, david.brown@linaro.org, linux-arm-msm@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, bjorn.andersson@linaro.org, evgreen@chromium.org, dianders@chromium.org, swboyd@chromium.org, rnayak@codeaurora.org, ilina@codeaurora.org, lsrao@codeaurora.org, ulf.hansson@linaro.org, Maulik Shah Subject: [PATCH 0/4] Add RSC power domain support Date: Tue, 13 Aug 2019 13:54:38 +0530 Message-Id: <20190813082442.25796-1-mkshah@codeaurora.org> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Resource State Coordinator (RSC) is responsible for powering off/lowering the requirements from CPU subsystem for the associated hardware like buses, clocks, and regulators when all CPUs and cluster is powered down. RSC power domain uses last-man activities provided by genpd framework based on Ulf Hansoon's patch series[1], when the cluster of CPUs enter deepest idle states. As a part of domain poweroff, RSC can lower resource state requirements by flushing the cached sleep and wake state votes for resources. Dependencies: [1] https://lkml.org/lkml/2019/5/13/839 Maulik Shah (4): drivers: qcom: rpmh: fix macro to accept NULL argument drivers: qcom: rpmh: remove rpmh_flush export dt-bindings: soc: qcom: Add RSC power domain specifier drivers: qcom: rpmh-rsc: Add RSC power domain support .../devicetree/bindings/soc/qcom/rpmh-rsc.txt | 7 ++ drivers/soc/qcom/rpmh-internal.h | 3 + drivers/soc/qcom/rpmh-rsc.c | 96 +++++++++++++++++++ drivers/soc/qcom/rpmh.c | 22 ++--- include/soc/qcom/rpmh.h | 5 - 5 files changed, 116 insertions(+), 17 deletions(-) -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by The Linux Foundation.