From patchwork Tue Nov 29 07:11:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 27098 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp178157wrr; Mon, 28 Nov 2022 23:14:30 -0800 (PST) X-Google-Smtp-Source: AA0mqf6d20fJDgVPdl3zNENmzafRpg/jkg9+qv+31EKSoefRznwptEvvZcYmM5Iv8W7fnlKyk14i X-Received: by 2002:a63:210d:0:b0:43c:1cb8:73ba with SMTP id h13-20020a63210d000000b0043c1cb873bamr30498185pgh.11.1669706070107; Mon, 28 Nov 2022 23:14:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669706070; cv=none; d=google.com; s=arc-20160816; b=ExYhpUQFO0aV8LhPUxKP7/l2MFFDWgZa4bLQ/L7wJAKfs20PLZ8stBmjUWwU4Y+yv9 eGZDmBe+Tl3p43mUwD3tC5AawpK0D1PiIQywTji8EPM8hP1ieRASyFpSKlSBuWxG9OOR ykMvcdKvWrYvRLqtBTFF8YZLJL2M2H5MpzhbnpIvLpUJ17UKgDDERHXmdXky2UBLRi// zCNDZT13Iu1TzIAUZPHDMPdrwaDm47YL1ojP7wtUmox43b+CXiAac1mDoum9J/ShENw3 2mcK0UzR6cj0ml2fSRrjZdnyaNO4NJGewb6tsbN3Hp56/pxNEIeoS7AD8UG56LUCzHr3 bO/w== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=iwut+5qPNDsd1iiRIVzy1Jj8CkYNxLtclAHL7fg4d/Q=; b=DyyS4qrtQbcZkz97bD/FrTRZ10wcuiZLSz046X5HVpwJhlkNHKZigOlJyzwRg2xPOK Xl/682keFz6rQUOY4HgzRQl5fKOCJ+l8qazV0PnkKfX5Nug1tKybWczjXbyM8QR++4wW AlSsBtxM5l46DxlSctJW37NH5I84n+usAk1y+tRvBNdixVT7IhVbGsnGCZWn+ATlvK9E G67icK75NemxT6z9fsmtv7Q83tb501+QoM0i/QbJ+nlKWqKs1Wx2ty3iK4qTULOQnONF DWHAMHwG8tv1IaU63k5snAWFcbTk7CL2AkfGgYw/PSmvokNJ2mRu+bRbVVCLJx/SIBKq dEmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tfKjddDH; 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 e7-20020a170903240700b001842f55e713si13576254plo.321.2022.11.28.23.14.17; Mon, 28 Nov 2022 23:14:30 -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=tfKjddDH; 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 S229952AbiK2HNF (ORCPT + 99 others); Tue, 29 Nov 2022 02:13:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229941AbiK2HNA (ORCPT ); Tue, 29 Nov 2022 02:13:00 -0500 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 396A728E26 for ; Mon, 28 Nov 2022 23:12:59 -0800 (PST) Received: by mail-pj1-x1030.google.com with SMTP id w4-20020a17090ac98400b002186f5d7a4cso16480689pjt.0 for ; Mon, 28 Nov 2022 23:12:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=iwut+5qPNDsd1iiRIVzy1Jj8CkYNxLtclAHL7fg4d/Q=; b=tfKjddDHjI1zuql538gz2AIdccGIZenGDzvlieLzvHpEza+Kn0DpG/2/e1etYzQyaD EqT5otQR6xAxl0lZx73OD3jJ0sX50DlWF6ABUb8fTXOFbzRPJBVrcss77k0o1ny5EIdh vLRKJYUd45CW+Qp7nYujjaN6s3CM2H3DimEAIbzV9VmHas41yYtCdZaZxOwxfIO9tAQ4 QDzuBTYxnbK6u1razdIjQ/2CuxU340eIGaZTyb9UVue2UzU54OiKPUHMm4/cVpbRJTv4 MLIpxc7bjzrO6k/E+p90/PZXzuVw0hEf8ajqd9cm/5P03RBymVX7RBd78I3NgXc1Q83z N3QA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=iwut+5qPNDsd1iiRIVzy1Jj8CkYNxLtclAHL7fg4d/Q=; b=oJ7egICAru844I0gnevXJhNhJBCXDym5LDwmEKtYBNceqDMxCR3EdQKut5NIBqsDjq fAGHzmdCsq0uRcRMCMsAiAKPu2QP68DGM2m65nib/KHFYmml1GX+Kal9TLj0peLay2Uo soL34QfXjboKPPrz9l0NJwVNUll/jah1ExSrvOnGlrNKaQTCBGriUekvxJRaI8ZDTNXt S+LOiVnR795b0jiR4Rt/GvEnXrpaDUYnpaSEZmSFiYeUSpyx3wh5BjVAggIC2IMMIPLP VFdqvGgiiV3G7KQLen4CFUS52MpUB5XbYXCXlXaWfz7H1dZEHImcyQrtFeq5Ho6i3FmC jhyQ== X-Gm-Message-State: ANoB5pnta0BcElcZNmIO78ZcYyPvS8fOC8yb6RveRewo0yzyd68QaNTp B6/tNYfaWLu9CB6/vX7Vg/e+ X-Received: by 2002:a17:902:e849:b0:186:dd96:ce45 with SMTP id t9-20020a170902e84900b00186dd96ce45mr35804981plg.73.1669705978631; Mon, 28 Nov 2022 23:12:58 -0800 (PST) Received: from localhost.localdomain ([117.248.1.95]) by smtp.gmail.com with ESMTPSA id u6-20020a170903124600b00188fc6766d6sm10009264plh.219.2022.11.28.23.12.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Nov 2022 23:12:57 -0800 (PST) From: Manivannan Sadhasivam To: andersson@kernel.org, bp@alien8.de, mchehab@kernel.org Cc: james.morse@arm.com, rric@kernel.org, linux-arm-msm@vger.kernel.org, linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org, quic_saipraka@quicinc.com, Manivannan Sadhasivam , stable@vger.kernel.org Subject: [PATCH v5 1/3] soc: qcom: Select REMAP_MMIO for LLCC driver Date: Tue, 29 Nov 2022 12:41:59 +0530 Message-Id: <20221129071201.30024-2-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221129071201.30024-1-manivannan.sadhasivam@linaro.org> References: <20221129071201.30024-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 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=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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750813712271772138?= X-GMAIL-MSGID: =?utf-8?q?1750813712271772138?= LLCC 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/llcc-qcom.ko] undefined! make[1]: *** [scripts/Makefile.modpost:126: Module.symvers] Error 1 make: *** [Makefile:1944: modpost] Error 2 Cc: # 4.19 Fixes: a3134fb09e0b ("drivers: soc: Add LLCC driver") Reported-by: Borislav Petkov Signed-off-by: Manivannan Sadhasivam --- drivers/soc/qcom/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig index 024e420f1bb7..a6164b2d7b25 100644 --- a/drivers/soc/qcom/Kconfig +++ b/drivers/soc/qcom/Kconfig @@ -63,6 +63,7 @@ config QCOM_GSBI config QCOM_LLCC tristate "Qualcomm Technologies, Inc. LLCC driver" depends on ARCH_QCOM || COMPILE_TEST + select REGMAP_MMIO help Qualcomm Technologies, Inc. platform specific Last Level Cache Controller(LLCC) driver for platforms such as,