* [PATCH v2 0/3] irqchip: qcom: Add sane defaults and drop defconfig
@ 2026-07-27 20:01 Krzysztof Kozlowski
2026-07-27 20:01 ` [PATCH v2 1/3] irqchip/qcom: Enable compile testing for QCOM_PDC and QCOM_MPM Krzysztof Kozlowski
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: Krzysztof Kozlowski @ 2026-07-27 20:01 UTC (permalink / raw)
To: Thomas Gleixner, Radu Rendec, Bjorn Andersson, Konrad Dybcio
Cc: linux-kernel, linux-arm-msm, Krzysztof Kozlowski
Merging
=======
1. First irqchip patches via irqchip.
2. defconfig next cycle via Qualcomm SoC tree.
Changes in v2:
- Do not restrict MPM to arm64.
- Enable MPM by default only on arm64, because there is no 32-bit
upstream user.
- Link to v1: https://patch.msgid.link/20260727-irqchip-qcom-defaults-v1-0-ed80ad83ca53@oss.qualcomm.com
We should not be really asking whether to enable internal SoC drivers.
This is an obvious choice.
And if it does not seem obvious, then consider [1].
[1] https://lore.kernel.org/all/CAHk-%3Dwhigg3hvOy7c1j1MXFy6o6CHp0g4Tc3Y-MAk%2BXDssHU0A@mail.gmail.com/
Best regards,
Krzysztof
---
Krzysztof Kozlowski (3):
irqchip/qcom: Enable compile testing for QCOM_PDC and QCOM_MPM
irqchip/qcom: Add defaults for desired SoC drivers
arm64: defconfig: Drop redundant Qualcomm irqchip entries
arch/arm64/configs/defconfig | 2 --
drivers/irqchip/Kconfig | 6 ++++--
2 files changed, 4 insertions(+), 4 deletions(-)
---
base-commit: 9eebf259d5352b87080d67758f483583d9e763d7
change-id: 20260727-irqchip-qcom-defaults-e4ad255d0553
Best regards,
--
Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH v2 1/3] irqchip/qcom: Enable compile testing for QCOM_PDC and QCOM_MPM
2026-07-27 20:01 [PATCH v2 0/3] irqchip: qcom: Add sane defaults and drop defconfig Krzysztof Kozlowski
@ 2026-07-27 20:01 ` Krzysztof Kozlowski
2026-07-28 7:54 ` Konrad Dybcio
2026-09-04 13:40 ` [tip: irq/drivers] " tip-bot2 for Krzysztof Kozlowski
2026-07-27 20:01 ` [PATCH v2 2/3] irqchip/qcom: Add defaults for desired SoC drivers Krzysztof Kozlowski
2026-07-27 20:01 ` [PATCH v2 3/3] arm64: defconfig: Drop redundant Qualcomm irqchip entries Krzysztof Kozlowski
2 siblings, 2 replies; 10+ messages in thread
From: Krzysztof Kozlowski @ 2026-07-27 20:01 UTC (permalink / raw)
To: Thomas Gleixner, Radu Rendec, Bjorn Andersson, Konrad Dybcio
Cc: linux-kernel, linux-arm-msm, Krzysztof Kozlowski
QCOM_PDC and QCOM_MPM do not reference any architecture code, thus
should be compile-testable.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
---
drivers/irqchip/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index 20b77fbc51ee..5a881ddfa3ab 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -522,7 +522,7 @@ config GOLDFISH_PIC
config QCOM_PDC
tristate "Qualcomm PDC"
- depends on ARCH_QCOM
+ depends on ARCH_QCOM || COMPILE_TEST
select IRQ_DOMAIN_HIERARCHY
help
Power Domain Controller driver to manage and configure wakeup
@@ -530,7 +530,7 @@ config QCOM_PDC
config QCOM_MPM
tristate "Qualcomm MPM"
- depends on ARCH_QCOM
+ depends on ARCH_QCOM || COMPILE_TEST
depends on MAILBOX
select IRQ_DOMAIN_HIERARCHY
help
--
2.53.0
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH v2 2/3] irqchip/qcom: Add defaults for desired SoC drivers
2026-07-27 20:01 [PATCH v2 0/3] irqchip: qcom: Add sane defaults and drop defconfig Krzysztof Kozlowski
2026-07-27 20:01 ` [PATCH v2 1/3] irqchip/qcom: Enable compile testing for QCOM_PDC and QCOM_MPM Krzysztof Kozlowski
@ 2026-07-27 20:01 ` Krzysztof Kozlowski
2026-07-28 7:55 ` Konrad Dybcio
2026-09-04 13:40 ` [tip: irq/drivers] " tip-bot2 for Krzysztof Kozlowski
2026-07-27 20:01 ` [PATCH v2 3/3] arm64: defconfig: Drop redundant Qualcomm irqchip entries Krzysztof Kozlowski
2 siblings, 2 replies; 10+ messages in thread
From: Krzysztof Kozlowski @ 2026-07-27 20:01 UTC (permalink / raw)
To: Thomas Gleixner, Radu Rendec, Bjorn Andersson, Konrad Dybcio
Cc: linux-kernel, linux-arm-msm, Krzysztof Kozlowski
QCOM_PDC and QCOM_MPM are essential for booting up SoCs and are not
really optional for a given platform. Kernel should not ask users
choice of drivers when that choice is obvious and known to the
developers that answer should be 'yes' or 'module'.
Enable these by default whenever a kernel for Qualcomm SoC is built.
The change has no impact on arm64 defconfig, but will enable QCOM_PDC
for 32-bit ARM multi_v7_defconfig and qcom_defconfig, which is desired
because SDX55 uses it.
QCOM_MDM is used by 32-bit Qualcomm SoCs, but there is no in-tree user
of it, so it does not have to be enabled by default.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
---
drivers/irqchip/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index 5a881ddfa3ab..a8f8c423b795 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -524,6 +524,7 @@ config QCOM_PDC
tristate "Qualcomm PDC"
depends on ARCH_QCOM || COMPILE_TEST
select IRQ_DOMAIN_HIERARCHY
+ default ARCH_QCOM
help
Power Domain Controller driver to manage and configure wakeup
IRQs for Qualcomm Technologies Inc (QTI) mobile chips.
@@ -533,6 +534,7 @@ config QCOM_MPM
depends on ARCH_QCOM || COMPILE_TEST
depends on MAILBOX
select IRQ_DOMAIN_HIERARCHY
+ default ARCH_QCOM if ARM64
help
MSM Power Manager driver to manage and configure wakeup
IRQs for Qualcomm Technologies Inc (QTI) mobile chips.
--
2.53.0
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH v2 3/3] arm64: defconfig: Drop redundant Qualcomm irqchip entries
2026-07-27 20:01 [PATCH v2 0/3] irqchip: qcom: Add sane defaults and drop defconfig Krzysztof Kozlowski
2026-07-27 20:01 ` [PATCH v2 1/3] irqchip/qcom: Enable compile testing for QCOM_PDC and QCOM_MPM Krzysztof Kozlowski
2026-07-27 20:01 ` [PATCH v2 2/3] irqchip/qcom: Add defaults for desired SoC drivers Krzysztof Kozlowski
@ 2026-07-27 20:01 ` Krzysztof Kozlowski
2026-07-28 7:55 ` Konrad Dybcio
2026-09-04 13:40 ` [tip: irq/drivers] " tip-bot2 for Krzysztof Kozlowski
2 siblings, 2 replies; 10+ messages in thread
From: Krzysztof Kozlowski @ 2026-07-27 20:01 UTC (permalink / raw)
To: Thomas Gleixner, Radu Rendec, Bjorn Andersson, Konrad Dybcio
Cc: linux-kernel, linux-arm-msm, Krzysztof Kozlowski
QCOM_PDC and QCOM_MPM are enabled by default.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
---
Depends on previous patch - this can wait a cycle and go via Qualcomm
SoC tree later.
---
arch/arm64/configs/defconfig | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 6ec8d3a69c98..978e00891dca 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -1743,8 +1743,6 @@ CONFIG_PWM_VISCONTI=m
CONFIG_PWM_XILINX=m
CONFIG_SL28CPLD_INTC=y
CONFIG_XILINX_INTC=y
-CONFIG_QCOM_PDC=y
-CONFIG_QCOM_MPM=y
CONFIG_TI_SCI_INTR_IRQCHIP=y
CONFIG_TI_SCI_INTA_IRQCHIP=y
CONFIG_RESET_GPIO=m
--
2.53.0
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH v2 1/3] irqchip/qcom: Enable compile testing for QCOM_PDC and QCOM_MPM
2026-07-27 20:01 ` [PATCH v2 1/3] irqchip/qcom: Enable compile testing for QCOM_PDC and QCOM_MPM Krzysztof Kozlowski
@ 2026-07-28 7:54 ` Konrad Dybcio
2026-09-04 13:40 ` [tip: irq/drivers] " tip-bot2 for Krzysztof Kozlowski
1 sibling, 0 replies; 10+ messages in thread
From: Konrad Dybcio @ 2026-07-28 7:54 UTC (permalink / raw)
To: Krzysztof Kozlowski, Thomas Gleixner, Radu Rendec,
Bjorn Andersson, Konrad Dybcio
Cc: linux-kernel, linux-arm-msm
On 7/27/26 10:01 PM, Krzysztof Kozlowski wrote:
> QCOM_PDC and QCOM_MPM do not reference any architecture code, thus
> should be compile-testable.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH v2 2/3] irqchip/qcom: Add defaults for desired SoC drivers
2026-07-27 20:01 ` [PATCH v2 2/3] irqchip/qcom: Add defaults for desired SoC drivers Krzysztof Kozlowski
@ 2026-07-28 7:55 ` Konrad Dybcio
2026-09-04 13:40 ` [tip: irq/drivers] " tip-bot2 for Krzysztof Kozlowski
1 sibling, 0 replies; 10+ messages in thread
From: Konrad Dybcio @ 2026-07-28 7:55 UTC (permalink / raw)
To: Krzysztof Kozlowski, Thomas Gleixner, Radu Rendec,
Bjorn Andersson, Konrad Dybcio
Cc: linux-kernel, linux-arm-msm
On 7/27/26 10:01 PM, Krzysztof Kozlowski wrote:
> QCOM_PDC and QCOM_MPM are essential for booting up SoCs and are not
> really optional for a given platform. Kernel should not ask users
> choice of drivers when that choice is obvious and known to the
> developers that answer should be 'yes' or 'module'.
>
> Enable these by default whenever a kernel for Qualcomm SoC is built.
> The change has no impact on arm64 defconfig, but will enable QCOM_PDC
> for 32-bit ARM multi_v7_defconfig and qcom_defconfig, which is desired
> because SDX55 uses it.
>
> QCOM_MDM is used by 32-bit Qualcomm SoCs, but there is no in-tree user
_MPM
> of it, so it does not have to be enabled by default.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH v2 3/3] arm64: defconfig: Drop redundant Qualcomm irqchip entries
2026-07-27 20:01 ` [PATCH v2 3/3] arm64: defconfig: Drop redundant Qualcomm irqchip entries Krzysztof Kozlowski
@ 2026-07-28 7:55 ` Konrad Dybcio
2026-09-04 13:40 ` [tip: irq/drivers] " tip-bot2 for Krzysztof Kozlowski
1 sibling, 0 replies; 10+ messages in thread
From: Konrad Dybcio @ 2026-07-28 7:55 UTC (permalink / raw)
To: Krzysztof Kozlowski, Thomas Gleixner, Radu Rendec,
Bjorn Andersson, Konrad Dybcio
Cc: linux-kernel, linux-arm-msm
On 7/27/26 10:01 PM, Krzysztof Kozlowski wrote:
> QCOM_PDC and QCOM_MPM are enabled by default.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
>
> ---
>
> Depends on previous patch - this can wait a cycle and go via Qualcomm
> SoC tree later.
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 10+ messages in thread
* [tip: irq/drivers] arm64: defconfig: Drop redundant Qualcomm irqchip entries
2026-07-27 20:01 ` [PATCH v2 3/3] arm64: defconfig: Drop redundant Qualcomm irqchip entries Krzysztof Kozlowski
2026-07-28 7:55 ` Konrad Dybcio
@ 2026-09-04 13:40 ` tip-bot2 for Krzysztof Kozlowski
1 sibling, 0 replies; 10+ messages in thread
From: tip-bot2 for Krzysztof Kozlowski @ 2026-09-04 13:40 UTC (permalink / raw)
To: linux-tip-commits
Cc: Krzysztof Kozlowski, Thomas Gleixner, Konrad Dybcio, x86, linux-kernel
The following commit has been merged into the irq/drivers branch of tip:
Commit-ID: bd94bea7165be450903c6d64bbcb4862e36798f9
Gitweb: https://git.kernel.org/tip/bd94bea7165be450903c6d64bbcb4862e36798f9
Author: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
AuthorDate: Mon, 27 Jul 2026 22:01:22 +02:00
Committer: Thomas Gleixner <tglx@kernel.org>
CommitterDate: Fri, 04 Sep 2026 15:34:34 +02:00
arm64: defconfig: Drop redundant Qualcomm irqchip entries
QCOM_PDC and QCOM_MPM are enabled by default.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://patch.msgid.link/20260727-irqchip-qcom-defaults-v2-3-466f3c407937@oss.qualcomm.com
---
arch/arm64/configs/defconfig | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 6ec8d3a..978e008 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -1743,8 +1743,6 @@ CONFIG_PWM_VISCONTI=m
CONFIG_PWM_XILINX=m
CONFIG_SL28CPLD_INTC=y
CONFIG_XILINX_INTC=y
-CONFIG_QCOM_PDC=y
-CONFIG_QCOM_MPM=y
CONFIG_TI_SCI_INTR_IRQCHIP=y
CONFIG_TI_SCI_INTA_IRQCHIP=y
CONFIG_RESET_GPIO=m
^ permalink raw reply [flat|nested] 10+ messages in thread
* [tip: irq/drivers] irqchip/qcom: Add defaults for desired SoC drivers
2026-07-27 20:01 ` [PATCH v2 2/3] irqchip/qcom: Add defaults for desired SoC drivers Krzysztof Kozlowski
2026-07-28 7:55 ` Konrad Dybcio
@ 2026-09-04 13:40 ` tip-bot2 for Krzysztof Kozlowski
1 sibling, 0 replies; 10+ messages in thread
From: tip-bot2 for Krzysztof Kozlowski @ 2026-09-04 13:40 UTC (permalink / raw)
To: linux-tip-commits
Cc: Krzysztof Kozlowski, Thomas Gleixner, Konrad Dybcio, x86, linux-kernel
The following commit has been merged into the irq/drivers branch of tip:
Commit-ID: eeb693eb3f4c39e181a8a808f02732feb7b31022
Gitweb: https://git.kernel.org/tip/eeb693eb3f4c39e181a8a808f02732feb7b31022
Author: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
AuthorDate: Mon, 27 Jul 2026 22:01:21 +02:00
Committer: Thomas Gleixner <tglx@kernel.org>
CommitterDate: Fri, 04 Sep 2026 15:34:33 +02:00
irqchip/qcom: Add defaults for desired SoC drivers
QCOM_PDC and QCOM_MPM are essential for booting up SoCs and are not
really optional for a given platform. Kernel should not ask users
choice of drivers when that choice is obvious and known to the
developers that answer should be 'yes' or 'module'.
Enable these by default whenever a kernel for Qualcomm SoC is built.
The change has no impact on arm64 defconfig, but will enable QCOM_PDC
for 32-bit ARM multi_v7_defconfig and qcom_defconfig, which is desired
because SDX55 uses it.
QCOM_MDM is used by 32-bit Qualcomm SoCs, but there is no in-tree user
of it, so it does not have to be enabled by default.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://patch.msgid.link/20260727-irqchip-qcom-defaults-v2-2-466f3c407937@oss.qualcomm.com
---
drivers/irqchip/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index 5a881dd..a8f8c42 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -524,6 +524,7 @@ config QCOM_PDC
tristate "Qualcomm PDC"
depends on ARCH_QCOM || COMPILE_TEST
select IRQ_DOMAIN_HIERARCHY
+ default ARCH_QCOM
help
Power Domain Controller driver to manage and configure wakeup
IRQs for Qualcomm Technologies Inc (QTI) mobile chips.
@@ -533,6 +534,7 @@ config QCOM_MPM
depends on ARCH_QCOM || COMPILE_TEST
depends on MAILBOX
select IRQ_DOMAIN_HIERARCHY
+ default ARCH_QCOM if ARM64
help
MSM Power Manager driver to manage and configure wakeup
IRQs for Qualcomm Technologies Inc (QTI) mobile chips.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [tip: irq/drivers] irqchip/qcom: Enable compile testing for QCOM_PDC and QCOM_MPM
2026-07-27 20:01 ` [PATCH v2 1/3] irqchip/qcom: Enable compile testing for QCOM_PDC and QCOM_MPM Krzysztof Kozlowski
2026-07-28 7:54 ` Konrad Dybcio
@ 2026-09-04 13:40 ` tip-bot2 for Krzysztof Kozlowski
1 sibling, 0 replies; 10+ messages in thread
From: tip-bot2 for Krzysztof Kozlowski @ 2026-09-04 13:40 UTC (permalink / raw)
To: linux-tip-commits
Cc: Krzysztof Kozlowski, Thomas Gleixner, Konrad Dybcio, x86, linux-kernel
The following commit has been merged into the irq/drivers branch of tip:
Commit-ID: 1b852de05f74cfc96c58caad9df4cc1fa2dc7689
Gitweb: https://git.kernel.org/tip/1b852de05f74cfc96c58caad9df4cc1fa2dc7689
Author: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
AuthorDate: Mon, 27 Jul 2026 22:01:20 +02:00
Committer: Thomas Gleixner <tglx@kernel.org>
CommitterDate: Fri, 04 Sep 2026 15:34:33 +02:00
irqchip/qcom: Enable compile testing for QCOM_PDC and QCOM_MPM
QCOM_PDC and QCOM_MPM do not reference any architecture code, thus
should be compile-testable.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://patch.msgid.link/20260727-irqchip-qcom-defaults-v2-1-466f3c407937@oss.qualcomm.com
---
drivers/irqchip/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index 20b77fb..5a881dd 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -522,7 +522,7 @@ config GOLDFISH_PIC
config QCOM_PDC
tristate "Qualcomm PDC"
- depends on ARCH_QCOM
+ depends on ARCH_QCOM || COMPILE_TEST
select IRQ_DOMAIN_HIERARCHY
help
Power Domain Controller driver to manage and configure wakeup
@@ -530,7 +530,7 @@ config QCOM_PDC
config QCOM_MPM
tristate "Qualcomm MPM"
- depends on ARCH_QCOM
+ depends on ARCH_QCOM || COMPILE_TEST
depends on MAILBOX
select IRQ_DOMAIN_HIERARCHY
help
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2026-09-04 13:40 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-27 20:01 [PATCH v2 0/3] irqchip: qcom: Add sane defaults and drop defconfig Krzysztof Kozlowski
2026-07-27 20:01 ` [PATCH v2 1/3] irqchip/qcom: Enable compile testing for QCOM_PDC and QCOM_MPM Krzysztof Kozlowski
2026-07-28 7:54 ` Konrad Dybcio
2026-09-04 13:40 ` [tip: irq/drivers] " tip-bot2 for Krzysztof Kozlowski
2026-07-27 20:01 ` [PATCH v2 2/3] irqchip/qcom: Add defaults for desired SoC drivers Krzysztof Kozlowski
2026-07-28 7:55 ` Konrad Dybcio
2026-09-04 13:40 ` [tip: irq/drivers] " tip-bot2 for Krzysztof Kozlowski
2026-07-27 20:01 ` [PATCH v2 3/3] arm64: defconfig: Drop redundant Qualcomm irqchip entries Krzysztof Kozlowski
2026-07-28 7:55 ` Konrad Dybcio
2026-09-04 13:40 ` [tip: irq/drivers] " tip-bot2 for Krzysztof Kozlowski
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®