Message ID | 20221129072022.41962-1-manivannan.sadhasivam@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp183850wrr; Mon, 28 Nov 2022 23:29:23 -0800 (PST) X-Google-Smtp-Source: AA0mqf5HqoUfUr+64mLZUmFeoy1JqgyDt0vMeZNUgIZ0gZrpq8o9wHbOvIw+kbR/9XJkZ4gdAxq/ X-Received: by 2002:a17:906:d0da:b0:7ad:9891:8756 with SMTP id bq26-20020a170906d0da00b007ad98918756mr47305827ejb.203.1669706963675; Mon, 28 Nov 2022 23:29:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669706963; cv=none; d=google.com; s=arc-20160816; b=uohYTIrnWZV1+CdhObCqMAAaRCSopeB1Njxa0yiTZu46KYjirvVznBRojei2WPIY2u m4bC2OX5pln2cKnSCXRXFHOgUr5YIBw1/ULwl8FDwvIMTf3NR5tSzfZxlBq0pX/nG1Ee 4O39guqvc/dX/Mnda5IKJ/tXzAm6PqUEsPlj8GLX5LDyCH1UDE6RdBrK0Wl4RqG8tgUD 94Gc+1LPwACESUD+W4A0JHP6myoNB07ggcdZbarmw4/zkeDACCXtKHUCTGNQ+ZaY65NZ lNkwokMGUBffo4rB5Y6l7w1kxbT8Xb6XJFuM52SNRMAubNDnh8udPfXOzB5j4yOuIK1l Wf+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=nk7huhcKUdur/bL8fncvnthF1FpIP2fAlI/wrAUM6S8=; b=ZL3sTVH53vru1nZRtev8ScQDq5RT4GuSSAniXPKbbouf/9K+jf1gO4AsOm4WEng/Pw md1dZVPfLFtt2jR6cOQURdLgbLrKwZJFO/hZlQy4Fs/kZgObja514XQoA7BUfI0Z4lqd 7d+DCtgAXG3K1GKTwqD1aa6CSpkFGLrvy2YZuuYaV7e+ixMePoIIAgOKAIWfri7t4kxF ih4OVgn/xdVdov4Jp7nJjE/KQm5ATwWIbvUjblx/jfMrB2In6t2qh9KR6ScKeXws0l83 gZJOuIha5sEEzUNpsB1QoejiZ0DTbqArC04SdL3v/4uyW2yhflsNjjnOyibxJBnRKpZM fbfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DbpHADt0; 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 v8-20020a170906b00800b007815a44de91si9038162ejy.771.2022.11.28.23.28.54; Mon, 28 Nov 2022 23:29:23 -0800 (PST) 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=DbpHADt0; 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 S229661AbiK2HUe (ORCPT <rfc822;gah0developer@gmail.com> + 99 others); Tue, 29 Nov 2022 02:20:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229558AbiK2HUb (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 29 Nov 2022 02:20:31 -0500 Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD2DE3C6F2 for <linux-kernel@vger.kernel.org>; Mon, 28 Nov 2022 23:20:29 -0800 (PST) Received: by mail-pj1-x1034.google.com with SMTP id e7-20020a17090a77c700b00216928a3917so16450576pjs.4 for <linux-kernel@vger.kernel.org>; Mon, 28 Nov 2022 23:20:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=nk7huhcKUdur/bL8fncvnthF1FpIP2fAlI/wrAUM6S8=; b=DbpHADt0dG20TTBh9ffFlj+6EL8CwfUV4dpMJqegGzAyeCirCLf76zjIGSLeC9Ofdf GUDbP22Go+b/YNqGKhZkn9GDmthMesqLgJgrl5cPRs0gEYPZc/sycMx2bL+JjImij2cH lvDOcaPrvKluWfIMKwgZWPpyQSBRd0z4Zyrwd0necIU+uKdvs/Lf4IaKQ3ABINeJpAt0 gkV/pW+yF8WmFHGh2LdAu9gYK+NCIvx1sRXkm/xAydLMccxmsTUfunobSP8duEFcFEIA B8hMNOdJM0lFhHbvjQuM5pAXbvYZOZC4Fhk5KQHkYZcH226X0GKugZECl505oegsG9qz 9dIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=nk7huhcKUdur/bL8fncvnthF1FpIP2fAlI/wrAUM6S8=; b=5KKbObIRzyM0I38j7byq9YUHq3eiM6Y/A4sRQaHCmrYiG8h2mujmwI7nJ3T32Np70E yKopajFJ4Tt35lixrdjK1Pf3OhnyShP7hDAMIW/4QWYlbASzscfYGRRJXKPCBM3p0uJn Sf4R7und1pQkHWP/1nDqOGrnCoFOixRp9ReUhmfz5x8AUO1z2giczsfvU84akrJCKIWE M1CKjzLO6V/SICm/ocru18n7v5ateg0HfcDjQTYGK83wS3t57s4RWfJt9unID+y0H/RI QTQ/2yQ0DfvKLJJjA4uXYGTFowgZ+QXRWHmRLmXlLfHPUUHg75rIbPTshXQZEiqhpdQR c4dQ== X-Gm-Message-State: ANoB5pndXlda4GH9q1WUqdHgj5JGw4RcaN9oK5uEqx1JFffEoTbiDsoB qlLHv+Byeit/3SHEWB8pF+O5YVcq04sE X-Received: by 2002:a17:90a:4206:b0:213:2039:64c2 with SMTP id o6-20020a17090a420600b00213203964c2mr64619947pjg.165.1669706429415; Mon, 28 Nov 2022 23:20:29 -0800 (PST) Received: from localhost.localdomain ([117.248.1.95]) by smtp.gmail.com with ESMTPSA id k13-20020aa7998d000000b0056c3d3f5a8dsm9200189pfh.56.2022.11.28.23.20.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Nov 2022 23:20:28 -0800 (PST) From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> To: krzysztof.kozlowski@linaro.org, andersson@kernel.org Cc: konrad.dybcio@somainline.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>, stable@vger.kernel.org Subject: [PATCH] soc: qcom: Select REMAP_MMIO for ICC_BWMON driver Date: Tue, 29 Nov 2022 12:50:22 +0530 Message-Id: <20221129072022.41962-1-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 autolearn=ham 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: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750814649159674622?= X-GMAIL-MSGID: =?utf-8?q?1750814649159674622?= |
Series |
soc: qcom: Select REMAP_MMIO for ICC_BWMON driver
|
|
Commit Message
Manivannan Sadhasivam
Nov. 29, 2022, 7:20 a.m. UTC
ICC_BWMON driver uses REGMAP_MMIO for accessing the hardware registers.
So select the dependency in Kconfig. Without this, there will be errors
while building the driver with COMPILE_TEST only:
ERROR: modpost: "__devm_regmap_init_mmio_clk" [drivers/soc/qcom/icc-bwmon.ko] undefined!
make[1]: *** [scripts/Makefile.modpost:126: Module.symvers] Error 1
make: *** [Makefile:1944: modpost] Error 2
Cc: <stable@vger.kernel.org> # 6.0
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fixes: b9c2ae6cac40 ("soc: qcom: icc-bwmon: Add bandwidth monitoring driver")
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
---
drivers/soc/qcom/Kconfig | 1 +
1 file changed, 1 insertion(+)
Comments
On 29/11/2022 08:20, Manivannan Sadhasivam wrote: > ICC_BWMON driver uses REGMAP_MMIO for accessing the hardware registers. > So select the dependency in Kconfig. Without this, there will be errors > while building the driver with COMPILE_TEST only: > Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
On Tue, 29 Nov 2022 12:50:22 +0530, Manivannan Sadhasivam wrote: > ICC_BWMON driver uses REGMAP_MMIO for accessing the hardware registers. > So select the dependency in Kconfig. Without this, there will be errors > while building the driver with COMPILE_TEST only: > > ERROR: modpost: "__devm_regmap_init_mmio_clk" [drivers/soc/qcom/icc-bwmon.ko] undefined! > make[1]: *** [scripts/Makefile.modpost:126: Module.symvers] Error 1 > make: *** [Makefile:1944: modpost] Error 2 > > [...] Applied, thanks! [1/1] soc: qcom: Select REMAP_MMIO for ICC_BWMON driver commit: a84160fbf4f2c8c5ffa588e19ea8f92eabd7ad17 Best regards,
diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig index 024e420f1bb7..75bfdb6f9705 100644 --- a/drivers/soc/qcom/Kconfig +++ b/drivers/soc/qcom/Kconfig @@ -236,6 +236,7 @@ config QCOM_ICC_BWMON tristate "QCOM Interconnect Bandwidth Monitor driver" depends on ARCH_QCOM || COMPILE_TEST select PM_OPP + select REGMAP_MMIO help Sets up driver monitoring bandwidth on various interconnects and based on that voting for interconnect bandwidth, adjusting their