|
Takashi Iwai |
d3dca6 |
From 5d2fe2d7b616b8baa18348ead857b504fc2de336 Mon Sep 17 00:00:00 2001
|
|
Takashi Iwai |
d3dca6 |
From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
|
|
Takashi Iwai |
d3dca6 |
Date: Tue, 29 Nov 2022 12:41:59 +0530
|
|
Takashi Iwai |
d3dca6 |
Subject: [PATCH] soc: qcom: Select REMAP_MMIO for LLCC driver
|
|
Takashi Iwai |
d3dca6 |
Git-commit: 5d2fe2d7b616b8baa18348ead857b504fc2de336
|
|
Takashi Iwai |
d3dca6 |
Patch-mainline: v6.2-rc1
|
|
Takashi Iwai |
d3dca6 |
References: git-fixes
|
|
Takashi Iwai |
d3dca6 |
|
|
Takashi Iwai |
d3dca6 |
LLCC driver uses REGMAP_MMIO for accessing the hardware registers. So
|
|
Takashi Iwai |
d3dca6 |
select the dependency in Kconfig. Without this, there will be errors
|
|
Takashi Iwai |
d3dca6 |
while building the driver with COMPILE_TEST only:
|
|
Takashi Iwai |
d3dca6 |
|
|
Takashi Iwai |
d3dca6 |
Error: modpost: "__devm_regmap_init_mmio_clk" [drivers/soc/qcom/llcc-qcom.ko] undefined!
|
|
Takashi Iwai |
d3dca6 |
Make[1]: *** [scripts/Makefile.modpost:126: Module.symvers] Error 1
|
|
Takashi Iwai |
d3dca6 |
Make: *** [Makefile:1944: modpost] Error 2
|
|
Takashi Iwai |
d3dca6 |
|
|
Takashi Iwai |
d3dca6 |
Cc: <stable@vger.kernel.org> # 4.19
|
|
Takashi Iwai |
d3dca6 |
Fixes: a3134fb09e0b ("drivers: soc: Add LLCC driver")
|
|
Takashi Iwai |
d3dca6 |
Reported-by: Borislav Petkov <bp@alien8.de>
|
|
Takashi Iwai |
d3dca6 |
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
|
|
Takashi Iwai |
d3dca6 |
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
|
|
Takashi Iwai |
d3dca6 |
Link: https://lore.kernel.org/r/20221129071201.30024-2-manivannan.sadhasivam@linaro.org
|
|
Takashi Iwai |
d3dca6 |
Acked-by: Takashi Iwai <tiwai@suse.de>
|
|
Takashi Iwai |
d3dca6 |
|
|
Takashi Iwai |
d3dca6 |
---
|
|
Takashi Iwai |
d3dca6 |
drivers/soc/qcom/Kconfig | 1 +
|
|
Takashi Iwai |
d3dca6 |
1 file changed, 1 insertion(+)
|
|
Takashi Iwai |
d3dca6 |
|
|
Takashi Iwai |
d3dca6 |
diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig
|
|
Takashi Iwai |
d3dca6 |
index 024e420f1bb7..a6164b2d7b25 100644
|
|
Takashi Iwai |
d3dca6 |
--- a/drivers/soc/qcom/Kconfig
|
|
Takashi Iwai |
d3dca6 |
+++ b/drivers/soc/qcom/Kconfig
|
|
Takashi Iwai |
d3dca6 |
@@ -63,6 +63,7 @@ config QCOM_GSBI
|
|
Takashi Iwai |
d3dca6 |
config QCOM_LLCC
|
|
Takashi Iwai |
d3dca6 |
tristate "Qualcomm Technologies, Inc. LLCC driver"
|
|
Takashi Iwai |
d3dca6 |
depends on ARCH_QCOM || COMPILE_TEST
|
|
Takashi Iwai |
d3dca6 |
+ select REGMAP_MMIO
|
|
Takashi Iwai |
d3dca6 |
help
|
|
Takashi Iwai |
d3dca6 |
Qualcomm Technologies, Inc. platform specific
|
|
Takashi Iwai |
d3dca6 |
Last Level Cache Controller(LLCC) driver for platforms such as,
|
|
Takashi Iwai |
d3dca6 |
--
|
|
Takashi Iwai |
d3dca6 |
2.35.3
|
|
Takashi Iwai |
d3dca6 |
|