From patchwork Fri Aug 11 13:04:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 713067 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CCF37C001DB for ; Fri, 11 Aug 2023 13:04:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235513AbjHKNET (ORCPT ); Fri, 11 Aug 2023 09:04:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234601AbjHKNER (ORCPT ); Fri, 11 Aug 2023 09:04:17 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18CB2119 for ; Fri, 11 Aug 2023 06:04:17 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-4fe11652b64so3096996e87.0 for ; Fri, 11 Aug 2023 06:04:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691759055; x=1692363855; 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=dbMy2EJg1/HfJ8Ke6dWMRUTNv1lsrcvmOYBylkeVnks=; b=cyUqTseuMNNavvl/Rf56R/12jMWk/KxToJhWT1aKCbVn8G12AU+iGbiX82IusyF9D1 45wMScJvXukq8y0ACKun8KVS4Zn3UXH+Uj4/OZ0wwQPteEVLaMj0ddWQvbpmkb5DHNje YjgJfOMVr3mEt3nPJTqawqA7eXjJEY186LgIej9dZ5NN+SgPoqIYrwtjYicXgzk7phCv uf7YhwMuy7IFfP8cIexrO4JImuYEjt/bAoUWqaNENTof+8iVn8pxDbW5f4tBVTqLEmmM e+AYLur+r3E+AqgN1JstXHnbvC6PuifjQ7JWFMU8Qbf7XIM0eKFbR3LbYBjUOzNDkznK KEGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691759055; x=1692363855; 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=dbMy2EJg1/HfJ8Ke6dWMRUTNv1lsrcvmOYBylkeVnks=; b=X6PxpuqYX/2FM17ulLzGx65vkuOJx+Q4SaM7grk6aI9UxV4AaaXwb2kw5euOVLVDLU JoHVqz2cHmzZ/Snt0W1sKBy+Wq4zxCxCwH+lZWv05f9u/D5VRzgVO5VPaKaSNuOidOM0 8rgDorYVxpUm7CN1XmqqppWChAqm7rvsHQbeYff/IgrmF5QWWN89M4pnLJITZgZvvv8L ju6bbxcVdz9AAaUjBPq51Tngzj+vZvMry2KLBQVOiYubSI1AdxtmNG05E4uLPAEROOph pmWadhfnTrPhAebTQlGnVuzzO8pmTYhoi5DPZ4HJEbGbuzQWnzpzWpRw3qSqV+CHBZwD Dibw== X-Gm-Message-State: AOJu0YxkkHDh0shEqFcCVzLsra+NuLf+qN6YesnNLgc/VpCA4Q9ulZiZ 3JGsCCFZkByTqvdmzRCU7oCw/g== X-Google-Smtp-Source: AGHT+IH8g+spn5g3JkwOvSskTdTzBcg7cT0meQQYzOj/nIzMRFE97G/jSwlHnsHCQjk0tArWBlANFw== X-Received: by 2002:a05:6512:3695:b0:4fe:2efa:b847 with SMTP id d21-20020a056512369500b004fe2efab847mr1220902lfs.23.1691759055289; Fri, 11 Aug 2023 06:04:15 -0700 (PDT) Received: from [192.168.1.101] (abyj188.neoplus.adsl.tpnet.pl. [83.9.29.188]) by smtp.gmail.com with ESMTPSA id v20-20020a197414000000b004fe15a2f0f6sm722491lfe.62.2023.08.11.06.04.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Aug 2023 06:04:14 -0700 (PDT) From: Konrad Dybcio Date: Fri, 11 Aug 2023 15:04:08 +0200 Subject: [PATCH 01/11] interconnect: qcom: qdu1000: Set ACV enable_mask MIME-Version: 1.0 Message-Id: <20230811-topic-acv-v1-1-a85b6e94f46d@linaro.org> References: <20230811-topic-acv-v1-0-a85b6e94f46d@linaro.org> In-Reply-To: <20230811-topic-acv-v1-0-a85b6e94f46d@linaro.org> To: Andy Gross , Bjorn Andersson , Georgi Djakov , Melody Olvera , Odelu Kukatla , Richard Acayan , David Dai , Rob Herring , Greg Kroah-Hartman , Luca Weiss , Sibi Sankar , Jonathan Marek , Vinod Koul Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1691759050; l=1290; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=DxgRmQ1OzR3nEWUhjrHYmNAELDVHgCeW41xvvvTsUgo=; b=Brnmp31zihvGRHdQEMbXAiTFp8/XbQXmNqHrn0BraTd4gfvMwpceabzhZjH4oCc5MgPNj+se8 AAVUbNkM7FDDZ2unVfhZqE2IO0P4bVYbxHyB/semsAqmH8VqxipCJKZ X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org ACV expects an enable_mask corresponding to the APPS RSC, fill it in. Fixes: 1f51339f7dd0 ("interconnect: qcom: Add QDU1000/QRU1000 interconnect driver") Signed-off-by: Konrad Dybcio --- drivers/interconnect/qcom/bcm-voter.h | 2 ++ drivers/interconnect/qcom/qdu1000.c | 1 + 2 files changed, 3 insertions(+) diff --git a/drivers/interconnect/qcom/bcm-voter.h b/drivers/interconnect/qcom/bcm-voter.h index b4d36e349f3c..da92267877f9 100644 --- a/drivers/interconnect/qcom/bcm-voter.h +++ b/drivers/interconnect/qcom/bcm-voter.h @@ -16,4 +16,6 @@ struct bcm_voter *of_bcm_voter_get(struct device *dev, const char *name); void qcom_icc_bcm_voter_add(struct bcm_voter *voter, struct qcom_icc_bcm *bcm); int qcom_icc_bcm_voter_commit(struct bcm_voter *voter); +#define ACV_RSC_APPS BIT(3) + #endif diff --git a/drivers/interconnect/qcom/qdu1000.c b/drivers/interconnect/qcom/qdu1000.c index bf800dd7d4ba..c504bf348294 100644 --- a/drivers/interconnect/qcom/qdu1000.c +++ b/drivers/interconnect/qcom/qdu1000.c @@ -769,6 +769,7 @@ static struct qcom_icc_node xs_sys_tcu_cfg = { static struct qcom_icc_bcm bcm_acv = { .name = "ACV", + .enable_mask = ACV_RSC_APPS, .num_nodes = 1, .nodes = { &ebi }, }; From patchwork Fri Aug 11 13:04:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 713066 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DC880C04A94 for ; Fri, 11 Aug 2023 13:04:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233953AbjHKNEd (ORCPT ); Fri, 11 Aug 2023 09:04:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235853AbjHKNEX (ORCPT ); Fri, 11 Aug 2023 09:04:23 -0400 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30C4130D2 for ; Fri, 11 Aug 2023 06:04:22 -0700 (PDT) Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-4fe94dde7d7so1410703e87.3 for ; Fri, 11 Aug 2023 06:04:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691759061; x=1692363861; 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=nzUrj2LkXobJFg5OuLlMFJ3XH/1Psa0W4FGun30sHA4=; b=BvaTql7c9EdKSCM3K5FY7onS4s80o2E2hC1HnTjhCcbGSJS5iOxcRknR6e6y9MQhP8 xcA21HVjoJQMvSt1XhTdRwjsvNgQ+NMLYTKfaQDLKOLG5oC3LX4/WpiAQhSiyQc/gP4O M2dvUnXg+4NPbaDUSv7wJ9BzSnHrselWP81UZctxY9q+r0LAep0I3c30ydvq0+kaDiuj bmQs24Ovv+2D2s8a+AAWywHN3LjjSO5zdt0qv/eGHEPwyJYL4n1NSSPcdQW/cYY1bceI 785wCShvd1cGxeMcOLiCKLYCTaoXARJOxd9HlXYyGnDTJsp2iiiJ0fHR0SRa/1kUiEsO AixQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691759061; x=1692363861; 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=nzUrj2LkXobJFg5OuLlMFJ3XH/1Psa0W4FGun30sHA4=; b=IC/HNW6Sxm8KREPXGpshw9NZXmY8ISyZwcalz4bBtfcLst3qB8dMTzbA76taHdafI/ uDYmnqVSLqqIJC32fCvxmp7HdFitlGHm/L583iLmEFXkcP48Qt5/5UvJLlToXgqkh2JK BK/DPhZro7juboh+jTCR48cpkDIPKxGNuCqkqBaESuXCMS53cAyI7btbOHtptXfI+w7q B6fWzAMldFAUbyS2l/FY8d4r632ECSEGz/s9MkZ2+aYbLnI6aTr45mdf8ATE44jGYvdE +18FW7dkBZ7mlEuYElXlmuAYQ60dVGQDSCiykrKd1J2sKTlZM6l47PturipmQnzKVEDe /7wA== X-Gm-Message-State: AOJu0YxQ4goQQwA4wNOdP6aviU2gLZpPHMlWqRygb95vF49j2a6USRBW nJUu48pBj3LXAuusdXW2MlKKZA== X-Google-Smtp-Source: AGHT+IGeUqlyEyypBaj4HAvJV8SB4dQiU3SzGrekTnnouY2G8nplcTcC9/eXoHh4xn9phlenMm4ZSA== X-Received: by 2002:ac2:4896:0:b0:4fb:bef0:948e with SMTP id x22-20020ac24896000000b004fbbef0948emr1226728lfc.5.1691759061245; Fri, 11 Aug 2023 06:04:21 -0700 (PDT) Received: from [192.168.1.101] (abyj188.neoplus.adsl.tpnet.pl. [83.9.29.188]) by smtp.gmail.com with ESMTPSA id v20-20020a197414000000b004fe15a2f0f6sm722491lfe.62.2023.08.11.06.04.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Aug 2023 06:04:20 -0700 (PDT) From: Konrad Dybcio Date: Fri, 11 Aug 2023 15:04:11 +0200 Subject: [PATCH 04/11] interconnect: qcom: sc8180x: Set ACV enable_mask MIME-Version: 1.0 Message-Id: <20230811-topic-acv-v1-4-a85b6e94f46d@linaro.org> References: <20230811-topic-acv-v1-0-a85b6e94f46d@linaro.org> In-Reply-To: <20230811-topic-acv-v1-0-a85b6e94f46d@linaro.org> To: Andy Gross , Bjorn Andersson , Georgi Djakov , Melody Olvera , Odelu Kukatla , Richard Acayan , David Dai , Rob Herring , Greg Kroah-Hartman , Luca Weiss , Sibi Sankar , Jonathan Marek , Vinod Koul Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1691759050; l=724; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=j/9WH0FZIh4+IrqqeD1fDhbVxzmI74+9b2EBikA59zQ=; b=JIXkRs0NCNgDgcCKM2tbMRPQZ/rKf/4k2NNTEAmqPAuY9c1jxCF7GtQBMWhtIEQQ3Os2zihZU cvu4JVNFE9WBBv3R4BCZXxfbQnvlTT0reeWWBtuwTP6WAuSui5I+xv/ X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org ACV expects an enable_mask corresponding to the APPS RSC, fill it in. Fixes: 9c8c6bac1ae8 ("interconnect: qcom: Add SC8180x providers") Signed-off-by: Konrad Dybcio --- drivers/interconnect/qcom/sc8180x.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/interconnect/qcom/sc8180x.c b/drivers/interconnect/qcom/sc8180x.c index 0fb4898dabcf..7d92ef960e7d 100644 --- a/drivers/interconnect/qcom/sc8180x.c +++ b/drivers/interconnect/qcom/sc8180x.c @@ -1345,6 +1345,7 @@ static struct qcom_icc_node slv_qup_core_2 = { static struct qcom_icc_bcm bcm_acv = { .name = "ACV", + .enable_mask = ACV_RSC_APPS, .num_nodes = 1, .nodes = { &slv_ebi } }; From patchwork Fri Aug 11 13:04:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 713065 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B9BA0C04FDF for ; Fri, 11 Aug 2023 13:04:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235830AbjHKNEf (ORCPT ); Fri, 11 Aug 2023 09:04:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235996AbjHKNE0 (ORCPT ); Fri, 11 Aug 2023 09:04:26 -0400 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0971A30C1 for ; Fri, 11 Aug 2023 06:04:25 -0700 (PDT) Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-4fe0fe622c3so3160245e87.2 for ; Fri, 11 Aug 2023 06:04:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691759063; x=1692363863; 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=kIETjFE+YORk91Sd+FK8yX6Tnsoz0FQHlLS1cvn3BDI=; b=vqvuT/HZtSDGmvlcOtUNXvE1OiR+3cFlTNIXHJxK8WdVrThvsdM44pj9mmGBysk89N 3a+55NiZ8aFWXPmB+01naClZtnm7AC5mBuYs3ro8cp+4GU6t7jwEPnRnmYo7oIhiNlKe 8xXSDDvcjISfWzey4qRC3QJDw5lqysa3vqbtnzbc+462dl+55UlBLIE7BjbodvLFhUtI Fx5cfTyOUGP5vZ/VRalGdMjVHVzUHg0TPKouIqmOisnQ8f+NzsWKlKTHdAD7G+Ry9UIP SR7HHzVGdztplFiIorxNmUVYZX5TedVMBzpfM82ZVMlYiUYf/c2AKX/7kO3N0jq9F+zK 2y1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691759063; x=1692363863; 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=kIETjFE+YORk91Sd+FK8yX6Tnsoz0FQHlLS1cvn3BDI=; b=VnmNb7HLJPHW1KKJkaKbcsuUSKYu0sXlOfXqN2jmVkAh9bZXk8okWArzOncpITI1Dz jd91ArHSNnfY40focGS4bTWZdYbNWntTtqAPYGmOPUU8tH65LLA8nW1VtAQmb+81TBJ2 e9gYGKku0szC1+0OgOUd8ujHM+NMwS0ZAyJL2sUMwoGl8b3qFMCIQlHjfygXJz5lfO0o F3VY0J+IbD5qJ5FY19LUfxVf8M82vUCI0Lnso6BSfvNaBlquNzOCn/fJTx8UEny+YixC IaYzLZ8wX0ZgGDN1inXd+OTb9a6K37nvJ+j9VYbefEdzXL/IJb0hvhfTzD9QkN0SIlDH TfKQ== X-Gm-Message-State: AOJu0YxVm8Nod1PkC9tb6aO/TT2HW6+aTGidpU2/69bmreo7LrENYDqM WYYWBzyZ9kjHkw1Mue/10DRkjQ== X-Google-Smtp-Source: AGHT+IENexpC4So5+ASxmdhQdyUVzfJHbpRBDMuOrNaJaENY+lbJKH028kpskHvvgIQNdj+I4OXthw== X-Received: by 2002:a19:650f:0:b0:4fb:897e:21cc with SMTP id z15-20020a19650f000000b004fb897e21ccmr1236897lfb.67.1691759063319; Fri, 11 Aug 2023 06:04:23 -0700 (PDT) Received: from [192.168.1.101] (abyj188.neoplus.adsl.tpnet.pl. [83.9.29.188]) by smtp.gmail.com with ESMTPSA id v20-20020a197414000000b004fe15a2f0f6sm722491lfe.62.2023.08.11.06.04.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Aug 2023 06:04:22 -0700 (PDT) From: Konrad Dybcio Date: Fri, 11 Aug 2023 15:04:12 +0200 Subject: [PATCH 05/11] interconnect: qcom: sc8280xp: Set ACV enable_mask MIME-Version: 1.0 Message-Id: <20230811-topic-acv-v1-5-a85b6e94f46d@linaro.org> References: <20230811-topic-acv-v1-0-a85b6e94f46d@linaro.org> In-Reply-To: <20230811-topic-acv-v1-0-a85b6e94f46d@linaro.org> To: Andy Gross , Bjorn Andersson , Georgi Djakov , Melody Olvera , Odelu Kukatla , Richard Acayan , David Dai , Rob Herring , Greg Kroah-Hartman , Luca Weiss , Sibi Sankar , Jonathan Marek , Vinod Koul Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1691759050; l=734; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=hAS5ZiZPJ7dfWWLTn2/3P6QwpmscNBYEDN+t0XN5dwg=; b=935vCxAyYFwUuxcgLgw4wAj1pfzKXnlfByuA07wOthIOskiXNLmfGpUiR7enKw5hasulIyic0 a1pbDOZSd4UDCeVtTiEKpUFHNUqqWIiosozk7nsSAcBwGDJ/GTzAaIH X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org ACV expects an enable_mask corresponding to the APPS RSC, fill it in. Fixes: f29dabda7917 ("interconnect: qcom: Add SC8280XP interconnect provider") Signed-off-by: Konrad Dybcio --- drivers/interconnect/qcom/sc8280xp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/interconnect/qcom/sc8280xp.c b/drivers/interconnect/qcom/sc8280xp.c index b82c5493cbb5..141101c1bb44 100644 --- a/drivers/interconnect/qcom/sc8280xp.c +++ b/drivers/interconnect/qcom/sc8280xp.c @@ -1712,6 +1712,7 @@ static struct qcom_icc_node srvc_snoc = { static struct qcom_icc_bcm bcm_acv = { .name = "ACV", + .enable_mask = ACV_RSC_APPS, .num_nodes = 1, .nodes = { &ebi }, }; From patchwork Fri Aug 11 13:04:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 713064 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 07BF1C04A94 for ; Fri, 11 Aug 2023 13:04:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235697AbjHKNEi (ORCPT ); Fri, 11 Aug 2023 09:04:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236151AbjHKNE1 (ORCPT ); Fri, 11 Aug 2023 09:04:27 -0400 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2465E30D5 for ; Fri, 11 Aug 2023 06:04:27 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-4fe7e1ef45dso3137271e87.1 for ; Fri, 11 Aug 2023 06:04:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691759065; x=1692363865; 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=pFW+0OVLDHSVoFKDpvHGp2u8ggdig13FIJDbYeyWCAw=; b=oFAoSUWdWKRqRVDG6m6My9JjVNPWAM1yKUAP4rjkGEqynFG3e4F8YsG3j6cGIlF0ie y/EqbDoLTC9+7HnVV+xfdmtplBVD54ny02tnEGQeOuOvuKTbIPSDJYHoL8kyIyCnA6Yg b9lR2YOg1CjLdn0kqg1odvRIrAXONU8qgJpjiVWajnqBLJCKhnGcDL/5srodHzN8vY/I KgO6tfXgZdYgazW7I+zEq7KPqwo9cpPVWyiIkGSf5y7QQVaP5LOBS9MsbuTOlmjzHYgA +q8JwaFCYeU954RqCB+n29hrj6ODypFT9Q/8N06hiUa0YDctPeChpqgdt+c9m5kxVOXk w2BQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691759065; x=1692363865; 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=pFW+0OVLDHSVoFKDpvHGp2u8ggdig13FIJDbYeyWCAw=; b=dZ1REaxeeBqCGHGht1foNQ0QndhC+0ZXODgar8g+k3mzCz2wCPWYjbeZ2I68ugMfbX cvsm6+HRhUrlTuPlFX8B3kauNU7/G10HOjSw6/cO2jwAEBRIbhrgBvesMkl+kTu61SyA w5jkCsPoMjY9HQgtMjiXV8c+pEckdnWvQH7HzQr3v86QzK/D3dHUVzv11e4IKDB9zx7B QLdr+a8DnQTDc1h5U2M6+fWsEMgFQFTNxp7Sk7JG0S419Wo0/88lpHwTS1OPbW/971Ox sMzKb8m4ap91tZfWRDBuXweLs2b90grZrQpNJs3doiDedlp325lpfzwbF1/TyoQwPcFm ernA== X-Gm-Message-State: AOJu0YwO/PVZ0M/JKm6HoAAtuY0gNX7TnwLlWtoVg+xkZpLdV60mkwP4 j5Q11rs9Xe3rmNDWJlQzbppJMQ== X-Google-Smtp-Source: AGHT+IFwo4O4lKQxY7pGeWHPQ85hqbEYFgiCNRFPs6kyN+AYmZPXhJ5uc6oHD6R3VTAe10/7lOcQWQ== X-Received: by 2002:a05:6512:2249:b0:4fb:8eec:ce49 with SMTP id i9-20020a056512224900b004fb8eecce49mr1646216lfu.31.1691759065369; Fri, 11 Aug 2023 06:04:25 -0700 (PDT) Received: from [192.168.1.101] (abyj188.neoplus.adsl.tpnet.pl. [83.9.29.188]) by smtp.gmail.com with ESMTPSA id v20-20020a197414000000b004fe15a2f0f6sm722491lfe.62.2023.08.11.06.04.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Aug 2023 06:04:24 -0700 (PDT) From: Konrad Dybcio Date: Fri, 11 Aug 2023 15:04:13 +0200 Subject: [PATCH 06/11] interconnect: qcom: sdm670: Set ACV enable_mask MIME-Version: 1.0 Message-Id: <20230811-topic-acv-v1-6-a85b6e94f46d@linaro.org> References: <20230811-topic-acv-v1-0-a85b6e94f46d@linaro.org> In-Reply-To: <20230811-topic-acv-v1-0-a85b6e94f46d@linaro.org> To: Andy Gross , Bjorn Andersson , Georgi Djakov , Melody Olvera , Odelu Kukatla , Richard Acayan , David Dai , Rob Herring , Greg Kroah-Hartman , Luca Weiss , Sibi Sankar , Jonathan Marek , Vinod Koul Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1691759050; l=737; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=3zOoF/qKKvzghOrtw+/fLDqCujsJyyG9J9gptHZsib0=; b=fTwVQ+CqPCYKgblnZGu2p+/e+uPdd6oj5Xk1ltBBF4uNWXTfDUv867aaB04i9L7cKTRL2WluU LTAoeWsAimfCPlaYnsBVu5Q+l/Puyvn6PAsxw9uhL4R90+7Kvm/ug0B X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org ACV expects an enable_mask corresponding to the APPS RSC, fill it in. Fixes: 7e438e18874e ("interconnect: qcom: add sdm670 interconnects") Signed-off-by: Konrad Dybcio --- drivers/interconnect/qcom/sdm670.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/interconnect/qcom/sdm670.c b/drivers/interconnect/qcom/sdm670.c index 540a2108b77c..af2801c38854 100644 --- a/drivers/interconnect/qcom/sdm670.c +++ b/drivers/interconnect/qcom/sdm670.c @@ -1047,6 +1047,7 @@ static struct qcom_icc_node xs_sys_tcu_cfg = { static struct qcom_icc_bcm bcm_acv = { .name = "ACV", + .enable_mask = ACV_RSC_APPS, .keepalive = false, .num_nodes = 1, .nodes = { &ebi }, From patchwork Fri Aug 11 13:04:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 713063 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DD3C9C04E69 for ; Fri, 11 Aug 2023 13:05:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232651AbjHKNFF (ORCPT ); Fri, 11 Aug 2023 09:05:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49560 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234175AbjHKNEl (ORCPT ); Fri, 11 Aug 2023 09:04:41 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF222270F for ; Fri, 11 Aug 2023 06:04:33 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-4fe1b00fce2so3002270e87.3 for ; Fri, 11 Aug 2023 06:04:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691759072; x=1692363872; 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=ntKtFbl2q7E1a85boIKcWxGhXsl0LBcTduCVXEQeYtM=; b=uExwrNJtNs+cm3RQ2dfyhAnJjc6mkBScgM9uiFgX8bhTmUh85PrhNIOQwGeO4igWZW h1zTv15QvRCjeU/xFQCQfbEEWLnxF9GAvk1Kd/zwzIi4z60bLf3pL+LCisk7mYrX0gJp Qn6pIOjy6JaOwM8GbLE74X6YEZOnNW3VSJc1rnZarDcLE4Vi7mfkV8PvJc499vuf2fML ad77Jg/rakv/QYVHs9+9ehAjghXcLLbdvWTXMpv2sWxHcDP5N6C7QGJavalq5Ipv2ITu TOZQZRPbstlQojU8q7h8r0SValHK+YnrwbM0Ue6oL+gVf4Qrbjb7uplNevm97upETW1n 103Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691759072; x=1692363872; 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=ntKtFbl2q7E1a85boIKcWxGhXsl0LBcTduCVXEQeYtM=; b=LWIFWyks8vmCHTD22zmOLmnGDlMsTd72p1/jxiSzsd9DTdBrK9tPCypxayjOfalOKA a4RmPxMSwZEHBuZQ/bonYgZ4MFI9K9OyI3vyQ5o8bC9+eWwWNOjXeXIuxGDGNU9iV/nl sr+w5IlseZbGOxE2dwZnOtdFleqSenhg5xTrrCSGF+yAKlgr5hnI8XaenfBFpNx899Df z/aGOePXrNtQynn4o8UAXvd+e7g3nIsIVfP+EJRyIAHPCIdlJlRM55OwctsiKas/8GKK JzN0fyCH3zyAkQuInfdkDgAKXElaTCQfwxpPdWQbe1mhOJFG1HQzZmK3A1MD9fAN/l+f /vmA== X-Gm-Message-State: AOJu0Yy1zaPkVjWPpab5X17yNpnYCwgOkCOo9m88MLo8VUW9tNDOLxMt bsaDFRjLiSnDhr6B73PSXiiz1w== X-Google-Smtp-Source: AGHT+IFNvP3nVII/0in2m5J1WxMEgi1V5KMaiXDYYzBIuuAxC1qmhG11U9shoCrvQtQkL/MU35LKqw== X-Received: by 2002:a05:6512:1156:b0:4fb:89b3:3374 with SMTP id m22-20020a056512115600b004fb89b33374mr1420594lfg.54.1691759072138; Fri, 11 Aug 2023 06:04:32 -0700 (PDT) Received: from [192.168.1.101] (abyj188.neoplus.adsl.tpnet.pl. [83.9.29.188]) by smtp.gmail.com with ESMTPSA id v20-20020a197414000000b004fe15a2f0f6sm722491lfe.62.2023.08.11.06.04.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Aug 2023 06:04:30 -0700 (PDT) From: Konrad Dybcio Date: Fri, 11 Aug 2023 15:04:16 +0200 Subject: [PATCH 09/11] interconnect: qcom: sm8150: Set ACV enable_mask MIME-Version: 1.0 Message-Id: <20230811-topic-acv-v1-9-a85b6e94f46d@linaro.org> References: <20230811-topic-acv-v1-0-a85b6e94f46d@linaro.org> In-Reply-To: <20230811-topic-acv-v1-0-a85b6e94f46d@linaro.org> To: Andy Gross , Bjorn Andersson , Georgi Djakov , Melody Olvera , Odelu Kukatla , Richard Acayan , David Dai , Rob Herring , Greg Kroah-Hartman , Luca Weiss , Sibi Sankar , Jonathan Marek , Vinod Koul Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1691759050; l=752; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=Nq32DQWDG3W3gZhFfaF7hP8k8AW3emAR81uznO7xuLU=; b=dbVodAFTBl9qaWZhPJb7Cjrq7rNknkl3x9hmzH/OP3CRv583H3WDljSYODzjw6QAF414YIjZE 6pNLc0y5kgICVTQtSHyM2ONQ52wuEsDv8k6K8sYvIXNuvyF99Uc7Eij X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org ACV expects an enable_mask corresponding to the APPS RSC, fill it in. Fixes: a09b817c8bad ("interconnect: qcom: Add SM8150 interconnect provider driver") Signed-off-by: Konrad Dybcio --- drivers/interconnect/qcom/sm8150.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/interconnect/qcom/sm8150.c b/drivers/interconnect/qcom/sm8150.c index c7c9cf7f746b..1fc4323633ea 100644 --- a/drivers/interconnect/qcom/sm8150.c +++ b/drivers/interconnect/qcom/sm8150.c @@ -1282,6 +1282,7 @@ static struct qcom_icc_node xs_sys_tcu_cfg = { static struct qcom_icc_bcm bcm_acv = { .name = "ACV", + .enable_mask = ACV_RSC_APPS, .keepalive = false, .num_nodes = 1, .nodes = { &ebi }, From patchwork Fri Aug 11 13:04:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 713062 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0E703C04FE1 for ; Fri, 11 Aug 2023 13:05:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235397AbjHKNFG (ORCPT ); Fri, 11 Aug 2023 09:05:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49660 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236124AbjHKNEo (ORCPT ); Fri, 11 Aug 2023 09:04:44 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 989E130E3 for ; Fri, 11 Aug 2023 06:04:35 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-4fe3b86cec1so3020952e87.2 for ; Fri, 11 Aug 2023 06:04:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691759074; x=1692363874; 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=rSJuIpZoyaCZteiOEQ+bhjiLYz9YMkE1DlPauAqnlJc=; b=NVvPfntlukoh2QUA5g8tBdXvKChJ2A8uQwXz1YVo/e7+suobTGp6qyOkcmYK2oZZn3 C9v76CaX6/zhQnFKA32ImPtlLGR/Ci/wQAld2RcoZLvmkx64aD/6TAH0vHgKtRe8ZqiQ iQNuxvUoflNaOnyy7UcZHC375j0TAeI2eI5csA4uRZlpwHwMVkUX2XfrSNFfNU1s8lC2 +x8dcDjWy7wuY88G75+B4EoKdebwRbFbNhS+DNY1n4oNjQSNcB2WkocgXkZFs2N9JWnP GaMij9ED8vz8hi1Are3hbG3kSJTI1CGqnd3C2IZ2UmzeVr+JbUxG/QMSU2cUaY4Xyefs hMjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691759074; x=1692363874; 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=rSJuIpZoyaCZteiOEQ+bhjiLYz9YMkE1DlPauAqnlJc=; b=Lcs07A30qTHOYfckSv+xg/BJLlu1W/5dP1iugnLNJdWyq1NqmErlAF5Z4Jd2D2cabr VPCRmMd6NqGTqHcAQRXtuLVP1woouGVwR1Nny1JYfrzRtbuCvjmKfLvFGHPVggUwvuru CBCKlogv+aAbgAiITJPQClxWCsTbhfG4mrL4To8HEgci9VlQcIxPym+t312Uvhmm/IAu GG8kpFBrLOuTe35YJWYPSLQEhyrinfJ6C9abYSVMTYJaKsNq4Pp5OPFWIX++rgAHvamX 43NmoBZFibGtRCTx2A6IWlPh2klFjl9WvbRxIjUNboIIwpbGOUkm0BZSGoy05VTxCYnL VFqg== X-Gm-Message-State: AOJu0Yxvkt5nfi9f9fkaFNW8We9YaZQ2bswpevpYTgr9adWVr8JFPvlO Uet4IVW1RQ4TeCqzoiccw4SeFg== X-Google-Smtp-Source: AGHT+IEjInuMQmk5V/KjNg7pZOc0B9XnSVQWmNuulyGuH3hAXCuDSfNpjmr2ACAaqjlNStLsyvDg7g== X-Received: by 2002:a05:6512:304a:b0:4fd:fc36:68a2 with SMTP id b10-20020a056512304a00b004fdfc3668a2mr2094051lfb.1.1691759073960; Fri, 11 Aug 2023 06:04:33 -0700 (PDT) Received: from [192.168.1.101] (abyj188.neoplus.adsl.tpnet.pl. [83.9.29.188]) by smtp.gmail.com with ESMTPSA id v20-20020a197414000000b004fe15a2f0f6sm722491lfe.62.2023.08.11.06.04.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Aug 2023 06:04:33 -0700 (PDT) From: Konrad Dybcio Date: Fri, 11 Aug 2023 15:04:17 +0200 Subject: [PATCH 10/11] interconnect: qcom: sm8250: Set ACV enable_mask MIME-Version: 1.0 Message-Id: <20230811-topic-acv-v1-10-a85b6e94f46d@linaro.org> References: <20230811-topic-acv-v1-0-a85b6e94f46d@linaro.org> In-Reply-To: <20230811-topic-acv-v1-0-a85b6e94f46d@linaro.org> To: Andy Gross , Bjorn Andersson , Georgi Djakov , Melody Olvera , Odelu Kukatla , Richard Acayan , David Dai , Rob Herring , Greg Kroah-Hartman , Luca Weiss , Sibi Sankar , Jonathan Marek , Vinod Koul Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1691759050; l=753; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=kGjEAPVOoDaeRtsYH+fP8I1dp0NkUEZT0h8XOrWCYVA=; b=Ycy6izGPP5tobMelR/fzV82DWFa0msx/eOiLPCi99Li1eePJ24g7By5rYXJV7sSiobhFB5Oda ZbfHPZwB1zzB+vSXwKpPU41r800LthHV/HBfZXvDYB9L84ZpS/BKbNs X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org ACV expects an enable_mask corresponding to the APPS RSC, fill it in. Fixes: 6df5b349491e ("interconnect: qcom: Add SM8250 interconnect provider driver") Signed-off-by: Konrad Dybcio --- drivers/interconnect/qcom/sm8250.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/interconnect/qcom/sm8250.c b/drivers/interconnect/qcom/sm8250.c index d4a4ecef11f0..19d5ecbb5a48 100644 --- a/drivers/interconnect/qcom/sm8250.c +++ b/drivers/interconnect/qcom/sm8250.c @@ -1397,6 +1397,7 @@ static struct qcom_icc_node qup2_core_slave = { static struct qcom_icc_bcm bcm_acv = { .name = "ACV", + .enable_mask = ACV_RSC_APPS, .keepalive = false, .num_nodes = 1, .nodes = { &ebi },