From patchwork Fri Aug 11 13:04:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 713415 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 3B9F5C001DB for ; Fri, 11 Aug 2023 13:04:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234492AbjHKNEQ (ORCPT ); Fri, 11 Aug 2023 09:04:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234022AbjHKNEQ (ORCPT ); Fri, 11 Aug 2023 09:04:16 -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 1420A119 for ; Fri, 11 Aug 2023 06:04:15 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-4fe94dde7d7so1410361e87.3 for ; Fri, 11 Aug 2023 06:04:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691759053; x=1692363853; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=WrhwGbOx8CihAahdmmG7RyQQcE2/SAvxhO4tfnZYR+I=; b=XKAnCNNljArIYwMz/AVTfqf50sU9BEWE0cVE+1XwjV9aKrLUtR1fsA8TuqxsNOYhJq guUP1EsGFaMYDHruEz1jBJjhp52hK/PpzbOKVM1Qr9rtKuR7IUINKGsVMkdoa/YU6G34 ONj+HAY1FeXPUWxSBYNITGeZfXHnD6IWxtAny/lRxgiGD6KUg2/1n2gKdj2sV4X2wNGY afGxJ7Brsujk1WheS5lunJ7KVH/Be4bFppp6Ll5uRDtoMFbaZSdLjgaCVhDH0pl5hSFZ ECiAzNqY++yYE6Lz4SOC8TDHPIB/pSYLUkG7+3Bf5oxoYcSqP0JvpO/eHct3ZEy/l54P Mhjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691759053; x=1692363853; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=WrhwGbOx8CihAahdmmG7RyQQcE2/SAvxhO4tfnZYR+I=; b=gqml6G7FaO53eIBtWi4PRp+iee47tS82+iS3v45aAk2VYtEIn5spx0PU7dZznMZo1o +JhKIJDxE2jRcBc7zrujg3Zzek1OCLzGXrLLd3/Pd/jPSj3afNyWr1qcJ5bZxMjj1Q+e 9sNLKwtr8isT9ZosOkA7BNyEaM36zeRrZnwbAB//ZySW4m59X/1w3DshWkNzEoK46vI8 G4+wVd34pbuYHFOxG7tsl6zzA/95zCCMo7XJMRC0U+tRVa5xbwxTjtfYa9XpjIAS1t0+ aWt5+j5Rg7p0jcHSSrGdr5AKs/5voYI+MMzZEm0yVQ1cv9WKEAP7QHvjdNKevhyj40l4 cBOg== X-Gm-Message-State: AOJu0YxZbzxdyMA8AuyMVSDWG5eoTjcfImwed+tk1sYjjuWjxTk91Y8B QtrMjZhQJRmEZ4vdu9Od2Nttsg== X-Google-Smtp-Source: AGHT+IFsUil/t8SKFOwfoBId7d5Hr9WbziqxHCVQSgG9O4efMG41dDMUpkF4CLOXrGAxIrPyTWDTcw== X-Received: by 2002:a05:6512:2396:b0:4fc:3756:754e with SMTP id c22-20020a056512239600b004fc3756754emr1781424lfv.56.1691759053213; Fri, 11 Aug 2023 06:04:13 -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.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Aug 2023 06:04:12 -0700 (PDT) From: Konrad Dybcio Subject: [PATCH 00/11] Hook up ACV enable_mask for everybody Date: Fri, 11 Aug 2023 15:04:07 +0200 Message-Id: <20230811-topic-acv-v1-0-a85b6e94f46d@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAMcx1mQC/x2NQQqEMAxFryJZT8BWUfEqwyxijBqQKu1YBPHuB pfv8z7vgiRRJUFfXBAla9ItGLhPAbxQmAV1NAZf+qrsnMP/tisjccbWE1NHYzPVDswfKAkOkQI v9gjHutq4R5n0fAPf330/HV/RsHAAAAA= 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=2046; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=EyaDU3nl/mO3PgtI9jo6IYEb6piv8kz5EwfbfPRWcb4=; b=IEmubDJ0qot2yOM5UP718MTyOsR36+04r7PPb645c21grCrL05US6MaA16dRMDR77/UAt21Xy /Lz8a6PLhXkAimFFTpjPgblJTR9sUDW6v2gHOFwCLPM7I+x+iticW0E X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org In the downstream kernel, ACV enable_mask has not been mentioned explicitly, rather being handled by a sneaky if-condition [1], [2]. Add it to all RPMh platforms to actually enable that BCM. Based atop [3]. [1] https://git.codelinaro.org/clo/la/kernel/msm-4.19/-/blob/LA.UM.10.2.1.c25/drivers/soc/qcom/msm_bus/msm_bus_arb_rpmh.c#L556-567 [2] https://git.codelinaro.org/clo/la/kernel/msm-4.19/-/blob/LA.UM.10.2.1.c25/drivers/soc/qcom/msm_bus/msm_bus_arb_rpmh.c#L475-495 [3] https://lore.kernel.org/linux-arm-msm/20230811-topic-icc_retire_macrosd-v1-0-c03aaeffc769@linaro.org/T/#t Signed-off-by: Konrad Dybcio --- Konrad Dybcio (11): interconnect: qcom: qdu1000: Set ACV enable_mask interconnect: qcom: sc7180: Set ACV enable_mask interconnect: qcom: sc7280: Set ACV enable_mask interconnect: qcom: sc8180x: Set ACV enable_mask interconnect: qcom: sc8280xp: Set ACV enable_mask interconnect: qcom: sdm670: Set ACV enable_mask interconnect: qcom: sdm845: Set ACV enable_mask interconnect: qcom: sm6350: Set ACV enable_mask interconnect: qcom: sm8150: Set ACV enable_mask interconnect: qcom: sm8250: Set ACV enable_mask interconnect: qcom: sm8350: Set ACV enable_mask drivers/interconnect/qcom/bcm-voter.h | 2 ++ drivers/interconnect/qcom/qdu1000.c | 1 + drivers/interconnect/qcom/sc7180.c | 1 + drivers/interconnect/qcom/sc7280.c | 1 + drivers/interconnect/qcom/sc8180x.c | 1 + drivers/interconnect/qcom/sc8280xp.c | 1 + drivers/interconnect/qcom/sdm670.c | 1 + drivers/interconnect/qcom/sdm845.c | 1 + drivers/interconnect/qcom/sm6350.c | 1 + drivers/interconnect/qcom/sm8150.c | 1 + drivers/interconnect/qcom/sm8250.c | 1 + drivers/interconnect/qcom/sm8350.c | 1 + 12 files changed, 13 insertions(+) --- base-commit: ee4aa20e094643232438b896f49a405361406fbf change-id: 20230811-topic-acv-72aca8ad6f41 Best regards,