mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] irqchip/qcom-pdc: fix builtin vs. module build error
@ 2026-10-06 23:18 Randy Dunlap
  2026-10-08  4:17 ` Maulik Shah
  2026-10-08  7:34 ` Krzysztof Kozlowski
  0 siblings, 2 replies; 4+ messages in thread
From: Randy Dunlap @ 2026-10-06 23:18 UTC (permalink / raw)
  To: linux-kernel
  Cc: Randy Dunlap, Maulik Shah, Krzysztof Kozlowski, Thomas Gleixner,
	Radu Rendec, Bjorn Andersson, Konrad Dybcio, Abel Vesa,
	linux-arm-msm

When CONFIG_QCOM_SCM=m and CONFIG_QCOM_PDC=y, the build fails with
aarch64-linux-ld: drivers/irqchip/qcom-pdc.o: in function `qcom_pdc_probe':
qcom-pdc.c:(.text+0x1060): undefined reference to `qcom_scm_is_available'
aarch64-linux-ld: qcom-pdc.c:(.text+0x1094): undefined reference to `qcom_scm_io_writel'

[ARCH_QCOM=y, COMPILE_TEST=y]

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
Cc: Maulik Shah <maulik.shah@oss.qualcomm.com>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Cc: Thomas Gleixner <tglx@kernel.org>
Cc: Radu Rendec <radu@rendec.net>
Cc: Bjorn Andersson <andersson@kernel.org>
Cc: Konrad Dybcio <konradybcio@kernel.org>
Cc: Abel Vesa <abelvesa@kernel.org>
Cc: linux-arm-msm@vger.kernel.org

 drivers/irqchip/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- linux-next-20261005.orig/drivers/irqchip/Kconfig
+++ linux-next-20261005/drivers/irqchip/Kconfig
@@ -523,6 +523,7 @@ config GOLDFISH_PIC
 config QCOM_PDC
 	tristate "Qualcomm PDC"
 	depends on ARCH_QCOM || COMPILE_TEST
+	depends on QCOM_SCM
 	select IRQ_DOMAIN_HIERARCHY
 	default ARCH_QCOM
 	help

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] irqchip/qcom-pdc: fix builtin vs. module build error
  2026-10-06 23:18 [PATCH] irqchip/qcom-pdc: fix builtin vs. module build error Randy Dunlap
@ 2026-10-08  4:17 ` Maulik Shah
  2026-10-08  7:34 ` Krzysztof Kozlowski
  1 sibling, 0 replies; 4+ messages in thread
From: Maulik Shah @ 2026-10-08  4:17 UTC (permalink / raw)
  To: Randy Dunlap, linux-kernel
  Cc: Krzysztof Kozlowski, Thomas Gleixner, Radu Rendec,
	Bjorn Andersson, Konrad Dybcio, Abel Vesa, linux-arm-msm



On 07-10-2026 04:48, Randy Dunlap wrote:
> When CONFIG_QCOM_SCM=m and CONFIG_QCOM_PDC=y, the build fails with
> aarch64-linux-ld: drivers/irqchip/qcom-pdc.o: in function `qcom_pdc_probe':
> qcom-pdc.c:(.text+0x1060): undefined reference to `qcom_scm_is_available'
> aarch64-linux-ld: qcom-pdc.c:(.text+0x1094): undefined reference to `qcom_scm_io_writel'
>
> [ARCH_QCOM=y, COMPILE_TEST=y]
This should have fixes tag.

Fixes: ad01c2b2f291 ("irqchip/qcom-pdc: Configure PDC to pass through mode")

with the tag added,

Reviewed-by: Maulik Shah <maulik.shah@oss.qualcomm.com>

Thanks,
Maulik

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] irqchip/qcom-pdc: fix builtin vs. module build error
  2026-10-06 23:18 [PATCH] irqchip/qcom-pdc: fix builtin vs. module build error Randy Dunlap
  2026-10-08  4:17 ` Maulik Shah
@ 2026-10-08  7:34 ` Krzysztof Kozlowski
  2026-10-08 16:08   ` Randy Dunlap
  1 sibling, 1 reply; 4+ messages in thread
From: Krzysztof Kozlowski @ 2026-10-08  7:34 UTC (permalink / raw)
  To: Randy Dunlap, linux-kernel
  Cc: Maulik Shah, Thomas Gleixner, Radu Rendec, Bjorn Andersson,
	Konrad Dybcio, Abel Vesa, linux-arm-msm

On 07/10/2026 01:18, Randy Dunlap wrote:
> When CONFIG_QCOM_SCM=m and CONFIG_QCOM_PDC=y, the build fails with
> aarch64-linux-ld: drivers/irqchip/qcom-pdc.o: in function `qcom_pdc_probe':
> qcom-pdc.c:(.text+0x1060): undefined reference to `qcom_scm_is_available'
> aarch64-linux-ld: qcom-pdc.c:(.text+0x1094): undefined reference to `qcom_scm_io_writel'
> 
> [ARCH_QCOM=y, COMPILE_TEST=y]
> 


Posted 3 weeks ago by Arnd already:
https://lore.kernel.org/all/20260915195948.3521662-1-arnd@kernel.org/

Got also review and that patch should be picked up.

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] irqchip/qcom-pdc: fix builtin vs. module build error
  2026-10-08  7:34 ` Krzysztof Kozlowski
@ 2026-10-08 16:08   ` Randy Dunlap
  0 siblings, 0 replies; 4+ messages in thread
From: Randy Dunlap @ 2026-10-08 16:08 UTC (permalink / raw)
  To: Krzysztof Kozlowski, linux-kernel
  Cc: Maulik Shah, Thomas Gleixner, Radu Rendec, Bjorn Andersson,
	Konrad Dybcio, Abel Vesa, linux-arm-msm



On 10/8/26 12:34 AM, Krzysztof Kozlowski wrote:
> On 07/10/2026 01:18, Randy Dunlap wrote:
>> When CONFIG_QCOM_SCM=m and CONFIG_QCOM_PDC=y, the build fails with
>> aarch64-linux-ld: drivers/irqchip/qcom-pdc.o: in function `qcom_pdc_probe':
>> qcom-pdc.c:(.text+0x1060): undefined reference to `qcom_scm_is_available'
>> aarch64-linux-ld: qcom-pdc.c:(.text+0x1094): undefined reference to `qcom_scm_io_writel'
>>
>> [ARCH_QCOM=y, COMPILE_TEST=y]
>>
> 
> 
> Posted 3 weeks ago by Arnd already:
> https://lore.kernel.org/all/20260915195948.3521662-1-arnd@kernel.org/
> 
> Got also review and that patch should be picked up.

I agree. I guess that there has been a bit of travel time
in the last 3 weeks. :)

-- 
~Randy


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-10-08 16:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-06 23:18 [PATCH] irqchip/qcom-pdc: fix builtin vs. module build error Randy Dunlap
2026-10-08  4:17 ` Maulik Shah
2026-10-08  7:34 ` Krzysztof Kozlowski
2026-10-08 16:08   ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®