Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp855698rwd; Wed, 31 May 2023 06:25:57 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5SM+oADyIS/RUQnPL772Fix13uYaCaIV3MfM0Io/LYUXb+Typt/TIsYk9QdDGrobLP3N8Q X-Received: by 2002:a05:6a20:3d95:b0:104:a053:12fb with SMTP id s21-20020a056a203d9500b00104a05312fbmr5855157pzi.60.1685539557465; Wed, 31 May 2023 06:25:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685539557; cv=none; d=google.com; s=arc-20160816; b=gWQIdrBSeI1Mm7Mg8lcMyEv9G2ECl3nCkYFJZxxp+Dq2aqa30SMxgB8evHiO26lb8d eVupRR4/w2DE2OJhQvPHwvPP7HD3aM1zqsQ6JZKtXvbdC/CfN+IdFi91LYfRRrsXfGoI HU1I5OYbwLNgVa+87sA0k32JBwpJq6br8yye7RgdnRDZr+iVvEvpadeOoZN6kSRkOTlL BUEh9LoyhHSOJK60vom5srQ7IXEDvDgHLPiC8pSg9iuaMT7D3NJoBynMfw+IiIyrDcj2 0+uHLx0aWsnro0j/kbvI9gXQS7xhCuGbHaywqVKLXY1yBQr9M9NfiMKIeR9Pb7aquCVD iHVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=1ryW+K+LYqR1W2qwoXZKDnRUejfqdymBTRf0P14sODU=; b=Vrd8d6kLhdoQim5ieMEmZRPhuvReNYlDhU3uyqdmPo3j531Q1Eq9vgxmddy0oekLxV yQ7IcNhJBl0eogOp6IUjsCmI7LKQ/plP8R7vhvLwvbUFLfC3DvZ4mNMtN6CcY6spW3w1 55PpcC43RYjChI00d5rXXguAY4NXEzE6kzyu8g9baSbpvrQSQ+qLXI8ujFOJFjXseWfc akvNsATguJM62yuRBybaCM45A60O69JD6ix14RZUBOYj/97FRkvskpaA5oSqlt2gykRX tfquA4WxZMBM8PVQIheKzvGW6seo89Dmfs+sVBdKXyshyM6AkvMKaSyVGjF4mWdaGPBD o54Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MZSHZWn0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bs67-20020a632846000000b0053f86e371a6si965790pgb.231.2023.05.31.06.25.43; Wed, 31 May 2023 06:25:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MZSHZWn0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236407AbjEaNXM (ORCPT + 99 others); Wed, 31 May 2023 09:23:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236383AbjEaNXH (ORCPT ); Wed, 31 May 2023 09:23:07 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87707139 for ; Wed, 31 May 2023 06:22:53 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-4f4f8b94c06so4821400e87.1 for ; Wed, 31 May 2023 06:22:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685539372; x=1688131372; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=1ryW+K+LYqR1W2qwoXZKDnRUejfqdymBTRf0P14sODU=; b=MZSHZWn0nM7S+f+7zoryLntPic2ZiFW629mjOTJvAB1sQ50phNT+ydKRrnKw/pwi2C Rrh3RC1AWpSAomgAZ5BxH6Oe4SIskZfTxtzSXSIeyUGjGPnEAfUXdUvCt8Mi7AdQeHSd Io7WE5qQOPkbLZFddQRNluk1Z1R6+mdwbWMu4+MV6Fw8PHQNKThILDSh7h4nlG1YhJMk kjG4bDixbCIyTREPfYzrYoE5DCItNSa5HTyovWdjdPsp/O91TYH8R/SdoRVKcC+I3UzJ buvbxcv0IM9iZEccCrsFY+Lqz1LgyWq0dT+cSvP0kzC/ZZSPTkYctKsAEGPWbjl8zF09 /3Aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685539372; x=1688131372; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1ryW+K+LYqR1W2qwoXZKDnRUejfqdymBTRf0P14sODU=; b=YTadtmYDOWyIjTQS6UwBUJzSxLvFa+sWhlJImQwCFJ6SMpuwaRzyBSdfNIk+1+DwDc tQbmE2i6BJu5VeRA+kNNgoBIX1kt+/TZDJ6knuNDPXsblI6E9+ofaNtfH+Q34FUUbYf4 O1HapOVrJKX1gbEHWSQH1wVFMvAiDVj2qbBhaycdtDkxSx9C5LossGdWZAINstjDfdiq ABZhjOkW+Tff51KWBhQ3OInzbT0Sr7MCGjNnQaPm+jwg48n2tuQFnTKCd3sXQWUgiPww IwyTYGpULKW69gYdejcQLF8jMVAiZJrVyup4ZLJg7GgdKEL/zA2Mve+pKc2splK5KxyN vsag== X-Gm-Message-State: AC+VfDzKqjN7eNwTl95RtDSnnXPVqxPLhvTpU8mlmlKqZiD9gOBWKz4M A9y5hrB5qwkgEQtwbIqOMc+xYw== X-Received: by 2002:ac2:46d0:0:b0:4f1:866d:9b01 with SMTP id p16-20020ac246d0000000b004f1866d9b01mr2692340lfo.3.1685539372048; Wed, 31 May 2023 06:22:52 -0700 (PDT) Received: from [192.168.1.101] (abyj77.neoplus.adsl.tpnet.pl. [83.9.29.77]) by smtp.gmail.com with ESMTPSA id w8-20020ac24428000000b004eb0c51780bsm720138lfl.29.2023.05.31.06.22.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 May 2023 06:22:51 -0700 (PDT) From: Konrad Dybcio Date: Wed, 31 May 2023 15:22:39 +0200 Subject: [PATCH 5/8] arm64: dts: qcom: sdm670: Flush RSC sleep & wake votes MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230531-topic-rsc-v1-5-b4a985f57b8b@linaro.org> References: <20230531-topic-rsc-v1-0-b4a985f57b8b@linaro.org> In-Reply-To: <20230531-topic-rsc-v1-0-b4a985f57b8b@linaro.org> To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Melody Olvera , Vinod Koul , Richard Acayan , Lina Iyer , Douglas Anderson , Neil Armstrong , Abel Vesa , Sai Prakash Ranjan Cc: Marijn Suijten , Bartosz Golaszewski , Luca Weiss , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Andy Gross , Konrad Dybcio , Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1685539362; l=973; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=28KiIyU64Vcz64CBovN5yeE9vk16BjibiZQ9uV6zjFQ=; b=4NyvQdlZdQFvEUvndCC8eaIlcFTob2ugKlmbPnnPwXQ7XTJYmFWvPKt7gwTm2VjF1HeFnS+oD CVSUA1GN6F2DtVuZdYaZ/Vv5jelIlEWCukGP3S3rSAuL2cqpj792ETk X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The rpmh driver will cache sleep and wake votes until the cluster power-domain is about to enter idle, to avoid unnecessary writes. So associate the apps_rsc with the cluster pd, so that it can be notified about this event. Without this, only AMC votes are being commited. Fixes: 07c8ded6e373 ("arm64: dts: qcom: add sdm670 and pixel 3a device trees") Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm670.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sdm670.dtsi b/arch/arm64/boot/dts/qcom/sdm670.dtsi index b61e13db89bd..a1c207c0266d 100644 --- a/arch/arm64/boot/dts/qcom/sdm670.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm670.dtsi @@ -1282,6 +1282,7 @@ apps_rsc: rsc@179c0000 { , , ; + power-domains = <&CLUSTER_PD>; apps_bcm_voter: bcm-voter { compatible = "qcom,bcm-voter"; -- 2.40.1