Message ID | 20230811-topic-icc_fix_1he-v2-0-0620af8ac133@linaro.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b824:0:b0:3f2:4152:657d with SMTP id z4csp1423934vqi; Fri, 11 Aug 2023 16:50:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGAi3lwm2uVaUO70eShT+K7lt5OX+00vgEAeDEJbWx9+mZUppsib4yfPW7yDf8SjxHCaRdP X-Received: by 2002:a17:902:d511:b0:1bc:5e50:9345 with SMTP id b17-20020a170902d51100b001bc5e509345mr3610893plg.50.1691797831127; Fri, 11 Aug 2023 16:50:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691797831; cv=none; d=google.com; s=arc-20160816; b=iNgEkWH0tkbp61kN8GFAPPjXWGZsFFQsHhPYrfhBAdP+2y7UWQ0NQkmU5EjV21fOrg m97ZAkCBE5XmgFNeHbVXD4HhUK/N6U6pGJCXu4v6nk1iU2LdxK66DLM18aXUdc/9UeoL dRzZFQF+vBYi7JUTg5OPgfq17bKXg5TePwgZRIkCim6jIXtZHlCQ7f2ieRmnrpHiaWkc aBYIIsgETwSF8rbXvYE9k0T79tOq4FJWw4bsas6Y91qbh6rssXCFCuG7D+MqgxKBNpLK c2qWwxMrir2BHSi55aeydpRUi06VFsNljAVczQrzF/bEqxyvy94rQuV6pGKZJQqqBdBf 9B7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=n5AP0tJseIFYkTlhR3QIqGiIBK1ASV4L4JPhzWgvurs=; fh=MHenx2e24sxK1mTtSFwMETuI0QLHZHbQce7iWE+IwsQ=; b=Kepu0Ecs0G2/K1jC39TJNM2Cx333JOP6S4YVwgPn2vMwYaQmLY6HPe+el753lkNDD9 DAVQBHiSRTR1a/GhspdwrCFEeFJsKzgHoofzCOEr1aa+F5gTz8BJ21m8QVlS7Oc1lYcn o1Gws8UV71arUaDZ0ONZXwLRcfJuRoPr3ghBBHHGyjfbYOd9VCDU/Q+BpY0BLRMdmqNa bxZK1XK+kPuzsVWfscCYUg0Qv1PdplXpJGv7W0O4ec2ZpYoJQDzWAELPYlvoHAJsSKli hhNEirEflBpYZih5Xgz88gFekljdHEfUBwwSpO2coALUr+QBHZmasNxLa6mwnVqgE6i5 3Faw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uZ02Tzrh; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id le6-20020a170902fb0600b001b23d721059si3868055plb.317.2023.08.11.16.50.18; Fri, 11 Aug 2023 16:50:31 -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=uZ02Tzrh; 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 S235080AbjHKXQY (ORCPT <rfc822;lanlanxiyiji@gmail.com> + 99 others); Fri, 11 Aug 2023 19:16:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232895AbjHKXQW (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 11 Aug 2023 19:16:22 -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 D225BE5C for <linux-kernel@vger.kernel.org>; Fri, 11 Aug 2023 16:16:20 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-4fe2d152f62so4074137e87.0 for <linux-kernel@vger.kernel.org>; Fri, 11 Aug 2023 16:16:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691795779; x=1692400579; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=n5AP0tJseIFYkTlhR3QIqGiIBK1ASV4L4JPhzWgvurs=; b=uZ02Tzrhpz3B1YN9MvjCw12UyvteJesj+TF2bjuFECQ9j48GhF+TqcYgP8mNztqK7J OVm/TCnO/J+3esj5MTIO/taRbpaYAMqNZQYvuHwMm+chh3scVytsNnSpjuztLuv+qrDx 9m4FbQGag6C/CyDBpTWAL6a6NBcVARJHeW9yRaeFTTWa4iBjSHv1M7AidRkTYj9FRftj 569fa0HZVL7TfEhVLjFvnGdmeM0Rfnl+oKnrNGJGBJt1bAQ/zrp5Hr5tVbkzaYj042JC y0DwA+Xu/UkxTiWSuDskKX9sc0xbUc5nwjzTxD9wiAEBE2N3yvVP+ib5lnXZd4yx/Adn 1E9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691795779; x=1692400579; 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=n5AP0tJseIFYkTlhR3QIqGiIBK1ASV4L4JPhzWgvurs=; b=G1MisMernPN+anCRq6SjLjQlfucNP3m/AmHW4+ULKYlWJbbLCHYWkqp49KUJ/MztaS qM1AeiL0rMVjCWCxYsI0laJmCfujhzwxlQTdRcqrYpjytDVYY5AlMWxS+2kE+vyWcifX L+tB0JjodMD9NJWoLKSiKejlEVpvBlVbFX36DLZNZlyZImDmfQN9CsVS1bz5DywUTlF6 TTmBn+x0bldb2Pbsfb9R+GIAl/E4Z6lZAk36hmGnsWEtZaGss4B9dX6xirGqJtIToI4x 8xjh2AxIRpl5a0bD4a4RsRFOhOUP15V8EOEy2Y0Xzj9eH28+E+Oj9IrYC/wtY5l2YLZ6 naQQ== X-Gm-Message-State: AOJu0Yz68IJf8IAuvvg8AB1xMTE3F7k4wODQ7Q1p575HZyv2PaEZDYYg z5Xk1vuYSZwJAtpxFZRh0NN5AA== X-Received: by 2002:a05:6512:1054:b0:4fb:caed:95c3 with SMTP id c20-20020a056512105400b004fbcaed95c3mr2696985lfb.53.1691795779041; Fri, 11 Aug 2023 16:16:19 -0700 (PDT) Received: from [192.168.1.101] (abyj188.neoplus.adsl.tpnet.pl. [83.9.29.188]) by smtp.gmail.com with ESMTPSA id m16-20020a195210000000b004fe48332852sm884773lfb.136.2023.08.11.16.16.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Aug 2023 16:16:18 -0700 (PDT) From: Konrad Dybcio <konrad.dybcio@linaro.org> Subject: [PATCH v2 0/2] Improve enable_mask handling Date: Sat, 12 Aug 2023 01:16:14 +0200 Message-Id: <20230811-topic-icc_fix_1he-v2-0-0620af8ac133@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAD7B1mQC/32NQQ6CMBBFr0K6tqalqJSV9zCElHGgk5CWtEg0h Ls7cgCX7+e/vE1kTIRZNMUmEq6UKQaG8lQI8C6MKOnJLEpVGlVrLZc4E0gC6AZ6d9qjrJQztqp 7VQ83wV7vMso+uQCezfCaJh7nhPw/Qo+W2VNeYvoc3VX/1n+JVUslL2CvADgYY+19ouBSPMc0i nbf9y+jJTBiyAAAAA== To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Georgi Djakov <djakov@kernel.org>, Mike Tipton <quic_mdtipton@quicinc.com>, Neil Armstrong <neil.armstrong@linaro.org> Cc: Marijn Suijten <marijn.suijten@somainline.org>, linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio <konrad.dybcio@linaro.org>, Bjorn Andersson <quic_bjorande@quicinc.com> X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1691795777; l=1117; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=CV50Ks9I8A5OMl9nGW5N4CftwCwBWF8T5/FTPzVvlng=; b=Hg2lHVMiwl0P5WNhLVhD5veYXoquUo6ROy4sZsx6VhwguLWW44+sLLIHPJzYh/2Fq6NyFz3Px KTgH56MWC8EAuX1XybLQD9Uk+ZI7caI1m6i1jcfZesOjBwYSs3iWkCZ 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,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773934962822751916 X-GMAIL-MSGID: 1773978602467612435 |
Series |
Improve enable_mask handling
|
|
Message
Konrad Dybcio
Aug. 11, 2023, 11:16 p.m. UTC
As pointed out by Bjorn and Mike in [1], we can simplify the handling
of enable_mask-based BCMs. This series attempts to do so and fixes a bug
that snuck in.
Gave a quick spin on 8450, doesn't seem to have exploded.
[1] https://lore.kernel.org/linux-arm-msm/113b50f8-35f6-73fc-4fc9-302262927c5e@quicinc.com/
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
Changes in v2:
- Rename bcm_aggregate_1he to bcm_aggregate_mask (Mike)
- Fix never clearing enable_mask that was once enabled (Mike)
- Pick up tags (Bjorn)
- Link to v1: https://lore.kernel.org/r/20230811-topic-icc_fix_1he-v1-0-5c96ccef3399@linaro.org
---
Konrad Dybcio (2):
interconnect: qcom: bcm-voter: Improve enable_mask handling
interconnect: qcom: bcm-voter: Use enable_maks for keepalive voting
drivers/interconnect/qcom/bcm-voter.c | 43 +++++++++++++++++++++++++++++------
1 file changed, 36 insertions(+), 7 deletions(-)
---
base-commit: 535e616fd036bf8f2307b0f02a1912cf81deed4c
change-id: 20230811-topic-icc_fix_1he-40a3948b08f7
Best regards,