irqchip: qcom: Add sane defaults and drop defconfig
Subsystems (2)
v2 cover irqchip: qcom: Add sane defaults and drop defconfig
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%[email protected]/
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,
Signature · 1 line
Krzysztof Kozlowski <[email protected]>
PATCH v2 1/3 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.
--- drivers/irqchip/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/irqchip/Kconfig +2 -2
@@ -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
Signature · 1 line
2.53.0
Re: [PATCH v2 1/3] irqchip/qcom: Enable compile testing for QCOM_PDC and QCOM_MPM
Quoted 5 lines · Krzysztof Kozlowski
QCOM_PDCandQCOM_MPMdo not reference any architecture code, thus should be compile-testable.Signed-off-by Krzysztof Kozlowski <[email protected]>---
Konrad
[tip: irq/drivers] irqchip/qcom: Enable compile testing for QCOM_PDC and QCOM_MPM
In reply to Krzysztof KozlowskiThe following commit has been merged into the irq/drivers branch of tip:
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 <[email protected]> AuthorDate: Mon, 27 Jul 2026 22:01:20 +02:00 Committer: Thomas Gleixner <[email protected]> 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.
--- drivers/irqchip/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/irqchip/Kconfig +2 -2
@@ -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
PATCH v2 2/3 irqchip/qcom: Add defaults for desired SoC drivers
In reply to Krzysztof KozlowskiQCOM_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.
--- drivers/irqchip/Kconfig | 2 ++ 1 file changed, 2 insertions(+)
drivers/irqchip/Kconfig +2 -0
@@ -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.
Signature · 1 line
2.53.0
Re: [PATCH v2 2/3] irqchip/qcom: Add defaults for desired SoC drivers
Quoted 11 lines · Krzysztof Kozlowski
QCOM_PDCandQCOM_MPMare 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_PDCfor 32-bit ARMmulti_v7_defconfigandqcom_defconfig, which is desired because SDX55 uses it.
QCOM_MDMis used by 32-bit Qualcomm SoCs, but there is no in-tree user
_MPM
Quoted 4 lines
of it, so it does not have to be enabled by default.
Signed-off-by Krzysztof Kozlowski <[email protected]>---
Konrad
[tip: irq/drivers] irqchip/qcom: Add defaults for desired SoC drivers
In reply to Krzysztof KozlowskiThe following commit has been merged into the irq/drivers branch of tip:
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 <[email protected]> AuthorDate: Mon, 27 Jul 2026 22:01:21 +02:00 Committer: Thomas Gleixner <[email protected]> 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.
--- drivers/irqchip/Kconfig | 2 ++ 1 file changed, 2 insertions(+)
drivers/irqchip/Kconfig +2 -0
@@ -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.
PATCH v2 3/3 arm64: defconfig: Drop redundant Qualcomm irqchip entries
In reply to Krzysztof KozlowskiQCOM_PDC and QCOM_MPM are enabled by default.
---
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(-)
arch/arm64/configs/defconfig +0 -2
@@ -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
Signature · 1 line
2.53.0
Re: [PATCH v2 3/3] arm64: defconfig: Drop redundant Qualcomm irqchip entries
Quoted 9 lines · Krzysztof Kozlowski
QCOM_PDCandQCOM_MPMare enabled by default.Signed-off-by Krzysztof Kozlowski <[email protected]>---
Depends on previous patch - this can wait a cycle and go via Qualcomm SoC tree later.
---
Konrad
[tip: irq/drivers] arm64: defconfig: Drop redundant Qualcomm irqchip entries
In reply to Krzysztof KozlowskiThe following commit has been merged into the irq/drivers branch of tip:
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 <[email protected]> AuthorDate: Mon, 27 Jul 2026 22:01:22 +02:00 Committer: Thomas Gleixner <[email protected]> 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.
--- arch/arm64/configs/defconfig | 2 -- 1 file changed, 2 deletions(-)
arch/arm64/configs/defconfig +0 -2
@@ -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